generated from zkSoju/frame
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* init commit * use diff font * add styling * update styling * add style * try styling * alien fire * Update index.tsx * add icons * Added network switching buttons * automatic network switch * use new icons * change fonts * abstract tab components * swap icon * tab inception * navbar padding * add settings tab * make compact * add types and setup hooks * make subtabs look more like tabs * make input entire container * add abis * readd hook * add damm hooks * Update SettingsTabContent.tsx * use dollar value * hide outline for accessibility * wip withdraw hook * Added sync and mint tabs * DAMM:withdraw: change eth to damm-lp * Mintable ERC20 abi + addresses consts * Reinstated connect button + white text * style connect button * fix input validation * make balance more compact * damm: can mint fake stables * Amend useState * amm: tab mint fake coins * mini cleanup * prettier * minor styling Co-authored-by: Tsunfire <underrated@gmail.com>
- Loading branch information
Showing
64 changed files
with
2,355 additions
and
288 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
APOLLO_GRAPHQL_URL= | ||
ALCHEMY_ID= |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,209 @@ | ||
[ | ||
{ | ||
"inputs": [ | ||
{ "internalType": "address", "name": "_token0", "type": "address" }, | ||
{ "internalType": "address", "name": "_L1Token0", "type": "address" }, | ||
{ "internalType": "address", "name": "_token1", "type": "address" }, | ||
{ "internalType": "address", "name": "_L1Token1", "type": "address" }, | ||
{ "internalType": "address", "name": "_lzEndpoint", "type": "address" }, | ||
{ | ||
"internalType": "address", | ||
"name": "_stargateRouter", | ||
"type": "address" | ||
}, | ||
{ "internalType": "address", "name": "_L1Target", "type": "address" } | ||
], | ||
"stateMutability": "nonpayable", | ||
"type": "constructor" | ||
}, | ||
{ | ||
"inputs": [], | ||
"name": "L1Target", | ||
"outputs": [{ "internalType": "address", "name": "", "type": "address" }], | ||
"stateMutability": "view", | ||
"type": "function" | ||
}, | ||
{ | ||
"inputs": [], | ||
"name": "L1Token0", | ||
"outputs": [{ "internalType": "address", "name": "", "type": "address" }], | ||
"stateMutability": "view", | ||
"type": "function" | ||
}, | ||
{ | ||
"inputs": [], | ||
"name": "L1Token1", | ||
"outputs": [{ "internalType": "address", "name": "", "type": "address" }], | ||
"stateMutability": "view", | ||
"type": "function" | ||
}, | ||
{ | ||
"inputs": [], | ||
"name": "balance0", | ||
"outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], | ||
"stateMutability": "view", | ||
"type": "function" | ||
}, | ||
{ | ||
"inputs": [], | ||
"name": "balance1", | ||
"outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], | ||
"stateMutability": "view", | ||
"type": "function" | ||
}, | ||
{ | ||
"inputs": [ | ||
{ "internalType": "uint16", "name": "destChainId", "type": "uint16" }, | ||
{ "internalType": "uint256", "name": "amount0", "type": "uint256" }, | ||
{ "internalType": "uint256", "name": "amount1", "type": "uint256" } | ||
], | ||
"name": "burnVouchers", | ||
"outputs": [], | ||
"stateMutability": "payable", | ||
"type": "function" | ||
}, | ||
{ | ||
"inputs": [], | ||
"name": "fees0", | ||
"outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], | ||
"stateMutability": "view", | ||
"type": "function" | ||
}, | ||
{ | ||
"inputs": [], | ||
"name": "fees1", | ||
"outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], | ||
"stateMutability": "view", | ||
"type": "function" | ||
}, | ||
{ | ||
"inputs": [], | ||
"name": "lzEndpoint", | ||
"outputs": [ | ||
{ | ||
"internalType": "contract ILayerZeroEndpoint", | ||
"name": "", | ||
"type": "address" | ||
} | ||
], | ||
"stateMutability": "view", | ||
"type": "function" | ||
}, | ||
{ | ||
"inputs": [ | ||
{ "internalType": "uint16", "name": "_srcChainId", "type": "uint16" }, | ||
{ "internalType": "bytes", "name": "_srcAddress", "type": "bytes" }, | ||
{ "internalType": "uint64", "name": "_nonce", "type": "uint64" }, | ||
{ "internalType": "bytes", "name": "_payload", "type": "bytes" } | ||
], | ||
"name": "lzReceive", | ||
"outputs": [], | ||
"stateMutability": "nonpayable", | ||
"type": "function" | ||
}, | ||
{ | ||
"inputs": [], | ||
"name": "reserve0", | ||
"outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], | ||
"stateMutability": "view", | ||
"type": "function" | ||
}, | ||
{ | ||
"inputs": [], | ||
"name": "reserve1", | ||
"outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], | ||
"stateMutability": "view", | ||
"type": "function" | ||
}, | ||
{ | ||
"inputs": [ | ||
{ "internalType": "uint256", "name": "_reserve0", "type": "uint256" }, | ||
{ "internalType": "uint256", "name": "_reserve1", "type": "uint256" } | ||
], | ||
"name": "setReserves", | ||
"outputs": [], | ||
"stateMutability": "nonpayable", | ||
"type": "function" | ||
}, | ||
{ | ||
"inputs": [], | ||
"name": "stargateRouter", | ||
"outputs": [ | ||
{ | ||
"internalType": "contract IStargateRouter", | ||
"name": "", | ||
"type": "address" | ||
} | ||
], | ||
"stateMutability": "view", | ||
"type": "function" | ||
}, | ||
{ | ||
"inputs": [ | ||
{ "internalType": "uint256", "name": "amount0In", "type": "uint256" }, | ||
{ "internalType": "uint256", "name": "amount1In", "type": "uint256" } | ||
], | ||
"name": "swap", | ||
"outputs": [ | ||
{ "internalType": "uint256", "name": "amountOut", "type": "uint256" } | ||
], | ||
"stateMutability": "nonpayable", | ||
"type": "function" | ||
}, | ||
{ | ||
"inputs": [ | ||
{ "internalType": "uint16", "name": "destChainId", "type": "uint16" }, | ||
{ "internalType": "uint256", "name": "srcPoolId0", "type": "uint256" }, | ||
{ "internalType": "uint256", "name": "dstPoolId0", "type": "uint256" }, | ||
{ "internalType": "uint256", "name": "srcPoolId1", "type": "uint256" }, | ||
{ "internalType": "uint256", "name": "dstPoolId1", "type": "uint256" } | ||
], | ||
"name": "syncToL1", | ||
"outputs": [], | ||
"stateMutability": "payable", | ||
"type": "function" | ||
}, | ||
{ | ||
"inputs": [], | ||
"name": "token0", | ||
"outputs": [ | ||
{ "internalType": "contract ERC20", "name": "", "type": "address" } | ||
], | ||
"stateMutability": "view", | ||
"type": "function" | ||
}, | ||
{ | ||
"inputs": [], | ||
"name": "token1", | ||
"outputs": [ | ||
{ "internalType": "contract ERC20", "name": "", "type": "address" } | ||
], | ||
"stateMutability": "view", | ||
"type": "function" | ||
}, | ||
{ | ||
"inputs": [], | ||
"name": "trustedRemoteHash", | ||
"outputs": [{ "internalType": "bytes32", "name": "", "type": "bytes32" }], | ||
"stateMutability": "view", | ||
"type": "function" | ||
}, | ||
{ | ||
"inputs": [], | ||
"name": "voucher0", | ||
"outputs": [ | ||
{ "internalType": "contract Voucher", "name": "", "type": "address" } | ||
], | ||
"stateMutability": "view", | ||
"type": "function" | ||
}, | ||
{ | ||
"inputs": [], | ||
"name": "voucher1", | ||
"outputs": [ | ||
{ "internalType": "contract Voucher", "name": "", "type": "address" } | ||
], | ||
"stateMutability": "view", | ||
"type": "function" | ||
} | ||
] |
Oops, something went wrong.