diff --git a/scripts/abis/ENDPOINTV2_ABI.json b/scripts/abis/ENDPOINTV2_ABI.json new file mode 100644 index 0000000..c33f3f4 --- /dev/null +++ b/scripts/abis/ENDPOINTV2_ABI.json @@ -0,0 +1,2352 @@ +[ + { + "inputs": [ + { + "internalType": "uint32", + "name": "_eid", + "type": "uint32" + }, + { + "internalType": "address", + "name": "_owner", + "type": "address" + } + ], + "stateMutability": "nonpayable", + "type": "constructor" + }, + { + "inputs": [], + "name": "LZ_AlreadyRegistered", + "type": "error" + }, + { + "inputs": [], + "name": "LZ_ComposeExists", + "type": "error" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "expected", + "type": "bytes32" + }, + { + "internalType": "bytes32", + "name": "actual", + "type": "bytes32" + } + ], + "name": "LZ_ComposeNotFound", + "type": "error" + }, + { + "inputs": [], + "name": "LZ_DefaultReceiveLibUnavailable", + "type": "error" + }, + { + "inputs": [], + "name": "LZ_DefaultSendLibUnavailable", + "type": "error" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "requiredNative", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "suppliedNative", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "requiredLzToken", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "suppliedLzToken", + "type": "uint256" + } + ], + "name": "LZ_InsufficientFee", + "type": "error" + }, + { + "inputs": [], + "name": "LZ_InvalidExpiry", + "type": "error" + }, + { + "inputs": [ + { + "internalType": "uint64", + "name": "nonce", + "type": "uint64" + } + ], + "name": "LZ_InvalidNonce", + "type": "error" + }, + { + "inputs": [], + "name": "LZ_InvalidPayloadHash", + "type": "error" + }, + { + "inputs": [], + "name": "LZ_InvalidReceiveLibrary", + "type": "error" + }, + { + "inputs": [], + "name": "LZ_LzTokenUnavailable", + "type": "error" + }, + { + "inputs": [], + "name": "LZ_OnlyNonDefaultLib", + "type": "error" + }, + { + "inputs": [], + "name": "LZ_OnlyReceiveLib", + "type": "error" + }, + { + "inputs": [], + "name": "LZ_OnlyRegisteredLib", + "type": "error" + }, + { + "inputs": [], + "name": "LZ_OnlyRegisteredOrDefaultLib", + "type": "error" + }, + { + "inputs": [], + "name": "LZ_OnlySendLib", + "type": "error" + }, + { + "inputs": [], + "name": "LZ_PathNotInitializable", + "type": "error" + }, + { + "inputs": [], + "name": "LZ_PathNotVerifiable", + "type": "error" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "expected", + "type": "bytes32" + }, + { + "internalType": "bytes32", + "name": "actual", + "type": "bytes32" + } + ], + "name": "LZ_PayloadHashNotFound", + "type": "error" + }, + { + "inputs": [], + "name": "LZ_SameValue", + "type": "error" + }, + { + "inputs": [], + "name": "LZ_SendReentrancy", + "type": "error" + }, + { + "inputs": [], + "name": "LZ_Unauthorized", + "type": "error" + }, + { + "inputs": [], + "name": "LZ_UnsupportedEid", + "type": "error" + }, + { + "inputs": [], + "name": "LZ_UnsupportedInterface", + "type": "error" + }, + { + "inputs": [], + "name": "LZ_ZeroLzTokenFee", + "type": "error" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_to", + "type": "address" + }, + { + "internalType": "uint256", + "name": "_value", + "type": "uint256" + } + ], + "name": "Transfer_NativeFailed", + "type": "error" + }, + { + "inputs": [], + "name": "Transfer_ToAddressIsZero", + "type": "error" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "address", + "name": "from", + "type": "address" + }, + { + "indexed": false, + "internalType": "address", + "name": "to", + "type": "address" + }, + { + "indexed": false, + "internalType": "bytes32", + "name": "guid", + "type": "bytes32" + }, + { + "indexed": false, + "internalType": "uint16", + "name": "index", + "type": "uint16" + } + ], + "name": "ComposeDelivered", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "address", + "name": "from", + "type": "address" + }, + { + "indexed": false, + "internalType": "address", + "name": "to", + "type": "address" + }, + { + "indexed": false, + "internalType": "bytes32", + "name": "guid", + "type": "bytes32" + }, + { + "indexed": false, + "internalType": "uint16", + "name": "index", + "type": "uint16" + }, + { + "indexed": false, + "internalType": "bytes", + "name": "message", + "type": "bytes" + } + ], + "name": "ComposeSent", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "uint32", + "name": "eid", + "type": "uint32" + }, + { + "indexed": false, + "internalType": "address", + "name": "newLib", + "type": "address" + } + ], + "name": "DefaultReceiveLibrarySet", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "uint32", + "name": "eid", + "type": "uint32" + }, + { + "indexed": false, + "internalType": "address", + "name": "oldLib", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "expiry", + "type": "uint256" + } + ], + "name": "DefaultReceiveLibraryTimeoutSet", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "uint32", + "name": "eid", + "type": "uint32" + }, + { + "indexed": false, + "internalType": "address", + "name": "newLib", + "type": "address" + } + ], + "name": "DefaultSendLibrarySet", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "address", + "name": "sender", + "type": "address" + }, + { + "indexed": false, + "internalType": "address", + "name": "delegate", + "type": "address" + } + ], + "name": "DelegateSet", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "uint32", + "name": "srcEid", + "type": "uint32" + }, + { + "indexed": false, + "internalType": "bytes32", + "name": "sender", + "type": "bytes32" + }, + { + "indexed": false, + "internalType": "address", + "name": "receiver", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint64", + "name": "nonce", + "type": "uint64" + } + ], + "name": "InboundNonceSkipped", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "address", + "name": "newLib", + "type": "address" + } + ], + "name": "LibraryRegistered", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "from", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "to", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "executor", + "type": "address" + }, + { + "indexed": false, + "internalType": "bytes32", + "name": "guid", + "type": "bytes32" + }, + { + "indexed": false, + "internalType": "uint16", + "name": "index", + "type": "uint16" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "gas", + "type": "uint256" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "value", + "type": "uint256" + }, + { + "indexed": false, + "internalType": "bytes", + "name": "message", + "type": "bytes" + }, + { + "indexed": false, + "internalType": "bytes", + "name": "extraData", + "type": "bytes" + }, + { + "indexed": false, + "internalType": "bytes", + "name": "reason", + "type": "bytes" + } + ], + "name": "LzComposeAlert", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "receiver", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "executor", + "type": "address" + }, + { + "components": [ + { + "internalType": "uint32", + "name": "srcEid", + "type": "uint32" + }, + { + "internalType": "bytes32", + "name": "sender", + "type": "bytes32" + }, + { + "internalType": "uint64", + "name": "nonce", + "type": "uint64" + } + ], + "indexed": false, + "internalType": "struct Origin", + "name": "origin", + "type": "tuple" + }, + { + "indexed": false, + "internalType": "bytes32", + "name": "guid", + "type": "bytes32" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "gas", + "type": "uint256" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "value", + "type": "uint256" + }, + { + "indexed": false, + "internalType": "bytes", + "name": "message", + "type": "bytes" + }, + { + "indexed": false, + "internalType": "bytes", + "name": "extraData", + "type": "bytes" + }, + { + "indexed": false, + "internalType": "bytes", + "name": "reason", + "type": "bytes" + } + ], + "name": "LzReceiveAlert", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "address", + "name": "token", + "type": "address" + } + ], + "name": "LzTokenSet", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "previousOwner", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "newOwner", + "type": "address" + } + ], + "name": "OwnershipTransferred", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "uint32", + "name": "srcEid", + "type": "uint32" + }, + { + "indexed": false, + "internalType": "bytes32", + "name": "sender", + "type": "bytes32" + }, + { + "indexed": false, + "internalType": "address", + "name": "receiver", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint64", + "name": "nonce", + "type": "uint64" + }, + { + "indexed": false, + "internalType": "bytes32", + "name": "payloadHash", + "type": "bytes32" + } + ], + "name": "PacketBurnt", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "components": [ + { + "internalType": "uint32", + "name": "srcEid", + "type": "uint32" + }, + { + "internalType": "bytes32", + "name": "sender", + "type": "bytes32" + }, + { + "internalType": "uint64", + "name": "nonce", + "type": "uint64" + } + ], + "indexed": false, + "internalType": "struct Origin", + "name": "origin", + "type": "tuple" + }, + { + "indexed": false, + "internalType": "address", + "name": "receiver", + "type": "address" + } + ], + "name": "PacketDelivered", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "uint32", + "name": "srcEid", + "type": "uint32" + }, + { + "indexed": false, + "internalType": "bytes32", + "name": "sender", + "type": "bytes32" + }, + { + "indexed": false, + "internalType": "address", + "name": "receiver", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint64", + "name": "nonce", + "type": "uint64" + }, + { + "indexed": false, + "internalType": "bytes32", + "name": "payloadHash", + "type": "bytes32" + } + ], + "name": "PacketNilified", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "bytes", + "name": "encodedPayload", + "type": "bytes" + }, + { + "indexed": false, + "internalType": "bytes", + "name": "options", + "type": "bytes" + }, + { + "indexed": false, + "internalType": "address", + "name": "sendLibrary", + "type": "address" + } + ], + "name": "PacketSent", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "components": [ + { + "internalType": "uint32", + "name": "srcEid", + "type": "uint32" + }, + { + "internalType": "bytes32", + "name": "sender", + "type": "bytes32" + }, + { + "internalType": "uint64", + "name": "nonce", + "type": "uint64" + } + ], + "indexed": false, + "internalType": "struct Origin", + "name": "origin", + "type": "tuple" + }, + { + "indexed": false, + "internalType": "address", + "name": "receiver", + "type": "address" + }, + { + "indexed": false, + "internalType": "bytes32", + "name": "payloadHash", + "type": "bytes32" + } + ], + "name": "PacketVerified", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "address", + "name": "receiver", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint32", + "name": "eid", + "type": "uint32" + }, + { + "indexed": false, + "internalType": "address", + "name": "newLib", + "type": "address" + } + ], + "name": "ReceiveLibrarySet", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "address", + "name": "receiver", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint32", + "name": "eid", + "type": "uint32" + }, + { + "indexed": false, + "internalType": "address", + "name": "oldLib", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "timeout", + "type": "uint256" + } + ], + "name": "ReceiveLibraryTimeoutSet", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "address", + "name": "sender", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint32", + "name": "eid", + "type": "uint32" + }, + { + "indexed": false, + "internalType": "address", + "name": "newLib", + "type": "address" + } + ], + "name": "SendLibrarySet", + "type": "event" + }, + { + "inputs": [], + "name": "EMPTY_PAYLOAD_HASH", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "NIL_PAYLOAD_HASH", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "blockedLibrary", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_oapp", + "type": "address" + }, + { + "internalType": "uint32", + "name": "_srcEid", + "type": "uint32" + }, + { + "internalType": "bytes32", + "name": "_sender", + "type": "bytes32" + }, + { + "internalType": "uint64", + "name": "_nonce", + "type": "uint64" + }, + { + "internalType": "bytes32", + "name": "_payloadHash", + "type": "bytes32" + } + ], + "name": "burn", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_oapp", + "type": "address" + }, + { + "components": [ + { + "internalType": "uint32", + "name": "srcEid", + "type": "uint32" + }, + { + "internalType": "bytes32", + "name": "sender", + "type": "bytes32" + }, + { + "internalType": "uint64", + "name": "nonce", + "type": "uint64" + } + ], + "internalType": "struct Origin", + "name": "_origin", + "type": "tuple" + }, + { + "internalType": "bytes32", + "name": "_guid", + "type": "bytes32" + }, + { + "internalType": "bytes", + "name": "_message", + "type": "bytes" + } + ], + "name": "clear", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "from", + "type": "address" + }, + { + "internalType": "address", + "name": "to", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "guid", + "type": "bytes32" + }, + { + "internalType": "uint16", + "name": "index", + "type": "uint16" + } + ], + "name": "composeQueue", + "outputs": [ + { + "internalType": "bytes32", + "name": "messageHash", + "type": "bytes32" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint32", + "name": "srcEid", + "type": "uint32" + } + ], + "name": "defaultReceiveLibrary", + "outputs": [ + { + "internalType": "address", + "name": "lib", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint32", + "name": "srcEid", + "type": "uint32" + } + ], + "name": "defaultReceiveLibraryTimeout", + "outputs": [ + { + "internalType": "address", + "name": "lib", + "type": "address" + }, + { + "internalType": "uint256", + "name": "expiry", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint32", + "name": "dstEid", + "type": "uint32" + } + ], + "name": "defaultSendLibrary", + "outputs": [ + { + "internalType": "address", + "name": "lib", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "oapp", + "type": "address" + } + ], + "name": "delegates", + "outputs": [ + { + "internalType": "address", + "name": "delegate", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "eid", + "outputs": [ + { + "internalType": "uint32", + "name": "", + "type": "uint32" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_oapp", + "type": "address" + }, + { + "internalType": "address", + "name": "_lib", + "type": "address" + }, + { + "internalType": "uint32", + "name": "_eid", + "type": "uint32" + }, + { + "internalType": "uint32", + "name": "_configType", + "type": "uint32" + } + ], + "name": "getConfig", + "outputs": [ + { + "internalType": "bytes", + "name": "config", + "type": "bytes" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_receiver", + "type": "address" + }, + { + "internalType": "uint32", + "name": "_srcEid", + "type": "uint32" + } + ], + "name": "getReceiveLibrary", + "outputs": [ + { + "internalType": "address", + "name": "lib", + "type": "address" + }, + { + "internalType": "bool", + "name": "isDefault", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "getRegisteredLibraries", + "outputs": [ + { + "internalType": "address[]", + "name": "", + "type": "address[]" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "getSendContext", + "outputs": [ + { + "internalType": "uint32", + "name": "", + "type": "uint32" + }, + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_sender", + "type": "address" + }, + { + "internalType": "uint32", + "name": "_dstEid", + "type": "uint32" + } + ], + "name": "getSendLibrary", + "outputs": [ + { + "internalType": "address", + "name": "lib", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_receiver", + "type": "address" + }, + { + "internalType": "uint32", + "name": "_srcEid", + "type": "uint32" + }, + { + "internalType": "bytes32", + "name": "_sender", + "type": "bytes32" + } + ], + "name": "inboundNonce", + "outputs": [ + { + "internalType": "uint64", + "name": "", + "type": "uint64" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "receiver", + "type": "address" + }, + { + "internalType": "uint32", + "name": "srcEid", + "type": "uint32" + }, + { + "internalType": "bytes32", + "name": "sender", + "type": "bytes32" + }, + { + "internalType": "uint64", + "name": "inboundNonce", + "type": "uint64" + } + ], + "name": "inboundPayloadHash", + "outputs": [ + { + "internalType": "bytes32", + "name": "payloadHash", + "type": "bytes32" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "components": [ + { + "internalType": "uint32", + "name": "srcEid", + "type": "uint32" + }, + { + "internalType": "bytes32", + "name": "sender", + "type": "bytes32" + }, + { + "internalType": "uint64", + "name": "nonce", + "type": "uint64" + } + ], + "internalType": "struct Origin", + "name": "_origin", + "type": "tuple" + }, + { + "internalType": "address", + "name": "_receiver", + "type": "address" + } + ], + "name": "initializable", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_sender", + "type": "address" + }, + { + "internalType": "uint32", + "name": "_dstEid", + "type": "uint32" + } + ], + "name": "isDefaultSendLibrary", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "lib", + "type": "address" + } + ], + "name": "isRegisteredLibrary", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "isSendingMessage", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint32", + "name": "_eid", + "type": "uint32" + } + ], + "name": "isSupportedEid", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_receiver", + "type": "address" + }, + { + "internalType": "uint32", + "name": "_srcEid", + "type": "uint32" + }, + { + "internalType": "address", + "name": "_actualReceiveLib", + "type": "address" + } + ], + "name": "isValidReceiveLibrary", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "receiver", + "type": "address" + }, + { + "internalType": "uint32", + "name": "srcEid", + "type": "uint32" + }, + { + "internalType": "bytes32", + "name": "sender", + "type": "bytes32" + } + ], + "name": "lazyInboundNonce", + "outputs": [ + { + "internalType": "uint64", + "name": "nonce", + "type": "uint64" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_from", + "type": "address" + }, + { + "internalType": "address", + "name": "_to", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "_guid", + "type": "bytes32" + }, + { + "internalType": "uint16", + "name": "_index", + "type": "uint16" + }, + { + "internalType": "bytes", + "name": "_message", + "type": "bytes" + }, + { + "internalType": "bytes", + "name": "_extraData", + "type": "bytes" + } + ], + "name": "lzCompose", + "outputs": [], + "stateMutability": "payable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_from", + "type": "address" + }, + { + "internalType": "address", + "name": "_to", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "_guid", + "type": "bytes32" + }, + { + "internalType": "uint16", + "name": "_index", + "type": "uint16" + }, + { + "internalType": "uint256", + "name": "_gas", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "_value", + "type": "uint256" + }, + { + "internalType": "bytes", + "name": "_message", + "type": "bytes" + }, + { + "internalType": "bytes", + "name": "_extraData", + "type": "bytes" + }, + { + "internalType": "bytes", + "name": "_reason", + "type": "bytes" + } + ], + "name": "lzComposeAlert", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "components": [ + { + "internalType": "uint32", + "name": "srcEid", + "type": "uint32" + }, + { + "internalType": "bytes32", + "name": "sender", + "type": "bytes32" + }, + { + "internalType": "uint64", + "name": "nonce", + "type": "uint64" + } + ], + "internalType": "struct Origin", + "name": "_origin", + "type": "tuple" + }, + { + "internalType": "address", + "name": "_receiver", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "_guid", + "type": "bytes32" + }, + { + "internalType": "bytes", + "name": "_message", + "type": "bytes" + }, + { + "internalType": "bytes", + "name": "_extraData", + "type": "bytes" + } + ], + "name": "lzReceive", + "outputs": [], + "stateMutability": "payable", + "type": "function" + }, + { + "inputs": [ + { + "components": [ + { + "internalType": "uint32", + "name": "srcEid", + "type": "uint32" + }, + { + "internalType": "bytes32", + "name": "sender", + "type": "bytes32" + }, + { + "internalType": "uint64", + "name": "nonce", + "type": "uint64" + } + ], + "internalType": "struct Origin", + "name": "_origin", + "type": "tuple" + }, + { + "internalType": "address", + "name": "_receiver", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "_guid", + "type": "bytes32" + }, + { + "internalType": "uint256", + "name": "_gas", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "_value", + "type": "uint256" + }, + { + "internalType": "bytes", + "name": "_message", + "type": "bytes" + }, + { + "internalType": "bytes", + "name": "_extraData", + "type": "bytes" + }, + { + "internalType": "bytes", + "name": "_reason", + "type": "bytes" + } + ], + "name": "lzReceiveAlert", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "lzToken", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "nativeToken", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_sender", + "type": "address" + }, + { + "internalType": "uint32", + "name": "_dstEid", + "type": "uint32" + }, + { + "internalType": "bytes32", + "name": "_receiver", + "type": "bytes32" + } + ], + "name": "nextGuid", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_oapp", + "type": "address" + }, + { + "internalType": "uint32", + "name": "_srcEid", + "type": "uint32" + }, + { + "internalType": "bytes32", + "name": "_sender", + "type": "bytes32" + }, + { + "internalType": "uint64", + "name": "_nonce", + "type": "uint64" + }, + { + "internalType": "bytes32", + "name": "_payloadHash", + "type": "bytes32" + } + ], + "name": "nilify", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "sender", + "type": "address" + }, + { + "internalType": "uint32", + "name": "dstEid", + "type": "uint32" + }, + { + "internalType": "bytes32", + "name": "receiver", + "type": "bytes32" + } + ], + "name": "outboundNonce", + "outputs": [ + { + "internalType": "uint64", + "name": "nonce", + "type": "uint64" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "owner", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "components": [ + { + "internalType": "uint32", + "name": "dstEid", + "type": "uint32" + }, + { + "internalType": "bytes32", + "name": "receiver", + "type": "bytes32" + }, + { + "internalType": "bytes", + "name": "message", + "type": "bytes" + }, + { + "internalType": "bytes", + "name": "options", + "type": "bytes" + }, + { + "internalType": "bool", + "name": "payInLzToken", + "type": "bool" + } + ], + "internalType": "struct MessagingParams", + "name": "_params", + "type": "tuple" + }, + { + "internalType": "address", + "name": "_sender", + "type": "address" + } + ], + "name": "quote", + "outputs": [ + { + "components": [ + { + "internalType": "uint256", + "name": "nativeFee", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "lzTokenFee", + "type": "uint256" + } + ], + "internalType": "struct MessagingFee", + "name": "", + "type": "tuple" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "receiver", + "type": "address" + }, + { + "internalType": "uint32", + "name": "srcEid", + "type": "uint32" + } + ], + "name": "receiveLibraryTimeout", + "outputs": [ + { + "internalType": "address", + "name": "lib", + "type": "address" + }, + { + "internalType": "uint256", + "name": "expiry", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_token", + "type": "address" + }, + { + "internalType": "address", + "name": "_to", + "type": "address" + }, + { + "internalType": "uint256", + "name": "_amount", + "type": "uint256" + } + ], + "name": "recoverToken", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_lib", + "type": "address" + } + ], + "name": "registerLibrary", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "renounceOwnership", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "components": [ + { + "internalType": "uint32", + "name": "dstEid", + "type": "uint32" + }, + { + "internalType": "bytes32", + "name": "receiver", + "type": "bytes32" + }, + { + "internalType": "bytes", + "name": "message", + "type": "bytes" + }, + { + "internalType": "bytes", + "name": "options", + "type": "bytes" + }, + { + "internalType": "bool", + "name": "payInLzToken", + "type": "bool" + } + ], + "internalType": "struct MessagingParams", + "name": "_params", + "type": "tuple" + }, + { + "internalType": "address", + "name": "_refundAddress", + "type": "address" + } + ], + "name": "send", + "outputs": [ + { + "components": [ + { + "internalType": "bytes32", + "name": "guid", + "type": "bytes32" + }, + { + "internalType": "uint64", + "name": "nonce", + "type": "uint64" + }, + { + "components": [ + { + "internalType": "uint256", + "name": "nativeFee", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "lzTokenFee", + "type": "uint256" + } + ], + "internalType": "struct MessagingFee", + "name": "fee", + "type": "tuple" + } + ], + "internalType": "struct MessagingReceipt", + "name": "", + "type": "tuple" + } + ], + "stateMutability": "payable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_to", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "_guid", + "type": "bytes32" + }, + { + "internalType": "uint16", + "name": "_index", + "type": "uint16" + }, + { + "internalType": "bytes", + "name": "_message", + "type": "bytes" + } + ], + "name": "sendCompose", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_oapp", + "type": "address" + }, + { + "internalType": "address", + "name": "_lib", + "type": "address" + }, + { + "components": [ + { + "internalType": "uint32", + "name": "eid", + "type": "uint32" + }, + { + "internalType": "uint32", + "name": "configType", + "type": "uint32" + }, + { + "internalType": "bytes", + "name": "config", + "type": "bytes" + } + ], + "internalType": "struct SetConfigParam[]", + "name": "_params", + "type": "tuple[]" + } + ], + "name": "setConfig", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint32", + "name": "_eid", + "type": "uint32" + }, + { + "internalType": "address", + "name": "_newLib", + "type": "address" + }, + { + "internalType": "uint256", + "name": "_gracePeriod", + "type": "uint256" + } + ], + "name": "setDefaultReceiveLibrary", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint32", + "name": "_eid", + "type": "uint32" + }, + { + "internalType": "address", + "name": "_lib", + "type": "address" + }, + { + "internalType": "uint256", + "name": "_expiry", + "type": "uint256" + } + ], + "name": "setDefaultReceiveLibraryTimeout", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint32", + "name": "_eid", + "type": "uint32" + }, + { + "internalType": "address", + "name": "_newLib", + "type": "address" + } + ], + "name": "setDefaultSendLibrary", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_delegate", + "type": "address" + } + ], + "name": "setDelegate", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_lzToken", + "type": "address" + } + ], + "name": "setLzToken", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_oapp", + "type": "address" + }, + { + "internalType": "uint32", + "name": "_eid", + "type": "uint32" + }, + { + "internalType": "address", + "name": "_newLib", + "type": "address" + }, + { + "internalType": "uint256", + "name": "_gracePeriod", + "type": "uint256" + } + ], + "name": "setReceiveLibrary", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_oapp", + "type": "address" + }, + { + "internalType": "uint32", + "name": "_eid", + "type": "uint32" + }, + { + "internalType": "address", + "name": "_lib", + "type": "address" + }, + { + "internalType": "uint256", + "name": "_expiry", + "type": "uint256" + } + ], + "name": "setReceiveLibraryTimeout", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_oapp", + "type": "address" + }, + { + "internalType": "uint32", + "name": "_eid", + "type": "uint32" + }, + { + "internalType": "address", + "name": "_newLib", + "type": "address" + } + ], + "name": "setSendLibrary", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_oapp", + "type": "address" + }, + { + "internalType": "uint32", + "name": "_srcEid", + "type": "uint32" + }, + { + "internalType": "bytes32", + "name": "_sender", + "type": "bytes32" + }, + { + "internalType": "uint64", + "name": "_nonce", + "type": "uint64" + } + ], + "name": "skip", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "newOwner", + "type": "address" + } + ], + "name": "transferOwnership", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "components": [ + { + "internalType": "uint32", + "name": "srcEid", + "type": "uint32" + }, + { + "internalType": "bytes32", + "name": "sender", + "type": "bytes32" + }, + { + "internalType": "uint64", + "name": "nonce", + "type": "uint64" + } + ], + "internalType": "struct Origin", + "name": "_origin", + "type": "tuple" + }, + { + "internalType": "address", + "name": "_receiver", + "type": "address" + } + ], + "name": "verifiable", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "components": [ + { + "internalType": "uint32", + "name": "srcEid", + "type": "uint32" + }, + { + "internalType": "bytes32", + "name": "sender", + "type": "bytes32" + }, + { + "internalType": "uint64", + "name": "nonce", + "type": "uint64" + } + ], + "internalType": "struct Origin", + "name": "_origin", + "type": "tuple" + }, + { + "internalType": "address", + "name": "_receiver", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "_payloadHash", + "type": "bytes32" + } + ], + "name": "verify", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + } +] diff --git a/scripts/abis/ERC20/index.d.ts b/scripts/abis/ERC20/index.d.ts new file mode 100644 index 0000000..b0d83b5 --- /dev/null +++ b/scripts/abis/ERC20/index.d.ts @@ -0,0 +1,42 @@ +export declare const ERC20ABI: ( + | { + constant: boolean; + inputs: { + name: string; + type: string; + }[]; + name: string; + outputs: { + name: string; + type: string; + }[]; + payable: boolean; + stateMutability: string; + type: string; + anonymous?: undefined; + } + | { + payable: boolean; + stateMutability: string; + type: string; + constant?: undefined; + inputs?: undefined; + name?: undefined; + outputs?: undefined; + anonymous?: undefined; + } + | { + anonymous: boolean; + inputs: { + indexed: boolean; + name: string; + type: string; + }[]; + name: string; + type: string; + constant?: undefined; + outputs?: undefined; + payable?: undefined; + stateMutability?: undefined; + } +)[]; diff --git a/scripts/abis/ERC20/index.js b/scripts/abis/ERC20/index.js new file mode 100644 index 0000000..63b05e4 --- /dev/null +++ b/scripts/abis/ERC20/index.js @@ -0,0 +1,225 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.ERC20ABI = void 0; +exports.ERC20ABI = [ + { + constant: true, + inputs: [], + name: "name", + outputs: [ + { + name: "", + type: "string", + }, + ], + payable: false, + stateMutability: "view", + type: "function", + }, + { + constant: false, + inputs: [ + { + name: "_spender", + type: "address", + }, + { + name: "_value", + type: "uint256", + }, + ], + name: "approve", + outputs: [ + { + name: "", + type: "bool", + }, + ], + payable: false, + stateMutability: "nonpayable", + type: "function", + }, + { + constant: true, + inputs: [], + name: "totalSupply", + outputs: [ + { + name: "", + type: "uint256", + }, + ], + payable: false, + stateMutability: "view", + type: "function", + }, + { + constant: false, + inputs: [ + { + name: "_from", + type: "address", + }, + { + name: "_to", + type: "address", + }, + { + name: "_value", + type: "uint256", + }, + ], + name: "transferFrom", + outputs: [ + { + name: "", + type: "bool", + }, + ], + payable: false, + stateMutability: "nonpayable", + type: "function", + }, + { + constant: true, + inputs: [], + name: "decimals", + outputs: [ + { + name: "", + type: "uint8", + }, + ], + payable: false, + stateMutability: "view", + type: "function", + }, + { + constant: true, + inputs: [ + { + name: "_owner", + type: "address", + }, + ], + name: "balanceOf", + outputs: [ + { + name: "balance", + type: "uint256", + }, + ], + payable: false, + stateMutability: "view", + type: "function", + }, + { + constant: true, + inputs: [], + name: "symbol", + outputs: [ + { + name: "", + type: "string", + }, + ], + payable: false, + stateMutability: "view", + type: "function", + }, + { + constant: false, + inputs: [ + { + name: "_to", + type: "address", + }, + { + name: "_value", + type: "uint256", + }, + ], + name: "transfer", + outputs: [ + { + name: "", + type: "bool", + }, + ], + payable: false, + stateMutability: "nonpayable", + type: "function", + }, + { + constant: true, + inputs: [ + { + name: "_owner", + type: "address", + }, + { + name: "_spender", + type: "address", + }, + ], + name: "allowance", + outputs: [ + { + name: "", + type: "uint256", + }, + ], + payable: false, + stateMutability: "view", + type: "function", + }, + { + payable: true, + stateMutability: "payable", + type: "fallback", + }, + { + anonymous: false, + inputs: [ + { + indexed: true, + name: "owner", + type: "address", + }, + { + indexed: true, + name: "spender", + type: "address", + }, + { + indexed: false, + name: "value", + type: "uint256", + }, + ], + name: "Approval", + type: "event", + }, + { + anonymous: false, + inputs: [ + { + indexed: true, + name: "from", + type: "address", + }, + { + indexed: true, + name: "to", + type: "address", + }, + { + indexed: false, + name: "value", + type: "uint256", + }, + ], + name: "Transfer", + type: "event", + }, +]; diff --git a/scripts/abis/ERC20/index.ts b/scripts/abis/ERC20/index.ts new file mode 100644 index 0000000..67be949 --- /dev/null +++ b/scripts/abis/ERC20/index.ts @@ -0,0 +1,222 @@ +export const ERC20ABI = [ + { + constant: true, + inputs: [], + name: "name", + outputs: [ + { + name: "", + type: "string", + }, + ], + payable: false, + stateMutability: "view", + type: "function", + }, + { + constant: false, + inputs: [ + { + name: "_spender", + type: "address", + }, + { + name: "_value", + type: "uint256", + }, + ], + name: "approve", + outputs: [ + { + name: "", + type: "bool", + }, + ], + payable: false, + stateMutability: "nonpayable", + type: "function", + }, + { + constant: true, + inputs: [], + name: "totalSupply", + outputs: [ + { + name: "", + type: "uint256", + }, + ], + payable: false, + stateMutability: "view", + type: "function", + }, + { + constant: false, + inputs: [ + { + name: "_from", + type: "address", + }, + { + name: "_to", + type: "address", + }, + { + name: "_value", + type: "uint256", + }, + ], + name: "transferFrom", + outputs: [ + { + name: "", + type: "bool", + }, + ], + payable: false, + stateMutability: "nonpayable", + type: "function", + }, + { + constant: true, + inputs: [], + name: "decimals", + outputs: [ + { + name: "", + type: "uint8", + }, + ], + payable: false, + stateMutability: "view", + type: "function", + }, + { + constant: true, + inputs: [ + { + name: "_owner", + type: "address", + }, + ], + name: "balanceOf", + outputs: [ + { + name: "balance", + type: "uint256", + }, + ], + payable: false, + stateMutability: "view", + type: "function", + }, + { + constant: true, + inputs: [], + name: "symbol", + outputs: [ + { + name: "", + type: "string", + }, + ], + payable: false, + stateMutability: "view", + type: "function", + }, + { + constant: false, + inputs: [ + { + name: "_to", + type: "address", + }, + { + name: "_value", + type: "uint256", + }, + ], + name: "transfer", + outputs: [ + { + name: "", + type: "bool", + }, + ], + payable: false, + stateMutability: "nonpayable", + type: "function", + }, + { + constant: true, + inputs: [ + { + name: "_owner", + type: "address", + }, + { + name: "_spender", + type: "address", + }, + ], + name: "allowance", + outputs: [ + { + name: "", + type: "uint256", + }, + ], + payable: false, + stateMutability: "view", + type: "function", + }, + { + payable: true, + stateMutability: "payable", + type: "fallback", + }, + { + anonymous: false, + inputs: [ + { + indexed: true, + name: "owner", + type: "address", + }, + { + indexed: true, + name: "spender", + type: "address", + }, + { + indexed: false, + name: "value", + type: "uint256", + }, + ], + name: "Approval", + type: "event", + }, + { + anonymous: false, + inputs: [ + { + indexed: true, + name: "from", + type: "address", + }, + { + indexed: true, + name: "to", + type: "address", + }, + { + indexed: false, + name: "value", + type: "uint256", + }, + ], + name: "Transfer", + type: "event", + }, +]; diff --git a/scripts/abis/FRAXTAL_HOP.json b/scripts/abis/FRAXTAL_HOP.json new file mode 100644 index 0000000..d8d07ce --- /dev/null +++ b/scripts/abis/FRAXTAL_HOP.json @@ -0,0 +1,448 @@ +[ + { + "type": "constructor", + "inputs": [ + { + "name": "_approvedOfts", + "type": "address[]", + "internalType": "address[]" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "receive", + "stateMutability": "payable" + }, + { + "type": "function", + "name": "ENDPOINT", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "address", + "internalType": "address" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "acceptOwnership", + "inputs": [], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "approvedOft", + "inputs": [ + { + "name": "", + "type": "address", + "internalType": "address" + } + ], + "outputs": [ + { + "name": "", + "type": "bool", + "internalType": "bool" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "lzCompose", + "inputs": [ + { + "name": "_oft", + "type": "address", + "internalType": "address" + }, + { + "name": "", + "type": "bytes32", + "internalType": "bytes32" + }, + { + "name": "_message", + "type": "bytes", + "internalType": "bytes" + }, + { + "name": "", + "type": "address", + "internalType": "address" + }, + { + "name": "", + "type": "bytes", + "internalType": "bytes" + } + ], + "outputs": [], + "stateMutability": "payable" + }, + { + "type": "function", + "name": "messageProcessed", + "inputs": [ + { + "name": "", + "type": "bytes32", + "internalType": "bytes32" + } + ], + "outputs": [ + { + "name": "", + "type": "bool", + "internalType": "bool" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "owner", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "address", + "internalType": "address" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "pause", + "inputs": [ + { + "name": "_paused", + "type": "bool", + "internalType": "bool" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "paused", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "bool", + "internalType": "bool" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "pendingOwner", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "address", + "internalType": "address" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "quote", + "inputs": [ + { + "name": "oft", + "type": "address", + "internalType": "address" + }, + { + "name": "_dstEid", + "type": "uint32", + "internalType": "uint32" + }, + { + "name": "_to", + "type": "bytes32", + "internalType": "bytes32" + }, + { + "name": "_amountLD", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [ + { + "name": "fee", + "type": "tuple", + "internalType": "struct MessagingFee", + "components": [ + { + "name": "nativeFee", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "lzTokenFee", + "type": "uint256", + "internalType": "uint256" + } + ] + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "recoverERC20", + "inputs": [ + { + "name": "tokenAddress", + "type": "address", + "internalType": "address" + }, + { + "name": "recipient", + "type": "address", + "internalType": "address" + }, + { + "name": "tokenAmount", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "recoverETH", + "inputs": [ + { + "name": "recipient", + "type": "address", + "internalType": "address" + }, + { + "name": "tokenAmount", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "remoteHop", + "inputs": [ + { + "name": "", + "type": "uint32", + "internalType": "uint32" + } + ], + "outputs": [ + { + "name": "", + "type": "bytes32", + "internalType": "bytes32" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "renounceOwnership", + "inputs": [], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "setMessageProcessed", + "inputs": [ + { + "name": "oft", + "type": "address", + "internalType": "address" + }, + { + "name": "srcEid", + "type": "uint32", + "internalType": "uint32" + }, + { + "name": "nonce", + "type": "uint64", + "internalType": "uint64" + }, + { + "name": "composeFrom", + "type": "bytes32", + "internalType": "bytes32" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "setRemoteHop", + "inputs": [ + { + "name": "_eid", + "type": "uint32", + "internalType": "uint32" + }, + { + "name": "_remoteHop", + "type": "address", + "internalType": "address" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "setRemoteHop", + "inputs": [ + { + "name": "_eid", + "type": "uint32", + "internalType": "uint32" + }, + { + "name": "_remoteHop", + "type": "bytes32", + "internalType": "bytes32" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "toggleOFTApproval", + "inputs": [ + { + "name": "oft", + "type": "address", + "internalType": "address" + }, + { + "name": "approved", + "type": "bool", + "internalType": "bool" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "transferOwnership", + "inputs": [ + { + "name": "newOwner", + "type": "address", + "internalType": "address" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "event", + "name": "Hop", + "inputs": [ + { + "name": "oft", + "type": "address", + "indexed": false, + "internalType": "address" + }, + { + "name": "srcEid", + "type": "uint32", + "indexed": true, + "internalType": "uint32" + }, + { + "name": "dstEid", + "type": "uint32", + "indexed": true, + "internalType": "uint32" + }, + { + "name": "recipient", + "type": "bytes32", + "indexed": true, + "internalType": "bytes32" + }, + { + "name": "amount", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + }, + { + "name": "options", + "type": "bytes", + "indexed": false, + "internalType": "bytes" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "MessagingFeePaid", + "inputs": [ + { + "name": "fee", + "type": "tuple", + "indexed": false, + "internalType": "struct MessagingFee", + "components": [ + { + "name": "nativeFee", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "lzTokenFee", + "type": "uint256", + "internalType": "uint256" + } + ] + }, + { + "name": "payer", + "type": "address", + "indexed": false, + "internalType": "address" + }, + { + "name": "paymentData", + "type": "bytes", + "indexed": false, + "internalType": "bytes" + } + ], + "anonymous": false + } +] diff --git a/scripts/abis/FRAXTAL_MINT_REDEEM_HOP.json b/scripts/abis/FRAXTAL_MINT_REDEEM_HOP.json new file mode 100644 index 0000000..29156c6 --- /dev/null +++ b/scripts/abis/FRAXTAL_MINT_REDEEM_HOP.json @@ -0,0 +1,559 @@ +[ + { + "type": "constructor", + "inputs": [ + { + "name": "_frxUsdLockbox", + "type": "address", + "internalType": "address" + }, + { + "name": "_sfrxUsdLockbox", + "type": "address", + "internalType": "address" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "receive", + "stateMutability": "payable" + }, + { + "type": "function", + "name": "ENDPOINT", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "address", + "internalType": "address" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "acceptOwnership", + "inputs": [], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "fraxtalERC4626MintRedeemer", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "address", + "internalType": "contract IFraxtalERC4626MintRedeemer" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "frxUsdLockbox", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "address", + "internalType": "address" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "lzCompose", + "inputs": [ + { + "name": "_oft", + "type": "address", + "internalType": "address" + }, + { + "name": "", + "type": "bytes32", + "internalType": "bytes32" + }, + { + "name": "_message", + "type": "bytes", + "internalType": "bytes" + }, + { + "name": "", + "type": "address", + "internalType": "address" + }, + { + "name": "", + "type": "bytes", + "internalType": "bytes" + } + ], + "outputs": [], + "stateMutability": "payable" + }, + { + "type": "function", + "name": "messageProcessed", + "inputs": [ + { + "name": "", + "type": "bytes32", + "internalType": "bytes32" + } + ], + "outputs": [ + { + "name": "", + "type": "bool", + "internalType": "bool" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "owner", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "address", + "internalType": "address" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "pause", + "inputs": [ + { + "name": "_paused", + "type": "bool", + "internalType": "bool" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "paused", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "bool", + "internalType": "bool" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "pendingOwner", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "address", + "internalType": "address" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "quote", + "inputs": [ + { + "name": "oft", + "type": "address", + "internalType": "address" + }, + { + "name": "_dstEid", + "type": "uint32", + "internalType": "uint32" + }, + { + "name": "_to", + "type": "bytes32", + "internalType": "bytes32" + }, + { + "name": "_amountLD", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [ + { + "name": "fee", + "type": "tuple", + "internalType": "struct MessagingFee", + "components": [ + { + "name": "nativeFee", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "lzTokenFee", + "type": "uint256", + "internalType": "uint256" + } + ] + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "recoverERC20", + "inputs": [ + { + "name": "tokenAddress", + "type": "address", + "internalType": "address" + }, + { + "name": "recipient", + "type": "address", + "internalType": "address" + }, + { + "name": "tokenAmount", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "recoverETH", + "inputs": [ + { + "name": "recipient", + "type": "address", + "internalType": "address" + }, + { + "name": "tokenAmount", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "remoteHop", + "inputs": [ + { + "name": "", + "type": "uint32", + "internalType": "uint32" + } + ], + "outputs": [ + { + "name": "", + "type": "bytes32", + "internalType": "bytes32" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "renounceOwnership", + "inputs": [], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "setFrxUsdLockbox", + "inputs": [ + { + "name": "_frxUsdLockbox", + "type": "address", + "internalType": "address" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "setMessageProcessed", + "inputs": [ + { + "name": "oft", + "type": "address", + "internalType": "address" + }, + { + "name": "srcEid", + "type": "uint32", + "internalType": "uint32" + }, + { + "name": "nonce", + "type": "uint64", + "internalType": "uint64" + }, + { + "name": "composeFrom", + "type": "bytes32", + "internalType": "bytes32" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "setRemoteHop", + "inputs": [ + { + "name": "_eid", + "type": "uint32", + "internalType": "uint32" + }, + { + "name": "_remoteHop", + "type": "address", + "internalType": "address" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "setRemoteHop", + "inputs": [ + { + "name": "_eid", + "type": "uint32", + "internalType": "uint32" + }, + { + "name": "_remoteHop", + "type": "bytes32", + "internalType": "bytes32" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "setSfrxUsdLockbox", + "inputs": [ + { + "name": "_sfrxUsdLockbox", + "type": "address", + "internalType": "address" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "sfrxUsdLockbox", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "address", + "internalType": "address" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "transferOwnership", + "inputs": [ + { + "name": "newOwner", + "type": "address", + "internalType": "address" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "event", + "name": "Hop", + "inputs": [ + { + "name": "oft", + "type": "address", + "indexed": false, + "internalType": "address" + }, + { + "name": "srcEid", + "type": "uint32", + "indexed": true, + "internalType": "uint32" + }, + { + "name": "dstEid", + "type": "uint32", + "indexed": true, + "internalType": "uint32" + }, + { + "name": "recipient", + "type": "bytes32", + "indexed": true, + "internalType": "bytes32" + }, + { + "name": "amount", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "MessageHash", + "inputs": [ + { + "name": "oft", + "type": "address", + "indexed": false, + "internalType": "address" + }, + { + "name": "srcEid", + "type": "uint32", + "indexed": true, + "internalType": "uint32" + }, + { + "name": "nonce", + "type": "uint64", + "indexed": true, + "internalType": "uint64" + }, + { + "name": "composeFrom", + "type": "bytes32", + "indexed": true, + "internalType": "bytes32" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "OwnershipTransferStarted", + "inputs": [ + { + "name": "previousOwner", + "type": "address", + "indexed": true, + "internalType": "address" + }, + { + "name": "newOwner", + "type": "address", + "indexed": true, + "internalType": "address" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "OwnershipTransferred", + "inputs": [ + { + "name": "previousOwner", + "type": "address", + "indexed": true, + "internalType": "address" + }, + { + "name": "newOwner", + "type": "address", + "indexed": true, + "internalType": "address" + } + ], + "anonymous": false + }, + { + "type": "error", + "name": "HopPaused", + "inputs": [] + }, + { + "type": "error", + "name": "InvalidOFT", + "inputs": [] + }, + { + "type": "error", + "name": "InvalidSourceChain", + "inputs": [] + }, + { + "type": "error", + "name": "InvalidSourceHop", + "inputs": [] + }, + { + "type": "error", + "name": "NotEndpoint", + "inputs": [] + }, + { + "type": "error", + "name": "OwnableInvalidOwner", + "inputs": [ + { + "name": "owner", + "type": "address", + "internalType": "address" + } + ] + }, + { + "type": "error", + "name": "OwnableUnauthorizedAccount", + "inputs": [ + { + "name": "account", + "type": "address", + "internalType": "address" + } + ] + }, + { + "type": "error", + "name": "ZeroAmountSend", + "inputs": [] + } +] diff --git a/scripts/abis/FRAX_PROXY_ADMIN_ABI.json b/scripts/abis/FRAX_PROXY_ADMIN_ABI.json new file mode 100644 index 0000000..fefc146 --- /dev/null +++ b/scripts/abis/FRAX_PROXY_ADMIN_ABI.json @@ -0,0 +1,172 @@ +[ + { + "type": "constructor", + "inputs": [ + { + "name": "_admin", + "type": "address", + "internalType": "address" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "changeProxyAdmin", + "inputs": [ + { + "name": "proxy", + "type": "address", + "internalType": "contract TransparentUpgradeableProxy" + }, + { + "name": "newAdmin", + "type": "address", + "internalType": "address" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "getProxyAdmin", + "inputs": [ + { + "name": "proxy", + "type": "address", + "internalType": "contract TransparentUpgradeableProxy" + } + ], + "outputs": [ + { + "name": "", + "type": "address", + "internalType": "address" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "getProxyImplementation", + "inputs": [ + { + "name": "proxy", + "type": "address", + "internalType": "contract TransparentUpgradeableProxy" + } + ], + "outputs": [ + { + "name": "", + "type": "address", + "internalType": "address" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "owner", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "address", + "internalType": "address" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "renounceOwnership", + "inputs": [], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "transferOwnership", + "inputs": [ + { + "name": "newOwner", + "type": "address", + "internalType": "address" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "upgrade", + "inputs": [ + { + "name": "proxy", + "type": "address", + "internalType": "contract TransparentUpgradeableProxy" + }, + { + "name": "implementation", + "type": "address", + "internalType": "address" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "upgradeAndCall", + "inputs": [ + { + "name": "proxy", + "type": "address", + "internalType": "contract TransparentUpgradeableProxy" + }, + { + "name": "implementation", + "type": "address", + "internalType": "address" + }, + { + "name": "data", + "type": "bytes", + "internalType": "bytes" + } + ], + "outputs": [], + "stateMutability": "payable" + }, + { + "type": "event", + "name": "OwnershipTransferred", + "inputs": [ + { + "name": "previousOwner", + "type": "address", + "indexed": true, + "internalType": "address" + }, + { + "name": "newOwner", + "type": "address", + "indexed": true, + "internalType": "address" + } + ], + "anonymous": false + }, + { + "type": "error", + "name": "AdminCallFailed", + "inputs": [] + }, + { + "type": "error", + "name": "ImplementationCallFailed", + "inputs": [] + } +] diff --git a/scripts/abis/HOP_V2_ABI.json b/scripts/abis/HOP_V2_ABI.json new file mode 100644 index 0000000..28652ae --- /dev/null +++ b/scripts/abis/HOP_V2_ABI.json @@ -0,0 +1,262 @@ +[ + { + "type": "function", + "name": "localEid", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "uint32", + "internalType": "uint32" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "endpoint", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "address", + "internalType": "contract ILayerZeroEndpointV2" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "paused", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "bool", + "internalType": "bool" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "numDVNs", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "uint8", + "internalType": "uint8" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "hopFee", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "EXECUTOR", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "address", + "internalType": "address" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "DVN", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "address", + "internalType": "address" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "TREASURY", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "address", + "internalType": "address" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "remoteHop", + "inputs": [ + { + "name": "_dstEid", + "type": "uint32", + "internalType": "uint32" + } + ], + "outputs": [ + { + "name": "", + "type": "bytes32", + "internalType": "bytes32" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "executorOptions", + "inputs": [ + { + "name": "_dstEid", + "type": "uint32", + "internalType": "uint32" + } + ], + "outputs": [ + { + "name": "", + "type": "bytes", + "internalType": "bytes" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "approvedOft", + "inputs": [ + { + "name": "_oft", + "type": "address", + "internalType": "address" + } + ], + "outputs": [ + { + "name": "", + "type": "bool", + "internalType": "bool" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "hasRole", + "inputs": [ + { + "name": "role", + "type": "bytes32", + "internalType": "bytes32" + }, + { + "name": "account", + "type": "address", + "internalType": "address" + } + ], + "outputs": [ + { + "name": "", + "type": "bool", + "internalType": "bool" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "getRoleMemberCount", + "inputs": [ + { + "name": "role", + "type": "bytes32", + "internalType": "bytes32" + } + ], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "getRoleMember", + "inputs": [ + { + "name": "role", + "type": "bytes32", + "internalType": "bytes32" + }, + { + "name": "index", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [ + { + "name": "", + "type": "address", + "internalType": "address" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "getRoleAdmin", + "inputs": [ + { + "name": "role", + "type": "bytes32", + "internalType": "bytes32" + } + ], + "outputs": [ + { + "name": "", + "type": "bytes32", + "internalType": "bytes32" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "DEFAULT_ADMIN_ROLE", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "bytes32", + "internalType": "bytes32" + } + ], + "stateMutability": "view" + } +] diff --git a/scripts/abis/OFT_ABI.json b/scripts/abis/OFT_ABI.json new file mode 100644 index 0000000..a0d74ea --- /dev/null +++ b/scripts/abis/OFT_ABI.json @@ -0,0 +1,1699 @@ +[ + { + "type": "constructor", + "inputs": [ + { + "name": "_lzEndpoint", + "type": "address", + "internalType": "address" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "SEND", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "uint16", + "internalType": "uint16" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "SEND_AND_CALL", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "uint16", + "internalType": "uint16" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "allowInitializePath", + "inputs": [ + { + "name": "origin", + "type": "tuple", + "internalType": "struct Origin", + "components": [ + { + "name": "srcEid", + "type": "uint32", + "internalType": "uint32" + }, + { + "name": "sender", + "type": "bytes32", + "internalType": "bytes32" + }, + { + "name": "nonce", + "type": "uint64", + "internalType": "uint64" + } + ] + } + ], + "outputs": [ + { + "name": "", + "type": "bool", + "internalType": "bool" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "allowance", + "inputs": [ + { + "name": "owner", + "type": "address", + "internalType": "address" + }, + { + "name": "spender", + "type": "address", + "internalType": "address" + } + ], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "approvalRequired", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "bool", + "internalType": "bool" + } + ], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "approve", + "inputs": [ + { + "name": "spender", + "type": "address", + "internalType": "address" + }, + { + "name": "amount", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [ + { + "name": "", + "type": "bool", + "internalType": "bool" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "balanceOf", + "inputs": [ + { + "name": "account", + "type": "address", + "internalType": "address" + } + ], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "buildMsgAndOptions", + "inputs": [ + { + "name": "_sendParam", + "type": "tuple", + "internalType": "struct SendParam", + "components": [ + { + "name": "dstEid", + "type": "uint32", + "internalType": "uint32" + }, + { + "name": "to", + "type": "bytes32", + "internalType": "bytes32" + }, + { + "name": "amountLD", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "minAmountLD", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "extraOptions", + "type": "bytes", + "internalType": "bytes" + }, + { + "name": "composeMsg", + "type": "bytes", + "internalType": "bytes" + }, + { + "name": "oftCmd", + "type": "bytes", + "internalType": "bytes" + } + ] + }, + { + "name": "_amountLD", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [ + { + "name": "message", + "type": "bytes", + "internalType": "bytes" + }, + { + "name": "options", + "type": "bytes", + "internalType": "bytes" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "combineOptions", + "inputs": [ + { + "name": "_eid", + "type": "uint32", + "internalType": "uint32" + }, + { + "name": "_msgType", + "type": "uint16", + "internalType": "uint16" + }, + { + "name": "_extraOptions", + "type": "bytes", + "internalType": "bytes" + } + ], + "outputs": [ + { + "name": "", + "type": "bytes", + "internalType": "bytes" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "composeMsgSender", + "inputs": [], + "outputs": [ + { + "name": "sender", + "type": "address", + "internalType": "address" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "debitView", + "inputs": [ + { + "name": "_amountLD", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "_minAmountLD", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "_dstEid", + "type": "uint32", + "internalType": "uint32" + } + ], + "outputs": [ + { + "name": "amountSentLD", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "amountReceivedLD", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "decimalConversionRate", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "decimals", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "uint8", + "internalType": "uint8" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "decreaseAllowance", + "inputs": [ + { + "name": "spender", + "type": "address", + "internalType": "address" + }, + { + "name": "subtractedValue", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [ + { + "name": "", + "type": "bool", + "internalType": "bool" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "endpoint", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "address", + "internalType": "contract ILayerZeroEndpointV2" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "enforcedOptions", + "inputs": [ + { + "name": "_eid", + "type": "uint32", + "internalType": "uint32" + }, + { + "name": "_msgType", + "type": "uint16", + "internalType": "uint16" + } + ], + "outputs": [ + { + "name": "", + "type": "bytes", + "internalType": "bytes" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "increaseAllowance", + "inputs": [ + { + "name": "spender", + "type": "address", + "internalType": "address" + }, + { + "name": "addedValue", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [ + { + "name": "", + "type": "bool", + "internalType": "bool" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "initialize", + "inputs": [ + { + "name": "_name", + "type": "string", + "internalType": "string" + }, + { + "name": "_symbol", + "type": "string", + "internalType": "string" + }, + { + "name": "_delegate", + "type": "address", + "internalType": "address" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "isPeer", + "inputs": [ + { + "name": "_eid", + "type": "uint32", + "internalType": "uint32" + }, + { + "name": "_peer", + "type": "bytes32", + "internalType": "bytes32" + } + ], + "outputs": [ + { + "name": "", + "type": "bool", + "internalType": "bool" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "lzReceive", + "inputs": [ + { + "name": "_origin", + "type": "tuple", + "internalType": "struct Origin", + "components": [ + { + "name": "srcEid", + "type": "uint32", + "internalType": "uint32" + }, + { + "name": "sender", + "type": "bytes32", + "internalType": "bytes32" + }, + { + "name": "nonce", + "type": "uint64", + "internalType": "uint64" + } + ] + }, + { + "name": "_guid", + "type": "bytes32", + "internalType": "bytes32" + }, + { + "name": "_message", + "type": "bytes", + "internalType": "bytes" + }, + { + "name": "_executor", + "type": "address", + "internalType": "address" + }, + { + "name": "_extraData", + "type": "bytes", + "internalType": "bytes" + } + ], + "outputs": [], + "stateMutability": "payable" + }, + { + "type": "function", + "name": "lzReceiveAndRevert", + "inputs": [ + { + "name": "_packets", + "type": "tuple[]", + "internalType": "struct InboundPacket[]", + "components": [ + { + "name": "origin", + "type": "tuple", + "internalType": "struct Origin", + "components": [ + { + "name": "srcEid", + "type": "uint32", + "internalType": "uint32" + }, + { + "name": "sender", + "type": "bytes32", + "internalType": "bytes32" + }, + { + "name": "nonce", + "type": "uint64", + "internalType": "uint64" + } + ] + }, + { + "name": "dstEid", + "type": "uint32", + "internalType": "uint32" + }, + { + "name": "receiver", + "type": "address", + "internalType": "address" + }, + { + "name": "guid", + "type": "bytes32", + "internalType": "bytes32" + }, + { + "name": "value", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "executor", + "type": "address", + "internalType": "address" + }, + { + "name": "message", + "type": "bytes", + "internalType": "bytes" + }, + { + "name": "extraData", + "type": "bytes", + "internalType": "bytes" + } + ] + } + ], + "outputs": [], + "stateMutability": "payable" + }, + { + "type": "function", + "name": "lzReceiveSimulate", + "inputs": [ + { + "name": "_origin", + "type": "tuple", + "internalType": "struct Origin", + "components": [ + { + "name": "srcEid", + "type": "uint32", + "internalType": "uint32" + }, + { + "name": "sender", + "type": "bytes32", + "internalType": "bytes32" + }, + { + "name": "nonce", + "type": "uint64", + "internalType": "uint64" + } + ] + }, + { + "name": "_guid", + "type": "bytes32", + "internalType": "bytes32" + }, + { + "name": "_message", + "type": "bytes", + "internalType": "bytes" + }, + { + "name": "_executor", + "type": "address", + "internalType": "address" + }, + { + "name": "_extraData", + "type": "bytes", + "internalType": "bytes" + } + ], + "outputs": [], + "stateMutability": "payable" + }, + { + "type": "function", + "name": "msgInspector", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "address", + "internalType": "address" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "name", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "string", + "internalType": "string" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "nextNonce", + "inputs": [ + { + "name": "", + "type": "uint32", + "internalType": "uint32" + }, + { + "name": "", + "type": "bytes32", + "internalType": "bytes32" + } + ], + "outputs": [ + { + "name": "nonce", + "type": "uint64", + "internalType": "uint64" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "oApp", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "address", + "internalType": "address" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "oAppVersion", + "inputs": [], + "outputs": [ + { + "name": "senderVersion", + "type": "uint64", + "internalType": "uint64" + }, + { + "name": "receiverVersion", + "type": "uint64", + "internalType": "uint64" + } + ], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "oftVersion", + "inputs": [], + "outputs": [ + { + "name": "interfaceId", + "type": "bytes4", + "internalType": "bytes4" + }, + { + "name": "version", + "type": "uint64", + "internalType": "uint64" + } + ], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "owner", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "address", + "internalType": "address" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "peers", + "inputs": [ + { + "name": "_eid", + "type": "uint32", + "internalType": "uint32" + } + ], + "outputs": [ + { + "name": "", + "type": "bytes32", + "internalType": "bytes32" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "preCrime", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "address", + "internalType": "address" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "quoteOFT", + "inputs": [ + { + "name": "_sendParam", + "type": "tuple", + "internalType": "struct SendParam", + "components": [ + { + "name": "dstEid", + "type": "uint32", + "internalType": "uint32" + }, + { + "name": "to", + "type": "bytes32", + "internalType": "bytes32" + }, + { + "name": "amountLD", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "minAmountLD", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "extraOptions", + "type": "bytes", + "internalType": "bytes" + }, + { + "name": "composeMsg", + "type": "bytes", + "internalType": "bytes" + }, + { + "name": "oftCmd", + "type": "bytes", + "internalType": "bytes" + } + ] + } + ], + "outputs": [ + { + "name": "oftLimit", + "type": "tuple", + "internalType": "struct OFTLimit", + "components": [ + { + "name": "minAmountLD", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "maxAmountLD", + "type": "uint256", + "internalType": "uint256" + } + ] + }, + { + "name": "oftFeeDetails", + "type": "tuple[]", + "internalType": "struct OFTFeeDetail[]", + "components": [ + { + "name": "feeAmountLD", + "type": "int256", + "internalType": "int256" + }, + { + "name": "description", + "type": "string", + "internalType": "string" + } + ] + }, + { + "name": "oftReceipt", + "type": "tuple", + "internalType": "struct OFTReceipt", + "components": [ + { + "name": "amountSentLD", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "amountReceivedLD", + "type": "uint256", + "internalType": "uint256" + } + ] + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "quoteSend", + "inputs": [ + { + "name": "_sendParam", + "type": "tuple", + "internalType": "struct SendParam", + "components": [ + { + "name": "dstEid", + "type": "uint32", + "internalType": "uint32" + }, + { + "name": "to", + "type": "bytes32", + "internalType": "bytes32" + }, + { + "name": "amountLD", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "minAmountLD", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "extraOptions", + "type": "bytes", + "internalType": "bytes" + }, + { + "name": "composeMsg", + "type": "bytes", + "internalType": "bytes" + }, + { + "name": "oftCmd", + "type": "bytes", + "internalType": "bytes" + } + ] + }, + { + "name": "_payInLzToken", + "type": "bool", + "internalType": "bool" + } + ], + "outputs": [ + { + "name": "msgFee", + "type": "tuple", + "internalType": "struct MessagingFee", + "components": [ + { + "name": "nativeFee", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "lzTokenFee", + "type": "uint256", + "internalType": "uint256" + } + ] + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "removeDust", + "inputs": [ + { + "name": "_amountLD", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [ + { + "name": "amountLD", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "renounceOwnership", + "inputs": [], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "send", + "inputs": [ + { + "name": "_sendParam", + "type": "tuple", + "internalType": "struct SendParam", + "components": [ + { + "name": "dstEid", + "type": "uint32", + "internalType": "uint32" + }, + { + "name": "to", + "type": "bytes32", + "internalType": "bytes32" + }, + { + "name": "amountLD", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "minAmountLD", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "extraOptions", + "type": "bytes", + "internalType": "bytes" + }, + { + "name": "composeMsg", + "type": "bytes", + "internalType": "bytes" + }, + { + "name": "oftCmd", + "type": "bytes", + "internalType": "bytes" + } + ] + }, + { + "name": "_fee", + "type": "tuple", + "internalType": "struct MessagingFee", + "components": [ + { + "name": "nativeFee", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "lzTokenFee", + "type": "uint256", + "internalType": "uint256" + } + ] + }, + { + "name": "_refundAddress", + "type": "address", + "internalType": "address" + } + ], + "outputs": [ + { + "name": "msgReceipt", + "type": "tuple", + "internalType": "struct MessagingReceipt", + "components": [ + { + "name": "guid", + "type": "bytes32", + "internalType": "bytes32" + }, + { + "name": "nonce", + "type": "uint64", + "internalType": "uint64" + }, + { + "name": "fee", + "type": "tuple", + "internalType": "struct MessagingFee", + "components": [ + { + "name": "nativeFee", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "lzTokenFee", + "type": "uint256", + "internalType": "uint256" + } + ] + } + ] + }, + { + "name": "oftReceipt", + "type": "tuple", + "internalType": "struct OFTReceipt", + "components": [ + { + "name": "amountSentLD", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "amountReceivedLD", + "type": "uint256", + "internalType": "uint256" + } + ] + } + ], + "stateMutability": "payable" + }, + { + "type": "function", + "name": "setDelegate", + "inputs": [ + { + "name": "_delegate", + "type": "address", + "internalType": "address" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "setEnforcedOptions", + "inputs": [ + { + "name": "_enforcedOptions", + "type": "tuple[]", + "internalType": "struct EnforcedOptionParam[]", + "components": [ + { + "name": "eid", + "type": "uint32", + "internalType": "uint32" + }, + { + "name": "msgType", + "type": "uint16", + "internalType": "uint16" + }, + { + "name": "options", + "type": "bytes", + "internalType": "bytes" + } + ] + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "setMsgInspector", + "inputs": [ + { + "name": "_msgInspector", + "type": "address", + "internalType": "address" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "setPeer", + "inputs": [ + { + "name": "_eid", + "type": "uint32", + "internalType": "uint32" + }, + { + "name": "_peer", + "type": "bytes32", + "internalType": "bytes32" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "setPreCrime", + "inputs": [ + { + "name": "_preCrime", + "type": "address", + "internalType": "address" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "sharedDecimals", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "uint8", + "internalType": "uint8" + } + ], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "symbol", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "string", + "internalType": "string" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "toLD", + "inputs": [ + { + "name": "_amountSD", + "type": "uint64", + "internalType": "uint64" + } + ], + "outputs": [ + { + "name": "amountLD", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "toSD", + "inputs": [ + { + "name": "_amountLD", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [ + { + "name": "amountSD", + "type": "uint64", + "internalType": "uint64" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "token", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "address", + "internalType": "address" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "totalSupply", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "transfer", + "inputs": [ + { + "name": "to", + "type": "address", + "internalType": "address" + }, + { + "name": "amount", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [ + { + "name": "", + "type": "bool", + "internalType": "bool" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "transferFrom", + "inputs": [ + { + "name": "from", + "type": "address", + "internalType": "address" + }, + { + "name": "to", + "type": "address", + "internalType": "address" + }, + { + "name": "amount", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [ + { + "name": "", + "type": "bool", + "internalType": "bool" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "transferOwnership", + "inputs": [ + { + "name": "newOwner", + "type": "address", + "internalType": "address" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "version", + "inputs": [], + "outputs": [ + { + "name": "major", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "minor", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "patch", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "pure" + }, + { + "type": "event", + "name": "Approval", + "inputs": [ + { + "name": "owner", + "type": "address", + "indexed": true, + "internalType": "address" + }, + { + "name": "spender", + "type": "address", + "indexed": true, + "internalType": "address" + }, + { + "name": "value", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "EnforcedOptionSet", + "inputs": [ + { + "name": "_enforcedOptions", + "type": "tuple[]", + "indexed": false, + "internalType": "struct EnforcedOptionParam[]", + "components": [ + { + "name": "eid", + "type": "uint32", + "internalType": "uint32" + }, + { + "name": "msgType", + "type": "uint16", + "internalType": "uint16" + }, + { + "name": "options", + "type": "bytes", + "internalType": "bytes" + } + ] + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "Initialized", + "inputs": [ + { + "name": "version", + "type": "uint8", + "indexed": false, + "internalType": "uint8" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "MsgInspectorSet", + "inputs": [ + { + "name": "inspector", + "type": "address", + "indexed": false, + "internalType": "address" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "OFTReceived", + "inputs": [ + { + "name": "guid", + "type": "bytes32", + "indexed": true, + "internalType": "bytes32" + }, + { + "name": "srcEid", + "type": "uint32", + "indexed": false, + "internalType": "uint32" + }, + { + "name": "toAddress", + "type": "address", + "indexed": true, + "internalType": "address" + }, + { + "name": "amountReceivedLD", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "OFTSent", + "inputs": [ + { + "name": "guid", + "type": "bytes32", + "indexed": true, + "internalType": "bytes32" + }, + { + "name": "dstEid", + "type": "uint32", + "indexed": false, + "internalType": "uint32" + }, + { + "name": "fromAddress", + "type": "address", + "indexed": true, + "internalType": "address" + }, + { + "name": "amountSentLD", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + }, + { + "name": "amountReceivedLD", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "OwnershipTransferred", + "inputs": [ + { + "name": "previousOwner", + "type": "address", + "indexed": true, + "internalType": "address" + }, + { + "name": "newOwner", + "type": "address", + "indexed": true, + "internalType": "address" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "PeerSet", + "inputs": [ + { + "name": "eid", + "type": "uint32", + "indexed": false, + "internalType": "uint32" + }, + { + "name": "peer", + "type": "bytes32", + "indexed": false, + "internalType": "bytes32" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "PreCrimeSet", + "inputs": [ + { + "name": "preCrimeAddress", + "type": "address", + "indexed": false, + "internalType": "address" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "Transfer", + "inputs": [ + { + "name": "from", + "type": "address", + "indexed": true, + "internalType": "address" + }, + { + "name": "to", + "type": "address", + "indexed": true, + "internalType": "address" + }, + { + "name": "value", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + } + ], + "anonymous": false + }, + { + "type": "error", + "name": "InvalidDelegate", + "inputs": [] + }, + { + "type": "error", + "name": "InvalidEndpointCall", + "inputs": [] + }, + { + "type": "error", + "name": "InvalidLocalDecimals", + "inputs": [] + }, + { + "type": "error", + "name": "InvalidOptions", + "inputs": [ + { + "name": "options", + "type": "bytes", + "internalType": "bytes" + } + ] + }, + { + "type": "error", + "name": "LzTokenUnavailable", + "inputs": [] + }, + { + "type": "error", + "name": "NoPeer", + "inputs": [ + { + "name": "eid", + "type": "uint32", + "internalType": "uint32" + } + ] + }, + { + "type": "error", + "name": "NotEnoughNative", + "inputs": [ + { + "name": "msgValue", + "type": "uint256", + "internalType": "uint256" + } + ] + }, + { + "type": "error", + "name": "OnlyEndpoint", + "inputs": [ + { + "name": "addr", + "type": "address", + "internalType": "address" + } + ] + }, + { + "type": "error", + "name": "OnlyPeer", + "inputs": [ + { + "name": "eid", + "type": "uint32", + "internalType": "uint32" + }, + { + "name": "sender", + "type": "bytes32", + "internalType": "bytes32" + } + ] + }, + { + "type": "error", + "name": "OnlySelf", + "inputs": [] + }, + { + "type": "error", + "name": "SimulationResult", + "inputs": [ + { + "name": "result", + "type": "bytes", + "internalType": "bytes" + } + ] + }, + { + "type": "error", + "name": "SlippageExceeded", + "inputs": [ + { + "name": "amountLD", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "minAmountLD", + "type": "uint256", + "internalType": "uint256" + } + ] + } +] diff --git a/scripts/abis/OFT_ADAPTER_ABI.json b/scripts/abis/OFT_ADAPTER_ABI.json new file mode 100644 index 0000000..1e99b62 --- /dev/null +++ b/scripts/abis/OFT_ADAPTER_ABI.json @@ -0,0 +1,106 @@ +[ + { + "inputs": [], + "name": "token", + "outputs": [{ "internalType": "address", "name": "", "type": "address" }], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [{ "internalType": "uint32", "name": "_eid", "type": "uint32" }], + "name": "peers", + "outputs": [{ "internalType": "bytes32", "name": "", "type": "bytes32" }], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "endpoint", + "outputs": [ + { + "internalType": "contract ILayerZeroEndpointV2", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint32", + "name": "_eid", + "type": "uint32" + }, + { + "internalType": "uint16", + "name": "_msgType", + "type": "uint16" + }, + { + "internalType": "bytes", + "name": "_extraOptions", + "type": "bytes" + } + ], + "name": "combineOptions", + "outputs": [ + { + "internalType": "bytes", + "name": "", + "type": "bytes" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint32", + "name": "_eid", + "type": "uint32" + }, + { + "internalType": "uint16", + "name": "_msgType", + "type": "uint16" + } + ], + "name": "enforcedOptions", + "outputs": [ + { + "internalType": "bytes", + "name": "", + "type": "bytes" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint32", + "name": "_eid", + "type": "uint32" + }, + { + "internalType": "bytes32", + "name": "_peer", + "type": "bytes32" + } + ], + "name": "isPeer", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function" + } +] diff --git a/scripts/abis/OFT_MINTABLE_ADAPTER_ABI.json b/scripts/abis/OFT_MINTABLE_ADAPTER_ABI.json new file mode 100644 index 0000000..c42a109 --- /dev/null +++ b/scripts/abis/OFT_MINTABLE_ADAPTER_ABI.json @@ -0,0 +1,1531 @@ +[ + { + "type": "constructor", + "inputs": [ + { + "name": "_token", + "type": "address", + "internalType": "address" + }, + { + "name": "_lzEndpoint", + "type": "address", + "internalType": "address" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "SEND", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "uint16", + "internalType": "uint16" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "SEND_AND_CALL", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "uint16", + "internalType": "uint16" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "allowInitializePath", + "inputs": [ + { + "name": "origin", + "type": "tuple", + "internalType": "struct Origin", + "components": [ + { + "name": "srcEid", + "type": "uint32", + "internalType": "uint32" + }, + { + "name": "sender", + "type": "bytes32", + "internalType": "bytes32" + }, + { + "name": "nonce", + "type": "uint64", + "internalType": "uint64" + } + ] + } + ], + "outputs": [ + { + "name": "", + "type": "bool", + "internalType": "bool" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "approvalRequired", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "bool", + "internalType": "bool" + } + ], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "combineOptions", + "inputs": [ + { + "name": "_eid", + "type": "uint32", + "internalType": "uint32" + }, + { + "name": "_msgType", + "type": "uint16", + "internalType": "uint16" + }, + { + "name": "_extraOptions", + "type": "bytes", + "internalType": "bytes" + } + ], + "outputs": [ + { + "name": "", + "type": "bytes", + "internalType": "bytes" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "composeMsgSender", + "inputs": [], + "outputs": [ + { + "name": "sender", + "type": "address", + "internalType": "address" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "decimalConversionRate", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "endpoint", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "address", + "internalType": "contract ILayerZeroEndpointV2" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "enforcedOptions", + "inputs": [ + { + "name": "_eid", + "type": "uint32", + "internalType": "uint32" + }, + { + "name": "_msgType", + "type": "uint16", + "internalType": "uint16" + } + ], + "outputs": [ + { + "name": "", + "type": "bytes", + "internalType": "bytes" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "initialTotalSupply", + "inputs": [ + { + "name": "_eid", + "type": "uint32", + "internalType": "uint32" + } + ], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "isPeer", + "inputs": [ + { + "name": "_eid", + "type": "uint32", + "internalType": "uint32" + }, + { + "name": "_peer", + "type": "bytes32", + "internalType": "bytes32" + } + ], + "outputs": [ + { + "name": "", + "type": "bool", + "internalType": "bool" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "lzReceive", + "inputs": [ + { + "name": "_origin", + "type": "tuple", + "internalType": "struct Origin", + "components": [ + { + "name": "srcEid", + "type": "uint32", + "internalType": "uint32" + }, + { + "name": "sender", + "type": "bytes32", + "internalType": "bytes32" + }, + { + "name": "nonce", + "type": "uint64", + "internalType": "uint64" + } + ] + }, + { + "name": "_guid", + "type": "bytes32", + "internalType": "bytes32" + }, + { + "name": "_message", + "type": "bytes", + "internalType": "bytes" + }, + { + "name": "_executor", + "type": "address", + "internalType": "address" + }, + { + "name": "_extraData", + "type": "bytes", + "internalType": "bytes" + } + ], + "outputs": [], + "stateMutability": "payable" + }, + { + "type": "function", + "name": "lzReceiveAndRevert", + "inputs": [ + { + "name": "_packets", + "type": "tuple[]", + "internalType": "struct InboundPacket[]", + "components": [ + { + "name": "origin", + "type": "tuple", + "internalType": "struct Origin", + "components": [ + { + "name": "srcEid", + "type": "uint32", + "internalType": "uint32" + }, + { + "name": "sender", + "type": "bytes32", + "internalType": "bytes32" + }, + { + "name": "nonce", + "type": "uint64", + "internalType": "uint64" + } + ] + }, + { + "name": "dstEid", + "type": "uint32", + "internalType": "uint32" + }, + { + "name": "receiver", + "type": "address", + "internalType": "address" + }, + { + "name": "guid", + "type": "bytes32", + "internalType": "bytes32" + }, + { + "name": "value", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "executor", + "type": "address", + "internalType": "address" + }, + { + "name": "message", + "type": "bytes", + "internalType": "bytes" + }, + { + "name": "extraData", + "type": "bytes", + "internalType": "bytes" + } + ] + } + ], + "outputs": [], + "stateMutability": "payable" + }, + { + "type": "function", + "name": "lzReceiveSimulate", + "inputs": [ + { + "name": "_origin", + "type": "tuple", + "internalType": "struct Origin", + "components": [ + { + "name": "srcEid", + "type": "uint32", + "internalType": "uint32" + }, + { + "name": "sender", + "type": "bytes32", + "internalType": "bytes32" + }, + { + "name": "nonce", + "type": "uint64", + "internalType": "uint64" + } + ] + }, + { + "name": "_guid", + "type": "bytes32", + "internalType": "bytes32" + }, + { + "name": "_message", + "type": "bytes", + "internalType": "bytes" + }, + { + "name": "_executor", + "type": "address", + "internalType": "address" + }, + { + "name": "_extraData", + "type": "bytes", + "internalType": "bytes" + } + ], + "outputs": [], + "stateMutability": "payable" + }, + { + "type": "function", + "name": "msgInspector", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "address", + "internalType": "address" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "nextNonce", + "inputs": [ + { + "name": "", + "type": "uint32", + "internalType": "uint32" + }, + { + "name": "", + "type": "bytes32", + "internalType": "bytes32" + } + ], + "outputs": [ + { + "name": "nonce", + "type": "uint64", + "internalType": "uint64" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "oApp", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "address", + "internalType": "address" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "oAppVersion", + "inputs": [], + "outputs": [ + { + "name": "senderVersion", + "type": "uint64", + "internalType": "uint64" + }, + { + "name": "receiverVersion", + "type": "uint64", + "internalType": "uint64" + } + ], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "oftVersion", + "inputs": [], + "outputs": [ + { + "name": "interfaceId", + "type": "bytes4", + "internalType": "bytes4" + }, + { + "name": "version", + "type": "uint64", + "internalType": "uint64" + } + ], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "owner", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "address", + "internalType": "address" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "peers", + "inputs": [ + { + "name": "_eid", + "type": "uint32", + "internalType": "uint32" + } + ], + "outputs": [ + { + "name": "", + "type": "bytes32", + "internalType": "bytes32" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "preCrime", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "address", + "internalType": "address" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "quoteOFT", + "inputs": [ + { + "name": "_sendParam", + "type": "tuple", + "internalType": "struct SendParam", + "components": [ + { + "name": "dstEid", + "type": "uint32", + "internalType": "uint32" + }, + { + "name": "to", + "type": "bytes32", + "internalType": "bytes32" + }, + { + "name": "amountLD", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "minAmountLD", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "extraOptions", + "type": "bytes", + "internalType": "bytes" + }, + { + "name": "composeMsg", + "type": "bytes", + "internalType": "bytes" + }, + { + "name": "oftCmd", + "type": "bytes", + "internalType": "bytes" + } + ] + } + ], + "outputs": [ + { + "name": "oftLimit", + "type": "tuple", + "internalType": "struct OFTLimit", + "components": [ + { + "name": "minAmountLD", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "maxAmountLD", + "type": "uint256", + "internalType": "uint256" + } + ] + }, + { + "name": "oftFeeDetails", + "type": "tuple[]", + "internalType": "struct OFTFeeDetail[]", + "components": [ + { + "name": "feeAmountLD", + "type": "int256", + "internalType": "int256" + }, + { + "name": "description", + "type": "string", + "internalType": "string" + } + ] + }, + { + "name": "oftReceipt", + "type": "tuple", + "internalType": "struct OFTReceipt", + "components": [ + { + "name": "amountSentLD", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "amountReceivedLD", + "type": "uint256", + "internalType": "uint256" + } + ] + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "quoteSend", + "inputs": [ + { + "name": "_sendParam", + "type": "tuple", + "internalType": "struct SendParam", + "components": [ + { + "name": "dstEid", + "type": "uint32", + "internalType": "uint32" + }, + { + "name": "to", + "type": "bytes32", + "internalType": "bytes32" + }, + { + "name": "amountLD", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "minAmountLD", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "extraOptions", + "type": "bytes", + "internalType": "bytes" + }, + { + "name": "composeMsg", + "type": "bytes", + "internalType": "bytes" + }, + { + "name": "oftCmd", + "type": "bytes", + "internalType": "bytes" + } + ] + }, + { + "name": "_payInLzToken", + "type": "bool", + "internalType": "bool" + } + ], + "outputs": [ + { + "name": "msgFee", + "type": "tuple", + "internalType": "struct MessagingFee", + "components": [ + { + "name": "nativeFee", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "lzTokenFee", + "type": "uint256", + "internalType": "uint256" + } + ] + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "recover", + "inputs": [], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "renounceOwnership", + "inputs": [], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "send", + "inputs": [ + { + "name": "_sendParam", + "type": "tuple", + "internalType": "struct SendParam", + "components": [ + { + "name": "dstEid", + "type": "uint32", + "internalType": "uint32" + }, + { + "name": "to", + "type": "bytes32", + "internalType": "bytes32" + }, + { + "name": "amountLD", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "minAmountLD", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "extraOptions", + "type": "bytes", + "internalType": "bytes" + }, + { + "name": "composeMsg", + "type": "bytes", + "internalType": "bytes" + }, + { + "name": "oftCmd", + "type": "bytes", + "internalType": "bytes" + } + ] + }, + { + "name": "_fee", + "type": "tuple", + "internalType": "struct MessagingFee", + "components": [ + { + "name": "nativeFee", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "lzTokenFee", + "type": "uint256", + "internalType": "uint256" + } + ] + }, + { + "name": "_refundAddress", + "type": "address", + "internalType": "address" + } + ], + "outputs": [ + { + "name": "msgReceipt", + "type": "tuple", + "internalType": "struct MessagingReceipt", + "components": [ + { + "name": "guid", + "type": "bytes32", + "internalType": "bytes32" + }, + { + "name": "nonce", + "type": "uint64", + "internalType": "uint64" + }, + { + "name": "fee", + "type": "tuple", + "internalType": "struct MessagingFee", + "components": [ + { + "name": "nativeFee", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "lzTokenFee", + "type": "uint256", + "internalType": "uint256" + } + ] + } + ] + }, + { + "name": "oftReceipt", + "type": "tuple", + "internalType": "struct OFTReceipt", + "components": [ + { + "name": "amountSentLD", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "amountReceivedLD", + "type": "uint256", + "internalType": "uint256" + } + ] + } + ], + "stateMutability": "payable" + }, + { + "type": "function", + "name": "setDelegate", + "inputs": [ + { + "name": "_delegate", + "type": "address", + "internalType": "address" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "setEnforcedOptions", + "inputs": [ + { + "name": "_enforcedOptions", + "type": "tuple[]", + "internalType": "struct EnforcedOptionParam[]", + "components": [ + { + "name": "eid", + "type": "uint32", + "internalType": "uint32" + }, + { + "name": "msgType", + "type": "uint16", + "internalType": "uint16" + }, + { + "name": "options", + "type": "bytes", + "internalType": "bytes" + } + ] + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "setInitialTotalSupply", + "inputs": [ + { + "name": "_eid", + "type": "uint32", + "internalType": "uint32" + }, + { + "name": "_amount", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "setMsgInspector", + "inputs": [ + { + "name": "_msgInspector", + "type": "address", + "internalType": "address" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "setPeer", + "inputs": [ + { + "name": "_eid", + "type": "uint32", + "internalType": "uint32" + }, + { + "name": "_peer", + "type": "bytes32", + "internalType": "bytes32" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "setPreCrime", + "inputs": [ + { + "name": "_preCrime", + "type": "address", + "internalType": "address" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "sharedDecimals", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "uint8", + "internalType": "uint8" + } + ], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "token", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "address", + "internalType": "address" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "totalSupply", + "inputs": [ + { + "name": "_eid", + "type": "uint32", + "internalType": "uint32" + } + ], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "totalTransferFrom", + "inputs": [ + { + "name": "_eid", + "type": "uint32", + "internalType": "uint32" + } + ], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "totalTransferFromSum", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "totalTransferTo", + "inputs": [ + { + "name": "_eid", + "type": "uint32", + "internalType": "uint32" + } + ], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "totalTransferToSum", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "totalTransfers", + "inputs": [ + { + "name": "_eid", + "type": "uint32", + "internalType": "uint32" + } + ], + "outputs": [ + { + "name": "from", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "to", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "totalTransfersAndInitialTotalSupply", + "inputs": [ + { + "name": "_eid", + "type": "uint32", + "internalType": "uint32" + } + ], + "outputs": [ + { + "name": "from", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "to", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "initialTotalSupply_", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "transferOwnership", + "inputs": [ + { + "name": "newOwner", + "type": "address", + "internalType": "address" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "version", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "string", + "internalType": "string" + } + ], + "stateMutability": "pure" + }, + { + "type": "event", + "name": "AddToTotalTransferFromEid", + "inputs": [ + { + "name": "eid", + "type": "uint32", + "indexed": true, + "internalType": "uint32" + }, + { + "name": "previousTotalAmount", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + }, + { + "name": "amount", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "AddToTotalTransferFromSum", + "inputs": [ + { + "name": "previousTotalAmount", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + }, + { + "name": "amount", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "AddToTotalTransferToEid", + "inputs": [ + { + "name": "eid", + "type": "uint32", + "indexed": true, + "internalType": "uint32" + }, + { + "name": "previousTotalAmount", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + }, + { + "name": "amount", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "AddToTotalTransferToSum", + "inputs": [ + { + "name": "previousTotalAmount", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + }, + { + "name": "amount", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "EnforcedOptionSet", + "inputs": [ + { + "name": "_enforcedOptions", + "type": "tuple[]", + "indexed": false, + "internalType": "struct EnforcedOptionParam[]", + "components": [ + { + "name": "eid", + "type": "uint32", + "internalType": "uint32" + }, + { + "name": "msgType", + "type": "uint16", + "internalType": "uint16" + }, + { + "name": "options", + "type": "bytes", + "internalType": "bytes" + } + ] + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "Initialized", + "inputs": [ + { + "name": "version", + "type": "uint8", + "indexed": false, + "internalType": "uint8" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "MsgInspectorSet", + "inputs": [ + { + "name": "inspector", + "type": "address", + "indexed": false, + "internalType": "address" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "OFTReceived", + "inputs": [ + { + "name": "guid", + "type": "bytes32", + "indexed": true, + "internalType": "bytes32" + }, + { + "name": "srcEid", + "type": "uint32", + "indexed": false, + "internalType": "uint32" + }, + { + "name": "toAddress", + "type": "address", + "indexed": true, + "internalType": "address" + }, + { + "name": "amountReceivedLD", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "OFTSent", + "inputs": [ + { + "name": "guid", + "type": "bytes32", + "indexed": true, + "internalType": "bytes32" + }, + { + "name": "dstEid", + "type": "uint32", + "indexed": false, + "internalType": "uint32" + }, + { + "name": "fromAddress", + "type": "address", + "indexed": true, + "internalType": "address" + }, + { + "name": "amountSentLD", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + }, + { + "name": "amountReceivedLD", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "OwnershipTransferred", + "inputs": [ + { + "name": "previousOwner", + "type": "address", + "indexed": true, + "internalType": "address" + }, + { + "name": "newOwner", + "type": "address", + "indexed": true, + "internalType": "address" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "PeerSet", + "inputs": [ + { + "name": "eid", + "type": "uint32", + "indexed": false, + "internalType": "uint32" + }, + { + "name": "peer", + "type": "bytes32", + "indexed": false, + "internalType": "bytes32" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "PreCrimeSet", + "inputs": [ + { + "name": "preCrimeAddress", + "type": "address", + "indexed": false, + "internalType": "address" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "SetInitialTotalSupply", + "inputs": [ + { + "name": "eid", + "type": "uint32", + "indexed": true, + "internalType": "uint32" + }, + { + "name": "amount", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + } + ], + "anonymous": false + }, + { + "type": "error", + "name": "InvalidDelegate", + "inputs": [] + }, + { + "type": "error", + "name": "InvalidEndpointCall", + "inputs": [] + }, + { + "type": "error", + "name": "InvalidLocalDecimals", + "inputs": [] + }, + { + "type": "error", + "name": "InvalidOptions", + "inputs": [ + { + "name": "options", + "type": "bytes", + "internalType": "bytes" + } + ] + }, + { + "type": "error", + "name": "LzTokenUnavailable", + "inputs": [] + }, + { + "type": "error", + "name": "NoPeer", + "inputs": [ + { + "name": "eid", + "type": "uint32", + "internalType": "uint32" + } + ] + }, + { + "type": "error", + "name": "NotEnoughNative", + "inputs": [ + { + "name": "msgValue", + "type": "uint256", + "internalType": "uint256" + } + ] + }, + { + "type": "error", + "name": "OnlyEndpoint", + "inputs": [ + { + "name": "addr", + "type": "address", + "internalType": "address" + } + ] + }, + { + "type": "error", + "name": "OnlyPeer", + "inputs": [ + { + "name": "eid", + "type": "uint32", + "internalType": "uint32" + }, + { + "name": "sender", + "type": "bytes32", + "internalType": "bytes32" + } + ] + }, + { + "type": "error", + "name": "OnlySelf", + "inputs": [] + }, + { + "type": "error", + "name": "SimulationResult", + "inputs": [ + { + "name": "result", + "type": "bytes", + "internalType": "bytes" + } + ] + }, + { + "type": "error", + "name": "SlippageExceeded", + "inputs": [ + { + "name": "amountLD", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "minAmountLD", + "type": "uint256", + "internalType": "uint256" + } + ] + } +] diff --git a/scripts/abis/RECEIVE_ULN302_ABI.json b/scripts/abis/RECEIVE_ULN302_ABI.json new file mode 100644 index 0000000..8b39a4f --- /dev/null +++ b/scripts/abis/RECEIVE_ULN302_ABI.json @@ -0,0 +1,748 @@ +[ + { + "inputs": [ + { + "internalType": "address", + "name": "_endpoint", + "type": "address" + } + ], + "stateMutability": "nonpayable", + "type": "constructor" + }, + { + "inputs": [], + "name": "LZ_MessageLib_OnlyEndpoint", + "type": "error" + }, + { + "inputs": [], + "name": "LZ_ULN_AtLeastOneDVN", + "type": "error" + }, + { + "inputs": [ + { + "internalType": "uint32", + "name": "configType", + "type": "uint32" + } + ], + "name": "LZ_ULN_InvalidConfigType", + "type": "error" + }, + { + "inputs": [], + "name": "LZ_ULN_InvalidConfirmations", + "type": "error" + }, + { + "inputs": [], + "name": "LZ_ULN_InvalidEid", + "type": "error" + }, + { + "inputs": [], + "name": "LZ_ULN_InvalidOptionalDVNCount", + "type": "error" + }, + { + "inputs": [], + "name": "LZ_ULN_InvalidOptionalDVNThreshold", + "type": "error" + }, + { + "inputs": [], + "name": "LZ_ULN_InvalidPacketHeader", + "type": "error" + }, + { + "inputs": [], + "name": "LZ_ULN_InvalidPacketVersion", + "type": "error" + }, + { + "inputs": [], + "name": "LZ_ULN_InvalidRequiredDVNCount", + "type": "error" + }, + { + "inputs": [], + "name": "LZ_ULN_Unsorted", + "type": "error" + }, + { + "inputs": [ + { + "internalType": "uint32", + "name": "eid", + "type": "uint32" + } + ], + "name": "LZ_ULN_UnsupportedEid", + "type": "error" + }, + { + "inputs": [], + "name": "LZ_ULN_Verifying", + "type": "error" + }, + { + "anonymous": false, + "inputs": [ + { + "components": [ + { + "internalType": "uint32", + "name": "eid", + "type": "uint32" + }, + { + "components": [ + { + "internalType": "uint64", + "name": "confirmations", + "type": "uint64" + }, + { + "internalType": "uint8", + "name": "requiredDVNCount", + "type": "uint8" + }, + { + "internalType": "uint8", + "name": "optionalDVNCount", + "type": "uint8" + }, + { + "internalType": "uint8", + "name": "optionalDVNThreshold", + "type": "uint8" + }, + { + "internalType": "address[]", + "name": "requiredDVNs", + "type": "address[]" + }, + { + "internalType": "address[]", + "name": "optionalDVNs", + "type": "address[]" + } + ], + "internalType": "struct UlnConfig", + "name": "config", + "type": "tuple" + } + ], + "indexed": false, + "internalType": "struct SetDefaultUlnConfigParam[]", + "name": "params", + "type": "tuple[]" + } + ], + "name": "DefaultUlnConfigsSet", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "previousOwner", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "newOwner", + "type": "address" + } + ], + "name": "OwnershipTransferred", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "address", + "name": "dvn", + "type": "address" + }, + { + "indexed": false, + "internalType": "bytes", + "name": "header", + "type": "bytes" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "confirmations", + "type": "uint256" + }, + { + "indexed": false, + "internalType": "bytes32", + "name": "proofHash", + "type": "bytes32" + } + ], + "name": "PayloadVerified", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "address", + "name": "oapp", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint32", + "name": "eid", + "type": "uint32" + }, + { + "components": [ + { + "internalType": "uint64", + "name": "confirmations", + "type": "uint64" + }, + { + "internalType": "uint8", + "name": "requiredDVNCount", + "type": "uint8" + }, + { + "internalType": "uint8", + "name": "optionalDVNCount", + "type": "uint8" + }, + { + "internalType": "uint8", + "name": "optionalDVNThreshold", + "type": "uint8" + }, + { + "internalType": "address[]", + "name": "requiredDVNs", + "type": "address[]" + }, + { + "internalType": "address[]", + "name": "optionalDVNs", + "type": "address[]" + } + ], + "indexed": false, + "internalType": "struct UlnConfig", + "name": "config", + "type": "tuple" + } + ], + "name": "UlnConfigSet", + "type": "event" + }, + { + "inputs": [ + { + "internalType": "bytes", + "name": "_packetHeader", + "type": "bytes" + }, + { + "internalType": "uint32", + "name": "_localEid", + "type": "uint32" + } + ], + "name": "assertHeader", + "outputs": [], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes", + "name": "_packetHeader", + "type": "bytes" + }, + { + "internalType": "bytes32", + "name": "_payloadHash", + "type": "bytes32" + } + ], + "name": "commitVerification", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_oapp", + "type": "address" + }, + { + "internalType": "uint32", + "name": "_remoteEid", + "type": "uint32" + } + ], + "name": "getAppUlnConfig", + "outputs": [ + { + "components": [ + { + "internalType": "uint64", + "name": "confirmations", + "type": "uint64" + }, + { + "internalType": "uint8", + "name": "requiredDVNCount", + "type": "uint8" + }, + { + "internalType": "uint8", + "name": "optionalDVNCount", + "type": "uint8" + }, + { + "internalType": "uint8", + "name": "optionalDVNThreshold", + "type": "uint8" + }, + { + "internalType": "address[]", + "name": "requiredDVNs", + "type": "address[]" + }, + { + "internalType": "address[]", + "name": "optionalDVNs", + "type": "address[]" + } + ], + "internalType": "struct UlnConfig", + "name": "", + "type": "tuple" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint32", + "name": "_eid", + "type": "uint32" + }, + { + "internalType": "address", + "name": "_oapp", + "type": "address" + }, + { + "internalType": "uint32", + "name": "_configType", + "type": "uint32" + } + ], + "name": "getConfig", + "outputs": [ + { + "internalType": "bytes", + "name": "", + "type": "bytes" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_oapp", + "type": "address" + }, + { + "internalType": "uint32", + "name": "_remoteEid", + "type": "uint32" + } + ], + "name": "getUlnConfig", + "outputs": [ + { + "components": [ + { + "internalType": "uint64", + "name": "confirmations", + "type": "uint64" + }, + { + "internalType": "uint8", + "name": "requiredDVNCount", + "type": "uint8" + }, + { + "internalType": "uint8", + "name": "optionalDVNCount", + "type": "uint8" + }, + { + "internalType": "uint8", + "name": "optionalDVNThreshold", + "type": "uint8" + }, + { + "internalType": "address[]", + "name": "requiredDVNs", + "type": "address[]" + }, + { + "internalType": "address[]", + "name": "optionalDVNs", + "type": "address[]" + } + ], + "internalType": "struct UlnConfig", + "name": "rtnConfig", + "type": "tuple" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "headerHash", + "type": "bytes32" + }, + { + "internalType": "bytes32", + "name": "payloadHash", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "dvn", + "type": "address" + } + ], + "name": "hashLookup", + "outputs": [ + { + "internalType": "bool", + "name": "submitted", + "type": "bool" + }, + { + "internalType": "uint64", + "name": "confirmations", + "type": "uint64" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint32", + "name": "_eid", + "type": "uint32" + } + ], + "name": "isSupportedEid", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "messageLibType", + "outputs": [ + { + "internalType": "enum MessageLibType", + "name": "", + "type": "uint8" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [], + "name": "owner", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "renounceOwnership", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_oapp", + "type": "address" + }, + { + "components": [ + { + "internalType": "uint32", + "name": "eid", + "type": "uint32" + }, + { + "internalType": "uint32", + "name": "configType", + "type": "uint32" + }, + { + "internalType": "bytes", + "name": "config", + "type": "bytes" + } + ], + "internalType": "struct SetConfigParam[]", + "name": "_params", + "type": "tuple[]" + } + ], + "name": "setConfig", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "components": [ + { + "internalType": "uint32", + "name": "eid", + "type": "uint32" + }, + { + "components": [ + { + "internalType": "uint64", + "name": "confirmations", + "type": "uint64" + }, + { + "internalType": "uint8", + "name": "requiredDVNCount", + "type": "uint8" + }, + { + "internalType": "uint8", + "name": "optionalDVNCount", + "type": "uint8" + }, + { + "internalType": "uint8", + "name": "optionalDVNThreshold", + "type": "uint8" + }, + { + "internalType": "address[]", + "name": "requiredDVNs", + "type": "address[]" + }, + { + "internalType": "address[]", + "name": "optionalDVNs", + "type": "address[]" + } + ], + "internalType": "struct UlnConfig", + "name": "config", + "type": "tuple" + } + ], + "internalType": "struct SetDefaultUlnConfigParam[]", + "name": "_params", + "type": "tuple[]" + } + ], + "name": "setDefaultUlnConfigs", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes4", + "name": "_interfaceId", + "type": "bytes4" + } + ], + "name": "supportsInterface", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "newOwner", + "type": "address" + } + ], + "name": "transferOwnership", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "components": [ + { + "internalType": "uint64", + "name": "confirmations", + "type": "uint64" + }, + { + "internalType": "uint8", + "name": "requiredDVNCount", + "type": "uint8" + }, + { + "internalType": "uint8", + "name": "optionalDVNCount", + "type": "uint8" + }, + { + "internalType": "uint8", + "name": "optionalDVNThreshold", + "type": "uint8" + }, + { + "internalType": "address[]", + "name": "requiredDVNs", + "type": "address[]" + }, + { + "internalType": "address[]", + "name": "optionalDVNs", + "type": "address[]" + } + ], + "internalType": "struct UlnConfig", + "name": "_config", + "type": "tuple" + }, + { + "internalType": "bytes32", + "name": "_headerHash", + "type": "bytes32" + }, + { + "internalType": "bytes32", + "name": "_payloadHash", + "type": "bytes32" + } + ], + "name": "verifiable", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes", + "name": "_packetHeader", + "type": "bytes" + }, + { + "internalType": "bytes32", + "name": "_payloadHash", + "type": "bytes32" + }, + { + "internalType": "uint64", + "name": "_confirmations", + "type": "uint64" + } + ], + "name": "verify", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "version", + "outputs": [ + { + "internalType": "uint64", + "name": "major", + "type": "uint64" + }, + { + "internalType": "uint8", + "name": "minor", + "type": "uint8" + }, + { + "internalType": "uint8", + "name": "endpointVersion", + "type": "uint8" + } + ], + "stateMutability": "pure", + "type": "function" + } +] diff --git a/scripts/abis/REMOTE_ADMIN_V2_ABI.json b/scripts/abis/REMOTE_ADMIN_V2_ABI.json new file mode 100644 index 0000000..3eec92b --- /dev/null +++ b/scripts/abis/REMOTE_ADMIN_V2_ABI.json @@ -0,0 +1,16 @@ +[ + { + "inputs": [], + "name": "frxUsdOft", + "outputs": [{ "internalType": "address", "name": "", "type": "address" }], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "hopV2", + "outputs": [{ "internalType": "address", "name": "", "type": "address" }], + "stateMutability": "view", + "type": "function" + } +] diff --git a/scripts/abis/REMOTE_HOP_ABI.json b/scripts/abis/REMOTE_HOP_ABI.json new file mode 100644 index 0000000..466ec29 --- /dev/null +++ b/scripts/abis/REMOTE_HOP_ABI.json @@ -0,0 +1,642 @@ +[ + { + "type": "constructor", + "inputs": [ + { + "name": "_owner", + "type": "address", + "internalType": "address" + }, + { + "name": "_fraxtalHop", + "type": "bytes32", + "internalType": "bytes32" + }, + { + "name": "_numDVNs", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "_EXECUTOR", + "type": "address", + "internalType": "address" + }, + { + "name": "_DVN", + "type": "address", + "internalType": "address" + }, + { + "name": "_TREASURY", + "type": "address", + "internalType": "address" + }, + { + "name": "_approvedOfts", + "type": "address[]", + "internalType": "address[]" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "receive", + "stateMutability": "payable" + }, + { + "type": "function", + "name": "DVN", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "address", + "internalType": "address" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "EXECUTOR", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "address", + "internalType": "address" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "TREASURY", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "address", + "internalType": "address" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "acceptOwnership", + "inputs": [], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "approvedOft", + "inputs": [ + { + "name": "", + "type": "address", + "internalType": "address" + } + ], + "outputs": [ + { + "name": "", + "type": "bool", + "internalType": "bool" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "executorOptions", + "inputs": [ + { + "name": "", + "type": "uint32", + "internalType": "uint32" + } + ], + "outputs": [ + { + "name": "", + "type": "bytes", + "internalType": "bytes" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "fraxtalHop", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "bytes32", + "internalType": "bytes32" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "hopFee", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "numDVNs", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "owner", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "address", + "internalType": "address" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "pause", + "inputs": [ + { + "name": "_paused", + "type": "bool", + "internalType": "bool" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "paused", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "bool", + "internalType": "bool" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "pendingOwner", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "address", + "internalType": "address" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "quote", + "inputs": [ + { + "name": "_oft", + "type": "address", + "internalType": "address" + }, + { + "name": "_dstEid", + "type": "uint32", + "internalType": "uint32" + }, + { + "name": "_to", + "type": "bytes32", + "internalType": "bytes32" + }, + { + "name": "_amountLD", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [ + { + "name": "fee", + "type": "tuple", + "internalType": "struct MessagingFee", + "components": [ + { + "name": "nativeFee", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "lzTokenFee", + "type": "uint256", + "internalType": "uint256" + } + ] + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "quoteHop", + "inputs": [ + { + "name": "_dstEid", + "type": "uint32", + "internalType": "uint32" + } + ], + "outputs": [ + { + "name": "finalFee", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "recoverERC20", + "inputs": [ + { + "name": "tokenAddress", + "type": "address", + "internalType": "address" + }, + { + "name": "recipient", + "type": "address", + "internalType": "address" + }, + { + "name": "tokenAmount", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "recoverETH", + "inputs": [ + { + "name": "recipient", + "type": "address", + "internalType": "address" + }, + { + "name": "tokenAmount", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "renounceOwnership", + "inputs": [], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "sendOFT", + "inputs": [ + { + "name": "_oft", + "type": "address", + "internalType": "address" + }, + { + "name": "_dstEid", + "type": "uint32", + "internalType": "uint32" + }, + { + "name": "_to", + "type": "bytes32", + "internalType": "bytes32" + }, + { + "name": "_amountLD", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [], + "stateMutability": "payable" + }, + { + "type": "function", + "name": "setExecutorOptions", + "inputs": [ + { + "name": "eid", + "type": "uint32", + "internalType": "uint32" + }, + { + "name": "_options", + "type": "bytes", + "internalType": "bytes" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "setFraxtalHop", + "inputs": [ + { + "name": "_fraxtalHop", + "type": "address", + "internalType": "address" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "setFraxtalHop", + "inputs": [ + { + "name": "_fraxtalHop", + "type": "bytes32", + "internalType": "bytes32" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "setHopFee", + "inputs": [ + { + "name": "_hopFee", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "setNumDVNs", + "inputs": [ + { + "name": "_numDVNs", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "toggleOFTApproval", + "inputs": [ + { + "name": "_oft", + "type": "address", + "internalType": "address" + }, + { + "name": "_approved", + "type": "bool", + "internalType": "bool" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "transferOwnership", + "inputs": [ + { + "name": "newOwner", + "type": "address", + "internalType": "address" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "version", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "string", + "internalType": "string" + } + ], + "stateMutability": "pure" + }, + { + "type": "event", + "name": "OwnershipTransferStarted", + "inputs": [ + { + "name": "previousOwner", + "type": "address", + "indexed": true, + "internalType": "address" + }, + { + "name": "newOwner", + "type": "address", + "indexed": true, + "internalType": "address" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "OwnershipTransferred", + "inputs": [ + { + "name": "previousOwner", + "type": "address", + "indexed": true, + "internalType": "address" + }, + { + "name": "newOwner", + "type": "address", + "indexed": true, + "internalType": "address" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "SendOFT", + "inputs": [ + { + "name": "oft", + "type": "address", + "indexed": false, + "internalType": "address" + }, + { + "name": "sender", + "type": "address", + "indexed": true, + "internalType": "address" + }, + { + "name": "dstEid", + "type": "uint32", + "indexed": true, + "internalType": "uint32" + }, + { + "name": "to", + "type": "bytes32", + "indexed": true, + "internalType": "bytes32" + }, + { + "name": "amountLD", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + } + ], + "anonymous": false + }, + { + "type": "error", + "name": "HopPaused", + "inputs": [] + }, + { + "type": "error", + "name": "InsufficientFee", + "inputs": [] + }, + { + "type": "error", + "name": "InvalidOFT", + "inputs": [] + }, + { + "type": "error", + "name": "InvalidOptionType", + "inputs": [ + { + "name": "optionType", + "type": "uint16", + "internalType": "uint16" + } + ] + }, + { + "type": "error", + "name": "NotEndpoint", + "inputs": [] + }, + { + "type": "error", + "name": "OwnableInvalidOwner", + "inputs": [ + { + "name": "owner", + "type": "address", + "internalType": "address" + } + ] + }, + { + "type": "error", + "name": "OwnableUnauthorizedAccount", + "inputs": [ + { + "name": "account", + "type": "address", + "internalType": "address" + } + ] + }, + { + "type": "error", + "name": "RefundFailed", + "inputs": [] + }, + { + "type": "error", + "name": "SafeCastOverflowedUintDowncast", + "inputs": [ + { + "name": "bits", + "type": "uint8", + "internalType": "uint8" + }, + { + "name": "value", + "type": "uint256", + "internalType": "uint256" + } + ] + }, + { + "type": "error", + "name": "SafeERC20FailedOperation", + "inputs": [ + { + "name": "token", + "type": "address", + "internalType": "address" + } + ] + }, + { + "type": "error", + "name": "ZeroAmountSend", + "inputs": [] + } +] diff --git a/scripts/abis/REMOTE_MINT_REDEEM_HOP.json b/scripts/abis/REMOTE_MINT_REDEEM_HOP.json new file mode 100644 index 0000000..bd1ff61 --- /dev/null +++ b/scripts/abis/REMOTE_MINT_REDEEM_HOP.json @@ -0,0 +1,610 @@ +[ + { + "type": "constructor", + "inputs": [ + { + "name": "_owner", + "type": "address", + "internalType": "address" + }, + { + "name": "_fraxtalHop", + "type": "bytes32", + "internalType": "bytes32" + }, + { + "name": "_numDVNs", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "_EXECUTOR", + "type": "address", + "internalType": "address" + }, + { + "name": "_DVN", + "type": "address", + "internalType": "address" + }, + { + "name": "_TREASURY", + "type": "address", + "internalType": "address" + }, + { + "name": "_EID", + "type": "uint32", + "internalType": "uint32" + }, + { + "name": "_frxUsdOft", + "type": "address", + "internalType": "address" + }, + { + "name": "_sfrxUsdOft", + "type": "address", + "internalType": "address" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "receive", + "stateMutability": "payable" + }, + { + "type": "function", + "name": "DVN", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "address", + "internalType": "address" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "EID", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "uint32", + "internalType": "uint32" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "EXECUTOR", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "address", + "internalType": "address" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "TREASURY", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "address", + "internalType": "address" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "acceptOwnership", + "inputs": [], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "fraxtalHop", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "bytes32", + "internalType": "bytes32" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "frxUsdOft", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "address", + "internalType": "address" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "hopFee", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "mintRedeem", + "inputs": [ + { + "name": "_oft", + "type": "address", + "internalType": "address" + }, + { + "name": "_amountLD", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [], + "stateMutability": "payable" + }, + { + "type": "function", + "name": "numDVNs", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "owner", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "address", + "internalType": "address" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "pause", + "inputs": [ + { + "name": "_paused", + "type": "bool", + "internalType": "bool" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "paused", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "bool", + "internalType": "bool" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "pendingOwner", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "address", + "internalType": "address" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "quote", + "inputs": [ + { + "name": "_oft", + "type": "address", + "internalType": "address" + }, + { + "name": "_to", + "type": "bytes32", + "internalType": "bytes32" + }, + { + "name": "_amountLD", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [ + { + "name": "fee", + "type": "tuple", + "internalType": "struct MessagingFee", + "components": [ + { + "name": "nativeFee", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "lzTokenFee", + "type": "uint256", + "internalType": "uint256" + } + ] + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "quoteHop", + "inputs": [], + "outputs": [ + { + "name": "finalFee", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "recoverERC20", + "inputs": [ + { + "name": "tokenAddress", + "type": "address", + "internalType": "address" + }, + { + "name": "recipient", + "type": "address", + "internalType": "address" + }, + { + "name": "tokenAmount", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "recoverETH", + "inputs": [ + { + "name": "recipient", + "type": "address", + "internalType": "address" + }, + { + "name": "tokenAmount", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "renounceOwnership", + "inputs": [], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "setFraxtalHop", + "inputs": [ + { + "name": "_fraxtalHop", + "type": "address", + "internalType": "address" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "setFraxtalHop", + "inputs": [ + { + "name": "_fraxtalHop", + "type": "bytes32", + "internalType": "bytes32" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "setFrxUsdOft", + "inputs": [ + { + "name": "_frxUsdOft", + "type": "address", + "internalType": "address" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "setHopFee", + "inputs": [ + { + "name": "_hopFee", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "setNumDVNs", + "inputs": [ + { + "name": "_numDVNs", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "setSfrxUsdOft", + "inputs": [ + { + "name": "_sfrxUsdOft", + "type": "address", + "internalType": "address" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "sfrxUsdOft", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "address", + "internalType": "address" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "transferOwnership", + "inputs": [ + { + "name": "newOwner", + "type": "address", + "internalType": "address" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "version", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "string", + "internalType": "string" + } + ], + "stateMutability": "pure" + }, + { + "type": "event", + "name": "MintRedeem", + "inputs": [ + { + "name": "oft", + "type": "address", + "indexed": false, + "internalType": "address" + }, + { + "name": "sender", + "type": "address", + "indexed": true, + "internalType": "address" + }, + { + "name": "amountLD", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "OwnershipTransferStarted", + "inputs": [ + { + "name": "previousOwner", + "type": "address", + "indexed": true, + "internalType": "address" + }, + { + "name": "newOwner", + "type": "address", + "indexed": true, + "internalType": "address" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "OwnershipTransferred", + "inputs": [ + { + "name": "previousOwner", + "type": "address", + "indexed": true, + "internalType": "address" + }, + { + "name": "newOwner", + "type": "address", + "indexed": true, + "internalType": "address" + } + ], + "anonymous": false + }, + { + "type": "error", + "name": "HopPaused", + "inputs": [] + }, + { + "type": "error", + "name": "InsufficientFee", + "inputs": [] + }, + { + "type": "error", + "name": "InvalidOFT", + "inputs": [] + }, + { + "type": "error", + "name": "InvalidOptionType", + "inputs": [ + { + "name": "optionType", + "type": "uint16", + "internalType": "uint16" + } + ] + }, + { + "type": "error", + "name": "NotEndpoint", + "inputs": [] + }, + { + "type": "error", + "name": "OwnableInvalidOwner", + "inputs": [ + { + "name": "owner", + "type": "address", + "internalType": "address" + } + ] + }, + { + "type": "error", + "name": "OwnableUnauthorizedAccount", + "inputs": [ + { + "name": "account", + "type": "address", + "internalType": "address" + } + ] + }, + { + "type": "error", + "name": "RefundFailed", + "inputs": [] + }, + { + "type": "error", + "name": "SafeCastOverflowedUintDowncast", + "inputs": [ + { + "name": "bits", + "type": "uint8", + "internalType": "uint8" + }, + { + "name": "value", + "type": "uint256", + "internalType": "uint256" + } + ] + }, + { + "type": "error", + "name": "SafeERC20FailedOperation", + "inputs": [ + { + "name": "token", + "type": "address", + "internalType": "address" + } + ] + }, + { + "type": "error", + "name": "ZeroAmountSend", + "inputs": [] + } +] diff --git a/scripts/abis/SEND_ULN302_ABI.json b/scripts/abis/SEND_ULN302_ABI.json new file mode 100644 index 0000000..46bf3f5 --- /dev/null +++ b/scripts/abis/SEND_ULN302_ABI.json @@ -0,0 +1,1250 @@ +[ + { + "inputs": [ + { + "internalType": "address", + "name": "_endpoint", + "type": "address" + }, + { + "internalType": "uint256", + "name": "_treasuryGasLimit", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "_treasuryGasForFeeCap", + "type": "uint256" + } + ], + "stateMutability": "nonpayable", + "type": "constructor" + }, + { + "inputs": [], + "name": "DVN_InvalidDVNIdx", + "type": "error" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "cursor", + "type": "uint256" + } + ], + "name": "DVN_InvalidDVNOptions", + "type": "error" + }, + { + "inputs": [], + "name": "LZ_MessageLib_CannotWithdrawAltToken", + "type": "error" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "requested", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "available", + "type": "uint256" + } + ], + "name": "LZ_MessageLib_InvalidAmount", + "type": "error" + }, + { + "inputs": [], + "name": "LZ_MessageLib_InvalidExecutor", + "type": "error" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "actual", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "max", + "type": "uint256" + } + ], + "name": "LZ_MessageLib_InvalidMessageSize", + "type": "error" + }, + { + "inputs": [], + "name": "LZ_MessageLib_NotTreasury", + "type": "error" + }, + { + "inputs": [], + "name": "LZ_MessageLib_OnlyEndpoint", + "type": "error" + }, + { + "inputs": [], + "name": "LZ_MessageLib_TransferFailed", + "type": "error" + }, + { + "inputs": [], + "name": "LZ_MessageLib_ZeroMessageSize", + "type": "error" + }, + { + "inputs": [], + "name": "LZ_ULN_AtLeastOneDVN", + "type": "error" + }, + { + "inputs": [ + { + "internalType": "uint32", + "name": "configType", + "type": "uint32" + } + ], + "name": "LZ_ULN_InvalidConfigType", + "type": "error" + }, + { + "inputs": [], + "name": "LZ_ULN_InvalidConfirmations", + "type": "error" + }, + { + "inputs": [], + "name": "LZ_ULN_InvalidLegacyType1Option", + "type": "error" + }, + { + "inputs": [], + "name": "LZ_ULN_InvalidLegacyType2Option", + "type": "error" + }, + { + "inputs": [], + "name": "LZ_ULN_InvalidOptionalDVNCount", + "type": "error" + }, + { + "inputs": [], + "name": "LZ_ULN_InvalidOptionalDVNThreshold", + "type": "error" + }, + { + "inputs": [], + "name": "LZ_ULN_InvalidRequiredDVNCount", + "type": "error" + }, + { + "inputs": [ + { + "internalType": "uint8", + "name": "workerId", + "type": "uint8" + } + ], + "name": "LZ_ULN_InvalidWorkerId", + "type": "error" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "cursor", + "type": "uint256" + } + ], + "name": "LZ_ULN_InvalidWorkerOptions", + "type": "error" + }, + { + "inputs": [], + "name": "LZ_ULN_Unsorted", + "type": "error" + }, + { + "inputs": [ + { + "internalType": "uint32", + "name": "eid", + "type": "uint32" + } + ], + "name": "LZ_ULN_UnsupportedEid", + "type": "error" + }, + { + "inputs": [ + { + "internalType": "uint16", + "name": "optionType", + "type": "uint16" + } + ], + "name": "LZ_ULN_UnsupportedOptionType", + "type": "error" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_to", + "type": "address" + }, + { + "internalType": "uint256", + "name": "_value", + "type": "uint256" + } + ], + "name": "Transfer_NativeFailed", + "type": "error" + }, + { + "inputs": [], + "name": "Transfer_ToAddressIsZero", + "type": "error" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "address[]", + "name": "requiredDVNs", + "type": "address[]" + }, + { + "indexed": false, + "internalType": "address[]", + "name": "optionalDVNs", + "type": "address[]" + }, + { + "indexed": false, + "internalType": "uint256[]", + "name": "fees", + "type": "uint256[]" + } + ], + "name": "DVNFeePaid", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "components": [ + { + "internalType": "uint32", + "name": "eid", + "type": "uint32" + }, + { + "components": [ + { + "internalType": "uint32", + "name": "maxMessageSize", + "type": "uint32" + }, + { + "internalType": "address", + "name": "executor", + "type": "address" + } + ], + "internalType": "struct ExecutorConfig", + "name": "config", + "type": "tuple" + } + ], + "indexed": false, + "internalType": "struct SetDefaultExecutorConfigParam[]", + "name": "params", + "type": "tuple[]" + } + ], + "name": "DefaultExecutorConfigsSet", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "components": [ + { + "internalType": "uint32", + "name": "eid", + "type": "uint32" + }, + { + "components": [ + { + "internalType": "uint64", + "name": "confirmations", + "type": "uint64" + }, + { + "internalType": "uint8", + "name": "requiredDVNCount", + "type": "uint8" + }, + { + "internalType": "uint8", + "name": "optionalDVNCount", + "type": "uint8" + }, + { + "internalType": "uint8", + "name": "optionalDVNThreshold", + "type": "uint8" + }, + { + "internalType": "address[]", + "name": "requiredDVNs", + "type": "address[]" + }, + { + "internalType": "address[]", + "name": "optionalDVNs", + "type": "address[]" + } + ], + "internalType": "struct UlnConfig", + "name": "config", + "type": "tuple" + } + ], + "indexed": false, + "internalType": "struct SetDefaultUlnConfigParam[]", + "name": "params", + "type": "tuple[]" + } + ], + "name": "DefaultUlnConfigsSet", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "address", + "name": "oapp", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint32", + "name": "eid", + "type": "uint32" + }, + { + "components": [ + { + "internalType": "uint32", + "name": "maxMessageSize", + "type": "uint32" + }, + { + "internalType": "address", + "name": "executor", + "type": "address" + } + ], + "indexed": false, + "internalType": "struct ExecutorConfig", + "name": "config", + "type": "tuple" + } + ], + "name": "ExecutorConfigSet", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "address", + "name": "executor", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "fee", + "type": "uint256" + } + ], + "name": "ExecutorFeePaid", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "address", + "name": "lzToken", + "type": "address" + }, + { + "indexed": false, + "internalType": "address", + "name": "receiver", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "amount", + "type": "uint256" + } + ], + "name": "LzTokenFeeWithdrawn", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "address", + "name": "worker", + "type": "address" + }, + { + "indexed": false, + "internalType": "address", + "name": "receiver", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "amount", + "type": "uint256" + } + ], + "name": "NativeFeeWithdrawn", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "previousOwner", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "newOwner", + "type": "address" + } + ], + "name": "OwnershipTransferred", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "uint256", + "name": "newTreasuryNativeFeeCap", + "type": "uint256" + } + ], + "name": "TreasuryNativeFeeCapSet", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "address", + "name": "treasury", + "type": "address" + } + ], + "name": "TreasurySet", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "address", + "name": "oapp", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint32", + "name": "eid", + "type": "uint32" + }, + { + "components": [ + { + "internalType": "uint64", + "name": "confirmations", + "type": "uint64" + }, + { + "internalType": "uint8", + "name": "requiredDVNCount", + "type": "uint8" + }, + { + "internalType": "uint8", + "name": "optionalDVNCount", + "type": "uint8" + }, + { + "internalType": "uint8", + "name": "optionalDVNThreshold", + "type": "uint8" + }, + { + "internalType": "address[]", + "name": "requiredDVNs", + "type": "address[]" + }, + { + "internalType": "address[]", + "name": "optionalDVNs", + "type": "address[]" + } + ], + "indexed": false, + "internalType": "struct UlnConfig", + "name": "config", + "type": "tuple" + } + ], + "name": "UlnConfigSet", + "type": "event" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "oapp", + "type": "address" + }, + { + "internalType": "uint32", + "name": "eid", + "type": "uint32" + } + ], + "name": "executorConfigs", + "outputs": [ + { + "internalType": "uint32", + "name": "maxMessageSize", + "type": "uint32" + }, + { + "internalType": "address", + "name": "executor", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "worker", + "type": "address" + } + ], + "name": "fees", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_oapp", + "type": "address" + }, + { + "internalType": "uint32", + "name": "_remoteEid", + "type": "uint32" + } + ], + "name": "getAppUlnConfig", + "outputs": [ + { + "components": [ + { + "internalType": "uint64", + "name": "confirmations", + "type": "uint64" + }, + { + "internalType": "uint8", + "name": "requiredDVNCount", + "type": "uint8" + }, + { + "internalType": "uint8", + "name": "optionalDVNCount", + "type": "uint8" + }, + { + "internalType": "uint8", + "name": "optionalDVNThreshold", + "type": "uint8" + }, + { + "internalType": "address[]", + "name": "requiredDVNs", + "type": "address[]" + }, + { + "internalType": "address[]", + "name": "optionalDVNs", + "type": "address[]" + } + ], + "internalType": "struct UlnConfig", + "name": "", + "type": "tuple" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint32", + "name": "_eid", + "type": "uint32" + }, + { + "internalType": "address", + "name": "_oapp", + "type": "address" + }, + { + "internalType": "uint32", + "name": "_configType", + "type": "uint32" + } + ], + "name": "getConfig", + "outputs": [ + { + "internalType": "bytes", + "name": "", + "type": "bytes" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_oapp", + "type": "address" + }, + { + "internalType": "uint32", + "name": "_remoteEid", + "type": "uint32" + } + ], + "name": "getExecutorConfig", + "outputs": [ + { + "components": [ + { + "internalType": "uint32", + "name": "maxMessageSize", + "type": "uint32" + }, + { + "internalType": "address", + "name": "executor", + "type": "address" + } + ], + "internalType": "struct ExecutorConfig", + "name": "rtnConfig", + "type": "tuple" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_oapp", + "type": "address" + }, + { + "internalType": "uint32", + "name": "_remoteEid", + "type": "uint32" + } + ], + "name": "getUlnConfig", + "outputs": [ + { + "components": [ + { + "internalType": "uint64", + "name": "confirmations", + "type": "uint64" + }, + { + "internalType": "uint8", + "name": "requiredDVNCount", + "type": "uint8" + }, + { + "internalType": "uint8", + "name": "optionalDVNCount", + "type": "uint8" + }, + { + "internalType": "uint8", + "name": "optionalDVNThreshold", + "type": "uint8" + }, + { + "internalType": "address[]", + "name": "requiredDVNs", + "type": "address[]" + }, + { + "internalType": "address[]", + "name": "optionalDVNs", + "type": "address[]" + } + ], + "internalType": "struct UlnConfig", + "name": "rtnConfig", + "type": "tuple" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint32", + "name": "_eid", + "type": "uint32" + } + ], + "name": "isSupportedEid", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "messageLibType", + "outputs": [ + { + "internalType": "enum MessageLibType", + "name": "", + "type": "uint8" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [], + "name": "owner", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "components": [ + { + "internalType": "uint64", + "name": "nonce", + "type": "uint64" + }, + { + "internalType": "uint32", + "name": "srcEid", + "type": "uint32" + }, + { + "internalType": "address", + "name": "sender", + "type": "address" + }, + { + "internalType": "uint32", + "name": "dstEid", + "type": "uint32" + }, + { + "internalType": "bytes32", + "name": "receiver", + "type": "bytes32" + }, + { + "internalType": "bytes32", + "name": "guid", + "type": "bytes32" + }, + { + "internalType": "bytes", + "name": "message", + "type": "bytes" + } + ], + "internalType": "struct Packet", + "name": "_packet", + "type": "tuple" + }, + { + "internalType": "bytes", + "name": "_options", + "type": "bytes" + }, + { + "internalType": "bool", + "name": "_payInLzToken", + "type": "bool" + } + ], + "name": "quote", + "outputs": [ + { + "components": [ + { + "internalType": "uint256", + "name": "nativeFee", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "lzTokenFee", + "type": "uint256" + } + ], + "internalType": "struct MessagingFee", + "name": "", + "type": "tuple" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "renounceOwnership", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "components": [ + { + "internalType": "uint64", + "name": "nonce", + "type": "uint64" + }, + { + "internalType": "uint32", + "name": "srcEid", + "type": "uint32" + }, + { + "internalType": "address", + "name": "sender", + "type": "address" + }, + { + "internalType": "uint32", + "name": "dstEid", + "type": "uint32" + }, + { + "internalType": "bytes32", + "name": "receiver", + "type": "bytes32" + }, + { + "internalType": "bytes32", + "name": "guid", + "type": "bytes32" + }, + { + "internalType": "bytes", + "name": "message", + "type": "bytes" + } + ], + "internalType": "struct Packet", + "name": "_packet", + "type": "tuple" + }, + { + "internalType": "bytes", + "name": "_options", + "type": "bytes" + }, + { + "internalType": "bool", + "name": "_payInLzToken", + "type": "bool" + } + ], + "name": "send", + "outputs": [ + { + "components": [ + { + "internalType": "uint256", + "name": "nativeFee", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "lzTokenFee", + "type": "uint256" + } + ], + "internalType": "struct MessagingFee", + "name": "", + "type": "tuple" + }, + { + "internalType": "bytes", + "name": "", + "type": "bytes" + } + ], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_oapp", + "type": "address" + }, + { + "components": [ + { + "internalType": "uint32", + "name": "eid", + "type": "uint32" + }, + { + "internalType": "uint32", + "name": "configType", + "type": "uint32" + }, + { + "internalType": "bytes", + "name": "config", + "type": "bytes" + } + ], + "internalType": "struct SetConfigParam[]", + "name": "_params", + "type": "tuple[]" + } + ], + "name": "setConfig", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "components": [ + { + "internalType": "uint32", + "name": "eid", + "type": "uint32" + }, + { + "components": [ + { + "internalType": "uint32", + "name": "maxMessageSize", + "type": "uint32" + }, + { + "internalType": "address", + "name": "executor", + "type": "address" + } + ], + "internalType": "struct ExecutorConfig", + "name": "config", + "type": "tuple" + } + ], + "internalType": "struct SetDefaultExecutorConfigParam[]", + "name": "_params", + "type": "tuple[]" + } + ], + "name": "setDefaultExecutorConfigs", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "components": [ + { + "internalType": "uint32", + "name": "eid", + "type": "uint32" + }, + { + "components": [ + { + "internalType": "uint64", + "name": "confirmations", + "type": "uint64" + }, + { + "internalType": "uint8", + "name": "requiredDVNCount", + "type": "uint8" + }, + { + "internalType": "uint8", + "name": "optionalDVNCount", + "type": "uint8" + }, + { + "internalType": "uint8", + "name": "optionalDVNThreshold", + "type": "uint8" + }, + { + "internalType": "address[]", + "name": "requiredDVNs", + "type": "address[]" + }, + { + "internalType": "address[]", + "name": "optionalDVNs", + "type": "address[]" + } + ], + "internalType": "struct UlnConfig", + "name": "config", + "type": "tuple" + } + ], + "internalType": "struct SetDefaultUlnConfigParam[]", + "name": "_params", + "type": "tuple[]" + } + ], + "name": "setDefaultUlnConfigs", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_treasury", + "type": "address" + } + ], + "name": "setTreasury", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "_newTreasuryNativeFeeCap", + "type": "uint256" + } + ], + "name": "setTreasuryNativeFeeCap", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes4", + "name": "_interfaceId", + "type": "bytes4" + } + ], + "name": "supportsInterface", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "newOwner", + "type": "address" + } + ], + "name": "transferOwnership", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "treasury", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "version", + "outputs": [ + { + "internalType": "uint64", + "name": "major", + "type": "uint64" + }, + { + "internalType": "uint8", + "name": "minor", + "type": "uint8" + }, + { + "internalType": "uint8", + "name": "endpointVersion", + "type": "uint8" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_to", + "type": "address" + }, + { + "internalType": "uint256", + "name": "_amount", + "type": "uint256" + } + ], + "name": "withdrawFee", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_lzToken", + "type": "address" + }, + { + "internalType": "address", + "name": "_to", + "type": "address" + }, + { + "internalType": "uint256", + "name": "_amount", + "type": "uint256" + } + ], + "name": "withdrawLzTokenFee", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "stateMutability": "payable", + "type": "receive" + } +] diff --git a/scripts/abis/index.d.ts b/scripts/abis/index.d.ts new file mode 100644 index 0000000..4198103 --- /dev/null +++ b/scripts/abis/index.d.ts @@ -0,0 +1,29 @@ +import OFT_ABI from "./OFT_ABI.json"; +import OFT_ADAPTER_ABI from "./OFT_ADAPTER_ABI.json"; +import OFT_MINTABLE_ADAPTER_ABI from "./OFT_MINTABLE_ADAPTER_ABI.json"; +import ENDPOINTV2_ABI from "./ENDPOINTV2_ABI.json"; +import FRAX_PROXY_ADMIN_ABI from "./FRAX_PROXY_ADMIN_ABI.json"; +import FRAXTAL_HOP_ABI from "./FRAXTAL_HOP.json"; +import FRAXTAL_MINT_REDEEM_HOP_ABI from "./FRAXTAL_MINT_REDEEM_HOP.json"; +import RECEIVE_ULN302_ABI from "./RECEIVE_ULN302_ABI.json"; +import REMOTE_HOP_ABI from "./REMOTE_HOP_ABI.json"; +import REMOTE_MINT_REDEEM_HOP_ABI from "./REMOTE_MINT_REDEEM_HOP.json"; +import SEND_ULN302_ABI from "./SEND_ULN302_ABI.json"; +import HOP_V2_ABI from "./HOP_V2_ABI.json"; +import REMOTE_ADMIN_V2_ABI from "./REMOTE_ADMIN_V2_ABI.json"; +export { ERC20ABI } from "./ERC20"; +export { + OFT_ABI, + OFT_ADAPTER_ABI, + OFT_MINTABLE_ADAPTER_ABI, + ENDPOINTV2_ABI, + FRAX_PROXY_ADMIN_ABI, + FRAXTAL_HOP_ABI, + FRAXTAL_MINT_REDEEM_HOP_ABI, + RECEIVE_ULN302_ABI, + REMOTE_HOP_ABI, + REMOTE_MINT_REDEEM_HOP_ABI, + SEND_ULN302_ABI, + HOP_V2_ABI, + REMOTE_ADMIN_V2_ABI, +}; diff --git a/scripts/abis/index.js b/scripts/abis/index.js new file mode 100644 index 0000000..be697e5 --- /dev/null +++ b/scripts/abis/index.js @@ -0,0 +1,55 @@ +"use strict"; +var __importDefault = + (this && this.__importDefault) || + function (mod) { + return mod && mod.__esModule ? mod : { default: mod }; + }; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.REMOTE_ADMIN_V2_ABI = + exports.HOP_V2_ABI = + exports.SEND_ULN302_ABI = + exports.REMOTE_MINT_REDEEM_HOP_ABI = + exports.REMOTE_HOP_ABI = + exports.RECEIVE_ULN302_ABI = + exports.FRAXTAL_MINT_REDEEM_HOP_ABI = + exports.FRAXTAL_HOP_ABI = + exports.FRAX_PROXY_ADMIN_ABI = + exports.ENDPOINTV2_ABI = + exports.OFT_MINTABLE_ADAPTER_ABI = + exports.OFT_ADAPTER_ABI = + exports.OFT_ABI = + exports.ERC20ABI = + void 0; +const OFT_ABI_json_1 = __importDefault(require("./OFT_ABI.json")); +exports.OFT_ABI = OFT_ABI_json_1.default; +const OFT_ADAPTER_ABI_json_1 = __importDefault(require("./OFT_ADAPTER_ABI.json")); +exports.OFT_ADAPTER_ABI = OFT_ADAPTER_ABI_json_1.default; +const OFT_MINTABLE_ADAPTER_ABI_json_1 = __importDefault(require("./OFT_MINTABLE_ADAPTER_ABI.json")); +exports.OFT_MINTABLE_ADAPTER_ABI = OFT_MINTABLE_ADAPTER_ABI_json_1.default; +const ENDPOINTV2_ABI_json_1 = __importDefault(require("./ENDPOINTV2_ABI.json")); +exports.ENDPOINTV2_ABI = ENDPOINTV2_ABI_json_1.default; +const FRAX_PROXY_ADMIN_ABI_json_1 = __importDefault(require("./FRAX_PROXY_ADMIN_ABI.json")); +exports.FRAX_PROXY_ADMIN_ABI = FRAX_PROXY_ADMIN_ABI_json_1.default; +const FRAXTAL_HOP_json_1 = __importDefault(require("./FRAXTAL_HOP.json")); +exports.FRAXTAL_HOP_ABI = FRAXTAL_HOP_json_1.default; +const FRAXTAL_MINT_REDEEM_HOP_json_1 = __importDefault(require("./FRAXTAL_MINT_REDEEM_HOP.json")); +exports.FRAXTAL_MINT_REDEEM_HOP_ABI = FRAXTAL_MINT_REDEEM_HOP_json_1.default; +const RECEIVE_ULN302_ABI_json_1 = __importDefault(require("./RECEIVE_ULN302_ABI.json")); +exports.RECEIVE_ULN302_ABI = RECEIVE_ULN302_ABI_json_1.default; +const REMOTE_HOP_ABI_json_1 = __importDefault(require("./REMOTE_HOP_ABI.json")); +exports.REMOTE_HOP_ABI = REMOTE_HOP_ABI_json_1.default; +const REMOTE_MINT_REDEEM_HOP_json_1 = __importDefault(require("./REMOTE_MINT_REDEEM_HOP.json")); +exports.REMOTE_MINT_REDEEM_HOP_ABI = REMOTE_MINT_REDEEM_HOP_json_1.default; +const SEND_ULN302_ABI_json_1 = __importDefault(require("./SEND_ULN302_ABI.json")); +exports.SEND_ULN302_ABI = SEND_ULN302_ABI_json_1.default; +const HOP_V2_ABI_json_1 = __importDefault(require("./HOP_V2_ABI.json")); +exports.HOP_V2_ABI = HOP_V2_ABI_json_1.default; +const REMOTE_ADMIN_V2_ABI_json_1 = __importDefault(require("./REMOTE_ADMIN_V2_ABI.json")); +exports.REMOTE_ADMIN_V2_ABI = REMOTE_ADMIN_V2_ABI_json_1.default; +var ERC20_1 = require("./ERC20"); +Object.defineProperty(exports, "ERC20ABI", { + enumerable: true, + get: function () { + return ERC20_1.ERC20ABI; + }, +}); diff --git a/scripts/abis/index.ts b/scripts/abis/index.ts new file mode 100644 index 0000000..8312136 --- /dev/null +++ b/scripts/abis/index.ts @@ -0,0 +1,30 @@ +import OFT_ABI from "./OFT_ABI.json"; +import OFT_ADAPTER_ABI from "./OFT_ADAPTER_ABI.json"; +import OFT_MINTABLE_ADAPTER_ABI from "./OFT_MINTABLE_ADAPTER_ABI.json"; +import ENDPOINTV2_ABI from "./ENDPOINTV2_ABI.json"; +import FRAX_PROXY_ADMIN_ABI from "./FRAX_PROXY_ADMIN_ABI.json"; +import FRAXTAL_HOP_ABI from "./FRAXTAL_HOP.json"; +import FRAXTAL_MINT_REDEEM_HOP_ABI from "./FRAXTAL_MINT_REDEEM_HOP.json"; +import RECEIVE_ULN302_ABI from "./RECEIVE_ULN302_ABI.json"; +import REMOTE_HOP_ABI from "./REMOTE_HOP_ABI.json"; +import REMOTE_MINT_REDEEM_HOP_ABI from "./REMOTE_MINT_REDEEM_HOP.json"; +import SEND_ULN302_ABI from "./SEND_ULN302_ABI.json"; +import HOP_V2_ABI from "./HOP_V2_ABI.json"; +import REMOTE_ADMIN_V2_ABI from "./REMOTE_ADMIN_V2_ABI.json"; +export { ERC20ABI } from "./ERC20"; + +export { + OFT_ABI, + OFT_ADAPTER_ABI, + OFT_MINTABLE_ADAPTER_ABI, + ENDPOINTV2_ABI, + FRAX_PROXY_ADMIN_ABI, + FRAXTAL_HOP_ABI, + FRAXTAL_MINT_REDEEM_HOP_ABI, + RECEIVE_ULN302_ABI, + REMOTE_HOP_ABI, + REMOTE_MINT_REDEEM_HOP_ABI, + SEND_ULN302_ABI, + HOP_V2_ABI, + REMOTE_ADMIN_V2_ABI, +}; diff --git a/scripts/constants/TEMPLATE.js b/scripts/constants/TEMPLATE.js new file mode 100644 index 0000000..02081ca --- /dev/null +++ b/scripts/constants/TEMPLATE.js @@ -0,0 +1,9 @@ +// Canonicals +// Farms +// FraxBonds +// FraxFerry +// FraxlendAndOracles +// Fraxswap +// Misc +// Multisigs +// PoolRelatedTokens diff --git a/scripts/constants/abstract.d.ts b/scripts/constants/abstract.d.ts new file mode 100644 index 0000000..bc10685 --- /dev/null +++ b/scripts/constants/abstract.d.ts @@ -0,0 +1,11 @@ +export declare const FPIOFT = "0x580F2ee1476eDF4B1760bd68f6AaBaD57dec420E"; +export declare const FRXETHOFT = "0xc7Ab797019156b543B7a3fBF5A99ECDab9eb4440"; +export declare const FRXUSDOFT = "0xEa77c590Bb36c43ef7139cE649cFBCFD6163170d"; +export declare const SFRXETHOFT = "0xFD78FD3667DeF2F1097Ed221ec503AE477155394"; +export declare const SFRXUSDOFT = "0x9F87fbb47C33Cd0614E43500b9511018116F79eE"; +export declare const WFRAXOFT = "0xAf01aE13Fb67AD2bb2D76f29A83961069a5F245F"; +export declare const REMOTEHOP = "0xc5e4A0cfef8D801278927C25fB51C1DB7b69dDFb"; +export declare const REMOTEMINTREDEEMHOP = "0xa05E9F9B97c963B5651ed6A50Fae46625a8C400b"; +export declare const FRAX_PROXY_ADMIN = "0xe59dcae52a4ffa39be99588486c84bc2dc1ba52f"; +export declare const REMOTEHOPV2 = "0x0000006D38568b00B457580b734e0076C62de659"; +export declare const REMOTEADMINV2 = "0x000000000E0E120FCAc7b4d98e9E35E1DE6fdadb"; diff --git a/scripts/constants/abstract.js b/scripts/constants/abstract.js new file mode 100644 index 0000000..1b958d6 --- /dev/null +++ b/scripts/constants/abstract.js @@ -0,0 +1,29 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.REMOTEADMINV2 = + exports.REMOTEHOPV2 = + exports.FRAX_PROXY_ADMIN = + exports.REMOTEMINTREDEEMHOP = + exports.REMOTEHOP = + exports.WFRAXOFT = + exports.SFRXUSDOFT = + exports.SFRXETHOFT = + exports.FRXUSDOFT = + exports.FRXETHOFT = + exports.FPIOFT = + void 0; +// LayerZero +exports.FPIOFT = "0x580F2ee1476eDF4B1760bd68f6AaBaD57dec420E"; +exports.FRXETHOFT = "0xc7Ab797019156b543B7a3fBF5A99ECDab9eb4440"; +exports.FRXUSDOFT = "0xEa77c590Bb36c43ef7139cE649cFBCFD6163170d"; +exports.SFRXETHOFT = "0xFD78FD3667DeF2F1097Ed221ec503AE477155394"; +exports.SFRXUSDOFT = "0x9F87fbb47C33Cd0614E43500b9511018116F79eE"; +exports.WFRAXOFT = "0xAf01aE13Fb67AD2bb2D76f29A83961069a5F245F"; +// FraxtalLZHop +exports.REMOTEHOP = "0xc5e4A0cfef8D801278927C25fB51C1DB7b69dDFb"; +exports.REMOTEMINTREDEEMHOP = "0xa05E9F9B97c963B5651ed6A50Fae46625a8C400b"; +// LayerZeroInfra +exports.FRAX_PROXY_ADMIN = "0xe59dcae52a4ffa39be99588486c84bc2dc1ba52f"; +// HopV2 +exports.REMOTEHOPV2 = "0x0000006D38568b00B457580b734e0076C62de659"; +exports.REMOTEADMINV2 = "0x000000000E0E120FCAc7b4d98e9E35E1DE6fdadb"; diff --git a/scripts/constants/abstract.ts b/scripts/constants/abstract.ts index c1dbf58..cd23c50 100644 --- a/scripts/constants/abstract.ts +++ b/scripts/constants/abstract.ts @@ -8,4 +8,10 @@ export const WFRAXOFT = "0xAf01aE13Fb67AD2bb2D76f29A83961069a5F245F"; // FraxtalLZHop export const REMOTEHOP = "0xc5e4A0cfef8D801278927C25fB51C1DB7b69dDFb"; -export const REMOTEMINTREDEEMHOP = "0xa05E9F9B97c963B5651ed6A50Fae46625a8C400b"; \ No newline at end of file +export const REMOTEMINTREDEEMHOP = "0xa05E9F9B97c963B5651ed6A50Fae46625a8C400b"; +// LayerZeroInfra +export const FRAX_PROXY_ADMIN = "0xe59dcae52a4ffa39be99588486c84bc2dc1ba52f"; + +// HopV2 +export const REMOTEHOPV2 = "0x0000006D38568b00B457580b734e0076C62de659"; +export const REMOTEADMINV2 = "0x000000000E0E120FCAc7b4d98e9E35E1DE6fdadb"; diff --git a/scripts/constants/aptos.js b/scripts/constants/aptos.js new file mode 100644 index 0000000..9069b8b --- /dev/null +++ b/scripts/constants/aptos.js @@ -0,0 +1,43 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.CHAIN_ID = + exports.LZ_CHAIN_ID = + exports.LZ_BLOCK_SEND_LIB = + exports.LZ_SEND_LIB_302 = + exports.LZ_RECEIVE_LIB_302 = + exports.LZ_ENDPOINT = + exports.WFRAXOFT = + exports.SFRXUSDOFT = + exports.SFRXETHOFT = + exports.FRXUSDOFT = + exports.FRXETHOFT = + exports.FPIOFT = + exports.WFRAX = + exports.SFRXUSD = + exports.SFRXETH = + exports.FRXUSD = + exports.FRXETH = + exports.FPI = + void 0; +// Canonicals +exports.FPI = "0x15607151cc023512886f5af24d4f77e6e7a5d6fb8a482dfb56b9c4f5c1fca0b2"; +exports.FRXETH = "0x8645126a60d36e138d435a28875a2aeef253bf80aae22bebcd411ad4251f1585"; +exports.FRXUSD = "0xe4354602aa4311f36240dd57f3f3435ffccdbd0cd2963f1a69da39a2dbcd59b5"; +exports.SFRXETH = "0x80d729c4632bcc6279b7bed2542e01e2cebd34ca9f3f15963c29d1621efc221a"; +exports.SFRXUSD = "0xbf2efbffbbd7083aaf006379d96b866b73bb4eb9684a7504c62feafe670962c2"; +exports.WFRAX = "0x4e4cce8f877d7ad45c896c1823017fe07874f3d8db6e15960eda26e211151300"; +// LayerZero +exports.FPIOFT = "0xadf0ffffa5ee44a94f0c65be05e701951e65e276419f7460286a139d9403e864"; +exports.FRXETHOFT = "0xecb3a766f12981919158fc8ec3b98dd3f8b39a59280e62e80c600cea1b2c0f9c"; +exports.FRXUSDOFT = "0xe067037681385b86d8344e6b7746023604c6ac90ddc997ba3c58396c258ad17b"; +exports.SFRXETHOFT = "0x28b7264258592031a024ed8e1632090648ec53797c269ac91aa0c9ed94268356"; +exports.SFRXUSDOFT = "0xc9bdfdc965bb7fcdcfa6b45870eab33bfaf8f4e8e3f6b89d3e0203aba634a1c9"; +exports.WFRAXOFT = "0x267749b1a80d9d582019e6b0572c1dbc98648e24101b0861395cdbed095ceff2"; +// LayerZeroInfra +exports.LZ_ENDPOINT = "0xe60045e20fc2c99e869c1c34a65b9291c020cd12a0d37a00a53ac1348af4f43c"; +exports.LZ_RECEIVE_LIB_302 = "0xc33752e0220faf79e45385dd73fb28d681dcd9f1569a1480725507c1f3c3aba9"; +exports.LZ_SEND_LIB_302 = "0xc33752e0220faf79e45385dd73fb28d681dcd9f1569a1480725507c1f3c3aba9"; +exports.LZ_BLOCK_SEND_LIB = "0x3ca0d187f1938cf9776a0aa821487a650fc7bb2ab1c1d241ba319192aae4afc6"; +// Chain IDs +exports.LZ_CHAIN_ID = 30108; +exports.CHAIN_ID = 0; diff --git a/scripts/constants/aptos.ts b/scripts/constants/aptos.ts index 933ad7a..bca2b28 100644 --- a/scripts/constants/aptos.ts +++ b/scripts/constants/aptos.ts @@ -13,3 +13,5 @@ export const FRXUSDOFT = "0xe067037681385b86d8344e6b7746023604c6ac90ddc997ba3c58 export const SFRXETHOFT = "0x28b7264258592031a024ed8e1632090648ec53797c269ac91aa0c9ed94268356"; export const SFRXUSDOFT = "0xc9bdfdc965bb7fcdcfa6b45870eab33bfaf8f4e8e3f6b89d3e0203aba634a1c9"; export const WFRAXOFT = "0x267749b1a80d9d582019e6b0572c1dbc98648e24101b0861395cdbed095ceff2"; + +// LayerZeroInfra diff --git a/scripts/constants/arbitrum.js b/scripts/constants/arbitrum.js new file mode 100644 index 0000000..41330c2 --- /dev/null +++ b/scripts/constants/arbitrum.js @@ -0,0 +1,324 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.FRAXFERRY_V2__ETHEREUM_ARBITRUM__FRXETH__ARBI_SIDE = + exports.FRAXFERRY_V2__ETHEREUM_ARBITRUM__FPI__ARBI_SIDE = + exports.FRAXFERRY_V2__ETHEREUM_ARBITRUM__FPIS__ARBI_SIDE = + exports.FRAXFERRY_V1__ETHEREUM_ARBITRUM__FRAX__ARBI_SIDE = + exports.FIRST_OFFICER = + exports.FERRY_TO_POLYGON = + exports.CREWMEMBER = + exports.CAPTAIN = + exports.STARGATE_BRIDGE_LIQUIDITY_FRAX_ARBITRUM = + exports.SENTIMENT_LFRAX = + exports.SADDLE_L2D4_ARBITRUM = + exports.SADDLE_FRAX_USDC_BP_ARBITRUM = + exports.SADDLE_FRAXBP_USX_ARBITRUM = + exports.SADDLE_FRAXBP_USDT_ARBITRUM = + exports.SADDLE_FRAXBP_USDS_ARBITRUM = + exports.SADDLE_ARBUSD_V2_ARBITRUM = + exports.RAMSES_VRAMM_FRAX_FXS = + exports.RAMSES_VRAMM_FRAX_AGEUR = + exports.RAMSES_CRAMM_FRXETH_WETH = + exports.RAMSES_CRAMM_FRXETH_SFRXETH = + exports.RAMSES_CRAMM_FRAX_USDC = + exports.RAMSES_CRAMM_FRAX_MAI = + exports.RAMSES_CRAMM_FRAX_DOLA = + exports.KYBERSWAP_ELASTIC_FRAX_USDC_ARBITRUM = + exports.HUNDRED_FRAX_LENDING_ARBITRUM = + exports.DFORCE_FRAX_LENDING_ARBITRUM = + exports.CURVE_VSTFRAX_F = + exports.CONVEX_USD_PLUS_FRAXBP = + exports.CONVEX_HFXB_FRAX_ARBITRUM = + exports.CONVEX_FRXETH_WETH_ARBITRUM = + exports.CONVEX_FRAX_FXB_20261231_ARBITRUM = + exports.CONVEX_FRAX_FXB_20241231_ARBITRUM = + exports.CONVEX_FRAXBP_ARBITRUM = + exports.CHRONOS_SAMM_FRXETH_WETH = + exports.CHRONOS_SAMM_FRXETH_SFRXETH = + exports.CHRONOS_SAMM_FRAX_USD_PLUS = + exports.CHRONOS_SAMM_FRAX_MAI = + exports.ARBIDEX_FRXETH_WETH = + exports.ARBIDEX_FRAX_WETH = + exports.ARBIDEX_FRAX_USDCE = + exports.ARBIDEX_FRAX_USD_PLUS = + exports.ARBIDEX_FRAX_FRXETH = + exports.ARBIDEX_FRAX_DAI_PLUS = + exports.SFRAX = + exports.SFRXETH = + exports.FRXETH = + exports.FPIS = + exports.FPI = + exports.FXS = + exports.FRAX = + void 0; +exports.CVXUSDPLUSFRAXBP_REWARDER = + exports.CVXUSDPLUSFRAXBP = + exports.CVXHFXBFRAX_REWARDER = + exports.CVXHFXBFRAX = + exports.CVXFRXETHWETH_REWARDER = + exports.CVXFRXETHWETH = + exports.CVXFRAXFXB_20261231_ARBITRUM = + exports.CVXFRAXFXB_20241231_ARBITRUM = + exports.CVXFRAXBP_REWARDER = + exports.CVXFRAXBP = + exports.CURVE4POOL = + exports.TIMELOCK_ADDRESS = + exports.MAIN_COMPTROLLER = + exports.FRAX_MASTER_MULTISIG_ADDRESS = + exports.FRAXLEND_COMPTROLLER_ADDRESS = + exports.FPI_COMPTROLLER = + exports.CIRCUIT_BREAKER_ADDRESS = + exports.FRAXLEND_AMO = + exports.FRAX_AMO_MINTER_LAYER_2 = + exports.KYBERSWAP_ELASTIC_TICK_FEES_READER_V2 = + exports.KYBERSWAP_ELASTIC_ROUTER_V2 = + exports.KYBERSWAP_ELASTIC_POS_MGR_V2 = + exports.KYBERSWAP_ELASTIC_FACTORY_V2 = + exports.FRAXSWAP_ROUTER_MULTI_HOP = + exports.FRAXSWAP_ROUTER_V2 = + exports.FRAXSWAP_ROUTER_V1 = + exports.FRAXSWAP_FACTORY_V2 = + exports.FRAXSWAP_FACTORY_V1 = + exports.WBTC_ERC20 = + exports.WBTC_DUAL_ORACLE_ADDRESS = + exports.FRAXLENDPAIR_WBTC_FRAX = + exports.GMX_ERC20 = + exports.GMX_DUAL_ORACLE_ADDRESS = + exports.FRAXLEND_PAIR_GMX_FRAX = + exports.VARIABLE_RATE_V2 = + exports.FRAX_ERC20 = + exports.WETH_ERC20 = + exports.ARB_ERC20 = + exports.ETH_USD_CHAINLINK_ORACLE = + exports.ARB_USD_CHAINLINK_ORACLE = + exports.ARB_ETH_UNI_V3_POOL = + exports.ARBITRUM_DUAL_ORACLE_ADDRESS = + exports.FRAXLEND_PAIR_ARB_FRAX = + exports.FRAXLEND_PAIR_DEPLOYER_V4_ADDRESS = + exports.FRAXLEND_PAIR_REGISTRY_ADDRESS = + exports.FRAXLEND_HOT_WALLET = + exports.FRAXLEND_WHITELIST_ADDRESS = + exports.FRAXFERRY_V2__ETHEREUM_ARBITRUM__SFRXETH__ARBI_SIDE = + exports.FRAXFERRY_V2__ETHEREUM_ARBITRUM__SFRAX__ARBI_SIDE = + exports.FRAXFERRY_V2__ETHEREUM_ARBITRUM__FXS__ARBI_SIDE = + void 0; +exports.LZ_CHAIN_ID = + exports.FRAX_PROXY_ADMIN = + exports.LZ_BLOCK_SEND_LIB = + exports.LZ_SEND_LIB_302 = + exports.LZ_RECEIVE_LIB_302 = + exports.LZ_ENDPOINT = + exports.REMOTEMINTREDEEMHOP = + exports.REMOTEHOP = + exports.WFRAXOFT = + exports.SFRXUSDOFT = + exports.SFRXETHOFT = + exports.FRXUSDOFT = + exports.FRXETHOFT = + exports.FPIOFT = + exports.VERAM = + exports.VECHR = + exports.USDPLUSFRAXBP_POOL = + exports.USDPLUSFRAXBP_GAUGE = + exports.USDPLUSFRAXBP = + exports.SDL_USXFRAXBP_POOL = + exports.SDL_USXFRAXBP = + exports.SDL_USDTFRAXBP_POOL = + exports.SDL_USDTFRAXBP = + exports.SDL_USDSFRAXBP_POOL = + exports.SDL_USDSFRAXBP = + exports.SDL_FRAXBP_POOL = + exports.SDL_FRAXBP = + exports.SDL_ARBUSDV2_POOL = + exports.SDL_ARBUSDV2 = + exports.SADDLEL2D4_PERMISSIONLESS_SWAP = + exports.SADDLEL2D4 = + exports.SADDLEARBUSDV2 = + exports.LFRAX = + exports.HFXBFRAX_POOL = + exports.HFXBFRAX_GAUGE = + exports.HFXBFRAX = + exports.HFRAX = + exports.FRXETHWETH_POOL = + exports.FRXETHWETH_GAUGE = + exports.FRXETHWETH = + exports.FRAXFXB_20261231_POOL = + exports.FRAXFXB_20261231_GAUGE = + exports.FRAXFXB_20261231 = + exports.FRAXFXB_20241231_POOL = + exports.FRAXFXB_20241231_GAUGE = + exports.FRAXFXB_20241231 = + exports.FRAXBP_POOL = + exports.FRAXBP_GAUGE = + exports.FRAXBP = + exports.FRAX2POOL = + void 0; +exports.CHAIN_ID = void 0; +// Canonicals +exports.FRAX = "0x17FC002b466eEc40DaE837Fc4bE5c67993ddBd6F"; +exports.FXS = "0x9d2F299715D94d8A7E6F5eaa8E654E8c74a988A7"; +exports.FPI = "0x1B01514A2B3CdEf16fD3c680a818A0Ab97Da8a09"; +exports.FPIS = "0x3405E88af759992937b84E58F2Fe691EF0EeA320"; +exports.FRXETH = "0x178412e79c25968a32e89b11f63B33F733770c2A"; +exports.SFRXETH = "0x95aB45875cFFdba1E5f451B950bC2E42c0053f39"; +exports.SFRAX = "0xe3b3FE7bcA19cA77Ad877A5Bebab186bEcfAD906"; +// Farms +exports.ARBIDEX_FRAX_DAI_PLUS = "0x56328f7138C3A4ebD2Bb1D126d28f62FcD5bac5d"; +exports.ARBIDEX_FRAX_FRXETH = "0x436eE91dB228267c6a19b2A3F158fffCe5a4489c"; +exports.ARBIDEX_FRAX_USD_PLUS = "0xe876230251cc14Ec0027b2a4aFc46B4c262d13D0"; +exports.ARBIDEX_FRAX_USDCE = "0x11205af33F2F7006bB932953b10Ab5EeD78105Ca"; +exports.ARBIDEX_FRAX_WETH = "0xf0677E33Fa38A023ec798F97D195d85d19823e7C"; +exports.ARBIDEX_FRXETH_WETH = "0xc74c0Fcb777521F3D8747f338a024e9F3fD91608"; +exports.CHRONOS_SAMM_FRAX_MAI = "0x1371512f45d85e6247aBfA2926Ac5213324a6BEB"; +exports.CHRONOS_SAMM_FRAX_USD_PLUS = "0xaF618E6F5EF781e3aCFe00708BD005E0cc9A2e6F"; +exports.CHRONOS_SAMM_FRXETH_SFRXETH = "0x548e0D4Fcb6b82a025E6770066b4127C5FCcBF07"; +exports.CHRONOS_SAMM_FRXETH_WETH = "0x9A028F3Dd7067479b51ee89CDb0Db594744ebfAd"; +exports.CONVEX_FRAXBP_ARBITRUM = "0x421Efd53FA0d90687db5ef370D5DCD7f89CbD9dE"; +exports.CONVEX_FRAX_FXB_20241231_ARBITRUM = "0xB8c52da3db9EdF9Da6a20959410B007a2387E5a2"; +exports.CONVEX_FRAX_FXB_20261231_ARBITRUM = "0xA81F4b86B412CcB51C7420000F59a639F3459f49"; +exports.CONVEX_FRXETH_WETH_ARBITRUM = "0x24e927daC110Aab7189a4F864d41680e4F7865FB"; +exports.CONVEX_HFXB_FRAX_ARBITRUM = "0xBa32Df0b78b1A68F7FA304BbD4Ed7a56A74c525a"; +exports.CONVEX_USD_PLUS_FRAXBP = "0x56390acF12bce9675ab3922060D8d955149BE286"; +exports.CURVE_VSTFRAX_F = "0x127963A74c07f72D862F2Bdc225226c3251BD117"; +exports.DFORCE_FRAX_LENDING_ARBITRUM = "0xb3ab7148cCCAf66686AD6C1bE24D83e58E6a504e"; +exports.HUNDRED_FRAX_LENDING_ARBITRUM = "0xd7f3Bf2085AD32ff95E1bCC408d37F10f6949270"; +exports.KYBERSWAP_ELASTIC_FRAX_USDC_ARBITRUM = "0xbAFA44EFE7901E04E39Dad13167D089C559c1138"; +exports.RAMSES_CRAMM_FRAX_DOLA = "0xF8719BC4a1A81969F00233a8D9409755d4366d28"; +exports.RAMSES_CRAMM_FRAX_MAI = "0x385E1c3f90C52f5253EaBb015576E95a4886E552"; +exports.RAMSES_CRAMM_FRAX_USDC = "0x22B6C54dC1cCD6CDF53723BEc88327c908258367"; +exports.RAMSES_CRAMM_FRXETH_SFRXETH = "0x11C1060e12F3Ec480D47AD867583353496a1B0b8"; +exports.RAMSES_CRAMM_FRXETH_WETH = "0x148Ca200d452AD9F310501ca3fd5C3bD4a5aBe81"; +exports.RAMSES_VRAMM_FRAX_AGEUR = "0x0A923435Eb4C3FC740bbA0c000F16Cb1F6cd7Afb"; +exports.RAMSES_VRAMM_FRAX_FXS = "0xdf725A7315d3d246a39C8887870f6cb0Fe73e36d"; +exports.SADDLE_ARBUSD_V2_ARBITRUM = "0x6e1af6FB2B4006603c65dD8FC7796Ccff09c86a1"; +exports.SADDLE_FRAXBP_USDS_ARBITRUM = "0x289532cA1DccE36D05e19Af468EC46fc9CB1390E"; +exports.SADDLE_FRAXBP_USDT_ARBITRUM = "0xb306b7E9D895748A2779586C83112035D8223C7F"; +exports.SADDLE_FRAXBP_USX_ARBITRUM = "0x0A18D5679C5c8b56Da0D87E308DB9EE2db701BaC"; +exports.SADDLE_FRAX_USDC_BP_ARBITRUM = "0xBBcaeA4e732173C0De28397421c17A595372C9CF"; +exports.SADDLE_L2D4_ARBITRUM = "0xd1dF24e8D225b20F9c8f4912BE88cCCec93f36E5"; +exports.SENTIMENT_LFRAX = "0xcdE7054e7a232938CdDe8BF40faf827e6f377f54"; +exports.STARGATE_BRIDGE_LIQUIDITY_FRAX_ARBITRUM = "0xeA8DfEE1898a7e0a59f7527F076106d7e44c2176"; +// FraxBonds +// FraxFerry +exports.CAPTAIN = "0xBB437059584e30598b3AF0154472E47E6e2a45B9"; +exports.CREWMEMBER = "0xBB437059584e30598b3AF0154472E47E6e2a45B9"; +exports.FERRY_TO_POLYGON = "0xe57314D4405289FfC91306E4574C28b7394c4822"; +exports.FIRST_OFFICER = "0xBB437059584e30598b3AF0154472E47E6e2a45B9"; +exports.FRAXFERRY_V1__ETHEREUM_ARBITRUM__FRAX__ARBI_SIDE = "0x5a9BEf8CEa603aAc78a523fb245C1A9264D50706"; +exports.FRAXFERRY_V2__ETHEREUM_ARBITRUM__FPIS__ARBI_SIDE = "0x4EE62cA4DC0576b943dc5A8A8b9FF0883C5F2fe1"; +exports.FRAXFERRY_V2__ETHEREUM_ARBITRUM__FPI__ARBI_SIDE = "0x0304A365C0fbb4b1Ad423887861b9b69a5f0c00E"; +exports.FRAXFERRY_V2__ETHEREUM_ARBITRUM__FRXETH__ARBI_SIDE = "0x6c5Ae8dCaD1E101FB108a89954D7dC0B8991445b"; +exports.FRAXFERRY_V2__ETHEREUM_ARBITRUM__FXS__ARBI_SIDE = "0x078Dd77De4e0f480D7442495d55707cE071B4B09"; +exports.FRAXFERRY_V2__ETHEREUM_ARBITRUM__SFRAX__ARBI_SIDE = "0x1B0b9991Df27a4F2847478127d51Fb29883882f5"; +exports.FRAXFERRY_V2__ETHEREUM_ARBITRUM__SFRXETH__ARBI_SIDE = "0xf1C16E1c01e62716884ef947063e9C7D44eC287F"; +// FraxlendAndOracles +exports.FRAXLEND_WHITELIST_ADDRESS = "0xBC5Fcb3725c53b6EA8395A492Dad3D32F09EF079"; +exports.FRAXLEND_HOT_WALLET = "0xdB3388e770F49A604E11f1a2084B39279492a61f"; +exports.FRAXLEND_PAIR_REGISTRY_ADDRESS = "0x0bD2fFBcB0A17De2d5a543ec2D47C772eeaD316d"; +exports.FRAXLEND_PAIR_DEPLOYER_V4_ADDRESS = "0xc70CC721d19dC7e627B81fEacb6a357Fb11200Af"; +exports.FRAXLEND_PAIR_ARB_FRAX = "0x2D0483FefAbA4325c7521539a3DFaCf94A19C472"; +exports.ARBITRUM_DUAL_ORACLE_ADDRESS = "0x5985FBb03b6A5EA390871c2bB9742cD406575667"; +exports.ARB_ETH_UNI_V3_POOL = "0xC6F780497A95e246EB9449f5e4770916DCd6396A"; +exports.ARB_USD_CHAINLINK_ORACLE = "0xb2A824043730FE05F3DA2efaFa1CBbe83fa548D6"; +exports.ETH_USD_CHAINLINK_ORACLE = "0x639Fe6ab55C921f74e7fac1ee960C0B6293ba612"; +exports.ARB_ERC20 = "0x912CE59144191C1204E64559FE8253a0e49E6548"; +exports.WETH_ERC20 = "0x82aF49447D8a07e3bd95BD0d56f35241523fBab1"; +exports.FRAX_ERC20 = "0x17FC002b466eEc40DaE837Fc4bE5c67993ddBd6F"; +exports.VARIABLE_RATE_V2 = "0x6c1b76Ca12d74970d40Aec4d6f2E3A653CC58685"; +exports.FRAXLEND_PAIR_GMX_FRAX = "0x6076ebDFE17555ed3E6869CF9C373Bbd9aD55d38"; +exports.GMX_DUAL_ORACLE_ADDRESS = "0x92e606Fd8b99F99928f690a5bEb20f6f6e3ec0f3"; +exports.GMX_ERC20 = "0xfc5A1A6EB076a2C7aD06eD22C90d7E710E35ad0a"; +exports.FRAXLENDPAIR_WBTC_FRAX = "0x9168AC3a83A31bd85c93F4429a84c05db2CaEF08"; +exports.WBTC_DUAL_ORACLE_ADDRESS = "0x34b7525FB0735342Ef3E73d0ED2a912aaAC6c617"; +exports.WBTC_ERC20 = "0x2f2a2543B76A4166549F7aaB2e75Bef0aefC5B0f"; +// Fraxswap +exports.FRAXSWAP_FACTORY_V1 = "0x5Ca135cB8527d76e932f34B5145575F9d8cbE08E"; +exports.FRAXSWAP_FACTORY_V2 = "0x8374A74A728f06bEa6B7259C68AA7BBB732bfeaD"; +exports.FRAXSWAP_ROUTER_V1 = "0xc2544A32872A91F4A553b404C6950e89De901fdb"; +exports.FRAXSWAP_ROUTER_V2 = "0xCAAaB0A72f781B92bA63Af27477aA46aB8F653E7"; +exports.FRAXSWAP_ROUTER_MULTI_HOP = "0x0000000000000000000000000000000000000000"; +exports.KYBERSWAP_ELASTIC_FACTORY_V2 = "0xC7a590291e07B9fe9E64b86c58fD8fC764308C4A"; +exports.KYBERSWAP_ELASTIC_POS_MGR_V2 = "0xe222fBE074A436145b255442D919E4E3A6c6a480"; +exports.KYBERSWAP_ELASTIC_ROUTER_V2 = "0xF9c2b5746c946EF883ab2660BbbB1f10A5bdeAb4"; +exports.KYBERSWAP_ELASTIC_TICK_FEES_READER_V2 = "0x8Fd8Cb948965d9305999D767A02bf79833EADbB3"; +// Misc +exports.FRAX_AMO_MINTER_LAYER_2 = "0x1c5400491fE82EE8FC21489C51e402B3c8a2fB81"; +exports.FRAXLEND_AMO = "0xCDeE1B853AD2E96921250775b7A60D6ff78fD8B4"; +// Multisigs +exports.CIRCUIT_BREAKER_ADDRESS = "0xDF85346111C0F9680a77d4c496b6fd5278516fa6"; +exports.FPI_COMPTROLLER = "0xF0D5007dB0393c9D5F6A88A5F82Df520EA483fDb"; +exports.FRAXLEND_COMPTROLLER_ADDRESS = "0x0B6A2B7fc025ce864A7CBF9df6e940C614C31f74"; +exports.FRAX_MASTER_MULTISIG_ADDRESS = "0xe61D9ed1e5Dc261D1e90a99304fADCef2c76FD10"; +exports.MAIN_COMPTROLLER = "0xe61D9ed1e5Dc261D1e90a99304fADCef2c76FD10"; +exports.TIMELOCK_ADDRESS = "0xB426B13372B7c967C4a2371B5e95FC7dc37545Db"; +// PoolRelatedTokens +exports.CURVE4POOL = "0x1C5ffa4FB4907B681c61B8c82b28C4672ceb1974"; +exports.CVXFRAXBP = "0x93729702Bf9E1687Ae2124e191B8fFbcC0C8A0B0"; +exports.CVXFRAXBP_REWARDER = "0x93729702Bf9E1687Ae2124e191B8fFbcC0C8A0B0"; +exports.CVXFRAXFXB_20241231_ARBITRUM = "0xCDA69af1077765a89eA156aCe7a6f8b476e4aF12"; +exports.CVXFRAXFXB_20261231_ARBITRUM = "0x2026681d569f80aE0A86D7c90bc81065D9A3AD42"; +exports.CVXFRXETHWETH = "0xd2D8BEB901f90163bE4667A85cDDEbB7177eb3E3"; +exports.CVXFRXETHWETH_REWARDER = "0xd2D8BEB901f90163bE4667A85cDDEbB7177eb3E3"; +exports.CVXHFXBFRAX = "0x256F53F13AdfF53CB888bc19ea0003651Be8F3B6"; +exports.CVXHFXBFRAX_REWARDER = "0x256F53F13AdfF53CB888bc19ea0003651Be8F3B6"; +exports.CVXUSDPLUSFRAXBP = "0x11F2217fa1D5c44Eae310b9b985E2964FC47D8f9"; +exports.CVXUSDPLUSFRAXBP_REWARDER = "0x11F2217fa1D5c44Eae310b9b985E2964FC47D8f9"; +exports.FRAX2POOL = "0xf07d553B195080F84F582e88ecdD54bAa122b279"; +exports.FRAXBP = "0xC9B8a3FDECB9D5b218d02555a8Baf332E5B740d5"; +exports.FRAXBP_GAUGE = "0x95285Ea6fF14F80A2fD3989a6bAb993Bd6b5fA13"; +exports.FRAXBP_POOL = "0xC9B8a3FDECB9D5b218d02555a8Baf332E5B740d5"; +exports.FRAXFXB_20241231 = "0xE920eEdAff6c3BEd1Ef61010B64d46986634E908"; +exports.FRAXFXB_20241231_GAUGE = "0x05824D6D4DE8A0ede4e12b98387A4f035a67ee68"; +exports.FRAXFXB_20241231_POOL = "0xE920eEdAff6c3BEd1Ef61010B64d46986634E908"; +exports.FRAXFXB_20261231 = "0x946adc524BD312D036776798c46ceDD948DD0A0f"; +exports.FRAXFXB_20261231_GAUGE = "0xa2617A26f9f528fa7B0E47fc2e66FcC04C6682E9"; +exports.FRAXFXB_20261231_POOL = "0x946adc524BD312D036776798c46ceDD948DD0A0f"; +exports.FRXETHWETH = "0x1DeB3b1cA6afca0FF9C5cE9301950dC98Ac0D523"; +exports.FRXETHWETH_GAUGE = "0x46FEc59Eb30C2D610917ebf4CE5114f7425b2c4A"; +exports.FRXETHWETH_POOL = "0x1DeB3b1cA6afca0FF9C5cE9301950dC98Ac0D523"; +exports.HFRAX = "0xb1c4426C86082D91a6c097fC588E5D5d8dD1f5a8"; +exports.HFXBFRAX = "0x8f5d46267EB52F3aA6E141004A781469D445888c"; +exports.HFXBFRAX_GAUGE = "0x725E997571F4fD144bB741762E8fA9f1D11761a7"; +exports.HFXBFRAX_POOL = "0x8f5d46267EB52F3aA6E141004A781469D445888c"; +exports.LFRAX = "0x2E9963ae673A885b6bfeDa2f80132CE28b784C40"; +exports.SADDLEARBUSDV2 = "0x0a20c2FFa10cD43F67D06170422505b7D6fC0953"; +exports.SADDLEL2D4 = "0x147D0Af556C6D89640BFa915D2b9619d7b55947a"; +exports.SADDLEL2D4_PERMISSIONLESS_SWAP = "0xF2839E0b30B5e96083085F498b14bbc12530b734"; +exports.SDL_ARBUSDV2 = "0x0a20c2FFa10cD43F67D06170422505b7D6fC0953"; +exports.SDL_ARBUSDV2_POOL = "0xfeEa4D1BacB0519E8f952460A70719944fe56Ee0"; +exports.SDL_FRAXBP = "0x896935B02D3cBEb152192774e4F1991bb1D2ED3f"; +exports.SDL_FRAXBP_POOL = "0x401AFbc31ad2A3Bc0eD8960d63eFcDEA749b4849"; +exports.SDL_USDSFRAXBP = "0x1e491122f3C096392b40a4EA27aa1a29360d38a1"; +exports.SDL_USDSFRAXBP_POOL = "0xa5bD85ed9fA27ba23BfB702989e7218E44fd4706"; +exports.SDL_USDTFRAXBP = "0x166680852ae9Dec3d63374c5eBf89E974448BFE9"; +exports.SDL_USDTFRAXBP_POOL = "0xf8504e92428d65E56e495684A38f679C1B1DC30b"; +exports.SDL_USXFRAXBP = "0x721DaC7d5ACc8Aa62946fd583C1F999e1570b97D"; +exports.SDL_USXFRAXBP_POOL = "0xb2a2764D0DCAB445E24f4b813bE3f6ef8AE5f84D"; +exports.USDPLUSFRAXBP = "0xb34a7d1444a707349Bc7b981B7F2E1f20F81F013"; +exports.USDPLUSFRAXBP_GAUGE = "0x4645e6476D3A5595Be9Efd39426cc10586a8393D"; +exports.USDPLUSFRAXBP_POOL = "0xb34a7d1444a707349Bc7b981B7F2E1f20F81F013"; +exports.VECHR = "0x9A01857f33aa382b1d5bb96C3180347862432B0d"; +exports.VERAM = "0xAAA343032aA79eE9a6897Dab03bef967c3289a06"; +// LayerZero +exports.FPIOFT = "0x90581eCa9469D8D7F5D3B60f4715027aDFCf7927"; +exports.FRXETHOFT = "0x43eDD7f3831b08FE70B7555ddD373C8bF65a9050"; +exports.FRXUSDOFT = "0x80Eede496655FB9047dd39d9f418d5483ED600df"; +exports.SFRXETHOFT = "0x3Ec3849C33291a9eF4c5dB86De593EB4A37fDe45"; +exports.SFRXUSDOFT = "0x5Bff88cA1442c2496f7E475E9e7786383Bc070c0"; +exports.WFRAXOFT = "0x64445f0aecC51E94aD52d8AC56b7190e764E561a"; +// FraxtalLZHop +exports.REMOTEHOP = "0x29F5DBD0FE72d8f11271FCBE79Cb87E18a83C70A"; +exports.REMOTEMINTREDEEMHOP = "0xa46A266dCBf199a71532c76967e200994C5A0D6d"; +// LayerZeroInfra +exports.LZ_ENDPOINT = "0x1a44076050125825900e736c501f859c50fE728c"; +exports.LZ_RECEIVE_LIB_302 = "0x7B9E184e07a6EE1aC23eAe0fe8D6Be2f663f05e6"; +exports.LZ_SEND_LIB_302 = "0x975bcD720be66659e3EB3C0e4F1866a3020E493A"; +exports.LZ_BLOCK_SEND_LIB = "0x1ccbf0db9c192d969de57e25b3ff09a25bb1d862"; +exports.FRAX_PROXY_ADMIN = "0x223a681fc5c5522c85c96157c0efa18cd6c5405c"; +// Chain IDs +exports.LZ_CHAIN_ID = 30110; +exports.CHAIN_ID = 42161; + +// HopV2 +exports.REMOTEHOPV2 = "0x0000006D38568b00B457580b734e0076C62de659"; +exports.REMOTEADMINV2 = "0x954286118E93df807aB6f99aE0454f8710f0a8B9"; diff --git a/scripts/constants/arbitrum.ts b/scripts/constants/arbitrum.ts index f599455..4910e96 100644 --- a/scripts/constants/arbitrum.ts +++ b/scripts/constants/arbitrum.ts @@ -162,4 +162,10 @@ export const WFRAXOFT = "0x64445f0aecC51E94aD52d8AC56b7190e764E561a"; // FraxtalLZHop export const REMOTEHOP = "0x29F5DBD0FE72d8f11271FCBE79Cb87E18a83C70A"; -export const REMOTEMINTREDEEMHOP = "0xa46A266dCBf199a71532c76967e200994C5A0D6d"; \ No newline at end of file +export const REMOTEMINTREDEEMHOP = "0xa46A266dCBf199a71532c76967e200994C5A0D6d"; +// LayerZeroInfra +export const FRAX_PROXY_ADMIN = "0x223a681fc5c5522c85c96157c0efa18cd6c5405c"; + +// HopV2 +export const REMOTEHOPV2 = "0x0000006D38568b00B457580b734e0076C62de659"; +export const REMOTEADMINV2 = "0x954286118E93df807aB6f99aE0454f8710f0a8B9"; diff --git a/scripts/constants/aurora.js b/scripts/constants/aurora.js new file mode 100644 index 0000000..d9e0930 --- /dev/null +++ b/scripts/constants/aurora.js @@ -0,0 +1,37 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.CHAIN_ID = + exports.LZ_CHAIN_ID = + exports.FRAX_PROXY_ADMIN = + exports.LZ_BLOCK_SEND_LIB = + exports.LZ_SEND_LIB_302 = + exports.LZ_RECEIVE_LIB_302 = + exports.LZ_ENDPOINT = + exports.REMOTEMINTREDEEMHOP = + exports.REMOTEHOP = + exports.WFRAXOFT = + exports.SFRXUSDOFT = + exports.SFRXETHOFT = + exports.FRXUSDOFT = + exports.FRXETHOFT = + exports.FPIOFT = + void 0; +// LayerZero +exports.FPIOFT = "0x90581eCa9469D8D7F5D3B60f4715027aDFCf7927"; +exports.FRXETHOFT = "0x43eDD7f3831b08FE70B7555ddD373C8bF65a9050"; +exports.FRXUSDOFT = "0x80Eede496655FB9047dd39d9f418d5483ED600df"; +exports.SFRXETHOFT = "0x3Ec3849C33291a9eF4c5dB86De593EB4A37fDe45"; +exports.SFRXUSDOFT = "0x5Bff88cA1442c2496f7E475E9e7786383Bc070c0"; +exports.WFRAXOFT = "0x64445f0aecC51E94aD52d8AC56b7190e764E561a"; +// FraxtalLZHop +exports.REMOTEHOP = "0x53e36C8380Ff62D7964BFa4868A0045E58A52344"; +exports.REMOTEMINTREDEEMHOP = "0x8EbB34b1880B2EA5e458082590B3A2c9Ea7C41A2"; +// LayerZeroInfra +exports.LZ_ENDPOINT = "0x1a44076050125825900e736c501f859c50fE728c"; +exports.LZ_RECEIVE_LIB_302 = "0x000CC1A759bC3A15e664Ed5379E321Be5de1c9B6"; +exports.LZ_SEND_LIB_302 = "0x1aCe9DD1BC743aD036eF2D92Af42Ca70A1159df5"; +exports.LZ_BLOCK_SEND_LIB = "0x1ccbf0db9c192d969de57e25b3ff09a25bb1d862"; +exports.FRAX_PROXY_ADMIN = "0x223a681fc5c5522c85c96157c0efa18cd6c5405c"; +// Chain IDs +exports.LZ_CHAIN_ID = 30211; +exports.CHAIN_ID = 1313161554; diff --git a/scripts/constants/aurora.ts b/scripts/constants/aurora.ts index 03321e6..701e05b 100644 --- a/scripts/constants/aurora.ts +++ b/scripts/constants/aurora.ts @@ -8,4 +8,6 @@ export const WFRAXOFT = "0x64445f0aecC51E94aD52d8AC56b7190e764E561a"; // FraxtalLZHop export const REMOTEHOP = "0x53e36C8380Ff62D7964BFa4868A0045E58A52344"; -export const REMOTEMINTREDEEMHOP = "0x8EbB34b1880B2EA5e458082590B3A2c9Ea7C41A2"; \ No newline at end of file +export const REMOTEMINTREDEEMHOP = "0x8EbB34b1880B2EA5e458082590B3A2c9Ea7C41A2"; +// LayerZeroInfra +export const FRAX_PROXY_ADMIN = "0x223a681fc5c5522c85c96157c0efa18cd6c5405c"; diff --git a/scripts/constants/avalanche.js b/scripts/constants/avalanche.js new file mode 100644 index 0000000..fd6477f --- /dev/null +++ b/scripts/constants/avalanche.js @@ -0,0 +1,141 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.SFRXUSDOFT = + exports.SFRXETHOFT = + exports.FRXUSDOFT = + exports.FRXETHOFT = + exports.FPIOFT = + exports.TRADER_JOE_FRAX_WAVAX = + exports.PANGOLIN_CANFXS_USDC_E = + exports.PANGOLIN_CANFRAX_WAVAX = + exports.PANGOLIN_CANFRAX_USDC_E = + exports.PANGOLIN_CANFRAX_CANFXS = + exports.GOHM = + exports.FRAX3CRV_F = + exports.CURVE_4POOL = + exports.CURVE4POOL = + exports.AXIAL_AC4D_TSD_MIM_FRAX_DAI_E = + exports.FPI_COMPTROLLER = + exports.COMPTROLLER = + exports.FRAXSWAP_V2_FRAX_WAVAX = + exports.FRAXSWAP_V2_FRAX_FXS = + exports.FRAXSWAP_V1_FRAX_WAVAX = + exports.FRAXSWAP_V1_FRAX_FXS = + exports.FRAXSWAP_ROUTER_V2 = + exports.FRAXSWAP_ROUTER_V1 = + exports.FRAXSWAP_FACTORY_V2 = + exports.FRAXSWAP_FACTORY_V1 = + exports.COMBO_ORACLE_UNIV2_UNIV3 = + exports.COMBO_ORACLE = + exports.CREWMEMBER = + exports.FIRST_OFFICER = + exports.CAPTAIN = + exports.FRAXFERRY_V2__ETHEREUM_AVALANCHE__SFRAX__AVAX_SIDE = + exports.FRAXFERRY_V2__ETHEREUM_AVALANCHE__SFRXETH__AVAX_SIDE = + exports.FRAXFERRY_V2__ETHEREUM_AVALANCHE__FRXETH__AVAX_SIDE = + exports.FRAXFERRY_V2__ETHEREUM_AVALANCHE__FPIS__AVAX_SIDE = + exports.FRAXFERRY_V2__ETHEREUM_AVALANCHE__FPI__AVAX_SIDE = + exports.FRAXFERRY_V2__ETHEREUM_AVALANCHE__FXS__AVAX_SIDE = + exports.FRAXFERRY_V1__ETHEREUM_AVALANCHE__FRAX__AVAX_SIDE = + exports.TRADER_JOE_FXS_AVAX = + exports.TRADER_JOE_FRAX_GOHM = + exports.TRADER_JOE_FRAX_AVAX = + exports.SNOWBALL_S4D = + exports.PANGOLIN_FXS_AVAX = + exports.PANGOLIN_FRAX_AVAX = + exports.SFRAX = + exports.SFRXETH = + exports.FRXETH = + exports.FPIS = + exports.FPI = + exports.FXS = + exports.FRAX = + void 0; +exports.CHAIN_ID = + exports.LZ_CHAIN_ID = + exports.FRAX_PROXY_ADMIN = + exports.LZ_BLOCK_SEND_LIB = + exports.LZ_SEND_LIB_302 = + exports.LZ_RECEIVE_LIB_302 = + exports.LZ_ENDPOINT = + exports.REMOTEMINTREDEEMHOP = + exports.REMOTEHOP = + exports.WFRAXOFT = + void 0; +// Canonicals +exports.FRAX = "0xD24C2Ad096400B6FBcd2ad8B24E7acBc21A1da64"; +exports.FXS = "0x214DB107654fF987AD859F34125307783fC8e387"; +exports.FPI = "0xF530904FD8F9ce55F40b7cc78382A13B0cd5C48c"; +exports.FPIS = "0xee7cBa1403A2B0C53181B3980D52f9C5EdEEcC9e"; +exports.FRXETH = "0x2018B0CA0eDcE80800851958bD094dD4a8DA1fc4"; +exports.SFRXETH = "0x6D3B126ae28f3E39894070148B377624F6Ab4a45"; +exports.SFRAX = "0x3405E88af759992937b84E58F2Fe691EF0EeA320"; +// Farms +exports.PANGOLIN_FRAX_AVAX = "0x1f806f7C8dED893fd3caE279191ad7Aa3798E928"; +exports.PANGOLIN_FXS_AVAX = "0x76Ad5c64Fe6B26b6aD9aaAA19eBa00e9eCa31FE1"; +exports.SNOWBALL_S4D = "0x0bd7964E2E03bdb9703658A1e88F4Dc786FfA551"; +exports.TRADER_JOE_FRAX_AVAX = "0x862905a82382Db9405a40DCAa8Ee9e8F4af52C89"; +exports.TRADER_JOE_FRAX_GOHM = "0x3E6Be71dE004363379d864006AAC37C9F55F8329"; +exports.TRADER_JOE_FXS_AVAX = "0x53942Dcce5087f56cF1D68F4e017Ca3A793F59a2"; +// FraxBonds +// FraxFerry +exports.FRAXFERRY_V1__ETHEREUM_AVALANCHE__FRAX__AVAX_SIDE = "0x5dfF474Cea8A1FA929AC9A3cE2550376aF11d2A8"; +exports.FRAXFERRY_V2__ETHEREUM_AVALANCHE__FXS__AVAX_SIDE = "0xC311b600bc926a3a8aC39945471427DFd9196930"; +exports.FRAXFERRY_V2__ETHEREUM_AVALANCHE__FPI__AVAX_SIDE = "0x5E2Ba6a55a5A031d4eCdbAf5691316b7779A6dD4"; +exports.FRAXFERRY_V2__ETHEREUM_AVALANCHE__FPIS__AVAX_SIDE = "0xb3F6A473b875d74b0E2a86ba9F8a2A935241BaE7"; +exports.FRAXFERRY_V2__ETHEREUM_AVALANCHE__FRXETH__AVAX_SIDE = "0x8f4312DAB71BaAaF64917556333B004db5f3D7DA"; +exports.FRAXFERRY_V2__ETHEREUM_AVALANCHE__SFRXETH__AVAX_SIDE = "0xaf45B8fbde0e0aCbeB5Acf2faE28A34701b1eF01"; +exports.FRAXFERRY_V2__ETHEREUM_AVALANCHE__SFRAX__AVAX_SIDE = "0x0304A365C0fbb4b1Ad423887861b9b69a5f0c00E"; +exports.CAPTAIN = "0xBB437059584e30598b3AF0154472E47E6e2a45B9"; +exports.FIRST_OFFICER = "0xBB437059584e30598b3AF0154472E47E6e2a45B9"; +exports.CREWMEMBER = "0xBB437059584e30598b3AF0154472E47E6e2a45B9"; +// FraxlendAndOracles +exports.COMBO_ORACLE = "0xf22460b939F1490b485005C0fe4643951724f822"; +exports.COMBO_ORACLE_UNIV2_UNIV3 = "0xfD1a5eD9FaE84f06Ab2e846851F256D4d07B1A17"; +// Fraxswap +exports.FRAXSWAP_FACTORY_V1 = "0x5Ca135cB8527d76e932f34B5145575F9d8cbE08E"; +exports.FRAXSWAP_FACTORY_V2 = "0xf77ca9B635898980fb219b4F4605C50e4ba58afF"; +exports.FRAXSWAP_ROUTER_V1 = "0xc2544A32872A91F4A553b404C6950e89De901fdb"; +exports.FRAXSWAP_ROUTER_V2 = "0x5977b16AA9aBC4D1281058C73B789C65Bf9ab3d3"; +exports.FRAXSWAP_V1_FRAX_FXS = "0xEa9345507c4055b2aC73c67e56f7207702FE66Cc"; +exports.FRAXSWAP_V1_FRAX_WAVAX = "0x48A7d7d9b6d6529a3d191E434b71CDB874f29011"; +exports.FRAXSWAP_V2_FRAX_FXS = "0x27cc2Be95D1492bbA726E10Eba57968A065F05eC"; +exports.FRAXSWAP_V2_FRAX_WAVAX = "0xC725819a7c2A5d3DA243e02eb886b4C5f2B4dc6A"; +// Misc +// Multisigs +exports.COMPTROLLER = "0xc036Caff65c1A31eAa53e60F6E17f1E6689937AA"; +exports.FPI_COMPTROLLER = "0xB3e03c9C1820C6216953FB1BBC6fFd232ac12a19"; +// PoolRelatedTokens +exports.AXIAL_AC4D_TSD_MIM_FRAX_DAI_E = "0x4da067E13974A4d32D342d86fBBbE4fb0f95f382"; +exports.CURVE4POOL = "0xcb11EE4B70d73e38a383b8691cAFb221059669cC"; +exports.CURVE_4POOL = "0xcb11EE4B70d73e38a383b8691cAFb221059669cC"; +exports.FRAX3CRV_F = "0xE013593CEA239E445d2271106836b00C9E7356ae"; +exports.GOHM = "0x321E7092a180BB43555132ec53AaA65a5bF84251"; +exports.PANGOLIN_CANFRAX_CANFXS = "0xe0CC7ed0666B29e60a21aF8636bBC69b21eDc434"; +exports.PANGOLIN_CANFRAX_USDC_E = "0x0c8249757b8d66cB2b6155281A5e4f8F53C94c05"; +exports.PANGOLIN_CANFRAX_WAVAX = "0x0CE543c0f81ac9AAa665cCaAe5EeC70861a6b559"; +exports.PANGOLIN_CANFXS_USDC_E = "0x8614F7ca1f4b08Ef2C158a3027EA55fAA8384aC8"; +exports.TRADER_JOE_FRAX_WAVAX = "0x0d84595e8638dBc631076c51000B2d31120D8aa1"; +// LayerZero +exports.FPIOFT = "0x90581eCa9469D8D7F5D3B60f4715027aDFCf7927"; +exports.FRXETHOFT = "0x43eDD7f3831b08FE70B7555ddD373C8bF65a9050"; +exports.FRXUSDOFT = "0x80Eede496655FB9047dd39d9f418d5483ED600df"; +exports.SFRXETHOFT = "0x3Ec3849C33291a9eF4c5dB86De593EB4A37fDe45"; +exports.SFRXUSDOFT = "0x5Bff88cA1442c2496f7E475E9e7786383Bc070c0"; +exports.WFRAXOFT = "0x64445f0aecC51E94aD52d8AC56b7190e764E561a"; +// FraxtalLZHop +exports.REMOTEHOP = "0x7a07D606c87b7251c2953A30Fa445d8c5F856C7A"; +exports.REMOTEMINTREDEEMHOP = "0x452420df4AC1e3db5429b5FD629f3047482C543C"; +// LayerZeroInfra +exports.LZ_ENDPOINT = "0x1a44076050125825900e736c501f859c50fE728c"; +exports.LZ_RECEIVE_LIB_302 = "0xbf3521d309642FA9B1c91A08609505BA09752c61"; +exports.LZ_SEND_LIB_302 = "0x197D1333DEA5Fe0D6600E9b396c7f1B1cFCc558a"; +exports.LZ_BLOCK_SEND_LIB = "0x1ccbf0db9c192d969de57e25b3ff09a25bb1d862"; +exports.FRAX_PROXY_ADMIN = "0x223a681fc5c5522c85c96157c0efa18cd6c5405c"; +// Chain IDs +exports.LZ_CHAIN_ID = 30106; +exports.CHAIN_ID = 43114; + +// HopV2 +exports.REMOTEHOPV2 = "0x0000006D38568b00B457580b734e0076C62de659"; +exports.REMOTEADMINV2 = "0x954286118E93df807aB6f99aE0454f8710f0a8B9"; diff --git a/scripts/constants/avalanche.ts b/scripts/constants/avalanche.ts index ec46876..92e3cb3 100644 --- a/scripts/constants/avalanche.ts +++ b/scripts/constants/avalanche.ts @@ -72,3 +72,10 @@ export const WFRAXOFT = "0x64445f0aecC51E94aD52d8AC56b7190e764E561a"; // FraxtalLZHop export const REMOTEHOP = "0x7a07D606c87b7251c2953A30Fa445d8c5F856C7A"; export const REMOTEMINTREDEEMHOP = "0x452420df4AC1e3db5429b5FD629f3047482C543C"; + +// LayerZeroInfra +export const FRAX_PROXY_ADMIN = "0x223a681fc5c5522c85c96157c0efa18cd6c5405c"; + +// HopV2 +export const REMOTEHOPV2 = "0x0000006D38568b00B457580b734e0076C62de659"; +export const REMOTEADMINV2 = "0x954286118E93df807aB6f99aE0454f8710f0a8B9"; diff --git a/scripts/constants/base.js b/scripts/constants/base.js new file mode 100644 index 0000000..876d6e3 --- /dev/null +++ b/scripts/constants/base.js @@ -0,0 +1,41 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.CHAIN_ID = + exports.LZ_CHAIN_ID = + exports.FRAX_PROXY_ADMIN = + exports.LZ_BLOCK_SEND_LIB = + exports.LZ_SEND_LIB_302 = + exports.LZ_RECEIVE_LIB_302 = + exports.LZ_ENDPOINT = + exports.REMOTEMINTREDEEMHOP = + exports.REMOTEHOP = + exports.WFRAXOFT = + exports.SFRXUSDOFT = + exports.SFRXETHOFT = + exports.FRXUSDOFT = + exports.FRXETHOFT = + exports.FPIOFT = + void 0; +// LayerZero +exports.FPIOFT = "0xEEdd3A0DDDF977462A97C1F0eBb89C3fbe8D084B"; +exports.FRXETHOFT = "0x7eb8d1E4E2D0C8b9bEDA7a97b305cF49F3eeE8dA"; +exports.FRXUSDOFT = "0xe5020A6d073a794B6E7f05678707dE47986Fb0b6"; +exports.SFRXETHOFT = "0x192e0C7Cc9B263D93fa6d472De47bBefe1Fb12bA"; +exports.SFRXUSDOFT = "0x91A3f8a8d7a881fBDfcfEcd7A2Dc92a46DCfa14e"; +exports.WFRAXOFT = "0x0CEAC003B0d2479BebeC9f4b2EBAd0a803759bbf"; +// FraxtalLZHop +exports.REMOTEHOP = "0x3Ec3849C33291a9eF4c5dB86De593EB4A37fDe45"; +exports.REMOTEMINTREDEEMHOP = "0x73382eb28F35d80Df8C3fe04A3EED71b1aFce5dE"; +// LayerZeroInfra +exports.LZ_ENDPOINT = "0x1a44076050125825900e736c501f859c50fE728c"; +exports.LZ_RECEIVE_LIB_302 = "0xc70AB6f32772f59fBfc23889Caf4Ba3376C84bAf"; +exports.LZ_SEND_LIB_302 = "0xB5320B0B3a13cC860893E2Bd79FCd7e13484Dda2"; +exports.LZ_BLOCK_SEND_LIB = "0x1ccbf0db9c192d969de57e25b3ff09a25bb1d862"; +exports.FRAX_PROXY_ADMIN = "0xF59C41A57AB4565AF7424F64981523DfD7A453c5"; +// Chain IDs +exports.LZ_CHAIN_ID = 30184; +exports.CHAIN_ID = 8453; + +// HopV2 +exports.REMOTEHOPV2 = "0x0000006D38568b00B457580b734e0076C62de659"; +exports.REMOTEADMINV2 = "0x07dB789aD17573e5169eDEfe14df91CC305715AA"; diff --git a/scripts/constants/base.ts b/scripts/constants/base.ts index 945a9a0..d37e964 100644 --- a/scripts/constants/base.ts +++ b/scripts/constants/base.ts @@ -8,4 +8,10 @@ export const WFRAXOFT = "0x0CEAC003B0d2479BebeC9f4b2EBAd0a803759bbf"; // FraxtalLZHop export const REMOTEHOP = "0x3Ec3849C33291a9eF4c5dB86De593EB4A37fDe45"; -export const REMOTEMINTREDEEMHOP = "0x73382eb28F35d80Df8C3fe04A3EED71b1aFce5dE"; \ No newline at end of file +export const REMOTEMINTREDEEMHOP = "0x73382eb28F35d80Df8C3fe04A3EED71b1aFce5dE"; +// LayerZeroInfra +export const FRAX_PROXY_ADMIN = "0xF59C41A57AB4565AF7424F64981523DfD7A453c5"; + +// HopV2 +export const REMOTEHOPV2 = "0x0000006D38568b00B457580b734e0076C62de659"; +export const REMOTEADMINV2 = "0x07dB789aD17573e5169eDEfe14df91CC305715AA"; diff --git a/scripts/constants/bera.js b/scripts/constants/bera.js new file mode 100644 index 0000000..b19923d --- /dev/null +++ b/scripts/constants/bera.js @@ -0,0 +1,41 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.CHAIN_ID = + exports.LZ_CHAIN_ID = + exports.FRAX_PROXY_ADMIN = + exports.LZ_BLOCK_SEND_LIB = + exports.LZ_SEND_LIB_302 = + exports.LZ_RECEIVE_LIB_302 = + exports.LZ_ENDPOINT = + exports.REMOTEMINTREDEEMHOP = + exports.REMOTEHOP = + exports.WFRAXOFT = + exports.SFRXUSDOFT = + exports.SFRXETHOFT = + exports.FRXUSDOFT = + exports.FRXETHOFT = + exports.FPIOFT = + void 0; +// LayerZero +exports.FPIOFT = "0x90581eCa9469D8D7F5D3B60f4715027aDFCf7927"; +exports.FRXETHOFT = "0x43eDD7f3831b08FE70B7555ddD373C8bF65a9050"; +exports.FRXUSDOFT = "0x80Eede496655FB9047dd39d9f418d5483ED600df"; +exports.SFRXETHOFT = "0x3Ec3849C33291a9eF4c5dB86De593EB4A37fDe45"; +exports.SFRXUSDOFT = "0x5Bff88cA1442c2496f7E475E9e7786383Bc070c0"; +exports.WFRAXOFT = "0x64445f0aecC51E94aD52d8AC56b7190e764E561a"; +// FraxtalLZHop +exports.REMOTEHOP = "0xc71BF5Ee4740405030eF521F18A96eA14fec802D"; +exports.REMOTEMINTREDEEMHOP = "0x983aF86c94Fe3963989c22CeeEb6eA8Eac32D263"; +// LayerZeroInfra +exports.LZ_ENDPOINT = "0x6F475642a6e85809B1c36Fa62763669b1b48DD5B"; +exports.LZ_RECEIVE_LIB_302 = "0xe1844c5D63a9543023008D332Bd3d2e6f1FE1043"; +exports.LZ_SEND_LIB_302 = "0xC39161c743D0307EB9BCc9FEF03eeb9Dc4802de7"; +exports.LZ_BLOCK_SEND_LIB = "0xc1ce56b2099ca68720592583c7984cab4b6d7e7a"; +exports.FRAX_PROXY_ADMIN = "0x223a681fc5c5522c85c96157c0efa18cd6c5405c"; +// Chain IDs +exports.LZ_CHAIN_ID = 30362; +exports.CHAIN_ID = 80094; + +// HopV2 +exports.REMOTEHOPV2 = "0x0000006D38568b00B457580b734e0076C62de659"; +exports.REMOTEADMINV2 = "0x954286118E93df807aB6f99aE0454f8710f0a8B9"; diff --git a/scripts/constants/bera.ts b/scripts/constants/bera.ts index 48b4cb8..482cefd 100644 --- a/scripts/constants/bera.ts +++ b/scripts/constants/bera.ts @@ -8,4 +8,10 @@ export const WFRAXOFT = "0x64445f0aecC51E94aD52d8AC56b7190e764E561a"; // FraxtalLZHop export const REMOTEHOP = "0xc71BF5Ee4740405030eF521F18A96eA14fec802D"; -export const REMOTEMINTREDEEMHOP = "0x983aF86c94Fe3963989c22CeeEb6eA8Eac32D263"; \ No newline at end of file +export const REMOTEMINTREDEEMHOP = "0x983aF86c94Fe3963989c22CeeEb6eA8Eac32D263"; +// LayerZeroInfra +export const FRAX_PROXY_ADMIN = "0x223a681fc5c5522c85c96157c0efa18cd6c5405c"; + +// HopV2 +export const REMOTEHOPV2 = "0x0000006D38568b00B457580b734e0076C62de659"; +export const REMOTEADMINV2 = "0x954286118E93df807aB6f99aE0454f8710f0a8B9"; diff --git a/scripts/constants/blast.js b/scripts/constants/blast.js new file mode 100644 index 0000000..702ee65 --- /dev/null +++ b/scripts/constants/blast.js @@ -0,0 +1,37 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.CHAIN_ID = + exports.LZ_CHAIN_ID = + exports.FRAX_PROXY_ADMIN = + exports.LZ_BLOCK_SEND_LIB = + exports.LZ_SEND_LIB_302 = + exports.LZ_RECEIVE_LIB_302 = + exports.LZ_ENDPOINT = + exports.REMOTEMINTREDEEMHOP = + exports.REMOTEHOP = + exports.WFRAXOFT = + exports.SFRXUSDOFT = + exports.SFRXETHOFT = + exports.FRXUSDOFT = + exports.FRXETHOFT = + exports.FPIOFT = + void 0; +// LayerZero +exports.FPIOFT = "0x90581eCa9469D8D7F5D3B60f4715027aDFCf7927"; +exports.FRXETHOFT = "0x43eDD7f3831b08FE70B7555ddD373C8bF65a9050"; +exports.FRXUSDOFT = "0x80Eede496655FB9047dd39d9f418d5483ED600df"; +exports.SFRXETHOFT = "0x3Ec3849C33291a9eF4c5dB86De593EB4A37fDe45"; +exports.SFRXUSDOFT = "0x5Bff88cA1442c2496f7E475E9e7786383Bc070c0"; +exports.WFRAXOFT = "0x64445f0aecC51E94aD52d8AC56b7190e764E561a"; +// FraxtalLZHop +exports.REMOTEHOP = "0xe93Cb38f97469eac2f284a87813D0d701b28E58e"; +exports.REMOTEMINTREDEEMHOP = "0x85b1714b25f40FD5025423124c076476073180b3"; +// LayerZeroInfra +exports.LZ_ENDPOINT = "0x1a44076050125825900e736c501f859c50fE728c"; +exports.LZ_RECEIVE_LIB_302 = "0x377530cdA84DFb2673bF4d145DCF0C4D7fdcB5b6"; +exports.LZ_SEND_LIB_302 = "0xc1B621b18187F74c8F6D52a6F709Dd2780C09821"; +exports.LZ_BLOCK_SEND_LIB = "0x1ccbf0db9c192d969de57e25b3ff09a25bb1d862"; +exports.FRAX_PROXY_ADMIN = "0x223a681fc5c5522c85c96157c0efa18cd6c5405c"; +// Chain IDs +exports.LZ_CHAIN_ID = 30243; +exports.CHAIN_ID = 81457; diff --git a/scripts/constants/blast.ts b/scripts/constants/blast.ts index f6f399a..d015f59 100644 --- a/scripts/constants/blast.ts +++ b/scripts/constants/blast.ts @@ -8,4 +8,6 @@ export const WFRAXOFT = "0x64445f0aecC51E94aD52d8AC56b7190e764E561a"; // FraxtalLZHop export const REMOTEHOP = "0xe93Cb38f97469eac2f284a87813D0d701b28E58e"; -export const REMOTEMINTREDEEMHOP = "0x85b1714b25f40FD5025423124c076476073180b3"; \ No newline at end of file +export const REMOTEMINTREDEEMHOP = "0x85b1714b25f40FD5025423124c076476073180b3"; +// LayerZeroInfra +export const FRAX_PROXY_ADMIN = "0x223a681fc5c5522c85c96157c0efa18cd6c5405c"; diff --git a/scripts/constants/bsc.js b/scripts/constants/bsc.js new file mode 100644 index 0000000..43f19f7 --- /dev/null +++ b/scripts/constants/bsc.js @@ -0,0 +1,133 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.LZ_ENDPOINT = + exports.REMOTEMINTREDEEMHOP = + exports.REMOTEHOP = + exports.WFRAXOFT = + exports.SFRXUSDOFT = + exports.SFRXETHOFT = + exports.FRXUSDOFT = + exports.FRXETHOFT = + exports.FPIOFT = + exports.SADDLE_FRAX_BUSD = + exports.APESWAP_CANFXS_USDC = + exports.APESWAP_CANFRAX_USDC = + exports.APESWAP_CANFRAX_WBNB = + exports.APESWAP_CANFRAX_CANFXS = + exports.GFRAX = + exports.FPI_COMPTROLLER = + exports.COMPTROLLER = + exports.FRAXSWAP_V2_FRAX_WBNB = + exports.FRAXSWAP_V2_FRAX_FXS = + exports.FRAXSWAP_V1_FRAX_WBNB = + exports.FRAXSWAP_V1_FRAX_FXS = + exports.FRAXSWAP_ROUTER_V2 = + exports.FRAXSWAP_ROUTER_V1 = + exports.FRAXSWAP_ROUTER_MULTI_HOP = + exports.FRAXSWAP_FACTORY_V2 = + exports.FRAXSWAP_FACTORY_V1 = + exports.COMBO_ORACLE_UNIV2_UNIV3 = + exports.COMBO_ORACLE = + exports.CREWMEMBER = + exports.FIRST_OFFICER = + exports.CAPTAIN = + exports.FRAXFERRY_V2__ETHEREUM_BSC__SFRAX__BSC_SIDE = + exports.FRAXFERRY_V2__ETHEREUM_BSC__SFRXETH__BSC_SIDE = + exports.FRAXFERRY_V2__ETHEREUM_BSC__FRXETH__BSC_SIDE = + exports.FRAXFERRY_V2__ETHEREUM_BSC__FPIS__BSC_SIDE = + exports.FRAXFERRY_V2__ETHEREUM_BSC__FPI__BSC_SIDE = + exports.FRAXFERRY_V2__ETHEREUM_BSC__FXS__BSC_SIDE = + exports.FRAXFERRY_V1__ETHEREUM_BSC__FRAX__BSC_SIDE = + exports.PLANET_FINANCE_FRAX_LENDING = + exports.IMPOSSIBLE_FRAX_FXS = + exports.IMPOSSIBLE_FRAX_IF = + exports.APESWAP_CANFXS_WBNB = + exports.APESWAP_CANFRAX_BUSD = + exports.SFRAX = + exports.SFRXETH = + exports.FRXETH = + exports.FPIS = + exports.FPI = + exports.FXS = + exports.FRAX = + void 0; +exports.CHAIN_ID = + exports.LZ_CHAIN_ID = + exports.FRAX_PROXY_ADMIN = + exports.LZ_BLOCK_SEND_LIB = + exports.LZ_SEND_LIB_302 = + exports.LZ_RECEIVE_LIB_302 = + void 0; +// Canonicals +exports.FRAX = "0x90C97F71E18723b0Cf0dfa30ee176Ab653E89F40"; +exports.FXS = "0xe48A3d7d0Bc88d552f730B62c006bC925eadB9eE"; +exports.FPI = "0x2Dd1B4D4548aCCeA497050619965f91f78b3b532"; +exports.FPIS = "0xD1738eB733A636d1b8665f48bC8a24dA889c2562"; +exports.FRXETH = "0x64048A7eEcF3a2F1BA9e144aAc3D7dB6e58F555e"; +exports.SFRXETH = "0x3Cd55356433C89E50DC51aB07EE0fa0A95623D53"; +exports.SFRAX = "0xa63f56985F9C7F3bc9fFc5685535649e0C1a55f3"; +// Farms +exports.APESWAP_CANFRAX_BUSD = "0x5c8D727b265DBAfaba67E050f2f739cAeEB4A6F9"; +exports.APESWAP_CANFXS_WBNB = "0x5c8D727b265DBAfaba67E050f2f739cAeEB4A6F9"; +exports.IMPOSSIBLE_FRAX_IF = "0x5e1F728C0123f7e8B237F61D0105bf9CBd8867B5"; +exports.IMPOSSIBLE_FRAX_FXS = "0x5BE579e5fFF39a958E6269C6D011cd5f21e2cc32"; +exports.PLANET_FINANCE_FRAX_LENDING = "0x6022bA7e5A70E1bAA98d47a566F3495A26511b25"; +// FraxBonds +// FraxFerry +exports.FRAXFERRY_V1__ETHEREUM_BSC__FRAX__BSC_SIDE = "0x10Ef54F944639764d2d5Efa272262f06cfaF09AE"; +exports.FRAXFERRY_V2__ETHEREUM_BSC__FXS__BSC_SIDE = "0x5CD3d6465cd21b645F15175840f4659228C6195c"; +exports.FRAXFERRY_V2__ETHEREUM_BSC__FPI__BSC_SIDE = "0x1B01514A2B3CdEf16fD3c680a818A0Ab97Da8a09"; +exports.FRAXFERRY_V2__ETHEREUM_BSC__FPIS__BSC_SIDE = "0x0248940C22D2586450dd5145E81B7Fc0CA4Dd4a2"; +exports.FRAXFERRY_V2__ETHEREUM_BSC__FRXETH__BSC_SIDE = "0xB7C974530e59017DF7FA06b1EBD9e8a1E9aceC29"; +exports.FRAXFERRY_V2__ETHEREUM_BSC__SFRXETH__BSC_SIDE = "0x612015939f70C87E2041cc5daD909101c1A2383F"; +exports.FRAXFERRY_V2__ETHEREUM_BSC__SFRAX__BSC_SIDE = "0x5E8422345238F34275888049021821E8E08CAa1f"; +exports.CAPTAIN = "0xBB437059584e30598b3AF0154472E47E6e2a45B9"; +exports.FIRST_OFFICER = "0xBB437059584e30598b3AF0154472E47E6e2a45B9"; +exports.CREWMEMBER = "0xBB437059584e30598b3AF0154472E47E6e2a45B9"; +// FraxlendAndOracles +exports.COMBO_ORACLE = "0x1B3C6BdEACdc4DD9B0C8E3e2Fd222b4581a52A1A"; +exports.COMBO_ORACLE_UNIV2_UNIV3 = "0x8159D9CD28B7A140Fd92311C1E5c667d97176727"; +// Fraxswap +exports.FRAXSWAP_FACTORY_V1 = "0xa007a9716dba05289df85A90d0Fd9D39BEE808dE"; +exports.FRAXSWAP_FACTORY_V2 = "0xf89e6CA06121B6d4370f4B196Ae458e8b969A011"; +exports.FRAXSWAP_ROUTER_MULTI_HOP = "0x0000000000000000000000000000000000000000"; +exports.FRAXSWAP_ROUTER_V1 = "0x0AE84c1A6E142Ed90f8A35a7E7B216CB25469E37"; +exports.FRAXSWAP_ROUTER_V2 = "0x67F755137E0AE2a2aa0323c047715Bf6523116E5"; +exports.FRAXSWAP_V1_FRAX_FXS = "0xC86B106F76ef5b9A085071365eD5355592A7aFa4"; +exports.FRAXSWAP_V1_FRAX_WBNB = "0x84eE532a0d4238f5fC4a1E8c043f8749eD4F274D"; +exports.FRAXSWAP_V2_FRAX_FXS = "0xF51709f61447E2647528CCC9030d6FE492C30D63"; +exports.FRAXSWAP_V2_FRAX_WBNB = "0x14732123c443f8E815D5c64f3C7ecb63bCeEab74"; +// Misc +// Multisigs +exports.COMPTROLLER = "0x8811Da0385cCf1848B21475A42eA4D07Fc5d964a"; +exports.FPI_COMPTROLLER = "0x49f9cbf5333d8e50c9BE76c775777DB2ACb1d456"; +// PoolRelatedTokens +exports.GFRAX = "0x6022bA7e5A70E1bAA98d47a566F3495A26511b25"; +exports.APESWAP_CANFRAX_CANFXS = "0x489c8fF79245f14AEEE9520d28209844790cB979"; +exports.APESWAP_CANFRAX_WBNB = "0x16BDb03E6074759943149eBB1526DDfD1AA5fc56"; +exports.APESWAP_CANFRAX_USDC = "0x885BE9bCbCdcB70c59F56A78ae64A820e0448589"; +exports.APESWAP_CANFXS_USDC = "0x84f2781E4E60f97D2963260A7b20D883F04F0d20"; +exports.SADDLE_FRAX_BUSD = "0xBD0091CC77Fd3bDb620985a1dD8D3f94E071CCE3"; +// LayerZero +exports.FPIOFT = "0x90581eCa9469D8D7F5D3B60f4715027aDFCf7927"; +exports.FRXETHOFT = "0x43eDD7f3831b08FE70B7555ddD373C8bF65a9050"; +exports.FRXUSDOFT = "0x80Eede496655FB9047dd39d9f418d5483ED600df"; +exports.SFRXETHOFT = "0x3Ec3849C33291a9eF4c5dB86De593EB4A37fDe45"; +exports.SFRXUSDOFT = "0x5Bff88cA1442c2496f7E475E9e7786383Bc070c0"; +exports.WFRAXOFT = "0x64445f0aecC51E94aD52d8AC56b7190e764E561a"; +// FraxtalLZHop +exports.REMOTEHOP = "0x452420df4AC1e3db5429b5FD629f3047482C543C"; +exports.REMOTEMINTREDEEMHOP = "0xdee45510b42Cb0678C8A61D043C698aF66b0d852"; +// LayerZeroInfra +exports.LZ_ENDPOINT = "0x1a44076050125825900e736c501f859c50fE728c"; +exports.LZ_RECEIVE_LIB_302 = "0xB217266c3A98C8B2709Ee26836C98cf12f6cCEC1"; +exports.LZ_SEND_LIB_302 = "0x9F8C645f2D0b2159767Bd6E0839DE4BE49e823DE"; +exports.LZ_BLOCK_SEND_LIB = "0x1ccbf0db9c192d969de57e25b3ff09a25bb1d862"; +exports.FRAX_PROXY_ADMIN = "0x223a681fc5c5522c85c96157c0efa18cd6c5405c"; +// Chain IDs +exports.LZ_CHAIN_ID = 30102; +exports.CHAIN_ID = 56; + +// HopV2 +exports.REMOTEHOPV2 = "0x0000006D38568b00B457580b734e0076C62de659"; +exports.REMOTEADMINV2 = "0x954286118E93df807aB6f99aE0454f8710f0a8B9"; diff --git a/scripts/constants/bsc.ts b/scripts/constants/bsc.ts index a2cff5a..65c3714 100644 --- a/scripts/constants/bsc.ts +++ b/scripts/constants/bsc.ts @@ -67,4 +67,10 @@ export const WFRAXOFT = "0x64445f0aecC51E94aD52d8AC56b7190e764E561a"; // FraxtalLZHop export const REMOTEHOP = "0x452420df4AC1e3db5429b5FD629f3047482C543C"; -export const REMOTEMINTREDEEMHOP = "0xdee45510b42Cb0678C8A61D043C698aF66b0d852"; \ No newline at end of file +export const REMOTEMINTREDEEMHOP = "0xdee45510b42Cb0678C8A61D043C698aF66b0d852"; +// LayerZeroInfra +export const FRAX_PROXY_ADMIN = "0x223a681fc5c5522c85c96157c0efa18cd6c5405c"; + +// HopV2 +export const REMOTEHOPV2 = "0x0000006D38568b00B457580b734e0076C62de659"; +export const REMOTEADMINV2 = "0x954286118E93df807aB6f99aE0454f8710f0a8B9"; diff --git a/scripts/constants/ethereum.js b/scripts/constants/ethereum.js new file mode 100644 index 0000000..601b580 --- /dev/null +++ b/scripts/constants/ethereum.js @@ -0,0 +1,56 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.CHAIN_ID = + exports.LZ_CHAIN_ID = + exports.FRAX_PROXY_ADMIN = + exports.LZ_BLOCK_SEND_LIB = + exports.LZ_SEND_LIB_302 = + exports.LZ_RECEIVE_LIB_302 = + exports.LZ_ENDPOINT = + exports.REMOTEMINTREDEEMHOP = + exports.REMOTEHOP = + exports.WFRAXOFT = + exports.SFRXUSDOFT = + exports.SFRXETHOFT = + exports.FRXUSDOFT = + exports.FRXETHOFT = + exports.FPIOFT = + exports.FXS = + exports.FRAX = + exports.SFRXUSD = + exports.SFRXETH = + exports.FRXUSD = + exports.FRXETH = + exports.FPI = + void 0; +// Canonicals +exports.FPI = "0xc2544A32872A91F4A553b404C6950e89De901fdb"; +exports.FRXETH = "0x5E8422345238F34275888049021821E8E08CAa1f"; +exports.FRXUSD = "0xCAcd6fd266aF91b8AeD52aCCc382b4e165586E29"; +exports.SFRXETH = "0xac3E018457B222d93114458476f3E3416Abbe38F"; +exports.SFRXUSD = "0xcf62F905562626CfcDD2261162a51fd02Fc9c5b6"; +exports.FRAX = "0x853d955aCEf822Db058eb8505911ED77F175b99e"; +exports.FXS = "0x3432B6A60D23Ca0dFCa7761B7ab56459D9C964D0"; +// LayerZero +exports.FPIOFT = "0x9033BAD7aA130a2466060A2dA71fAe2219781B4b"; +exports.FRXETHOFT = "0x1c1649A38f4A3c5A0c4a24070f688C525AB7D6E6"; +exports.FRXUSDOFT = "0x566a6442A5A6e9895B9dCA97cC7879D632c6e4B0"; +exports.SFRXETHOFT = "0xbBc424e58ED38dd911309611ae2d7A23014Bd960"; +exports.SFRXUSDOFT = "0x7311CEA93ccf5f4F7b789eE31eBA5D9B9290E126"; +exports.WFRAXOFT = "0x04ACaF8D2865c0714F79da09645C13FD2888977f"; +// FraxtalLZHop +exports.REMOTEHOP = "0x3ad4dC2319394bB4BE99A0e4aE2AbF7bCEbD648E"; +exports.REMOTEMINTREDEEMHOP = "0x99B5587ab54A49e3F827D10175Caf69C0187bfA8"; +// LayerZeroInfra +exports.LZ_ENDPOINT = "0x1a44076050125825900e736c501f859c50fE728c"; +exports.LZ_RECEIVE_LIB_302 = "0xc02Ab410f0734EFa3F14628780e6e695156024C2"; +exports.LZ_SEND_LIB_302 = "0xbB2Ea70C9E858123480642Cf96acbcCE1372dCe1"; +exports.LZ_BLOCK_SEND_LIB = "0x1ccbf0db9c192d969de57e25b3ff09a25bb1d862"; +exports.FRAX_PROXY_ADMIN = "0x223a681fc5c5522c85C96157c0efA18cd6c5405c"; +// Chain IDs +exports.LZ_CHAIN_ID = 30101; +exports.CHAIN_ID = 1; + +// HopV2 +exports.REMOTEHOPV2 = "0x0000006D38568b00B457580b734e0076C62de659"; +exports.REMOTEADMINV2 = "0x181EBC9deA868ED8e5EeeAef7f767D43BF390dFa"; diff --git a/scripts/constants/ethereum.ts b/scripts/constants/ethereum.ts index d85b055..fe0afe9 100644 --- a/scripts/constants/ethereum.ts +++ b/scripts/constants/ethereum.ts @@ -17,4 +17,10 @@ export const WFRAXOFT = "0x04ACaF8D2865c0714F79da09645C13FD2888977f"; // FraxtalLZHop export const REMOTEHOP = "0x3ad4dC2319394bB4BE99A0e4aE2AbF7bCEbD648E"; -export const REMOTEMINTREDEEMHOP = "0x99B5587ab54A49e3F827D10175Caf69C0187bfA8"; \ No newline at end of file +export const REMOTEMINTREDEEMHOP = "0x99B5587ab54A49e3F827D10175Caf69C0187bfA8"; +// LayerZeroInfra +export const FRAX_PROXY_ADMIN = "0x223a681fc5c5522c85C96157c0efA18cd6c5405c"; + +// HopV2 +export const REMOTEHOPV2 = "0x0000006D38568b00B457580b734e0076C62de659"; +export const REMOTEADMINV2 = "0x181EBC9deA868ED8e5EeeAef7f767D43BF390dFa"; diff --git a/scripts/constants/fantom.js b/scripts/constants/fantom.js new file mode 100644 index 0000000..99f5506 --- /dev/null +++ b/scripts/constants/fantom.js @@ -0,0 +1,108 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.SPIRITSWAP_CANFXS_ANYUSDC = + exports.SPIRITSWAP_CANFRAX_FTM = + exports.SPIRITSWAP_CANFRAX_CANFXS = + exports.SPIRITSWAP_CANFRAX_ANYUSDC = + exports.SOLIDLY_VOLATILEV1_AMM___FXS_FRAX = + exports.SOLIDLY_STABLEV1_AMM___USDC_FRAX = + exports.SEX_VAMM_FXS_FRAX_DEPOSIT = + exports.SEX_SAMM_USDC_FRAX_DEPOSIT = + exports.SCFRAX = + exports.SADDLE_FRAX_USDC = + exports.OX_VAMM_FXS_FRAX_DEPOSIT = + exports.OXSOLID = + exports.OFRAX = + exports.HFRAX = + exports.FRAX2POOL = + exports.CURVE_4POOL = + exports.CURVE4POOL = + exports.FPI_COMPTROLLER = + exports.COMPTROLLER = + exports.FRAXSWAP_V2_FRAX_WFTM = + exports.FRAXSWAP_V2_FRAX_FXS = + exports.FRAXSWAP_V1_FRAX_WFTM = + exports.FRAXSWAP_V1_FRAX_FXS = + exports.FRAXSWAP_ROUTER_MULTI_HOP = + exports.FRAXSWAP_ROUTER_V2 = + exports.FRAXSWAP_ROUTER_V1 = + exports.FRAXSWAP_FACTORY_V2 = + exports.FRAXSWAP_FACTORY_V1 = + exports.COMBO_ORACLE_UNIV2_UNIV3 = + exports.COMBO_ORACLE = + exports.CREWMEMBER = + exports.FIRST_OFFICER = + exports.CAPTAIN = + exports.FRAXFERRY_V2__ETHEREUM_FANTOM__SFRXETH__FTM_SIDE = + exports.FRAXFERRY_V2__ETHEREUM_FANTOM__FRXETH__FTM_SIDE = + exports.FRAXFERRY_V2__ETHEREUM_FANTOM__FXS__FTM_SIDE = + exports.FRAXFERRY_V1__ETHEREUM_FANTOM__FRAX__FTM_SIDE = + exports.VEDAO_FRAX = + exports.SPIRITSWAP_FRAX_USDC = + exports.SPIRITSWAP_FRAX_FXS = + exports.SPIRITSWAP_FRAX_FTM = + exports.LIQUID_DRIVER_FRAX_FTM = + exports.SFRXETH = + exports.FRXETH = + exports.FPIS = + exports.FPI = + exports.FXS = + exports.FRAX = + void 0; +// Canonicals +exports.FRAX = "0xdc301622e621166BD8E82f2cA0A26c13Ad0BE355"; +exports.FXS = "0x7d016eec9c25232b01F23EF992D98ca97fc2AF5a"; +exports.FPI = "0xAb069E73f1AA50c37A7171D16dCc3614c705101B"; +exports.FPIS = "0x3bb6B72dC07D7bFDa981F70C631482e9517CF6EE"; +exports.FRXETH = "0x9E73F99EE061C8807F69f9c6CCc44ea3d8c373ee"; +exports.SFRXETH = "0xb90CCD563918fF900928dc529aA01046795ccb4A"; +// Farms +exports.LIQUID_DRIVER_FRAX_FTM = "0x6e2ad6527901c9664f016466b8DA1357a004db0f"; +exports.SPIRITSWAP_FRAX_FTM = "0x7ed0cdDB9BB6c6dfEa6fB63E117c8305479B8D7D"; +exports.SPIRITSWAP_FRAX_FXS = "0x21cE9F4bCe3Ec48f34cE9073a5102bEEd965f381"; +exports.SPIRITSWAP_FRAX_USDC = "0x1478AEC7896e40aE5fB858C77D389F0B3e6CbC5d"; +exports.VEDAO_FRAX = "0xE04C26444d37fE103B9cc8033c99b09D47056f51"; +// FraxBonds +// FraxFerry +exports.FRAXFERRY_V1__ETHEREUM_FANTOM__FRAX__FTM_SIDE = "0x088Be716eCA24b143fCC9ed06C6ae9977A469CCE"; +exports.FRAXFERRY_V2__ETHEREUM_FANTOM__FXS__FTM_SIDE = "0x9b75031D46CdEe779B36F7F2f1857fd987C6C98c"; +exports.FRAXFERRY_V2__ETHEREUM_FANTOM__FRXETH__FTM_SIDE = "0x12b6a8178C67B2835E280E1Ed709F64446cddb08"; +exports.FRAXFERRY_V2__ETHEREUM_FANTOM__SFRXETH__FTM_SIDE = "0x71e1FEeAA17b6557c5FaD60101ca12F81d03838C"; +exports.CAPTAIN = "0xBB437059584e30598b3AF0154472E47E6e2a45B9"; +exports.FIRST_OFFICER = "0xBB437059584e30598b3AF0154472E47E6e2a45B9"; +exports.CREWMEMBER = "0xBB437059584e30598b3AF0154472E47E6e2a45B9"; +// FraxlendAndOracles +exports.COMBO_ORACLE = "0x496E5c8F169C2930Dd67B821d8DdDDC78542f290"; +exports.COMBO_ORACLE_UNIV2_UNIV3 = "0x689C5BC12B0A80a8aa33dc38dfDFB7E858A49601"; +// Fraxswap +exports.FRAXSWAP_FACTORY_V1 = "0xF55C563148cA0c0F1626834ec1B8651844D76792"; +exports.FRAXSWAP_FACTORY_V2 = "0xDc745E09fC459aDC295E2e7baACe881354dB7F64"; +exports.FRAXSWAP_ROUTER_V1 = "0xa007a9716dba05289df85A90d0Fd9D39BEE808dE"; +exports.FRAXSWAP_ROUTER_V2 = "0x7D21C651Dd333306B35F2FeAC2a19FA1e1241545"; +exports.FRAXSWAP_ROUTER_MULTI_HOP = "0x0000000000000000000000000000000000000000"; +exports.FRAXSWAP_V1_FRAX_FXS = "0xB186ad077cA69e860476B2C84ecD0DE3572A10F5"; +exports.FRAXSWAP_V1_FRAX_WFTM = "0xc736279b8371c736f027cCC3F77755D7931F8845"; +exports.FRAXSWAP_V2_FRAX_FXS = "0x4ac3de029F4C11ab40a51336F7229d67cd1e92A5"; +exports.FRAXSWAP_V2_FRAX_WFTM = "0x173F3e43F0414F903620948F9d2094F9dbD92F15"; +// Misc +// Multisigs +exports.COMPTROLLER = "0xE838c61635dd1D41952c68E47159329443283d90"; +exports.FPI_COMPTROLLER = "0xe722B0fA594e290a8E53bFB5654cE4Ad8a4BE811"; +// PoolRelatedTokens +exports.CURVE4POOL = "0x9dc516a18775d492c9f061211C8a3FDCd476558d"; +exports.CURVE_4POOL = "0x9dc516a18775d492c9f061211C8a3FDCd476558d"; +exports.FRAX2POOL = "0x7a656B342E14F745e2B164890E88017e27AE7320"; +exports.HFRAX = "0xb4300e088a3AE4e624EE5C71Bc1822F68BB5f2bc"; +exports.OFRAX = "0x88c05534566f3bD6b6D704c9259408fF1F1a3F00"; +exports.OXSOLID = "0xDA0053F0bEfCbcaC208A3f867BB243716734D809"; +exports.OX_VAMM_FXS_FRAX_DEPOSIT = "0x9601f81F35B2F00549a654E3f2E5D7c87F733530"; +exports.SADDLE_FRAX_USDC = "0xc969dD0A7AB0F8a0C5A69C0839dB39b6C928bC08"; +exports.SCFRAX = "0x4E6854EA84884330207fB557D1555961D85Fc17E"; +exports.SEX_SAMM_USDC_FRAX_DEPOSIT = "0xF3E57E9cba43F9998559161DDd40aaeB2225E700"; +exports.SEX_VAMM_FXS_FRAX_DEPOSIT = "0xa5944150136aCF58e4e9752703Fcf7B13e8579E7"; +exports.SOLIDLY_STABLEV1_AMM___USDC_FRAX = "0x154eA0E896695824C87985a52230674C2BE7731b"; +exports.SOLIDLY_VOLATILEV1_AMM___FXS_FRAX = "0x4bBd8467ccd49D5360648CE14830f43a7fEB6e45"; +exports.SPIRITSWAP_CANFRAX_ANYUSDC = "0x1478AEC7896e40aE5fB858C77D389F0B3e6CbC5d"; +exports.SPIRITSWAP_CANFRAX_CANFXS = "0x7a2aD237e389De505DE7a89768143337E516C6Ce"; +exports.SPIRITSWAP_CANFRAX_FTM = "0x7ed0cdDB9BB6c6dfEa6fB63E117c8305479B8D7D"; +exports.SPIRITSWAP_CANFXS_ANYUSDC = "0xB269A9969A437e778A8BFdB48A720aD366742554"; diff --git a/scripts/constants/fraxtal-devnet-l1.js b/scripts/constants/fraxtal-devnet-l1.js new file mode 100644 index 0000000..db28f1f --- /dev/null +++ b/scripts/constants/fraxtal-devnet-l1.js @@ -0,0 +1,43 @@ +"use strict"; +// export const FPI_ERC20 = "0x67218f66a84809201CfBa5c8b46dBd3aB95A42da"; +// export const FPIS_ERC20 = "0xC0497C072d3015fd7D45893157bCDCC1BcfEb6b5"; +// export const FRAX_ERC20 = "0xac3E018457B222d93114458476f3E3416Abbe38F"; +// export const FXS_ERC20 = "0xbAFA44EFE7901E04E39Dad13167D089C559c1138"; +// export const SFRXETH_ERC20 = "0x56390acF12bce9675ab3922060D8d955149BE286"; +// export const FRXETH_ERC20 = "0xB1C4e5a15544f005166880749C46D35a00916462"; +// export const FRXETH_MINTER = "0x80f1C4F5CD94D49e98D0a975690796f1E8C0379e"; +// export const FRXBTC_ERC20 = "0x3fe0150F6Daa6a54C585f85f0e78d665532e5b74"; +// export const SFRAX_ERC20 = "0x1D348307745645b91c49716Fae22Ad5d4CC0b94a"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.COMPTROLLER = + exports.FRXETH_MINTER = + exports.CHAIN_ID = + exports.SFRAX = + exports.SFRXETH = + exports.FRXETH = + exports.FRXBTC = + exports.FPIS = + exports.FPI = + exports.FXS = + exports.FRAX = + void 0; +// Canonicals +exports.FRAX = "0x114a0318Da080A2Ee3380269d796E93DF767D24F"; +exports.FXS = "0xD86518aDB08DF9AcF9E84EB216d7862bc0F634C0"; +exports.FPI = "0xfC75d8fD01fD999D2A4731a01d87131b40A8a645"; +exports.FPIS = "0x9445aD9a63def63CA9D23cfd7cd72538BbF1780A"; +exports.FRXBTC = "0x2a2acd879050aC8910d80dccb428a0AEf77fFA36"; +exports.FRXETH = "0x51Ed07ceB785d2983e56CF00CAf65499dae5df3B"; +exports.SFRXETH = "0x2787eC65f085acbbE94F1bB7E099dF06B56b6DaC"; +exports.SFRAX = "0xB26fDD0FF10A287a73EFaa0b18A0e57fd8168835"; +// Farms +// FraxBonds +// FraxFerry +// FraxlendAndOracles +// Fraxswap +// Misc +exports.CHAIN_ID = 2520; +exports.FRXETH_MINTER = "0x890205b3397a1F273BaD55476F2856886964E788"; +// Multisigs +exports.COMPTROLLER = "0x8b1E899ec5d51387a41Ee68261149F7d3Dfd7160"; +// PoolRelatedTokens diff --git a/scripts/constants/fraxtal-devnet-l2.js b/scripts/constants/fraxtal-devnet-l2.js new file mode 100644 index 0000000..67bd12b --- /dev/null +++ b/scripts/constants/fraxtal-devnet-l2.js @@ -0,0 +1,43 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.L2_TO_L1_MESSAGE_PASSER = + exports.L2_STANDARD_BRIDGE_PROXY = + exports.ERC20_FACTORY_PROXY = + exports.CROSS_DOMAIN_MESSENGER = + exports.COMPTROLLER = + exports.PROXY_ADMIN = + exports.CHAIN_ID = + exports.SFRAX = + exports.SFRXETH = + exports.WFRXETH = + exports.FRXBTC = + exports.FPIS = + exports.FPI = + exports.FXS = + exports.FRAX = + void 0; +// Canonicals +exports.FRAX = "0xFc00000000000000000000000000000000000001"; +exports.FXS = "0xFc00000000000000000000000000000000000002"; +exports.FPI = "0xFc00000000000000000000000000000000000003"; +exports.FPIS = "0xfc00000000000000000000000000000000000004"; +exports.FRXBTC = "0xfC00000000000000000000000000000000000007"; +exports.WFRXETH = "0xFC00000000000000000000000000000000000006"; +exports.SFRXETH = "0xFC00000000000000000000000000000000000005"; +exports.SFRAX = "0xfc00000000000000000000000000000000000008"; +// Farms +// FraxBonds +// FraxFerry +// FraxlendAndOracles +// Fraxswap +// Misc +exports.CHAIN_ID = 2521; +exports.PROXY_ADMIN = "0xfC00000000000000000000000000000000000009"; +// Multisigs +exports.COMPTROLLER = "0x8b1E899ec5d51387a41Ee68261149F7d3Dfd7160"; +// PoolRelatedTokens +// SystemContracts +exports.CROSS_DOMAIN_MESSENGER = "0x4200000000000000000000000000000000000007"; +exports.ERC20_FACTORY_PROXY = "0x4200000000000000000000000000000000000012"; +exports.L2_STANDARD_BRIDGE_PROXY = "0x4200000000000000000000000000000000000010"; +exports.L2_TO_L1_MESSAGE_PASSER = "0x4200000000000000000000000000000000000016"; diff --git a/scripts/constants/fraxtal-l2.d.ts b/scripts/constants/fraxtal-l2.d.ts new file mode 100644 index 0000000..7513728 --- /dev/null +++ b/scripts/constants/fraxtal-l2.d.ts @@ -0,0 +1,160 @@ +export declare const FRXUSD = "0xFc00000000000000000000000000000000000001"; +export declare const WFRAX = "0xFc00000000000000000000000000000000000002"; +export declare const FPI = "0xFc00000000000000000000000000000000000003"; +export declare const FPIS = "0xfc00000000000000000000000000000000000004"; +export declare const SFRXETH = "0xFC00000000000000000000000000000000000005"; +export declare const WFRXETH = "0xFC00000000000000000000000000000000000006"; +export declare const FRXBTC = "0xfC00000000000000000000000000000000000007"; +export declare const SFRAX = "0xfc00000000000000000000000000000000000008"; +export declare const FRXUSD_PROXY = "0xFc00000000000000000000000000000000000001"; +export declare const WFRAX_PROXY = "0xFc00000000000000000000000000000000000002"; +export declare const FPI_PROXY = "0xFc00000000000000000000000000000000000003"; +export declare const FPIS_PROXY = "0xfc00000000000000000000000000000000000004"; +export declare const SFRXETH_PROXY = "0xFC00000000000000000000000000000000000005"; +export declare const WFRXETH_PROXY = "0xFC00000000000000000000000000000000000006"; +export declare const FRXBTC_PROXY = "0xfC00000000000000000000000000000000000007"; +export declare const SFRAX_PROXY = "0xfc00000000000000000000000000000000000008"; +export declare const CONVEX_SQUID_WFRXETH_FRAXTAL = "0x95AB2a2F6e701873cEA0070dAc735589D089f6Bc"; +export declare const FLE_FRAX_FXS_FRAXTAL = "0xCe70630b4b2E889AdC558b58B2980437f58003D4"; +export declare const FLE_FXS_WFRXETH_FRAXTAL = "0x7A6BE195f9931341c1f4c4230fc48F8B9b9dE91b"; +export declare const FRAXSWAP_V2_FRAX_FPI_FRAXTAL = "0x7b8848f10A016341c9B2427e8541C19F31C2D243"; +export declare const FRAXSWAP_V2_FRAX_FXS_FRAXTAL = "0x8fE4C7F2eF79AEDd8A6e40398a17ed4DaE18Ee25"; +export declare const FRAXSWAP_V2_FRAX_SFRXETH_FRAXTAL = "0xe402a39F788f90607A50254fAf56316E6a78231A"; +export declare const FRAXSWAP_V2_FRAX_WFRXETH_FRAXTAL = "0xfbf1d253FcAA3cE13187dBD5B8610C15Cc8241c7"; +export declare const FXB_TIMED_LOCKER_20261231 = "0x00a5b34d4b436E3276695a1EaA8242FA2FC11dC5"; +export declare const FXB_20261231 = "0x8e9C334afc76106F08E0383907F4Fca9bB10BA3e"; +export declare const FXB_20241231 = "0xa71bB8c79dc8FfA90A6Dd711aA9Fbe5114c19cba"; +export declare const FXB_20240630 = "0x758094A71a39De49626FE25B86631ED944558653"; +export declare const FXB_20551231 = "0xc38173D34afaEA88Bc482813B3CD267bc8A1EA83"; +export declare const FXB_20291231 = "0xF1e2b576aF4C6a7eE966b14C810b772391e92153"; +export declare const FXB_20251231 = "0xacA9A33698cF96413A40A4eB9E87906ff40fC6CA"; +export declare const FRAXFERRY_V2__ETHEREUM_FRAXTAL__FRAX__FXTL_SIDE = "0x00160baF84b3D2014837cc12e838ea399f8b8478"; +export declare const FRAXFERRY_V2__ETHEREUM_FRAXTAL__FXS__FXTL_SIDE = "0x24e927daC110Aab7189a4F864d41680e4F7865FB"; +export declare const FRAXFERRY_V2__ETHEREUM_FRAXTAL__FPI__FXTL_SIDE = "0xEcf63fd1A839fF54949eB786693237bEEC59C6e7"; +export declare const FRAXFERRY_V2__ETHEREUM_FRAXTAL__FPIS__FXTL_SIDE = "0xcD3A040f05769d7628582B403063e61B7D212F91"; +export declare const FRAXFERRY_V2__ETHEREUM_FRAXTAL__SFRXETH__FXTL_SIDE = "0x67c6A8A715fc726ffD0A40588701813d9eC04d9C"; +export declare const FRAXFERRY_V2__ETHEREUM_FRAXTAL__SFRAX__FXTL_SIDE = "0x08Be8BaAb62fB0A363f38C82Ee2320A36b72f2DB"; +export declare const CAPTAIN = "0xBB437059584e30598b3AF0154472E47E6e2a45B9"; +export declare const FIRST_OFFICER = "0xBB437059584e30598b3AF0154472E47E6e2a45B9"; +export declare const CREWMEMBER = "0xBB437059584e30598b3AF0154472E47E6e2a45B9"; +export declare const CHAINLINK_ETH_USD_ORACLE = "0xA6cBe9aB6075d8b1049Db7528f2fCf22FC7d051B"; +export declare const CIRCUIT_BREAKER_ADDRESS = "0x0eD01ea3B95e0f68DF2c9CD67F138ff3547b311C"; +export declare const FRAXLEND_DEPLOYER_V4 = "0x4C3B0e85CD8C12E049E07D9a4d68C441196E6a12"; +export declare const FRAXLEND_HOT_WALLET = "0x31562ae726AFEBe25417df01bEdC72EF489F45b3"; +export declare const FRAXLEND_PAIR_REGISTRY_ADDRESS = "0x8c22EBc8f9B96cEac97EA21c53F3B27ef2F45e57"; +export declare const FRAXLEND_WHITELIST_ADDRESS = "0x64F85076665dcE1FbEfC23391b8BFB2595c250f6"; +export declare const FRAXTAL_BLOCKHASH_PROVIDER = "0x4200000000000000000000000000000000000015"; +export declare const FRAXTAL_MERKLE_PRICE_SOURCE = "0x9990eb28E58380122AA3AdF64ea6f874df51114C"; +export declare const FRAXTAL_STATE_ROOT_ORACLE = "0xeD403d48e2bC946438B5686AA1AD65056Ccf9512"; +export declare const FRXETH_DUAL_ORACLE_REDSTONE = "0x4b0Ca693e29e5FD2AA39332a0387BBCD0f91a527"; +export declare const FXB_20240630_ORACLE = "0x1A60b40601Bb5AA192389b05F80A7BeAde6d77d7"; +export declare const FXB_20241231_ORACLE = "0x01480a0C134CeCC309015a564C7e292ba6E0F358"; +export declare const FXB_20261231_ORACLE = "0x92e606Fd8b99F99928f690a5bEb20f6f6e3ec0f3"; +export declare const FXB_20551231_ORACLE = "0x8a081F35aE1cB4314c73CdDE63CC022Ca6AdEAa6"; +export declare const FXB_20291231_ORACLE = "0x859e3b11d9f8ff5d4c4beA569F76cdD25D5Ffc4b"; +export declare const FXB_20251231_ORACLE = "0x9c51c8ba9Ce85984C2389e13Fa1b77Cd587A2A18"; +export declare const FXB_VARIABLE_RATE_2 = "0x3FdA3e9E78EAcd7381F1ED2CF145B93537878c1f"; +export declare const FXS_DUAL_ORACLE_REDSTONE = "0xB99c9d329Bd69dDf8AF57110e011F5D81801c6d2"; +export declare const SFRAX_SFRXETH_INVERSE_ORACLE_REDSTONE = "0x1010E24A2F0e6954c6456Bf925764eCc8577Fa2c"; +export declare const SFRXETH_DUAL_ORACLE_REDSTONE = "0xfbcDf41Cc692ed529b9a8cC1A5867B9524FD0164"; +export declare const TIMELOCK_ADDRESS = "0xc16068d1ca7E24E20e56bB70af4D00D92AA4f0b2"; +export declare const VARIABLE_RATE_2_ADDRESS = "0xFA7207F02ba29Cd122A9d49ce96F6cA7707A1652"; +export declare const VARIABLE_RATE_2_ADDRESS_50 = "0x3Fdb6BC356dAD0D7260E9619efa125409a08C3B2"; +export declare const FRAXLEND_PAIR_FXB_20261231_FRAX = "0x032578d99b1070682a5E171012BE1756a50a17d4"; +export declare const FRAXLEND_PAIR_FXB_20241231_FRAX = "0x6154334A7D0E7f5f0479599D15F462B200C721E1"; +export declare const FRAXLEND_PAIR_FXB_20240630_FRAX = "0x57b709e214B239821A78dFCF09c89f52bA3D80aD"; +export declare const FRAXLEND_PAIR_FXB_20291231_FRAX = "0x3e92765eE2B009b104A8A7baf3759B159c19AbA1"; +export declare const FRAXLEND_PAIR_FXB_20251231_FRAX = "0x1b48c9595385F1780d7Be1aB57f8eAcFeA3A5cE5"; +export declare const FRAXLEND_PAIR_SFRXETH_FRAX = "0x4F968317721B9c300afBff3FD37365637318271D"; +export declare const FRAXLEND_PAIR_FXS_FRAX = "0x8EdA613EC96992D3C42BCd9aC2Ae58a92929Ceb2"; +export declare const FRAXLEND_PAIR_SFRAX_SFRXETH = "0xB71E4829e81f72f7F36A0d858e58109f5948A713"; +export declare const SDAI_ERC4626_ORACLE = "0xfdE8C36F32Bf32e73A1bdeb4ef3E17709674a838"; +export declare const SDAI_ORACLE_MERKLE_PRICE_SOURCE = "0xf3E3E2a376939bfF87e9cac84e0E5A35e495417a"; +export declare const SFRAX_ERC4626_ORACLE = "0xF750636E1df115e3B334eD06E5b45c375107FC60"; +export declare const SFRAX_MERKLE_PRICE_SOURCE = "0xe7C6385Cf5d4Ea61774A56E3aeaf60a09fC8E1d5"; +export declare const SFRXETH_ERC4626_ORACLE = "0xe7C6385Cf5d4Ea61774A56E3aeaf60a09fC8E1d5"; +export declare const SFRXETH_MERKLE_PRICE_SOURCE = "0xa560E014501f96752726f65c27E96C3e9127Ce32"; +export declare const SUSDE_ERC4626_ORACLE = "0xd295936C8Bb465ADd1eC756a51698127CB4F4910"; +export declare const SUSDE_MERKLE_PRICE_SOURCE = "0xc2B984E37D1CAf5Eef82D9D892287361058955E9"; +export declare const FRAXSWAP_FACTORY = "0xE30521fe7f3bEB6Ad556887b50739d6C7CA667E6"; +export declare const FRAXSWAP_FRAX_FPIS_PAIR = "0x78d264E25781f31343352A0f91875B655c79B843"; +export declare const FRAXSWAP_FRAX_FPI_FARM = "0x7b8848f10A016341c9B2427e8541C19F31C2D243"; +export declare const FRAXSWAP_FRAX_FPI_PAIR = "0x0EFFABede4e31101DE5209096611D073981A817b"; +export declare const FRAXSWAP_FRAX_FXS_FARM = "0x8fE4C7F2eF79AEDd8A6e40398a17ed4DaE18Ee25"; +export declare const FRAXSWAP_FRAX_FXS_PAIR = "0xb4dA8dA10ffF1F6127ab71395053Aa1d499b503F"; +export declare const FRAXSWAP_FRAX_SFRXETH_FARM = "0xe402a39F788f90607A50254fAf56316E6a78231A"; +export declare const FRAXSWAP_FRAX_SFRXETH_PAIR = "0xEBD293F2173082320d88533316F5964298dE316E"; +export declare const FRAXSWAP_FRAX_WFRXETH_FARM = "0xfbf1d253FcAA3cE13187dBD5B8610C15Cc8241c7"; +export declare const FRAXSWAP_ROUTER = "0x39cd4db6460d8B5961F73E997E86DdbB7Ca4D5F6"; +export declare const FRAXSWAP_ROUTER_MULTIHOP = "0x67E04873691258950299Bd8610403D69bA0A1e10"; +export declare const FRAXSWAP_WFRX_ETH_PAIR = "0x4527bcEd9d41706D1436507e9a6e354d3FF44ff9"; +export declare const BALANCE_CHECKER = "0x219356ef2f11a314Dd0D8bfd7f4B0B951Cb16c3a"; +export declare const DELEGATION_REGISTRY = "0x098c837FeF2e146e96ceAF58A10F68Fc6326DC4C"; +export declare const FPIS_LOCKER_PROXY = "0x437E9F65cA234eCfed12149109587139d435AD35"; +export declare const FPIS_LOCKER_IMPL = "0x2b72DF3116cEb8E8a7391024f69A0BfF2718389D"; +export declare const FPIS_LOCKER_UTILS = "0x9E461cF6773F168A991A7aD73E2aD89ecD737745"; +export declare const FRAXTAL_POINTS_FXTL = "0xaB4b7c5C9A7C8EbB97877085A6C3550ad4Ed3f97"; +export declare const SFRAX_ERC4626_MINT_REDEEMER_PROXY = "0xBFc4D34Db83553725eC6c768da71D2D9c1456B55"; +export declare const SFRAX_ERC4626_MINT_REDEEMER_IMPL = "0x0aF57786D6B2447EA2E04F9FAB36a239c2E8C9d5"; +export declare const FRAXFERRY_ETHEREUM_FRAX = "0x00160baF84b3D2014837cc12e838ea399f8b8478"; +export declare const FRAXFERRY_ETHEREUM_FXS = "0x24e927daC110Aab7189a4F864d41680e4F7865FB"; +export declare const FRAXFERRY_ETHEREUM_FPI = "0xEcf63fd1A839fF54949eB786693237bEEC59C6e7"; +export declare const FRAXFERRY_ETHEREUM_FPIS = "0xcD3A040f05769d7628582B403063e61B7D212F91"; +export declare const FRAXFERRY_ETHEREUM_SFRXETH = "0x67c6A8A715fc726ffD0A40588701813d9eC04d9C"; +export declare const FRAXFERRY_ETHEREUM_SFRAX = "0x08Be8BaAb62fB0A363f38C82Ee2320A36b72f2DB"; +export declare const BLOCKHASH_PROVIDER = "0x4200000000000000000000000000000000000015"; +export declare const STATE_ROOT_ORACLE = "0xeD403d48e2bC946438B5686AA1AD65056Ccf9512"; +export declare const MERKLE_PRICE_SOURCE = "0x9990eb28E58380122AA3AdF64ea6f874df51114C"; +export declare const CHAINLINK_MERKLE_PRICE_SOURCE = "0x4AD728706bFe28A3F090b3f1D8Ac3A8515805B41"; +export declare const SFRXETH_L2_RATE_ORACLE = "0xEE095b7d9191603126Da584a1179BB403a027c3A"; +export declare const SFRAX_L2_RATE_ORACLE = "0x1B680F4385f24420D264D78cab7C58365ED3F1FF"; +export declare const SDAI_L2_RATE_ORACLE = "0xfdE8C36F32Bf32e73A1bdeb4ef3E17709674a838"; +export declare const SUSDE_L2_RATE_ORACLE = "0xd295936C8Bb465ADd1eC756a51698127CB4F4910"; +export declare const SFRXETH_L2_RATE_ORACLE_OLD = "0x8865435777730eAAbAAF2d1F55F115a87AbCf91A"; +export declare const SFRAX_L2_RATE_ORACLE_OLD = "0xF750636E1df115e3B334eD06E5b45c375107FC60"; +export declare const FRAXTAL_SDAI_MERKLE_PRICE_SOURCE = "0xf3E3E2a376939bfF87e9cac84e0E5A35e495417a"; +export declare const FRAXTAL_SFRAX_MERKLE_PRICE_SOURCE = "0xE25D8aaa6dF41B94A415EE39cCEE0DF6673B9bDb"; +export declare const FRAXTAL_SFRXETH_MERKLE_PRICE_SOURCE = "0xabca0b314d15B3e28F24AC0ee84A63001d1b44Db"; +export declare const FRAXTAL_SUSDE_MERKLE_PRICE_SOURCE = "0xc2B984E37D1CAf5Eef82D9D892287361058955E9"; +export declare const FRAXTAL_SFRAX_MERKLE_PRICE_SOURCE_OLD = "0xe7C6385Cf5d4Ea61774A56E3aeaf60a09fC8E1d5"; +export declare const FRAXTAL_SFRXETH_MERKLE_PRICE_SOURCE_OLD = "0xa560E014501f96752726f65c27E96C3e9127Ce32"; +export declare const L1VEFXS_IMPLEMENTATION_OWNER = "0xC4EB45d80DC1F079045E75D5d55de8eD1c1090E6"; +export declare const L1VEFXS_PROXY_ADMIN_OWNER = "0xC4EB45d80DC1F079045E75D5d55de8eD1c1090E6"; +export declare const L1VEFXS_PROXY_ADMIN = "0xCDD512227340C20B70aDC37C5Bd1E46F69Bb675F"; +export declare const L1VEFXS_IMPL_V1 = "0xBDB5088A8e89e9ec83e82caA01EC20Ed976459eD"; +export declare const L1VEFXS_PROXY = "0xCDD512227340C20B70aDC37C5Bd1E46F69Bb675F"; +export declare const L1VEFXS_TOTAL_SUPPLY_ORACLE = "0xaBBeFFb0d24EAcFFD3Be194471F0FD8aaaa3e5f8"; +export declare const FXB_AMO = "0x55271b0d4DaC2664Fa9d44F8cccd89A3e6342313"; +export declare const OPTIMISM_MINTABLE_PERMIT_ERC20_FACTORY_IMPL_V1 = "0x111ddab65Af5fF96b674400246699ED40F550De1"; +export declare const VEFXS_YIELD_DISTRIBUTOR_IMPL_V1 = "0x691d1AaFB550c35B24e09bb991AEC9612342eD93"; +export declare const VEFXS_YIELD_DISTRIBUTOR_PROXY_V1 = "0x39333a540bbea6262e405E1A6d435Bd2e776561E"; +export declare const YIELD_DISTRIBUTOR_PROXY = "0x21359d1697e610e25C8229B2C57907378eD09A2E"; +export declare const YIELD_DISTRIBUTOR_IMPL = "0x08de0C3BCBa9529fe59FA4e4593805Bd55A54B0B"; +export declare const VESTEDFXS_UTILS = "0xC540f05BF5a09336078634D65E46242DFBa55030"; +export declare const VESTEDFXS_IMPL_V1 = "0x54bd5c72645fed784C117cA83533e0584b24Ee5c"; +export declare const VESTEDFXS_PROXY = "0x007FD070a7E1B0fA1364044a373Ac1339bAD89CF"; +export declare const VEFXS_AGGREGATOR_PROXY = "0x176A4e081653EbB8a2246BAfbfCf663782426531"; +export declare const VEFXS_AGGREGATOR_IMPL = "0xF9Ca1Dc83B16C72b3359CEcD1d3Fc96d80dC4Fa6"; +export declare const COMPTROLLERS = "0xC4EB45d80DC1F079045E75D5d55de8eD1c1090E6"; +export declare const PROPOSER_MULTI_SIG = "0xc188a8f8066e720D892c0cfAE9B9865e3425fCdE"; +export declare const GOV_PROPOSER_MSIG = "0xc188a8f8066e720D892c0cfAE9B9865e3425fCdE"; +export declare const CVXSQUIDWFRXETH = "0x29FF8F9ACb27727D8A2A52D16091c12ea56E9E4d"; +export declare const CVXSQUIDWFRXETH_REWARDER = "0x29FF8F9ACb27727D8A2A52D16091c12ea56E9E4d"; +export declare const SQUIDWFRXETH = "0x277FA53c8a53C880E0625c92C92a62a9F60f3f04"; +export declare const SQUIDWFRXETH_GAUGE = "0xe5E5ed1B50AE33E66ca69dF17Aa6381FDe4e9C7e"; +export declare const SQUIDWFRXETH_POOL = "0x277FA53c8a53C880E0625c92C92a62a9F60f3f04"; +export declare const CROSS_DOMAIN_MESSENGER = "0x4200000000000000000000000000000000000007"; +export declare const ERC20_FACTORY_PROXY = "0x4200000000000000000000000000000000000012"; +export declare const L2_STANDARD_BRIDGE_PROXY = "0x4200000000000000000000000000000000000010"; +export declare const L2_TO_L1_MESSAGE_PASSER = "0x4200000000000000000000000000000000000016"; +export declare const FPIOFT = "0x75c38D46001b0F8108c4136216bd2694982C20FC"; +export declare const FRXETHOFT = "0x9aBFE1F8a999B0011ecD6116649AEe8D575F5604"; +export declare const FRXUSDOFT = "0x96A394058E2b84A89bac9667B19661Ed003cF5D4"; +export declare const SFRXETHOFT = "0x999dfAbe3b1cc2EF66eB032Eea42FeA329bBa168"; +export declare const SFRXUSDOFT = "0x88Aa7854D3b2dAA5e37E7Ce73A1F39669623a361"; +export declare const WFRAXOFT = "0xd86fBBd0c8715d2C1f40e451e5C3514e65E7576A"; +export declare const FRAXTALHOP = "0x2A2019b30C157dB6c1C01306b8025167dBe1803B"; +export declare const FRAXTALMINTREDEEMHOP = "0x3e6a2cBaFD864e09e6DAb9Cf035a0AbEa32bc0BC"; +export declare const FRAX_PROXY_ADMIN = "0x223a681fc5c5522c85C96157c0efA18cd6c5405c"; +export declare const FRAXTALHOPV2 = "0x00000000e18aFc20Afe54d4B2C8688bB60c06B36"; +export declare const REMOTEADMINV2 = "0x34029e02821178B4387e12644896994f910D6E73"; diff --git a/scripts/constants/fraxtal-l2.js b/scripts/constants/fraxtal-l2.js new file mode 100644 index 0000000..40d3d63 --- /dev/null +++ b/scripts/constants/fraxtal-l2.js @@ -0,0 +1,349 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.FXB_20240630_ORACLE = + exports.FRXETH_DUAL_ORACLE_REDSTONE = + exports.FRAXTAL_STATE_ROOT_ORACLE = + exports.FRAXTAL_MERKLE_PRICE_SOURCE = + exports.FRAXTAL_BLOCKHASH_PROVIDER = + exports.FRAXLEND_WHITELIST_ADDRESS = + exports.FRAXLEND_PAIR_REGISTRY_ADDRESS = + exports.FRAXLEND_HOT_WALLET = + exports.FRAXLEND_DEPLOYER_V4 = + exports.CIRCUIT_BREAKER_ADDRESS = + exports.CHAINLINK_ETH_USD_ORACLE = + exports.CREWMEMBER = + exports.FIRST_OFFICER = + exports.CAPTAIN = + exports.FRAXFERRY_V2__ETHEREUM_FRAXTAL__SFRAX__FXTL_SIDE = + exports.FRAXFERRY_V2__ETHEREUM_FRAXTAL__SFRXETH__FXTL_SIDE = + exports.FRAXFERRY_V2__ETHEREUM_FRAXTAL__FPIS__FXTL_SIDE = + exports.FRAXFERRY_V2__ETHEREUM_FRAXTAL__FPI__FXTL_SIDE = + exports.FRAXFERRY_V2__ETHEREUM_FRAXTAL__FXS__FXTL_SIDE = + exports.FRAXFERRY_V2__ETHEREUM_FRAXTAL__FRAX__FXTL_SIDE = + exports.FXB_20251231 = + exports.FXB_20291231 = + exports.FXB_20551231 = + exports.FXB_20240630 = + exports.FXB_20241231 = + exports.FXB_20261231 = + exports.FXB_TIMED_LOCKER_20261231 = + exports.FRAXSWAP_V2_FRAX_WFRXETH_FRAXTAL = + exports.FRAXSWAP_V2_FRAX_SFRXETH_FRAXTAL = + exports.FRAXSWAP_V2_FRAX_FXS_FRAXTAL = + exports.FRAXSWAP_V2_FRAX_FPI_FRAXTAL = + exports.FLE_FXS_WFRXETH_FRAXTAL = + exports.FLE_FRAX_FXS_FRAXTAL = + exports.CONVEX_SQUID_WFRXETH_FRAXTAL = + exports.SFRAX_PROXY = + exports.FRXBTC_PROXY = + exports.WFRXETH_PROXY = + exports.SFRXETH_PROXY = + exports.FPIS_PROXY = + exports.FPI_PROXY = + exports.WFRAX_PROXY = + exports.FRXUSD_PROXY = + exports.SFRAX = + exports.FRXBTC = + exports.WFRXETH = + exports.SFRXETH = + exports.FPIS = + exports.FPI = + exports.WFRAX = + exports.FRXUSD = + void 0; +exports.FRAXFERRY_ETHEREUM_FXS = + exports.FRAXFERRY_ETHEREUM_FRAX = + exports.SFRAX_ERC4626_MINT_REDEEMER_IMPL = + exports.SFRAX_ERC4626_MINT_REDEEMER_PROXY = + exports.FRAXTAL_POINTS_FXTL = + exports.FPIS_LOCKER_UTILS = + exports.FPIS_LOCKER_IMPL = + exports.FPIS_LOCKER_PROXY = + exports.DELEGATION_REGISTRY = + exports.BALANCE_CHECKER = + exports.FRAXSWAP_WFRX_ETH_PAIR = + exports.FRAXSWAP_ROUTER_MULTIHOP = + exports.FRAXSWAP_ROUTER = + exports.FRAXSWAP_FRAX_WFRXETH_FARM = + exports.FRAXSWAP_FRAX_SFRXETH_PAIR = + exports.FRAXSWAP_FRAX_SFRXETH_FARM = + exports.FRAXSWAP_FRAX_FXS_PAIR = + exports.FRAXSWAP_FRAX_FXS_FARM = + exports.FRAXSWAP_FRAX_FPI_PAIR = + exports.FRAXSWAP_FRAX_FPI_FARM = + exports.FRAXSWAP_FRAX_FPIS_PAIR = + exports.FRAXSWAP_FACTORY = + exports.SUSDE_MERKLE_PRICE_SOURCE = + exports.SUSDE_ERC4626_ORACLE = + exports.SFRXETH_MERKLE_PRICE_SOURCE = + exports.SFRXETH_ERC4626_ORACLE = + exports.SFRAX_MERKLE_PRICE_SOURCE = + exports.SFRAX_ERC4626_ORACLE = + exports.SDAI_ORACLE_MERKLE_PRICE_SOURCE = + exports.SDAI_ERC4626_ORACLE = + exports.FRAXLEND_PAIR_SFRAX_SFRXETH = + exports.FRAXLEND_PAIR_FXS_FRAX = + exports.FRAXLEND_PAIR_SFRXETH_FRAX = + exports.FRAXLEND_PAIR_FXB_20251231_FRAX = + exports.FRAXLEND_PAIR_FXB_20291231_FRAX = + exports.FRAXLEND_PAIR_FXB_20240630_FRAX = + exports.FRAXLEND_PAIR_FXB_20241231_FRAX = + exports.FRAXLEND_PAIR_FXB_20261231_FRAX = + exports.VARIABLE_RATE_2_ADDRESS_50 = + exports.VARIABLE_RATE_2_ADDRESS = + exports.TIMELOCK_ADDRESS = + exports.SFRXETH_DUAL_ORACLE_REDSTONE = + exports.SFRAX_SFRXETH_INVERSE_ORACLE_REDSTONE = + exports.FXS_DUAL_ORACLE_REDSTONE = + exports.FXB_VARIABLE_RATE_2 = + exports.FXB_20251231_ORACLE = + exports.FXB_20291231_ORACLE = + exports.FXB_20551231_ORACLE = + exports.FXB_20261231_ORACLE = + exports.FXB_20241231_ORACLE = + void 0; +exports.FPIOFT = + exports.L2_TO_L1_MESSAGE_PASSER = + exports.L2_STANDARD_BRIDGE_PROXY = + exports.ERC20_FACTORY_PROXY = + exports.CROSS_DOMAIN_MESSENGER = + exports.SQUIDWFRXETH_POOL = + exports.SQUIDWFRXETH_GAUGE = + exports.SQUIDWFRXETH = + exports.CVXSQUIDWFRXETH_REWARDER = + exports.CVXSQUIDWFRXETH = + exports.GOV_PROPOSER_MSIG = + exports.PROPOSER_MULTI_SIG = + exports.COMPTROLLERS = + exports.VEFXS_AGGREGATOR_IMPL = + exports.VEFXS_AGGREGATOR_PROXY = + exports.VESTEDFXS_PROXY = + exports.VESTEDFXS_IMPL_V1 = + exports.VESTEDFXS_UTILS = + exports.YIELD_DISTRIBUTOR_IMPL = + exports.YIELD_DISTRIBUTOR_PROXY = + exports.VEFXS_YIELD_DISTRIBUTOR_PROXY_V1 = + exports.VEFXS_YIELD_DISTRIBUTOR_IMPL_V1 = + exports.OPTIMISM_MINTABLE_PERMIT_ERC20_FACTORY_IMPL_V1 = + exports.FXB_AMO = + exports.L1VEFXS_TOTAL_SUPPLY_ORACLE = + exports.L1VEFXS_PROXY = + exports.L1VEFXS_IMPL_V1 = + exports.L1VEFXS_PROXY_ADMIN = + exports.L1VEFXS_PROXY_ADMIN_OWNER = + exports.L1VEFXS_IMPLEMENTATION_OWNER = + exports.FRAXTAL_SFRXETH_MERKLE_PRICE_SOURCE_OLD = + exports.FRAXTAL_SFRAX_MERKLE_PRICE_SOURCE_OLD = + exports.FRAXTAL_SUSDE_MERKLE_PRICE_SOURCE = + exports.FRAXTAL_SFRXETH_MERKLE_PRICE_SOURCE = + exports.FRAXTAL_SFRAX_MERKLE_PRICE_SOURCE = + exports.FRAXTAL_SDAI_MERKLE_PRICE_SOURCE = + exports.SFRAX_L2_RATE_ORACLE_OLD = + exports.SFRXETH_L2_RATE_ORACLE_OLD = + exports.SUSDE_L2_RATE_ORACLE = + exports.SDAI_L2_RATE_ORACLE = + exports.SFRAX_L2_RATE_ORACLE = + exports.SFRXETH_L2_RATE_ORACLE = + exports.CHAINLINK_MERKLE_PRICE_SOURCE = + exports.MERKLE_PRICE_SOURCE = + exports.STATE_ROOT_ORACLE = + exports.BLOCKHASH_PROVIDER = + exports.FRAXFERRY_ETHEREUM_SFRAX = + exports.FRAXFERRY_ETHEREUM_SFRXETH = + exports.FRAXFERRY_ETHEREUM_FPIS = + exports.FRAXFERRY_ETHEREUM_FPI = + void 0; +exports.REMOTEADMINV2 = + exports.FRAXTALHOPV2 = + exports.FRAX_PROXY_ADMIN = + exports.FRAXTALMINTREDEEMHOP = + exports.FRAXTALHOP = + exports.WFRAXOFT = + exports.SFRXUSDOFT = + exports.SFRXETHOFT = + exports.FRXUSDOFT = + exports.FRXETHOFT = + void 0; +// Canonicals +exports.FRXUSD = "0xFc00000000000000000000000000000000000001"; +exports.WFRAX = "0xFc00000000000000000000000000000000000002"; +exports.FPI = "0xFc00000000000000000000000000000000000003"; +exports.FPIS = "0xfc00000000000000000000000000000000000004"; +exports.SFRXETH = "0xFC00000000000000000000000000000000000005"; +exports.WFRXETH = "0xFC00000000000000000000000000000000000006"; +exports.FRXBTC = "0xfC00000000000000000000000000000000000007"; +exports.SFRAX = "0xfc00000000000000000000000000000000000008"; +exports.FRXUSD_PROXY = exports.FRXUSD; +exports.WFRAX_PROXY = exports.WFRAX; +exports.FPI_PROXY = exports.FPI; +exports.FPIS_PROXY = exports.FPIS; +exports.SFRXETH_PROXY = exports.SFRXETH; +exports.WFRXETH_PROXY = exports.WFRXETH; +exports.FRXBTC_PROXY = exports.FRXBTC; +exports.SFRAX_PROXY = exports.SFRAX; +// Farms +exports.CONVEX_SQUID_WFRXETH_FRAXTAL = "0x95AB2a2F6e701873cEA0070dAc735589D089f6Bc"; +exports.FLE_FRAX_FXS_FRAXTAL = "0xCe70630b4b2E889AdC558b58B2980437f58003D4"; +exports.FLE_FXS_WFRXETH_FRAXTAL = "0x7A6BE195f9931341c1f4c4230fc48F8B9b9dE91b"; +exports.FRAXSWAP_V2_FRAX_FPI_FRAXTAL = "0x7b8848f10A016341c9B2427e8541C19F31C2D243"; +exports.FRAXSWAP_V2_FRAX_FXS_FRAXTAL = "0x8fE4C7F2eF79AEDd8A6e40398a17ed4DaE18Ee25"; +exports.FRAXSWAP_V2_FRAX_SFRXETH_FRAXTAL = "0xe402a39F788f90607A50254fAf56316E6a78231A"; +exports.FRAXSWAP_V2_FRAX_WFRXETH_FRAXTAL = "0xfbf1d253FcAA3cE13187dBD5B8610C15Cc8241c7"; +exports.FXB_TIMED_LOCKER_20261231 = "0x00a5b34d4b436E3276695a1EaA8242FA2FC11dC5"; +// FraxBonds +exports.FXB_20261231 = "0x8e9C334afc76106F08E0383907F4Fca9bB10BA3e"; +exports.FXB_20241231 = "0xa71bB8c79dc8FfA90A6Dd711aA9Fbe5114c19cba"; +exports.FXB_20240630 = "0x758094A71a39De49626FE25B86631ED944558653"; +exports.FXB_20551231 = "0xc38173D34afaEA88Bc482813B3CD267bc8A1EA83"; +exports.FXB_20291231 = "0xF1e2b576aF4C6a7eE966b14C810b772391e92153"; +exports.FXB_20251231 = "0xacA9A33698cF96413A40A4eB9E87906ff40fC6CA"; +// FraxFerry +exports.FRAXFERRY_V2__ETHEREUM_FRAXTAL__FRAX__FXTL_SIDE = "0x00160baF84b3D2014837cc12e838ea399f8b8478"; +exports.FRAXFERRY_V2__ETHEREUM_FRAXTAL__FXS__FXTL_SIDE = "0x24e927daC110Aab7189a4F864d41680e4F7865FB"; +exports.FRAXFERRY_V2__ETHEREUM_FRAXTAL__FPI__FXTL_SIDE = "0xEcf63fd1A839fF54949eB786693237bEEC59C6e7"; +exports.FRAXFERRY_V2__ETHEREUM_FRAXTAL__FPIS__FXTL_SIDE = "0xcD3A040f05769d7628582B403063e61B7D212F91"; +exports.FRAXFERRY_V2__ETHEREUM_FRAXTAL__SFRXETH__FXTL_SIDE = "0x67c6A8A715fc726ffD0A40588701813d9eC04d9C"; +exports.FRAXFERRY_V2__ETHEREUM_FRAXTAL__SFRAX__FXTL_SIDE = "0x08Be8BaAb62fB0A363f38C82Ee2320A36b72f2DB"; +exports.CAPTAIN = "0xBB437059584e30598b3AF0154472E47E6e2a45B9"; +exports.FIRST_OFFICER = "0xBB437059584e30598b3AF0154472E47E6e2a45B9"; +exports.CREWMEMBER = "0xBB437059584e30598b3AF0154472E47E6e2a45B9"; +// FraxlendAndOracles +exports.CHAINLINK_ETH_USD_ORACLE = "0xA6cBe9aB6075d8b1049Db7528f2fCf22FC7d051B"; +exports.CIRCUIT_BREAKER_ADDRESS = "0x0eD01ea3B95e0f68DF2c9CD67F138ff3547b311C"; +exports.FRAXLEND_DEPLOYER_V4 = "0x4C3B0e85CD8C12E049E07D9a4d68C441196E6a12"; +exports.FRAXLEND_HOT_WALLET = "0x31562ae726AFEBe25417df01bEdC72EF489F45b3"; +exports.FRAXLEND_PAIR_REGISTRY_ADDRESS = "0x8c22EBc8f9B96cEac97EA21c53F3B27ef2F45e57"; +exports.FRAXLEND_WHITELIST_ADDRESS = "0x64F85076665dcE1FbEfC23391b8BFB2595c250f6"; +exports.FRAXTAL_BLOCKHASH_PROVIDER = "0x4200000000000000000000000000000000000015"; +exports.FRAXTAL_MERKLE_PRICE_SOURCE = "0x9990eb28E58380122AA3AdF64ea6f874df51114C"; +exports.FRAXTAL_STATE_ROOT_ORACLE = "0xeD403d48e2bC946438B5686AA1AD65056Ccf9512"; +exports.FRXETH_DUAL_ORACLE_REDSTONE = "0x4b0Ca693e29e5FD2AA39332a0387BBCD0f91a527"; +exports.FXB_20240630_ORACLE = "0x1A60b40601Bb5AA192389b05F80A7BeAde6d77d7"; +exports.FXB_20241231_ORACLE = "0x01480a0C134CeCC309015a564C7e292ba6E0F358"; +exports.FXB_20261231_ORACLE = "0x92e606Fd8b99F99928f690a5bEb20f6f6e3ec0f3"; +exports.FXB_20551231_ORACLE = "0x8a081F35aE1cB4314c73CdDE63CC022Ca6AdEAa6"; +exports.FXB_20291231_ORACLE = "0x859e3b11d9f8ff5d4c4beA569F76cdD25D5Ffc4b"; +exports.FXB_20251231_ORACLE = "0x9c51c8ba9Ce85984C2389e13Fa1b77Cd587A2A18"; +exports.FXB_VARIABLE_RATE_2 = "0x3FdA3e9E78EAcd7381F1ED2CF145B93537878c1f"; +exports.FXS_DUAL_ORACLE_REDSTONE = "0xB99c9d329Bd69dDf8AF57110e011F5D81801c6d2"; +exports.SFRAX_SFRXETH_INVERSE_ORACLE_REDSTONE = "0x1010E24A2F0e6954c6456Bf925764eCc8577Fa2c"; +exports.SFRXETH_DUAL_ORACLE_REDSTONE = "0xfbcDf41Cc692ed529b9a8cC1A5867B9524FD0164"; +exports.TIMELOCK_ADDRESS = "0xc16068d1ca7E24E20e56bB70af4D00D92AA4f0b2"; +exports.VARIABLE_RATE_2_ADDRESS = "0xFA7207F02ba29Cd122A9d49ce96F6cA7707A1652"; +exports.VARIABLE_RATE_2_ADDRESS_50 = "0x3Fdb6BC356dAD0D7260E9619efa125409a08C3B2"; +exports.FRAXLEND_PAIR_FXB_20261231_FRAX = "0x032578d99b1070682a5E171012BE1756a50a17d4"; +exports.FRAXLEND_PAIR_FXB_20241231_FRAX = "0x6154334A7D0E7f5f0479599D15F462B200C721E1"; +exports.FRAXLEND_PAIR_FXB_20240630_FRAX = "0x57b709e214B239821A78dFCF09c89f52bA3D80aD"; +exports.FRAXLEND_PAIR_FXB_20291231_FRAX = "0x3e92765eE2B009b104A8A7baf3759B159c19AbA1"; +exports.FRAXLEND_PAIR_FXB_20251231_FRAX = "0x1b48c9595385F1780d7Be1aB57f8eAcFeA3A5cE5"; +exports.FRAXLEND_PAIR_SFRXETH_FRAX = "0x4F968317721B9c300afBff3FD37365637318271D"; +exports.FRAXLEND_PAIR_FXS_FRAX = "0x8EdA613EC96992D3C42BCd9aC2Ae58a92929Ceb2"; +exports.FRAXLEND_PAIR_SFRAX_SFRXETH = "0xB71E4829e81f72f7F36A0d858e58109f5948A713"; +exports.SDAI_ERC4626_ORACLE = "0xfdE8C36F32Bf32e73A1bdeb4ef3E17709674a838"; +exports.SDAI_ORACLE_MERKLE_PRICE_SOURCE = "0xf3E3E2a376939bfF87e9cac84e0E5A35e495417a"; +exports.SFRAX_ERC4626_ORACLE = "0xF750636E1df115e3B334eD06E5b45c375107FC60"; +exports.SFRAX_MERKLE_PRICE_SOURCE = "0xe7C6385Cf5d4Ea61774A56E3aeaf60a09fC8E1d5"; +exports.SFRXETH_ERC4626_ORACLE = "0xe7C6385Cf5d4Ea61774A56E3aeaf60a09fC8E1d5"; +exports.SFRXETH_MERKLE_PRICE_SOURCE = "0xa560E014501f96752726f65c27E96C3e9127Ce32"; +exports.SUSDE_ERC4626_ORACLE = "0xd295936C8Bb465ADd1eC756a51698127CB4F4910"; +exports.SUSDE_MERKLE_PRICE_SOURCE = "0xc2B984E37D1CAf5Eef82D9D892287361058955E9"; +// Fraxswap +exports.FRAXSWAP_FACTORY = "0xE30521fe7f3bEB6Ad556887b50739d6C7CA667E6"; +exports.FRAXSWAP_FRAX_FPIS_PAIR = "0x78d264E25781f31343352A0f91875B655c79B843"; +exports.FRAXSWAP_FRAX_FPI_FARM = "0x7b8848f10A016341c9B2427e8541C19F31C2D243"; +exports.FRAXSWAP_FRAX_FPI_PAIR = "0x0EFFABede4e31101DE5209096611D073981A817b"; +exports.FRAXSWAP_FRAX_FXS_FARM = "0x8fE4C7F2eF79AEDd8A6e40398a17ed4DaE18Ee25"; +exports.FRAXSWAP_FRAX_FXS_PAIR = "0xb4dA8dA10ffF1F6127ab71395053Aa1d499b503F"; +exports.FRAXSWAP_FRAX_SFRXETH_FARM = "0xe402a39F788f90607A50254fAf56316E6a78231A"; +exports.FRAXSWAP_FRAX_SFRXETH_PAIR = "0xEBD293F2173082320d88533316F5964298dE316E"; +exports.FRAXSWAP_FRAX_WFRXETH_FARM = "0xfbf1d253FcAA3cE13187dBD5B8610C15Cc8241c7"; +exports.FRAXSWAP_ROUTER = "0x39cd4db6460d8B5961F73E997E86DdbB7Ca4D5F6"; +exports.FRAXSWAP_ROUTER_MULTIHOP = "0x67E04873691258950299Bd8610403D69bA0A1e10"; +exports.FRAXSWAP_WFRX_ETH_PAIR = "0x4527bcEd9d41706D1436507e9a6e354d3FF44ff9"; +// Misc +exports.BALANCE_CHECKER = "0x219356ef2f11a314Dd0D8bfd7f4B0B951Cb16c3a"; +exports.DELEGATION_REGISTRY = "0x098c837FeF2e146e96ceAF58A10F68Fc6326DC4C"; +exports.FPIS_LOCKER_PROXY = "0x437E9F65cA234eCfed12149109587139d435AD35"; +exports.FPIS_LOCKER_IMPL = "0x2b72DF3116cEb8E8a7391024f69A0BfF2718389D"; +exports.FPIS_LOCKER_UTILS = "0x9E461cF6773F168A991A7aD73E2aD89ecD737745"; +exports.FRAXTAL_POINTS_FXTL = "0xaB4b7c5C9A7C8EbB97877085A6C3550ad4Ed3f97"; +exports.SFRAX_ERC4626_MINT_REDEEMER_PROXY = "0xBFc4D34Db83553725eC6c768da71D2D9c1456B55"; +exports.SFRAX_ERC4626_MINT_REDEEMER_IMPL = "0x0aF57786D6B2447EA2E04F9FAB36a239c2E8C9d5"; +// Fraxferry +exports.FRAXFERRY_ETHEREUM_FRAX = "0x00160baF84b3D2014837cc12e838ea399f8b8478"; +exports.FRAXFERRY_ETHEREUM_FXS = "0x24e927daC110Aab7189a4F864d41680e4F7865FB"; +exports.FRAXFERRY_ETHEREUM_FPI = "0xEcf63fd1A839fF54949eB786693237bEEC59C6e7"; +exports.FRAXFERRY_ETHEREUM_FPIS = "0xcD3A040f05769d7628582B403063e61B7D212F91"; +exports.FRAXFERRY_ETHEREUM_SFRXETH = "0x67c6A8A715fc726ffD0A40588701813d9eC04d9C"; +exports.FRAXFERRY_ETHEREUM_SFRAX = "0x08Be8BaAb62fB0A363f38C82Ee2320A36b72f2DB"; +// Global State Root +exports.BLOCKHASH_PROVIDER = "0x4200000000000000000000000000000000000015"; +exports.STATE_ROOT_ORACLE = "0xeD403d48e2bC946438B5686AA1AD65056Ccf9512"; +exports.MERKLE_PRICE_SOURCE = "0x9990eb28E58380122AA3AdF64ea6f874df51114C"; +exports.CHAINLINK_MERKLE_PRICE_SOURCE = "0x4AD728706bFe28A3F090b3f1D8Ac3A8515805B41"; +// RateTransport Oracles +exports.SFRXETH_L2_RATE_ORACLE = "0xEE095b7d9191603126Da584a1179BB403a027c3A"; +exports.SFRAX_L2_RATE_ORACLE = "0x1B680F4385f24420D264D78cab7C58365ED3F1FF"; +exports.SDAI_L2_RATE_ORACLE = "0xfdE8C36F32Bf32e73A1bdeb4ef3E17709674a838"; +exports.SUSDE_L2_RATE_ORACLE = "0xd295936C8Bb465ADd1eC756a51698127CB4F4910"; +// RateTransport Oracles Old +exports.SFRXETH_L2_RATE_ORACLE_OLD = "0x8865435777730eAAbAAF2d1F55F115a87AbCf91A"; +exports.SFRAX_L2_RATE_ORACLE_OLD = "0xF750636E1df115e3B334eD06E5b45c375107FC60"; +// ERC4626 Rate Oracle Proover +exports.FRAXTAL_SDAI_MERKLE_PRICE_SOURCE = "0xf3E3E2a376939bfF87e9cac84e0E5A35e495417a"; +exports.FRAXTAL_SFRAX_MERKLE_PRICE_SOURCE = "0xE25D8aaa6dF41B94A415EE39cCEE0DF6673B9bDb"; +exports.FRAXTAL_SFRXETH_MERKLE_PRICE_SOURCE = "0xabca0b314d15B3e28F24AC0ee84A63001d1b44Db"; +exports.FRAXTAL_SUSDE_MERKLE_PRICE_SOURCE = "0xc2B984E37D1CAf5Eef82D9D892287361058955E9"; +// ERC4626 Rate Oracle Proover Old +exports.FRAXTAL_SFRAX_MERKLE_PRICE_SOURCE_OLD = "0xe7C6385Cf5d4Ea61774A56E3aeaf60a09fC8E1d5"; +exports.FRAXTAL_SFRXETH_MERKLE_PRICE_SOURCE_OLD = "0xa560E014501f96752726f65c27E96C3e9127Ce32"; +// L1VeFXS +exports.L1VEFXS_IMPLEMENTATION_OWNER = "0xC4EB45d80DC1F079045E75D5d55de8eD1c1090E6"; +exports.L1VEFXS_PROXY_ADMIN_OWNER = "0xC4EB45d80DC1F079045E75D5d55de8eD1c1090E6"; +exports.L1VEFXS_PROXY_ADMIN = "0xCDD512227340C20B70aDC37C5Bd1E46F69Bb675F"; +exports.L1VEFXS_IMPL_V1 = "0xBDB5088A8e89e9ec83e82caA01EC20Ed976459eD"; +exports.L1VEFXS_PROXY = "0xCDD512227340C20B70aDC37C5Bd1E46F69Bb675F"; +exports.L1VEFXS_TOTAL_SUPPLY_ORACLE = "0xaBBeFFb0d24EAcFFD3Be194471F0FD8aaaa3e5f8"; +// FXB AMO +exports.FXB_AMO = "0x55271b0d4DaC2664Fa9d44F8cccd89A3e6342313"; +exports.OPTIMISM_MINTABLE_PERMIT_ERC20_FACTORY_IMPL_V1 = "0x111ddab65Af5fF96b674400246699ED40F550De1"; +// veFXS Related +exports.VEFXS_YIELD_DISTRIBUTOR_IMPL_V1 = "0x691d1AaFB550c35B24e09bb991AEC9612342eD93"; +exports.VEFXS_YIELD_DISTRIBUTOR_PROXY_V1 = "0x39333a540bbea6262e405E1A6d435Bd2e776561E"; +exports.YIELD_DISTRIBUTOR_PROXY = "0x21359d1697e610e25C8229B2C57907378eD09A2E"; +exports.YIELD_DISTRIBUTOR_IMPL = "0x08de0C3BCBa9529fe59FA4e4593805Bd55A54B0B"; +exports.VESTEDFXS_UTILS = "0xC540f05BF5a09336078634D65E46242DFBa55030"; +exports.VESTEDFXS_IMPL_V1 = "0x54bd5c72645fed784C117cA83533e0584b24Ee5c"; +exports.VESTEDFXS_PROXY = "0x007FD070a7E1B0fA1364044a373Ac1339bAD89CF"; +exports.VEFXS_AGGREGATOR_PROXY = "0x176A4e081653EbB8a2246BAfbfCf663782426531"; +exports.VEFXS_AGGREGATOR_IMPL = "0xF9Ca1Dc83B16C72b3359CEcD1d3Fc96d80dC4Fa6"; +// Multisigs +exports.COMPTROLLERS = "0xC4EB45d80DC1F079045E75D5d55de8eD1c1090E6"; +exports.PROPOSER_MULTI_SIG = "0xc188a8f8066e720D892c0cfAE9B9865e3425fCdE"; +exports.GOV_PROPOSER_MSIG = "0xc188a8f8066e720D892c0cfAE9B9865e3425fCdE"; +// PoolRelatedTokens +exports.CVXSQUIDWFRXETH = "0x29FF8F9ACb27727D8A2A52D16091c12ea56E9E4d"; +exports.CVXSQUIDWFRXETH_REWARDER = "0x29FF8F9ACb27727D8A2A52D16091c12ea56E9E4d"; +exports.SQUIDWFRXETH = "0x277FA53c8a53C880E0625c92C92a62a9F60f3f04"; +exports.SQUIDWFRXETH_GAUGE = "0xe5E5ed1B50AE33E66ca69dF17Aa6381FDe4e9C7e"; +exports.SQUIDWFRXETH_POOL = "0x277FA53c8a53C880E0625c92C92a62a9F60f3f04"; +// SystemContracts +exports.CROSS_DOMAIN_MESSENGER = "0x4200000000000000000000000000000000000007"; +exports.ERC20_FACTORY_PROXY = "0x4200000000000000000000000000000000000012"; +exports.L2_STANDARD_BRIDGE_PROXY = "0x4200000000000000000000000000000000000010"; +exports.L2_TO_L1_MESSAGE_PASSER = "0x4200000000000000000000000000000000000016"; +// LayerZero +exports.FPIOFT = "0x75c38D46001b0F8108c4136216bd2694982C20FC"; +exports.FRXETHOFT = "0x9aBFE1F8a999B0011ecD6116649AEe8D575F5604"; +exports.FRXUSDOFT = "0x96A394058E2b84A89bac9667B19661Ed003cF5D4"; +exports.SFRXETHOFT = "0x999dfAbe3b1cc2EF66eB032Eea42FeA329bBa168"; +exports.SFRXUSDOFT = "0x88Aa7854D3b2dAA5e37E7Ce73A1F39669623a361"; +exports.WFRAXOFT = "0xd86fBBd0c8715d2C1f40e451e5C3514e65E7576A"; +// FraxtalLZHop +exports.FRAXTALHOP = "0x2A2019b30C157dB6c1C01306b8025167dBe1803B"; +exports.FRAXTALMINTREDEEMHOP = "0x3e6a2cBaFD864e09e6DAb9Cf035a0AbEa32bc0BC"; +// LayerZeroInfra +exports.FRAX_PROXY_ADMIN = "0x223a681fc5c5522c85C96157c0efA18cd6c5405c"; +// HopV2 +exports.FRAXTALHOPV2 = "0x00000000e18aFc20Afe54d4B2C8688bB60c06B36"; +exports.REMOTEADMINV2 = "0x34029e02821178B4387e12644896994f910D6E73"; diff --git a/scripts/constants/fraxtal-l2.ts b/scripts/constants/fraxtal-l2.ts index 18fdf10..22d5710 100644 --- a/scripts/constants/fraxtal-l2.ts +++ b/scripts/constants/fraxtal-l2.ts @@ -1,5 +1,3 @@ -export const CHAIN_ID = 252; - // Canonicals export const FRXUSD = "0xFc00000000000000000000000000000000000001"; export const WFRAX = "0xFc00000000000000000000000000000000000002"; @@ -197,4 +195,10 @@ export const WFRAXOFT = "0xd86fBBd0c8715d2C1f40e451e5C3514e65E7576A"; // FraxtalLZHop export const FRAXTALHOP = "0x2A2019b30C157dB6c1C01306b8025167dBe1803B"; -export const FRAXTALMINTREDEEMHOP = "0x3e6a2cBaFD864e09e6DAb9Cf035a0AbEa32bc0BC"; \ No newline at end of file +export const FRAXTALMINTREDEEMHOP = "0x3e6a2cBaFD864e09e6DAb9Cf035a0AbEa32bc0BC"; +// LayerZeroInfra +export const FRAX_PROXY_ADMIN = "0x223a681fc5c5522c85C96157c0efA18cd6c5405c"; + +// HopV2 +export const FRAXTALHOPV2 = "0x00000000e18aFc20Afe54d4B2C8688bB60c06B36"; +export const REMOTEADMINV2 = "0x34029e02821178B4387e12644896994f910D6E73"; diff --git a/scripts/constants/fraxtal-testnet-l1.js b/scripts/constants/fraxtal-testnet-l1.js new file mode 100644 index 0000000..028a14d --- /dev/null +++ b/scripts/constants/fraxtal-testnet-l1.js @@ -0,0 +1,34 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.SYSTEM_CONFIG_PROXY = + exports.OPTIMISM_PORTAL_PROXY = + exports.OPTIMISM_MINTABLE_ERC20_FACTORY_PROXY = + exports.L2_OUTPUT_ORACLE_PROXY = + exports.L1_STANDARD_BRIDGE_PROXY = + exports.L1_ERC721_BRIDGE_PROXY = + exports.L1_CROSS_DOMAIN_MESSENGER_PROXY = + exports.ADDRESS_MANAGER = + exports.COMPTROLLER = + exports.PROXY_ADMIN = + exports.CHAIN_ID = + void 0; +exports.CHAIN_ID = 17000; +exports.PROXY_ADMIN = "0xA0c6294D524f56fF9BdAeE94b69064c529cB9a1e"; +exports.COMPTROLLER = "0x88699c59E413e8A47117820D15d8D33b09B21edD"; +exports.ADDRESS_MANAGER = "0x6C52d1f7aAdD1F27aaa6A9e228CE0312E3CB09A6"; +exports.L1_CROSS_DOMAIN_MESSENGER_PROXY = "0x45A98115D5722C6cfC48D711e0053758E7C0b8ad"; +exports.L1_ERC721_BRIDGE_PROXY = "0x0301A6b26a37566d3DCebC7fC4c2143B426bBf53"; +exports.L1_STANDARD_BRIDGE_PROXY = "0x0BaafC217162f64930909aD9f2B27125121d6332"; +exports.L2_OUTPUT_ORACLE_PROXY = "0x715EA64DA13F4d0831ece4Ad3E8c1aa013167F32"; +exports.OPTIMISM_MINTABLE_ERC20_FACTORY_PROXY = "0x740fAfe2383F736d0Bd1a042E50fE15dDa2726C6"; +exports.OPTIMISM_PORTAL_PROXY = "0xB9c64BfA498d5b9a8398Ed6f46eb76d90dE5505d"; +exports.SYSTEM_CONFIG_PROXY = "0x570Bf63A187776A19a44E6D1e055E3da65C1E3Db"; +// Canonicals +// Farms +// FraxBonds +// FraxFerry +// FraxlendAndOracles +// Fraxswap +// Misc +// Multisigs +// PoolRelatedTokens diff --git a/scripts/constants/fraxtal-testnet-l2.js b/scripts/constants/fraxtal-testnet-l2.js new file mode 100644 index 0000000..b5a8ac2 --- /dev/null +++ b/scripts/constants/fraxtal-testnet-l2.js @@ -0,0 +1,46 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.L2_TO_L1_MESSAGE_PASSER = + exports.L2_STANDARD_BRIDGE_PROXY = + exports.ERC20_FACTORY_PROXY = + exports.CROSS_DOMAIN_MESSENGER = + exports.PROXY_ADMIN = + exports.COMPTROLLER = + exports.FRAXSWAP_ROUTER_MULTIHOP = + exports.FRAXSWAP_ROUTER = + exports.FRAXSWAP_FACTORY = + exports.WFRXETH = + exports.SFRXETH = + exports.FPIS = + exports.FPI = + exports.FXS = + exports.FRAX = + exports.CHAIN_ID = + void 0; +exports.CHAIN_ID = 2522; +// Canonicals +exports.FRAX = "0xFc00000000000000000000000000000000000001"; +exports.FXS = "0xFc00000000000000000000000000000000000002"; +exports.FPI = "0xFc00000000000000000000000000000000000003"; +exports.FPIS = "0xfc00000000000000000000000000000000000004"; +exports.SFRXETH = "0xFC00000000000000000000000000000000000005"; +exports.WFRXETH = "0xFC00000000000000000000000000000000000006"; +// Farms +// FraxBonds +// FraxFerry +// FraxlendAndOracles +// Fraxswap +exports.FRAXSWAP_FACTORY = "0xbc679bdd1bA59654bD50DEB03fd80dC97c713fF2"; +exports.FRAXSWAP_ROUTER = "0x938d99A81814f66b01010d19DDce92A633441699"; +exports.FRAXSWAP_ROUTER_MULTIHOP = "0x509728dC748586214Fa30cEF61359f136523F24d"; +// Misc +// Multisigs +exports.COMPTROLLER = "0x8b1E899ec5d51387a41Ee68261149F7d3Dfd7160"; +exports.PROXY_ADMIN = "0xfC00000000000000000000000000000000000007"; +// export const COMPTROLLER = "0x012fcFb933b9a4335B1BCC836e6a9a475146beBd"; +// PoolRelatedTokens +/// SystemContracts +exports.CROSS_DOMAIN_MESSENGER = "0x4200000000000000000000000000000000000007"; +exports.ERC20_FACTORY_PROXY = "0x4200000000000000000000000000000000000012"; +exports.L2_STANDARD_BRIDGE_PROXY = "0x4200000000000000000000000000000000000010"; +exports.L2_TO_L1_MESSAGE_PASSER = "0x4200000000000000000000000000000000000016"; diff --git a/scripts/constants/holesky.js b/scripts/constants/holesky.js new file mode 100644 index 0000000..54fd36e --- /dev/null +++ b/scripts/constants/holesky.js @@ -0,0 +1,66 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.FRXETH_MINTER = + exports.SYSTEM_CONFIG_PROXY = + exports.SUPERCHAIN_CONFIG_PROXY = + exports.PROXY_ADMIN = + exports.PROTOCOL_VERSIONS_PROXY = + exports.OPTIMISM_PORTAL_PROXY = + exports.OPTIMISM_MINTABLE_ERC20_FACTORY_PROXY = + exports.L2_OUTPUT_ORACLE_PROXY = + exports.L1_STANDARD_BRIDGE_PROXY = + exports.L1_ERC721_BRIDGE_PROXY = + exports.L1_CROSS_DOMAIN_MESSENGER_PROXY = + exports.FRAXTAL_COMPTROLLER = + exports.ADDRESS_MANAGER = + exports.FRXETH_ERC20 = + exports.SFRXETH_ERC20 = + exports.FXS_ERC20 = + exports.FRAX_ERC20 = + exports.FPIS_ERC20 = + exports.FPI_ERC20 = + exports.SFRXETH = + exports.FRXETH = + exports.FPIS = + exports.FPI = + exports.FXS = + exports.FRAX = + exports.CHAIN_ID = + void 0; +exports.CHAIN_ID = 17000; +// Canonicals +exports.FRAX = "0x0304A365C0fbb4b1Ad423887861b9b69a5f0c00E"; +exports.FXS = "0x4e7300F74F59AFaEcCdc0d434758Df9be238F0BF"; +exports.FPI = "0xfBCB0F967817c924f83e26e04F0FB28ED4d6276F"; +exports.FPIS = "0x0363a32D18c25a3FD19a0d00B02106C03d8b8182"; +exports.FRXETH = "0x17845EA6a9BfD2caF1b9E558948BB4999dF2656e"; +exports.SFRXETH = "0xa63f56985F9C7F3bc9fFc5685535649e0C1a55f3"; +exports.FPI_ERC20 = exports.FPI; +exports.FPIS_ERC20 = exports.FPIS; +exports.FRAX_ERC20 = exports.FRAX; +exports.FXS_ERC20 = exports.FXS; +exports.SFRXETH_ERC20 = exports.SFRXETH; +exports.FRXETH_ERC20 = exports.FRXETH; +// Farms +// FraxBonds +// FraxFerry +// FraxlendAndOracles +// Fraxswap +// FraxtalL1 +exports.ADDRESS_MANAGER = "0x6C52d1f7aAdD1F27aaa6A9e228CE0312E3CB09A6"; +exports.FRAXTAL_COMPTROLLER = "0x88699c59E413e8A47117820D15d8D33b09B21edD"; +exports.L1_CROSS_DOMAIN_MESSENGER_PROXY = "0x45A98115D5722C6cfC48D711e0053758E7C0b8ad"; +exports.L1_ERC721_BRIDGE_PROXY = "0x0301A6b26a37566d3DCebC7fC4c2143B426bBf53"; +exports.L1_STANDARD_BRIDGE_PROXY = "0x0BaafC217162f64930909aD9f2B27125121d6332"; +exports.L2_OUTPUT_ORACLE_PROXY = "0x715EA64DA13F4d0831ece4Ad3E8c1aa013167F32"; +exports.OPTIMISM_MINTABLE_ERC20_FACTORY_PROXY = "0x740fAfe2383F736d0Bd1a042E50fE15dDa2726C6"; +exports.OPTIMISM_PORTAL_PROXY = "0xB9c64BfA498d5b9a8398Ed6f46eb76d90dE5505d"; +exports.PROTOCOL_VERSIONS_PROXY = "0x0D2d3D6540638291C50db5521527d4115c8eddB7"; +exports.PROXY_ADMIN = "0xA0c6294D524f56fF9BdAeE94b69064c529cB9a1e"; +exports.SUPERCHAIN_CONFIG_PROXY = "0x089065000De745708B5EE76Be5dF236Eb6453b82"; +exports.SYSTEM_CONFIG_PROXY = "0x570Bf63A187776A19a44E6D1e055E3da65C1E3Db"; +// Misc +exports.FRXETH_MINTER = "0x5E8422345238F34275888049021821E8E08CAa1f"; +// Multisigs +// PoolRelatedTokens +// SystemContracts diff --git a/scripts/constants/hyperliquid.js b/scripts/constants/hyperliquid.js new file mode 100644 index 0000000..9f01251 --- /dev/null +++ b/scripts/constants/hyperliquid.js @@ -0,0 +1,41 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.CHAIN_ID = + exports.LZ_CHAIN_ID = + exports.FRAX_PROXY_ADMIN = + exports.LZ_BLOCK_SEND_LIB = + exports.LZ_SEND_LIB_302 = + exports.LZ_RECEIVE_LIB_302 = + exports.LZ_ENDPOINT = + exports.REMOTEMINTREDEEMHOP = + exports.REMOTEHOP = + exports.WFRAXOFT = + exports.SFRXUSDOFT = + exports.SFRXETHOFT = + exports.FRXUSDOFT = + exports.FRXETHOFT = + exports.FPIOFT = + void 0; +// LayerZero +exports.FPIOFT = "0x90581eCa9469D8D7F5D3B60f4715027aDFCf7927"; +exports.FRXETHOFT = "0x43eDD7f3831b08FE70B7555ddD373C8bF65a9050"; +exports.FRXUSDOFT = "0x80Eede496655FB9047dd39d9f418d5483ED600df"; +exports.SFRXETHOFT = "0x3Ec3849C33291a9eF4c5dB86De593EB4A37fDe45"; +exports.SFRXUSDOFT = "0x5Bff88cA1442c2496f7E475E9e7786383Bc070c0"; +exports.WFRAXOFT = "0x64445f0aecC51E94aD52d8AC56b7190e764E561a"; +// FraxtalLZHop +exports.REMOTEHOP = "0x8EbB34b1880B2EA5e458082590B3A2c9Ea7C41A2"; +exports.REMOTEMINTREDEEMHOP = "0xb85A8FDa7F5e52E32fa5582847CFfFee9456a5Dc"; +// LayerZeroInfra +exports.LZ_ENDPOINT = "0x3A73033C0b1407574C76BdBAc67f126f6b4a9AA9"; +exports.LZ_RECEIVE_LIB_302 = "0x7cacBe439EaD55fa1c22790330b12835c6884a91"; +exports.LZ_SEND_LIB_302 = "0xfd76d9CB0Bac839725aB79127E7411fe71b1e3CA"; +exports.LZ_BLOCK_SEND_LIB = "0xf540d892bc671f08e0b1c5b61185c53c2211e8f7"; +exports.FRAX_PROXY_ADMIN = "0x223a681fc5c5522c85c96157c0efa18cd6c5405c"; +// Chain IDs +exports.LZ_CHAIN_ID = 30367; +exports.CHAIN_ID = 999; + +// HopV2 +exports.REMOTEHOPV2 = "0x0000006D38568b00B457580b734e0076C62de659"; +exports.REMOTEADMINV2 = "0x954286118E93df807aB6f99aE0454f8710f0a8B9"; diff --git a/scripts/constants/hyperliquid.ts b/scripts/constants/hyperliquid.ts index 572031b..b4ad62d 100644 --- a/scripts/constants/hyperliquid.ts +++ b/scripts/constants/hyperliquid.ts @@ -7,5 +7,11 @@ export const SFRXUSDOFT = "0x5Bff88cA1442c2496f7E475E9e7786383Bc070c0"; export const WFRAXOFT = "0x64445f0aecC51E94aD52d8AC56b7190e764E561a"; // FraxtalLZHop -export const REMOTEHOP = ""; -export const REMOTEMINTREDEEMHOP = ""; \ No newline at end of file +export const REMOTEHOP = "0x8EbB34b1880B2EA5e458082590B3A2c9Ea7C41A2"; +export const REMOTEMINTREDEEMHOP = "0xb85A8FDa7F5e52E32fa5582847CFfFee9456a5Dc"; +// LayerZeroInfra +export const FRAX_PROXY_ADMIN = "0x223a681fc5c5522c85c96157c0efa18cd6c5405c"; + +// HopV2 +export const REMOTEHOPV2 = "0x0000006D38568b00B457580b734e0076C62de659"; +export const REMOTEADMINV2 = "0x954286118E93df807aB6f99aE0454f8710f0a8B9"; diff --git a/scripts/constants/index.js b/scripts/constants/index.js new file mode 100644 index 0000000..bd7418b --- /dev/null +++ b/scripts/constants/index.js @@ -0,0 +1,142 @@ +"use strict"; +var __createBinding = + (this && this.__createBinding) || + (Object.create + ? function (o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { + enumerable: true, + get: function () { + return m[k]; + }, + }; + } + Object.defineProperty(o, k2, desc); + } + : function (o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; + }); +var __setModuleDefault = + (this && this.__setModuleDefault) || + (Object.create + ? function (o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); + } + : function (o, v) { + o["default"] = v; + }); +var __importStar = + (this && this.__importStar) || + (function () { + var ownKeys = function (o) { + ownKeys = + Object.getOwnPropertyNames || + function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) + for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; + })(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.ZkSync = + exports.XLayer = + exports.Worldchain = + exports.Unichain = + exports.Stable = + exports.Sonic = + exports.Solana = + exports.Sei = + exports.Scroll = + exports.PolygonzkEVM = + exports.Polygon = + exports.Plumephoenix = + exports.Optimism = + exports.Moonriver = + exports.Movement = + exports.Moonbeam = + exports.Mode = + exports.Monad = + exports.Mainnet = + exports.Linea = + exports.LegacyMetis = + exports.LegacyEthereum = + exports.LegacyBlast = + exports.LegacyBase = + exports.Katana = + exports.Ink = + exports.Hyperliquid = + exports.Holesky = + exports.FraxtalTestnetL2 = + exports.FraxtalTestnetL1 = + exports.FraxtalL2 = + exports.FraxtalL2Devnet = + exports.FraxtalL1Devnet = + exports.Fantom = + exports.Ethereum = + exports.BSC = + exports.Blast = + exports.Bera = + exports.Base = + exports.Avalanche = + exports.Aurora = + exports.Arbitrum = + exports.Aptos = + exports.Abstract = + void 0; +exports.Abstract = __importStar(require("./abstract")); +exports.Aptos = __importStar(require("./aptos")); +exports.Arbitrum = __importStar(require("./arbitrum")); +exports.Aurora = __importStar(require("./aurora")); +exports.Avalanche = __importStar(require("./avalanche")); +exports.Base = __importStar(require("./base")); +exports.Bera = __importStar(require("./bera")); +exports.Blast = __importStar(require("./blast")); +exports.BSC = __importStar(require("./bsc")); +exports.Ethereum = __importStar(require("./ethereum")); +exports.Fantom = __importStar(require("./fantom")); +exports.FraxtalL1Devnet = __importStar(require("./fraxtal-devnet-l1")); +exports.FraxtalL2Devnet = __importStar(require("./fraxtal-devnet-l2")); +exports.FraxtalL2 = __importStar(require("./fraxtal-l2")); +exports.FraxtalTestnetL1 = __importStar(require("./fraxtal-testnet-l1")); +exports.FraxtalTestnetL2 = __importStar(require("./fraxtal-testnet-l2")); +exports.Holesky = __importStar(require("./holesky")); +exports.Hyperliquid = __importStar(require("./hyperliquid")); +exports.Ink = __importStar(require("./ink")); +exports.Katana = __importStar(require("./katana")); +exports.LegacyBase = __importStar(require("./legacy-base")); +exports.LegacyBlast = __importStar(require("./legacy-blast")); +exports.LegacyEthereum = __importStar(require("./legacy-ethereum")); +exports.LegacyMetis = __importStar(require("./legacy-metis")); +exports.Linea = __importStar(require("./linea")); +exports.Mainnet = __importStar(require("./mainnet")); +exports.Monad = __importStar(require("./monad")); +exports.Mode = __importStar(require("./mode")); +exports.Moonbeam = __importStar(require("./moonbeam")); +exports.Movement = __importStar(require("./movement")); +exports.Moonriver = __importStar(require("./moonriver")); +exports.Optimism = __importStar(require("./optimism")); +exports.Plumephoenix = __importStar(require("./plumephoenix")); +exports.Polygon = __importStar(require("./polygon")); +exports.PolygonzkEVM = __importStar(require("./polygon-zkevm")); +exports.Scroll = __importStar(require("./scroll")); +exports.Sei = __importStar(require("./sei")); +exports.Solana = __importStar(require("./solana")); +exports.Sonic = __importStar(require("./sonic")); +exports.Stable = __importStar(require("./stable")); +exports.Unichain = __importStar(require("./unichain")); +exports.Worldchain = __importStar(require("./worldchain")); +exports.XLayer = __importStar(require("./xlayer")); +exports.ZkSync = __importStar(require("./zksync")); diff --git a/scripts/constants/index.ts b/scripts/constants/index.ts index a500d51..7f6cb39 100644 --- a/scripts/constants/index.ts +++ b/scripts/constants/index.ts @@ -18,19 +18,27 @@ export * as Holesky from "./holesky"; export * as Hyperliquid from "./hyperliquid"; export * as Ink from "./ink"; export * as Katana from "./katana"; -export * as Linea from "./linea" +export * as LegacyBase from "./legacy-base"; +export * as LegacyBlast from "./legacy-blast"; +export * as LegacyEthereum from "./legacy-ethereum"; +export * as LegacyMetis from "./legacy-metis"; +export * as Linea from "./linea"; export * as Mainnet from "./mainnet"; +export * as Monad from "./monad"; export * as Mode from "./mode"; export * as Moonbeam from "./moonbeam"; +export * as Movement from "./movement"; export * as Moonriver from "./moonriver"; export * as Optimism from "./optimism"; export * as Plumephoenix from "./plumephoenix"; export * as Polygon from "./polygon"; export * as PolygonzkEVM from "./polygon-zkevm"; export * as Scroll from "./scroll"; -export * as Solana from "./solana" -export * as Sonic from "./sonic" -export * as Unichain from "./unichain" -export * as Worldchain from "./worldchain" -export * as XLayer from "./xlayer" -export * as ZkSync from "./zksync" +export * as Sei from "./sei"; +export * as Solana from "./solana"; +export * as Sonic from "./sonic"; +export * as Stable from "./stable"; +export * as Unichain from "./unichain"; +export * as Worldchain from "./worldchain"; +export * as XLayer from "./xlayer"; +export * as ZkSync from "./zksync"; diff --git a/scripts/constants/ink.js b/scripts/constants/ink.js new file mode 100644 index 0000000..9df213a --- /dev/null +++ b/scripts/constants/ink.js @@ -0,0 +1,41 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.CHAIN_ID = + exports.LZ_CHAIN_ID = + exports.FRAX_PROXY_ADMIN = + exports.LZ_BLOCK_SEND_LIB = + exports.LZ_SEND_LIB_302 = + exports.LZ_RECEIVE_LIB_302 = + exports.LZ_ENDPOINT = + exports.REMOTEMINTREDEEMHOP = + exports.REMOTEHOP = + exports.WFRAXOFT = + exports.SFRXUSDOFT = + exports.SFRXETHOFT = + exports.FRXUSDOFT = + exports.FRXETHOFT = + exports.FPIOFT = + void 0; +// LayerZero +exports.FPIOFT = "0x90581eCa9469D8D7F5D3B60f4715027aDFCf7927"; +exports.FRXETHOFT = "0x43eDD7f3831b08FE70B7555ddD373C8bF65a9050"; +exports.FRXUSDOFT = "0x80Eede496655FB9047dd39d9f418d5483ED600df"; +exports.SFRXETHOFT = "0x3Ec3849C33291a9eF4c5dB86De593EB4A37fDe45"; +exports.SFRXUSDOFT = "0x5Bff88cA1442c2496f7E475E9e7786383Bc070c0"; +exports.WFRAXOFT = "0x64445f0aecC51E94aD52d8AC56b7190e764E561a"; +// FraxtalLZHop +exports.REMOTEHOP = "0x7a07D606c87b7251c2953A30Fa445d8c5F856C7A"; +exports.REMOTEMINTREDEEMHOP = "0x452420df4AC1e3db5429b5FD629f3047482C543C"; +// LayerZeroInfra +exports.LZ_ENDPOINT = "0xca29f3A6f966Cb2fc0dE625F8f325c0C46dbE958"; +exports.LZ_RECEIVE_LIB_302 = "0x473132bb594caEF281c68718F4541f73FE14Dc89"; +exports.LZ_SEND_LIB_302 = "0x76111DE813F83AAAdBD62773Bf41247634e2319a"; +exports.LZ_BLOCK_SEND_LIB = "0x796862c4849662bfc30fe7559780923d519d3192"; +exports.FRAX_PROXY_ADMIN = "0x223a681fc5c5522c85c96157c0efa18cd6c5405c"; +// Chain IDs +exports.LZ_CHAIN_ID = 30339; +exports.CHAIN_ID = 57073; + +// HopV2 +exports.REMOTEHOPV2 = "0x0000006D38568b00B457580b734e0076C62de659"; +exports.REMOTEADMINV2 = "0x954286118E93df807aB6f99aE0454f8710f0a8B9"; diff --git a/scripts/constants/ink.ts b/scripts/constants/ink.ts index 19273ee..0dfaeaf 100644 --- a/scripts/constants/ink.ts +++ b/scripts/constants/ink.ts @@ -8,4 +8,10 @@ export const WFRAXOFT = "0x64445f0aecC51E94aD52d8AC56b7190e764E561a"; // FraxtalLZHop export const REMOTEHOP = "0x7a07D606c87b7251c2953A30Fa445d8c5F856C7A"; -export const REMOTEMINTREDEEMHOP = "0x452420df4AC1e3db5429b5FD629f3047482C543C"; \ No newline at end of file +export const REMOTEMINTREDEEMHOP = "0x452420df4AC1e3db5429b5FD629f3047482C543C"; +// LayerZeroInfra +export const FRAX_PROXY_ADMIN = "0x223a681fc5c5522c85c96157c0efa18cd6c5405c"; + +// HopV2 +export const REMOTEHOPV2 = "0x0000006D38568b00B457580b734e0076C62de659"; +export const REMOTEADMINV2 = "0x954286118E93df807aB6f99aE0454f8710f0a8B9"; diff --git a/scripts/constants/katana.js b/scripts/constants/katana.js new file mode 100644 index 0000000..d5aa5e0 --- /dev/null +++ b/scripts/constants/katana.js @@ -0,0 +1,41 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.CHAIN_ID = + exports.LZ_CHAIN_ID = + exports.FRAX_PROXY_ADMIN = + exports.LZ_BLOCK_SEND_LIB = + exports.LZ_SEND_LIB_302 = + exports.LZ_RECEIVE_LIB_302 = + exports.LZ_ENDPOINT = + exports.REMOTEMINTREDEEMHOP = + exports.REMOTEHOP = + exports.WFRAXOFT = + exports.SFRXUSDOFT = + exports.SFRXETHOFT = + exports.FRXUSDOFT = + exports.FRXETHOFT = + exports.FPIOFT = + void 0; +// LayerZero +exports.FPIOFT = "0x90581eCa9469D8D7F5D3B60f4715027aDFCf7927"; +exports.FRXETHOFT = "0x43eDD7f3831b08FE70B7555ddD373C8bF65a9050"; +exports.FRXUSDOFT = "0x80Eede496655FB9047dd39d9f418d5483ED600df"; +exports.SFRXETHOFT = "0x3Ec3849C33291a9eF4c5dB86De593EB4A37fDe45"; +exports.SFRXUSDOFT = "0x5Bff88cA1442c2496f7E475E9e7786383Bc070c0"; +exports.WFRAXOFT = "0x64445f0aecC51E94aD52d8AC56b7190e764E561a"; +// FraxtalLZHop +exports.REMOTEHOP = "0x5d8EB59A12Bc98708702305A7b032f4b69Dd5b5c"; +exports.REMOTEMINTREDEEMHOP = "0xF6f45CCB5E85D1400067ee66F9e168f83e86124E"; +// LayerZeroInfra +exports.LZ_ENDPOINT = "0x6F475642a6e85809B1c36Fa62763669b1b48DD5B"; +exports.LZ_RECEIVE_LIB_302 = "0xe1844c5D63a9543023008D332Bd3d2e6f1FE1043"; +exports.LZ_SEND_LIB_302 = "0xC39161c743D0307EB9BCc9FEF03eeb9Dc4802de7"; +exports.LZ_BLOCK_SEND_LIB = "0xc1ce56b2099ca68720592583c7984cab4b6d7e7a"; +exports.FRAX_PROXY_ADMIN = "0x223a681fc5c5522c85c96157c0efa18cd6c5405c"; +// Chain IDs +exports.LZ_CHAIN_ID = 30375; +exports.CHAIN_ID = 747474; + +// HopV2 +exports.REMOTEHOPV2 = "0x0000006D38568b00B457580b734e0076C62de659"; +exports.REMOTEADMINV2 = "0x954286118E93df807aB6f99aE0454f8710f0a8B9"; diff --git a/scripts/constants/katana.ts b/scripts/constants/katana.ts index ac818ab..2d66ef0 100644 --- a/scripts/constants/katana.ts +++ b/scripts/constants/katana.ts @@ -8,4 +8,10 @@ export const WFRAXOFT = "0x64445f0aecC51E94aD52d8AC56b7190e764E561a"; // FraxtalLZHop export const REMOTEHOP = "0x5d8EB59A12Bc98708702305A7b032f4b69Dd5b5c"; -export const REMOTEMINTREDEEMHOP = "0xF6f45CCB5E85D1400067ee66F9e168f83e86124E"; \ No newline at end of file +export const REMOTEMINTREDEEMHOP = "0xF6f45CCB5E85D1400067ee66F9e168f83e86124E"; +// LayerZeroInfra +export const FRAX_PROXY_ADMIN = "0x223a681fc5c5522c85c96157c0efa18cd6c5405c"; + +// HopV2 +export const REMOTEHOPV2 = "0x0000006D38568b00B457580b734e0076C62de659"; +export const REMOTEADMINV2 = "0x954286118E93df807aB6f99aE0454f8710f0a8B9"; diff --git a/scripts/constants/legacy-base.js b/scripts/constants/legacy-base.js new file mode 100644 index 0000000..5b8cd35 --- /dev/null +++ b/scripts/constants/legacy-base.js @@ -0,0 +1,10 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.WFRAXOFT = exports.SFRXUSDOFT = exports.SFRXETHOFT = exports.FRXUSDOFT = exports.FRXETHOFT = exports.FPIOFT = void 0; +// LayerZero Legacy OFTs +exports.FPIOFT = "0x6Eca253b102D41B6B69AC815B9CC6bD47eF1979d"; +exports.FRXETHOFT = "0xF010a7c8877043681D59AD125EbF575633505942"; +exports.FRXUSDOFT = "0x909DBdE1eBE906Af95660033e478D59EFe831fED"; +exports.SFRXETHOFT = "0x1f55a02A049033E3419a8E2975cF3F572F4e6E9A"; +exports.SFRXUSDOFT = "0xe4796cCB6bB5DE2290C417Ac337F2b66CA2E770E"; +exports.WFRAXOFT = "0x23432452B720C80553458496D4D9d7C5003280d0"; diff --git a/scripts/constants/legacy-base.ts b/scripts/constants/legacy-base.ts new file mode 100644 index 0000000..bba0d24 --- /dev/null +++ b/scripts/constants/legacy-base.ts @@ -0,0 +1,7 @@ +// LayerZero Legacy OFTs +export const FPIOFT = "0x6Eca253b102D41B6B69AC815B9CC6bD47eF1979d"; +export const FRXETHOFT = "0xF010a7c8877043681D59AD125EbF575633505942"; +export const FRXUSDOFT = "0x909DBdE1eBE906Af95660033e478D59EFe831fED"; +export const SFRXETHOFT = "0x1f55a02A049033E3419a8E2975cF3F572F4e6E9A"; +export const SFRXUSDOFT = "0xe4796cCB6bB5DE2290C417Ac337F2b66CA2E770E"; +export const WFRAXOFT = "0x23432452B720C80553458496D4D9d7C5003280d0"; diff --git a/scripts/constants/legacy-blast.js b/scripts/constants/legacy-blast.js new file mode 100644 index 0000000..5b8cd35 --- /dev/null +++ b/scripts/constants/legacy-blast.js @@ -0,0 +1,10 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.WFRAXOFT = exports.SFRXUSDOFT = exports.SFRXETHOFT = exports.FRXUSDOFT = exports.FRXETHOFT = exports.FPIOFT = void 0; +// LayerZero Legacy OFTs +exports.FPIOFT = "0x6Eca253b102D41B6B69AC815B9CC6bD47eF1979d"; +exports.FRXETHOFT = "0xF010a7c8877043681D59AD125EbF575633505942"; +exports.FRXUSDOFT = "0x909DBdE1eBE906Af95660033e478D59EFe831fED"; +exports.SFRXETHOFT = "0x1f55a02A049033E3419a8E2975cF3F572F4e6E9A"; +exports.SFRXUSDOFT = "0xe4796cCB6bB5DE2290C417Ac337F2b66CA2E770E"; +exports.WFRAXOFT = "0x23432452B720C80553458496D4D9d7C5003280d0"; diff --git a/scripts/constants/legacy-blast.ts b/scripts/constants/legacy-blast.ts new file mode 100644 index 0000000..bba0d24 --- /dev/null +++ b/scripts/constants/legacy-blast.ts @@ -0,0 +1,7 @@ +// LayerZero Legacy OFTs +export const FPIOFT = "0x6Eca253b102D41B6B69AC815B9CC6bD47eF1979d"; +export const FRXETHOFT = "0xF010a7c8877043681D59AD125EbF575633505942"; +export const FRXUSDOFT = "0x909DBdE1eBE906Af95660033e478D59EFe831fED"; +export const SFRXETHOFT = "0x1f55a02A049033E3419a8E2975cF3F572F4e6E9A"; +export const SFRXUSDOFT = "0xe4796cCB6bB5DE2290C417Ac337F2b66CA2E770E"; +export const WFRAXOFT = "0x23432452B720C80553458496D4D9d7C5003280d0"; diff --git a/scripts/constants/legacy-ethereum.js b/scripts/constants/legacy-ethereum.js new file mode 100644 index 0000000..bcfc150 --- /dev/null +++ b/scripts/constants/legacy-ethereum.js @@ -0,0 +1,10 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.WFRAXOFT = exports.SFRXUSDOFT = exports.SFRXETHOFT = exports.FRXUSDOFT = exports.FRXETHOFT = exports.FPIOFT = void 0; +// LayerZero Legacy OFTs / adapters +exports.FPIOFT = "0x6Eca253b102D41B6B69AC815B9CC6bD47eF1979d"; +exports.FRXETHOFT = "0xF010a7c8877043681D59AD125EbF575633505942"; +exports.FRXUSDOFT = "0x909DBdE1eBE906Af95660033e478D59EFe831fED"; +exports.SFRXETHOFT = "0x1f55a02A049033E3419a8E2975cF3F572F4e6E9A"; +exports.SFRXUSDOFT = "0xe4796cCB6bB5DE2290C417Ac337F2b66CA2E770E"; +exports.WFRAXOFT = "0x23432452B720C80553458496D4D9d7C5003280d0"; diff --git a/scripts/constants/legacy-ethereum.ts b/scripts/constants/legacy-ethereum.ts new file mode 100644 index 0000000..6cc22f3 --- /dev/null +++ b/scripts/constants/legacy-ethereum.ts @@ -0,0 +1,7 @@ +// LayerZero Legacy OFTs / adapters +export const FPIOFT = "0x6Eca253b102D41B6B69AC815B9CC6bD47eF1979d"; +export const FRXETHOFT = "0xF010a7c8877043681D59AD125EbF575633505942"; +export const FRXUSDOFT = "0x909DBdE1eBE906Af95660033e478D59EFe831fED"; +export const SFRXETHOFT = "0x1f55a02A049033E3419a8E2975cF3F572F4e6E9A"; +export const SFRXUSDOFT = "0xe4796cCB6bB5DE2290C417Ac337F2b66CA2E770E"; +export const WFRAXOFT = "0x23432452B720C80553458496D4D9d7C5003280d0"; diff --git a/scripts/constants/legacy-metis.js b/scripts/constants/legacy-metis.js new file mode 100644 index 0000000..5b8cd35 --- /dev/null +++ b/scripts/constants/legacy-metis.js @@ -0,0 +1,10 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.WFRAXOFT = exports.SFRXUSDOFT = exports.SFRXETHOFT = exports.FRXUSDOFT = exports.FRXETHOFT = exports.FPIOFT = void 0; +// LayerZero Legacy OFTs +exports.FPIOFT = "0x6Eca253b102D41B6B69AC815B9CC6bD47eF1979d"; +exports.FRXETHOFT = "0xF010a7c8877043681D59AD125EbF575633505942"; +exports.FRXUSDOFT = "0x909DBdE1eBE906Af95660033e478D59EFe831fED"; +exports.SFRXETHOFT = "0x1f55a02A049033E3419a8E2975cF3F572F4e6E9A"; +exports.SFRXUSDOFT = "0xe4796cCB6bB5DE2290C417Ac337F2b66CA2E770E"; +exports.WFRAXOFT = "0x23432452B720C80553458496D4D9d7C5003280d0"; diff --git a/scripts/constants/legacy-metis.ts b/scripts/constants/legacy-metis.ts new file mode 100644 index 0000000..bba0d24 --- /dev/null +++ b/scripts/constants/legacy-metis.ts @@ -0,0 +1,7 @@ +// LayerZero Legacy OFTs +export const FPIOFT = "0x6Eca253b102D41B6B69AC815B9CC6bD47eF1979d"; +export const FRXETHOFT = "0xF010a7c8877043681D59AD125EbF575633505942"; +export const FRXUSDOFT = "0x909DBdE1eBE906Af95660033e478D59EFe831fED"; +export const SFRXETHOFT = "0x1f55a02A049033E3419a8E2975cF3F572F4e6E9A"; +export const SFRXUSDOFT = "0xe4796cCB6bB5DE2290C417Ac337F2b66CA2E770E"; +export const WFRAXOFT = "0x23432452B720C80553458496D4D9d7C5003280d0"; diff --git a/scripts/constants/linea.d.ts b/scripts/constants/linea.d.ts new file mode 100644 index 0000000..15932ea --- /dev/null +++ b/scripts/constants/linea.d.ts @@ -0,0 +1,11 @@ +export declare const FPIOFT = "0xDaF72Aa849d3C4FAA8A9c8c99f240Cf33dA02fc4"; +export declare const FRXETHOFT = "0xB1aFD04774c02AE84692619448B08BA79F19b1ff"; +export declare const FRXUSDOFT = "0xC7346783f5e645aa998B106Ef9E7f499528673D8"; +export declare const SFRXETHOFT = "0x383Eac7CcaA89684b8277cBabC25BCa8b13B7Aa2"; +export declare const SFRXUSDOFT = "0x592a48c0FB9c7f8BF1701cB0136b90DEa2A5B7B6"; +export declare const WFRAXOFT = "0x5217Ab28ECE654Aab2C68efedb6A22739df6C3D5"; +export declare const REMOTEHOP = "0x6cA98f43719231d38F6426DB64C7F3D5C7CE7876"; +export declare const REMOTEMINTREDEEMHOP = "0xa71f2204EDDB8d84F411A0C712687FAe5002e7Fb"; +export declare const FRAX_PROXY_ADMIN = "0x3cf371c128b092b085B7732069cEAF3Fd863F270"; +export declare const REMOTEHOPV2 = "0x0000006D38568b00B457580b734e0076C62de659"; +export declare const REMOTEADMINV2 = "0xfa803b63DaACCa6CD953061BDBa4E3da6b177447"; diff --git a/scripts/constants/linea.js b/scripts/constants/linea.js new file mode 100644 index 0000000..5e9cfd8 --- /dev/null +++ b/scripts/constants/linea.js @@ -0,0 +1,29 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.REMOTEADMINV2 = + exports.REMOTEHOPV2 = + exports.FRAX_PROXY_ADMIN = + exports.REMOTEMINTREDEEMHOP = + exports.REMOTEHOP = + exports.WFRAXOFT = + exports.SFRXUSDOFT = + exports.SFRXETHOFT = + exports.FRXUSDOFT = + exports.FRXETHOFT = + exports.FPIOFT = + void 0; +// LayerZero +exports.FPIOFT = "0xDaF72Aa849d3C4FAA8A9c8c99f240Cf33dA02fc4"; +exports.FRXETHOFT = "0xB1aFD04774c02AE84692619448B08BA79F19b1ff"; +exports.FRXUSDOFT = "0xC7346783f5e645aa998B106Ef9E7f499528673D8"; +exports.SFRXETHOFT = "0x383Eac7CcaA89684b8277cBabC25BCa8b13B7Aa2"; +exports.SFRXUSDOFT = "0x592a48c0FB9c7f8BF1701cB0136b90DEa2A5B7B6"; +exports.WFRAXOFT = "0x5217Ab28ECE654Aab2C68efedb6A22739df6C3D5"; +// FraxtalLZHop +exports.REMOTEHOP = "0x6cA98f43719231d38F6426DB64C7F3D5C7CE7876"; +exports.REMOTEMINTREDEEMHOP = "0xa71f2204EDDB8d84F411A0C712687FAe5002e7Fb"; +// LayerZeroInfra +exports.FRAX_PROXY_ADMIN = "0x3cf371c128b092b085B7732069cEAF3Fd863F270"; +// HopV2 +exports.REMOTEHOPV2 = "0x0000006D38568b00B457580b734e0076C62de659"; +exports.REMOTEADMINV2 = "0xfa803b63DaACCa6CD953061BDBa4E3da6b177447"; diff --git a/scripts/constants/linea.ts b/scripts/constants/linea.ts index 7391dde..394ca04 100644 --- a/scripts/constants/linea.ts +++ b/scripts/constants/linea.ts @@ -8,4 +8,10 @@ export const WFRAXOFT = "0x5217Ab28ECE654Aab2C68efedb6A22739df6C3D5"; // FraxtalLZHop export const REMOTEHOP = "0x6cA98f43719231d38F6426DB64C7F3D5C7CE7876"; -export const REMOTEMINTREDEEMHOP = "0xa71f2204EDDB8d84F411A0C712687FAe5002e7Fb"; \ No newline at end of file +export const REMOTEMINTREDEEMHOP = "0xa71f2204EDDB8d84F411A0C712687FAe5002e7Fb"; +// LayerZeroInfra +export const FRAX_PROXY_ADMIN = "0x3cf371c128b092b085B7732069cEAF3Fd863F270"; + +// HopV2 +export const REMOTEHOPV2 = "0x0000006D38568b00B457580b734e0076C62de659"; +export const REMOTEADMINV2 = "0xfa803b63DaACCa6CD953061BDBa4E3da6b177447"; diff --git a/scripts/constants/mainnet.js b/scripts/constants/mainnet.js new file mode 100644 index 0000000..be8273d --- /dev/null +++ b/scripts/constants/mainnet.js @@ -0,0 +1,2051 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.CONVEX_STKCVXFRXETHCVX = + exports.CONVEX_STKCVXFRXETHCRV = + exports.CONVEX_STKCVXFRXETHCBETH = + exports.CONVEX_STKCVXFRXETHANKRETH = + exports.CONVEX_STKCVXFRXETHALETH = + exports.CONVEX_STKCVXFRAXUSDP = + exports.CONVEX_STKCVXFRAXSDAI = + exports.CONVEX_STKCVXFRAXPYUSD = + exports.CONVEX_STKCVXFRAXFXB_20261231 = + exports.CONVEX_STKCVXFRAXFXB_20241231 = + exports.CONVEX_STKCVXFRAXFXB_20240630 = + exports.CONVEX_STKCVXFRAXFPI_NG = + exports.CONVEX_STKCVXFRAXBP = + exports.CONVEX_STKCVXFPIFRAX = + exports.CONVEX_STKCVXEUSDFRAXBP = + exports.CONVEX_STKCVXDOLAFRAXPYUSD = + exports.CONVEX_STKCVXDOLAFRAXBP = + exports.CONVEX_STKCVXCVXFXSFRAXBP = + exports.CONVEX_STKCVXCVXFRAXBP = + exports.CONVEX_STKCVXCVXCRVFRAXBP = + exports.CONVEX_STKCVXCVGFRAXBP = + exports.CONVEX_STKCVXCRVUSDFRAX = + exports.CONVEX_STKCVXCOILFRAXBP_DEPRECATED = + exports.CONVEX_STKCVXCOILFRAXBP = + exports.CONVEX_STKCVXCLEVUSDFRAXBP = + exports.CONVEX_STKCVXBUSDFRAXBP = + exports.CONVEX_STKCVXBADGERFRAXBP = + exports.CONVEX_STKCVXAPEUSDFRAXBP = + exports.CONVEX_STKCVXALUSDFRAXBP = + exports.CONVEX_STKCVXALCXFRAXBP = + exports.CONVEX_STKCVXAGEURFRAXBP = + exports.BUNNI_FRXETH_WETH_GAUGE = + exports.BUNNI_FRAX_USDC_GAUGE = + exports.BALANCER_SFRXETH_STETH_RETH_BPT = + exports.BALANCER_FRXETH_PXETH_GAUGE_DEPRECATED = + exports.AURA_FRXETH_PXETH_DEPOSIT = + exports.ANGLE_FRAX_AGEUR_STAKING = + exports.AAVE_AFRAX = + exports.SFRXETH_ERC20 = + exports.FRXETH_ERC20 = + exports.FXS_ERC20 = + exports.FRAX_ERC20 = + exports.SFRAX = + exports.SFRXETH = + exports.FRXETH = + exports.FPIS = + exports.FPI = + exports.FXS = + exports.FRAX = + exports.CHAIN_ID = + void 0; +exports.FRAXSWAP_V2_FRAX_SDL = + exports.FRAXSWAP_V2_FRAX_PITCHFXS = + exports.FRAXSWAP_V2_FRAX_OHM = + exports.FRAXSWAP_V2_FRAX_IQ = + exports.FRAXSWAP_V2_FRAX_FXS = + exports.FRAXSWAP_V2_FRAX_FPIS = + exports.FRAXSWAP_V1_FRAX_SYN = + exports.FRAXSWAP_V1_FRAX_PITCHFXS_V3 = + exports.FRAXSWAP_V1_FRAX_PITCHFXS_V2 = + exports.FRAXSWAP_V1_FRAX_PITCHFXS = + exports.FRAXSWAP_V1_FRAX_IQ_V3 = + exports.FRAXSWAP_V1_FRAX_IQ_V2 = + exports.FRAXSWAP_V1_FRAX_IQ = + exports.FRAXLEND_V1_FRAX_FXS = + exports.FLUX_FINANCE_FFRAX = + exports.DFORCE_FRAX_LENDING_ETHEREUM = + exports.CURVE_FRAX3CRV_F_2 = + exports.CONVEX_STKCVXZUSDFRAXBP = + exports.CONVEX_STKCVXXAIFRAXBP = + exports.CONVEX_STKCVXUZDFRAXBP_DEPRECATED_OLD = + exports.CONVEX_STKCVXUZDFRAXBP_DEPRECATED = + exports.CONVEX_STKCVXUZDFRAXBP = + exports.CONVEX_STKCVXUSDDFRAXBP = + exports.CONVEX_STKCVXTUSDFRAXBP = + exports.CONVEX_STKCVXTRISDT = + exports.CONVEX_STKCVXTRICRYPTOFRAX = + exports.CONVEX_STKCVXSWETHFRXETH = + exports.CONVEX_STKCVXSUSDFRAXBP = + exports.CONVEX_STKCVXSTGFRAXBP = + exports.CONVEX_STKCVXSDTFRAXBP = + exports.CONVEX_STKCVXRSRFRAXBP = + exports.CONVEX_STKCVXPUSDFRAXBP = + exports.CONVEX_STKCVXOHMFRAXBP = + exports.CONVEX_STKCVXMSUSDFRAXBP = + exports.CONVEX_STKCVXMKUSDFRAXBP = + exports.CONVEX_STKCVXMAIFRAXBP = + exports.CONVEX_STKCVXLUSDFRAXBP = + exports.CONVEX_STKCVXGUSDFRAXBP = + exports.CONVEX_STKCVXGRAIFRAXBP = + exports.CONVEX_STKCVXFRXETHZUNETH = + exports.CONVEX_STKCVXFRXETHZETH = + exports.CONVEX_STKCVXFRXETHWETH = + exports.CONVEX_STKCVXFRXETHSTETH = + exports.CONVEX_STKCVXFRXETHSETH = + exports.CONVEX_STKCVXFRXETHRETH_STAFI = + exports.CONVEX_STKCVXFRXETHRETH = + exports.CONVEX_STKCVXFRXETHPXETH = + exports.CONVEX_STKCVXFRXETHPETH = + exports.CONVEX_STKCVXFRXETHMSETH = + exports.CONVEX_STKCVXFRXETHETH = + void 0; +exports.VEFPIS_FPIS_STAKING = + exports.UNISWAP_V3_FRAX_USDC = + exports.UNISWAP_V3_FRAX_DAI = + exports.UNISWAP_V3_FRAX_AGEUR = + exports.UNISWAP_FXS_WETH = + exports.UNISWAP_FRAX_WETH = + exports.UNISWAP_FRAX_USDC = + exports.UNISWAP_FRAX_OHM = + exports.UNISWAP_FRAX_IQ = + exports.UNISWAP_FRAX_FXS = + exports.UNISWAP_FEI_TRIBE = + exports.TOKEMAK_FXS_STAKING = + exports.TOKEMAK_FRAX_STAKING = + exports.TEMPLE_FRAX_TEMPLE = + exports.SUSHI_FRAX_SUSHI = + exports.STARGATE_BRIDGE_LIQUIDITY_FRAX_ETHEREUM = + exports.STAKEDAO_SFRXETH_STETH_RETH_BPT = + exports.STAKEDAO_SDFXS_FXS = + exports.STAKEDAO_SDFXS = + exports.STAKEDAO_SDFRAX3CRV_F = + exports.STAKEDAO_SDETH_FRAXPUT = + exports.STAKEDAO_SANFRAX = + exports.STAKEDAO_FRXETHCRV = + exports.STAKEDAO_FRAX_USDC = + exports.STAKEDAO_FRAX3CRV = + exports.STAKEDAO_CVXFXS_FXS = + exports.SOMMELIER_FRAXIMAL = + exports.SOLIDLY_VAMM_FXS_FRXETH = + exports.SOLIDLY_VAMM_FRAX_FRXETH = + exports.SOLIDLY_SAMM_FRXETH_WETH = + exports.SOLIDLY_SAMM_FRAX_USDT = + exports.SOLIDLY_SAMM_FRAX_USDC = + exports.SADDLE_ALUSD_FEI_FRAX_LUSD = + exports.PICKLE_FINANCE_UNIV3_FRAX_USDC = + exports.PICKLE_FINANCE_UNIV3_FRAX_DAI = + exports.PICKLE_FINANCE_SADDLE_D4 = + exports.PICKLE_FINANCE_PVEFXS_BRINERY = + exports.PICKLE_FINANCE_CURVE_CVXFXS_FXS = + exports.MONOLITH_MO_VAMM_FXS_FRXETH = + exports.MONOLITH_MO_SAMM_FRXETH_WETH = + exports.MONOLITH_MO_SAMM_FRAX_USDT = + exports.KYBERSWAP_ELASTIC_FRXETH_FRAX = + exports.KYBERSWAP_ELASTIC_FRXETH_ETH_DEPRECATED = + exports.KYBERSWAP_ELASTIC_FRXETH_ETH = + exports.KYBERSWAP_ELASTIC_FRAX_USDC_DEPRECATED = + exports.KYBERSWAP_ELASTIC_FRAX_USDC = + exports.GELATO_UNISWAP_FRAX_DAI = + exports.GEARBOX_DFRAX = + exports.FRAXSWAP_V2_FRAX_ZZ = + exports.FRAXSWAP_V2_FRAX_SYN = + void 0; +exports.FRAXFERRY_V2__ETHEREUM_FANTOM__FRXETH__ETH_SIDE = + exports.FRAXFERRY_V2__ETHEREUM_FANTOM__FXS__ETH_SIDE = + exports.FRAXFERRY_V1__ETHEREUM_FANTOM__FRAX__ETH_SIDE = + exports.FRAXFERRY_V1__ETHEREUM_EVMOS__FRAX__ETH_SIDE = + exports.FRAXFERRY_V2__ETHEREUM_BSC__SFRAX__ETH_SIDE = + exports.FRAXFERRY_V2__ETHEREUM_BSC__SFRXETH__ETH_SIDE = + exports.FRAXFERRY_V2__ETHEREUM_BSC__FRXETH__ETH_SIDE = + exports.FRAXFERRY_V2__ETHEREUM_BSC__FPIS__ETH_SIDE = + exports.FRAXFERRY_V2__ETHEREUM_BSC__FPI__ETH_SIDE = + exports.FRAXFERRY_V2__ETHEREUM_BSC__FXS__ETH_SIDE = + exports.FRAXFERRY_V1__ETHEREUM_BSC__FRAX__ETH_SIDE = + exports.FRAXFERRY_V1__ETHEREUM_BOBA__FRAX__ETH_SIDE = + exports.FRAXFERRY_V2__ETHEREUM_AVALANCHE__SFRAX__ETH_SIDE = + exports.FRAXFERRY_V2__ETHEREUM_AVALANCHE__SFRXETH__ETH_SIDE = + exports.FRAXFERRY_V2__ETHEREUM_AVALANCHE__FRXETH__ETH_SIDE = + exports.FRAXFERRY_V2__ETHEREUM_AVALANCHE__FPIS__ETH_SIDE = + exports.FRAXFERRY_V2__ETHEREUM_AVALANCHE__FPI__ETH_SIDE = + exports.FRAXFERRY_V2__ETHEREUM_AVALANCHE__FXS__ETH_SIDE = + exports.FRAXFERRY_V1__ETHEREUM_AVALANCHE__FRAX__ETH_SIDE = + exports.FRAXFERRY_V1__ETHEREUM_AURORA__FRAX__ETH_SIDE = + exports.FRAXFERRY_V2__ETHEREUM_ARBITRUM__SFRAX__ETH_SIDE = + exports.FRAXFERRY_V2__ETHEREUM_ARBITRUM__SFRXETH__ETH_SIDE = + exports.FRAXFERRY_V2__ETHEREUM_ARBITRUM__FRXETH__ETH_SIDE = + exports.FRAXFERRY_V2__ETHEREUM_ARBITRUM__FPIS__ETH_SIDE = + exports.FRAXFERRY_V2__ETHEREUM_ARBITRUM__FPI__ETH_SIDE = + exports.FRAXFERRY_V2__ETHEREUM_ARBITRUM__FXS__ETH_SIDE = + exports.FRAXFERRY_V1__ETHEREUM_ARBITRUM__FRAX__ETH_SIDE = + exports.CURVE_20261231_ARBITRUM_GAUGE = + exports.CURVE_20261231_ARBITRUM_POOL = + exports.CURVE_20261231_MAINNET_POOL = + exports.FXB_20261231_ORACLE = + exports.AUCTION_20261231 = + exports.FXB_20261231 = + exports.CURVE_20241231_ARBITRUM_GAUGE = + exports.CURVE_20241231_ARBITRUM_POOL = + exports.CURVE_20241231_MAINNET_POOL = + exports.FXB_20241231_ORACLE = + exports.AUCTION_20241231 = + exports.FXB_20241231 = + exports.CURVE_20240630_MAINNET_POOL = + exports.ORACLE_20240630 = + exports.AUCTION_20240630 = + exports.FXB_20240630 = + exports.FXB_AMO_TIMELOCK = + exports.FXB_AMO = + exports.FXB_FACTORY = + exports.SLIPPAGE_AUCTION_FACTORY = + exports.YEARN_CRVFRAX_VAULT_V3 = + exports.VESPER_ORBIT_FRAX = + exports.VEFXS_FXS_STAKING = + void 0; +exports.APE_USD_CHAINLINK_ORACLE = + exports.APE_ERC20 = + exports.APECOIN_DUAL_ORACLE_ADDRESS = + exports.AAVE_USD_CHAINLINK_ORACLE = + exports.AAVE_TOKEN_DUAL_ORACLE_ADDRESS = + exports.AAVE_ERC20 = + exports.FRAX_POOL_V3 = + exports.FRAX_POOL_USDT = + exports.FRAX_POOL_USDC_V2 = + exports.FRAX_POOL_USDC = + exports.FRAXFERRY_CREWMEMBER = + exports.FRAXFERRY_FIRST_OFFICER = + exports.FRAXFERRY_CAPTAIN = + exports.FRAXFERRY_V2__ETHEREUM_ZKSYNC__SFRXETH__ETH_SIDE = + exports.FRAXFERRY_V2__ETHEREUM_ZKSYNC__FRXETH__ETH_SIDE = + exports.FRAXFERRY_V2__ETHEREUM_ZKSYNC__FPIS__ETH_SIDE = + exports.FRAXFERRY_V2__ETHEREUM_ZKSYNC__FPI__ETH_SIDE = + exports.FRAXFERRY_V2__ETHEREUM_ZKSYNC__FXS__ETH_SIDE = + exports.FRAXFERRY_V2__ETHEREUM_ZKSYNC__FRAX__ETH_SIDE = + exports.FRAXFERRY_V2__ETHEREUM_POLYGON_ZKEVM__SFRAX__ETH_SIDE = + exports.FRAXFERRY_V2__ETHEREUM_POLYGON_ZKEVM__SFRXETH__ETH_SIDE = + exports.FRAXFERRY_V2__ETHEREUM_POLYGON_ZKEVM__FRXETH__ETH_SIDE = + exports.FRAXFERRY_V2__ETHEREUM_POLYGON_ZKEVM__FPIS__ETH_SIDE = + exports.FRAXFERRY_V2__ETHEREUM_POLYGON_ZKEVM__FPI__ETH_SIDE = + exports.FRAXFERRY_V2__ETHEREUM_POLYGON_ZKEVM__FXS__ETH_SIDE = + exports.FRAXFERRY_V2__ETHEREUM_POLYGON_ZKEVM__FRAX__ETH_SIDE = + exports.FRAXFERRY_V2__ETHEREUM_POLYGON__SFRXETH__ETH_SIDE = + exports.FRAXFERRY_V2__ETHEREUM_POLYGON__FRXETH__ETH_SIDE = + exports.FRAXFERRY_V2__ETHEREUM_POLYGON__FXS__ETH_SIDE = + exports.FRAXFERRY_V1__ETHEREUM_POLYGON__FRAX__ETH_SIDE = + exports.FRAXFERRY_V2__ETHEREUM_OPTIMISM__SFRAX__ETH_SIDE = + exports.FRAXFERRY_V2__ETHEREUM_OPTIMISM__SFRXETH__ETH_SIDE = + exports.FRAXFERRY_V2__ETHEREUM_OPTIMISM__FRXETH__ETH_SIDE = + exports.FRAXFERRY_V2__ETHEREUM_OPTIMISM__FPIS__ETH_SIDE = + exports.FRAXFERRY_V2__ETHEREUM_OPTIMISM__FPI__ETH_SIDE = + exports.FRAXFERRY_V2__ETHEREUM_OPTIMISM__FXS__ETH_SIDE = + exports.FRAXFERRY_V1__ETHEREUM_OPTIMISM__FRAX__ETH_SIDE = + exports.FRAXFERRY_V2__ETHEREUM_MOONRIVER__FXS__ETH_SIDE = + exports.FRAXFERRY_V1__ETHEREUM_MOONRIVER__FRAX__ETH_SIDE = + exports.FRAXFERRY_V2__ETHEREUM_MOONBEAM__SFRXETH__ETH_SIDE = + exports.FRAXFERRY_V2__ETHEREUM_MOONBEAM__FRXETH__ETH_SIDE = + exports.FRAXFERRY_V2__ETHEREUM_MOONBEAM__FXS__ETH_SIDE = + exports.FRAXFERRY_V1__ETHEREUM_MOONBEAM__FRAX__ETH_SIDE = + exports.FRAXFERRY_V2__ETHEREUM_FRAXTAL__SFRAX__ETH_SIDE = + exports.FRAXFERRY_V2__ETHEREUM_FRAXTAL__SFRXETH__ETH_SIDE = + exports.FRAXFERRY_V2__ETHEREUM_FRAXTAL__FPIS__ETH_SIDE = + exports.FRAXFERRY_V2__ETHEREUM_FRAXTAL__FPI__ETH_SIDE = + exports.FRAXFERRY_V2__ETHEREUM_FRAXTAL__FXS__ETH_SIDE = + exports.FRAXFERRY_V2__ETHEREUM_FRAXTAL__FRAX__ETH_SIDE = + exports.FRAXFERRY_V2__ETHEREUM_FANTOM__SFRXETH__ETH_SIDE = + void 0; +exports.FRXETH_ETH_CURVE_POOL_LP_DUAL_ORACLE_ADDRESS = + exports.FRAX_USD_CHAINLINK_ORACLE = + exports.FRAX_USDC_PLAIN_POOL = + exports.FRAX_USDC_CURVE_POOL_NOT_LP = + exports.FRAX_USDC_CURVE_POOL_LP_ERC20 = + exports.FRAX_USDC_CURVE_LP_DUAL_ORACLE_ADDRESS = + exports.FRAX_HOT_WALLET = + exports.FRAXSWAP_ROUTER_ADDRESS = + exports.FRAXLEND_WHITELIST_ADDRESS = + exports.FRAXLEND_PAIR_REGISTRY_ADDRESS = + exports.FRAXLEND_PAIR_HELPER = + exports.FRAXLEND_PAIR_DEPLOYER_V4_ADDRESS = + exports.FRAXLEND_PAIR_DEPLOYER_V41_ADDRESS = + exports.FRAXLEND_PAIR_DEPLOYER_V3_ADDRESS = + exports.FRAXLEND_PAIR_DEPLOYER_CONVEX_ADDRESS = + exports.FRAXLEND_PAIR_DEPLOYER_ADDRESS = + exports.FRAXLEND_PAIRHELPER = + exports.FRAXLEND_PAIRDEPLOYER = + exports.FRAXLEND_DEPLOYER_ADDRESS_V0 = + exports.FRAXBP_CURVE_LP_DUAL_ORACLE = + exports.FPI_ORACLE_V2 = + exports.FPI_ORACLE = + exports.FPI_ERC20 = + exports.FPI_CONTROLLER_POOL_ADDRESS = + exports.FPIS_ERC20 = + exports.FIL_USD_CHAINLINK_ORACLE = + exports.FIL_ETH_CHAINLINK_ORACLE = + exports.FIL_ERC20 = + exports.EZETH_ERC20 = + exports.EZETH_DUAL_ORACLE = + exports.EZETHETH_DUAL_ORACLE = + exports.ETH_USD_CHAINLINK_ORACLE = + exports.CVX_USD_CHAINLINK_ORACLE = + exports.CVX_ERC20 = + exports.CRV_USD_CHAINLINK_ORACLE = + exports.CRV_ERC20 = + exports.CPI_TRACKER_ORACLE_V2 = + exports.CPI_TRACKER_ORACLE = + exports.CONVEX_WRAPPER_FRXETH_ETH_FRAXLEND_LP_OLD = + exports.CONVEX_WRAPPER_FRAX_USDC_FRAXLEND_LP_OLD = + exports.CONVEX_WRAPPER_FRXETH_ETH_CURVE_POOL_LP = + exports.CONVEX_WRAPPER_FRAX_USDC_CURVE_POOL_LP = + exports.FRAXLEND_COMPTROLLER_ADDRESS = + exports.COMBO_ORACLE_UNIV2_UNIV3 = + exports.COMBO_ORACLE_KYBERSWAP_ELASTIC_V2 = + exports.COMBO_ORACLE_KYBERSWAP_ELASTIC = + exports.COMBO_ORACLE = + exports.CIRCUIT_BREAKER_ADDRESS = + exports.CHAIN_LINK_TOKEN_DUAL_ORACLE = + exports.BTC_USD_CHAINLINK_ORACLE = + void 0; +exports.USDE_ERC20 = + exports.USDE_CURVE_PAIR = + exports.USDC_USD_CHAINLINK_ORACLE = + exports.USDC_ERC20 = + exports.UNI_USD_CHAINLINK_ORACLE = + exports.UNI_ERC20 = + exports.UNIV2_ROUTER = + exports.UNISWAP_DUAL_ORACLE_ADDRESS = + exports.SUSDE_ORACLE = + exports.SUSDE_ERC20 = + exports.SFRXETH_USD_ORACLE_V2 = + exports.SFRXETH_USDC_ORACLE_V2_ADAPTER = + exports.SFRXETH_SFRAX_INVERSE_ORACLE_ADAPTER = + exports.SFRXETH_ORACLE_V2 = + exports.SFRXETH_ORACLE = + exports.SFRXETH_FRAX_ORACLE_ADDRESS = + exports.SFRXETH_ETH_DUAL_ORACLE_ADDRESS = + exports.SFRXETH_DUAL_ORACLE_ADDRESS = + exports.SFRAX_ERC20 = + exports.RSETH_ERC20 = + exports.RSETHETH_DUAL_ORACLE = + exports.RETH_ERC20 = + exports.RETH_DUAL_ORACLE = + exports.OHMV2_ETH_CHAINLINK_ORACLE = + exports.MKR_USD_CHAINLINK_ORACLE = + exports.MKR_ETH_CHAINLINK_ORACLE = + exports.MKR_ERC20 = + exports.MAKER_DUAL_ORACLE_ADDRESS = + exports.LINK_USD_CHAINLINK_ORACLE = + exports.LINK_ERC20 = + exports.LINEAR_RATE_ADDRESS = + exports.LINEAR_INTEREST_RATE = + exports.LDO_ETH_CURVE_V2_POOL = + exports.LDO_ETH_CHAINLINK_ORACLE = + exports.LDO_ERC20 = + exports.LDO_DUAL_ORACLE = + exports.GOHM_ORACLE = + exports.GOHM_ERC20 = + exports.FXS_USD_CHAINLINK_ORACLE = + exports.FXB_VARIABLE_RATE_2 = + exports.FXB_20261231_ORACLE_ADAPTER = + exports.FXB_20261231_ERC20 = + exports.FXB_20241231_ORACLE_ADAPTER = + exports.FXB_20241231_ERC20 = + exports.FXB_20240630_ORACLE = + exports.FXB_20240630_ERC20 = + exports.FRXETH_FRAX_ORACLE_ADDRESS = + exports.FRXETH_ETH_DUAL_ORACLE_ADDRESS = + exports.FRXETH_ETH_CURVE_POOL_NOT_LP = + exports.FRXETH_ETH_CURVE_POOL_LP_ERC20 = + void 0; +exports.FRAXSWAP_PAIR_FS_V2_FRAX_FPI = + exports.FRAXSWAP_PAIR_FRAX_FPI = + exports.FRAXSWAP_ROUTER_MULTI_HOP = + exports.FRAXSWAP_ROUTER_V2 = + exports.FRAXSWAP_ROUTER_V1 = + exports.FRAXSWAP_FACTORY_V2 = + exports.FRAXSWAP_FACTORY_V1 = + exports.FRAXLEND_WRAPPER_FACTORY = + exports.FRAXLEND_PAIR_RSETH_FRXETH = + exports.FRAXLEND_PAIR_EZETH_FRXETH = + exports.FRAXLEND_PAIR_SFRAX_SFRXETH = + exports.FRAXLEND_PAIR_SFRAX_WBTC = + exports.FRAXLEND_PAIR_SUSDE_FRAX = + exports.FRAXLEND_PAIR_RETH_FRAX = + exports.FRAXLEND_PAIR_LDO_FRAX = + exports.FRAXLEND_PAIR_WSTETH_FRAX = + exports.FRAXLEND_PAIR_LINK_FRAX = + exports.FRAXLEND_PAIR_SFRXETH_USDC = + exports.FRAXLEND_PAIR_FXB_20261231_FRAX = + exports.FRAXLEND_PAIR_FXB_20241231_FRAX = + exports.FRAXLEND_PAIR_FXB_20240630_FRAX = + exports.FRAXLEND_PAIR_AAVE_FRAX = + exports.FRAXLEND_PAIR_UNI_FRAX = + exports.FRAXLEND_PAIR_MKR_FRAX = + exports.FRAXLEND_PAIR_GOHM_FRAX = + exports.FRAXLEND_PAIR_CRV_FRAX = + exports.FRAXLEND_PAIR_CVX_FRAX = + exports.FRAXLEND_PAIR_APE_FRAX = + exports.FRAXLEND_PAIR_FPI_FRAX = + exports.FRAXLEND_PAIR_FXS_FRAX = + exports.FRAXLEND_PAIR_CRVETHFRXETH_FRAX = + exports.FRAXLEND_PAIR_SFRXETH_FRAX = + exports.FRAXLEND_PAIR_WBTC_FRAX = + exports.FRAXLEND_PAIR_WETH_FRAX = + exports.WSTETH_USD_DUAL_ORACLE_ADDRESS = + exports.WSTETH_ERC20 = + exports.WETH_USDC_V3_POOL = + exports.WETH_SFRAX_INVERSE_ORACLE_ADAPTER_CHAINLINK = + exports.WETH_FRAX_V3_POOL = + exports.WETH_ERC20 = + exports.WBTC_SFRAX_INVERSE_ORACLE_ADAPTER_CHAINLINK = + exports.WBTC_SFRAX_INVERSE_DUAL_ORACLE = + exports.WBTC_ERC20 = + exports.VARIABLE_RATE_STABLE_ADDRESS = + exports.VARIABLE_RATE_ADDRESS_OLD = + exports.VARIABLE_RATE_ADDRESS = + exports.VARIABLE_RATE_50BP_ADDRESS = + exports.VARIABLE_RATE_2_ADDRESS_50 = + exports.VARIABLE_RATE_2_ADDRESS = + exports.USDE_ORACLE = + void 0; +exports.PORTAL_GUARDIAN = + exports.P2P_SEQUENCER_ADDRESS = + exports.OPTIMISM_PORTAL__IMPL_V1_ADDR = + exports.OPTIMISM_PORTAL_PROXY = + exports.OPTIMISM_PORTAL_IMPL_V2_ADDR = + exports.OPTIMISM_MINTABLE_ERC20_FACTORY_PROXY = + exports.L2_OUTPUT_ORACLE__IMPL_V1 = + exports.L2_OUTPUT_ORACLE_PROXY = + exports.L2_OUTPUT_ORACLE_PROPOSER = + exports.L2_OUTPUT_ORACLE_IMPL_V2 = + exports.L2_OUTPUT_ORACLE_CHALLENGER = + exports.L1_STANDARD_BRIDGE__IMPL_V1_ADDR = + exports.L1_STANDARD_BRIDGE_PROXY = + exports.L1_STANDARD_BRIDGE_IMPL_V2_ADDR = + exports.L1_ERC721_BRIDGE__IMPL_V1 = + exports.L1_ERC721_BRIDGE_PROXY = + exports.L1_ERC721_BRIDGE_IMPL_V2 = + exports.L1_CROSS_DOMAIN_MESSENGER__IMPL_V1 = + exports.L1_CROSS_DOMAIN_MESSENGER_PROXY = + exports.L1_CROSS_DOMAIN_MESSENGER_IMPL_V2 = + exports.FRAXTAL_DEPLOYER = + exports.FRAXTAL_COMPTROLLER = + exports.FINAL_SYSTEM_OWNER = + exports.DISPUTE_GAME_FACTORY_PROXY = + exports.BATCH_SENDER = + exports.BATCH_INBOX = + exports.BASE_FEE_VAULT_RECIPIENT = + exports.ADDRESS_MANAGER = + exports.FRAXSWAP_PAIR_FRAX_ZZ_V2 = + exports.FRAXSWAP_PAIR_FRAX_SYN_V2 = + exports.FRAXSWAP_PAIR_FRAX_SDL_V2 = + exports.FRAXSWAP_PAIR_FRAX_OHM_V2 = + exports.FRAXSWAP_PAIR_FRAX_OHM = + exports.FRAXSWAP_PAIR_FRAX_IQ_V2 = + exports.FRAXSWAP_PAIR_FRAX_IQ = + exports.FRAXSWAP_PAIR_FRAX_PITCHFXS_V2 = + exports.FRAXSWAP_PAIR_FRAX_PITCHFXS = + exports.FRAXSWAP_PAIR_FS_V2_FRAX_WETH = + exports.FRAXSWAP_PAIR_FRAX_WETH = + exports.FRAXSWAP_PAIR_FS_V2_FXS_FRXETH = + exports.FRAXSWAP_PAIR_FS_V2_FXS_FPIS = + exports.FRAXSWAP_PAIR_FXS_FPIS = + exports.FRAXSWAP_PAIR_FS_V2_FPI_FXS = + exports.FRAXSWAP_PAIR_FPI_FXS = + exports.FRAXSWAP_PAIR_FS_V2_FPI_FPIS = + exports.FRAXSWAP_PAIR_FPI_FPIS = + exports.FRAXSWAP_PAIR_FS_V2_FRAX_FPIS = + exports.FRAXSWAP_PAIR_FRAX_FPIS = + exports.FRAXSWAP_PAIR_FS_V2_FRAX_FXS = + exports.FRAXSWAP_PAIR_FRAX_FXS = + void 0; +exports.CURVE_METAPOOL_LOCKER = + exports.CURVE_AMO_ADMIN = + exports.CURVE_AMO_V5 = + exports.CURVE_AMO_V2 = + exports.CURVE_AMO_V1 = + exports.CURVE_AMO_IMPL_V1 = + exports.CURVE_AMO = + exports.CRVFRAX_VAULT = + exports.CONVEX_AMO_ADMIN = + exports.CONVEX_AMO = + exports.BUNDLE_UTILS = + exports.BALANCE_CHECKER = + exports.AMO_MINTER_OLD = + exports.AMO_MINTER = + exports.AAVE_AMO = + exports.SPIRITSWAP_FRAX_FXS = + exports.SNOWBALL_S4D = + exports.SENTIMENT_LFRAX = + exports.SADDLE_L2D4_ARBITRUM = + exports.MSTABLE_FRAX_MUSD = + exports.KYBERSWAP_ELASTIC_FRAX_USDC_POLYGON = + exports.KYBERSWAP_ELASTIC_FRAX_USDC_OPTIMISM = + exports.KYBERSWAP_ELASTIC_FRAX_USDC_ARBITRUM = + exports.FRAXSWAP_V2_FRAX_WFRXETH_FRAXTAL = + exports.FRAXSWAP_V2_FRAX_SFRXETH_FRAXTAL = + exports.FRAXSWAP_V2_FRAX_FXS_FRAXTAL = + exports.FRAXSWAP_V2_FRAX_FPI_FRAXTAL = + exports.FLE_FRAX_FXS_FRAXTAL = + exports.FLE_FXS_WFRXETH_FRAXTAL = + exports.CURVE_VSTFRAX_F = + exports.CONVEX_USD_FRAXBP = + exports.CONVEX_SQUID_WFRXETH_FRAXTAL = + exports.CONVEX_HFXB_FRAX_ARBITRUM = + exports.CONVEX_FRXETH_WETH_ARBITRUM = + exports.CONVEX_FRAX_FXB_20261231_ARBITRUM = + exports.CONVEX_FRAX_FXB_20241231_ARBITRUM = + exports.CONVEX_FRAXBP_ARBITRUM = + exports.BALANCER_FRXETH_BB_A_WETH_GAUGE = + exports.SYSTEM_OWNER_SAFE = + exports.SYSTEM_CONFIG__IMPL_V1_ADDR = + exports.SYSTEM_CONFIG_PROXY = + exports.SYSTEM_CONFIG_IMPL_V2_ADDR = + exports.SUPERCHAIN_CONFIG_PROXY = + exports.SUPERCHAIN_CONFIG_IMPL_V2 = + exports.SUPERCHAIN_CONFIG_GUARDIAN = + exports.STORAGE_SETTER = + exports.PROXY_ADMIN_OWNER = + exports.PROXY_ADMIN = + exports.PROTOCOL_VERSIONS_PROXY = + exports.PROTOCOL_VERSIONS_IMPL_V2 = + void 0; +exports.UNIV3_LIQUIDITY_AMO_V2 = + exports.UNIV3_LIQUIDITY_AMO = + exports.UNIV2_TO_UNIV3_MIGRATOR_ADDRESS = + exports.TWAMM_AMO_V2 = + exports.TWAMM_AMO = + exports.TOKEN_TRACKER_V2 = + exports.TOKEN_TRACKER_AMO = + exports.TOKEMAK_AMO = + exports.TIMELOCK = + exports.STAKING_UTILITIES = + exports.STAKEDAO_AMO = + exports.RAGEQUITTER_TEMPLE = + exports.RARI_AMO = + exports.OHM_AMO_ADMIN = + exports.OHM_AMO = + exports.MULTISIG = + exports.MULTICALL_OZ_DELEGATECALL = + exports.MSIG_HELPER = + exports.MINT_UTILITIES = + exports.MIM_CONVEX_AMO = + exports.MIGRATION_HELPER = + exports.MIGRATION_BUNDLE_UTILS = + exports.MANUAL_TOKEN_TRACKER_AMO = + exports.LENDING_AMO = + exports.INVESTOR_AMO_IMPL_V1 = + exports.INVESTOR_AMO_ADMIN = + exports.INVESTOR_AMO_V1 = + exports.INVESTOR_AMO = + exports.FXS_1559_AMO_V3 = + exports.FXS_1559_AMO_V2_IMPL_V1 = + exports.FXS_1559_AMO_V2_ADMIN = + exports.FXS_1559_AMO_V2 = + exports.FXS_1559_AMO = + exports.FRXETH_MINTER = + exports.FRAXLEND_AMO_V3 = + exports.FRAXLEND_AMO = + exports.FRAX_GAUGE_V2 = + exports.FRAX_GAUGE_NOOP_REWARDS_DISTRIBUTOR = + exports.FRAX_GAUGE_REWARDS_DISTRIBUTOR = + exports.FRAX_GAUGE_CONTROLLER_V2 = + exports.FRAX_GAUGE_CONTROLLER = + exports.FRAX3CRV_CURVE_REWARDS_DISTRIBUTOR_EOA = + exports.FRAX3CRV_CURVE_FXS_DISTRIBUTOR = + exports.FPI_CONTROLLER_AMO = + exports.ETH_ADDRESS = + exports.DEPOSIT_CONTRACT_ADDRESS = + exports.CVX_LOCKER_AMO_V2 = + exports.CVX_LOCKER_AMO = + exports.CURVE_VOTER_PROXY = + exports.CURVE_METAPOOL_LOCKER_2 = + void 0; +exports.CBETHFRXETH = + exports.CAAVE = + exports.BUSDFRAXBP_POOL = + exports.BUSDFRAXBP = + exports.BADGERFRAXBP_POOL = + exports.BADGERFRAXBP = + exports.AUSDC = + exports.APEUSDFRAXBP_POOL = + exports.APEUSDFRAXBP = + exports.ANKRETHFRXETH_POOL = + exports.ANKRETHFRXETH = + exports.ALUSDFRAXBP_POOL = + exports.ALUSDFRAXBP = + exports.ALETHFRXETH_POOL = + exports.ALETHFRXETH = + exports.ALCXFRAXBP_POOL = + exports.ALCXFRAXBP = + exports.AGEURFRAXBP_POOL = + exports.AGEURFRAXBP = + exports.AFRAX = + exports.WALLET_WITH_WETH = + exports.WALLET_WITH_USDC = + exports.WALLET_WITH_CRVFRAX = + exports.TREASURY_MULTISIG = + exports.TIMELOCK_ADDRESS = + exports.TEAM_MULTISIG = + exports.INVESTORS_MULTISIG = + exports.FXB_MULTISIG = + exports.FRXETH_OWNER = + exports.FRXETH_COMPTROLLER = + exports.FRAXLEND_CIRCUIT_BREAKER_MULTISIG = + exports.FRAXLEND_OPERATOR_MULTISIG = + exports.FRAXLEND_MAIN_MULTISIG = + exports.FPI_TREASURY_MULTISIG = + exports.FPI_CORE_CONTRIBUTORS_TEAM_MULTISIG = + exports.FPI_COMPTROLLER_MULTISIG = + exports.CURVEAMO_OPERATOR_ADDRESS = + exports.COMPTROLLER_MULTISIG = + exports.COMPTROLLER = + exports.COMMUNITY_MULTISIG = + exports.BEE_USER = + exports.ADVISORS_MULTISIG = + exports.YIELDSPACE_AMO = + exports.VEFPIS_SMART_WALLET_CHECKER = + exports.VEFPIS_YIELD_DISTRIBUTOR_V4 = + exports.VEFXS_YIELD_DISTRIBUTOR_V4 = + exports.VEFXS_YIELD_DISTRIBUTOR_V3 = + exports.VEFXS_YIELD_DISTRIBUTOR_V2 = + exports.VEFXS_YIELD_DISTRIBUTOR = + exports.VEFXS_SMART_WALLET_CHECKER = + void 0; +exports.CVXDOLAFRAXBP_REWARDER = + exports.CVXDOLAFRAXBP = + exports.CVXCVXFXSFRAXBP_REWARDER = + exports.CVXCVXFXSFRAXBP = + exports.CVXCVXFRAXBP_REWARDER = + exports.CVXCVXFRAXBP = + exports.CVXCVXCRVFRAXBP_REWARDER = + exports.CVXCVXCRVFRAXBP = + exports.CVXCVGFRAXBP_REWARDER = + exports.CVXCVGFRAXBP = + exports.CVXCRV_REWARDER = + exports.CVXCRVUSDFRAX_REWARDER = + exports.CVXCRVUSDFRAX = + exports.CVXCRVFRAX_REWARDER = + exports.CVXCRVFRAXBP_POOL = + exports.CVXCRVFRAXBP = + exports.CVXCRVFRAX = + exports.CVXCOILFRAXBP_REWARDER = + exports.CVXCOILFRAXBP = + exports.CVXCLEVUSDFRAXBP_REWARDER = + exports.CVXCLEVUSDFRAXBP = + exports.CVXBUSDFRAXBP_REWARDER = + exports.CVXBUSDFRAXBP = + exports.CVXBADGERFRAXBP_REWARDER = + exports.CVXBADGERFRAXBP = + exports.CVXAPEUSDFRAXBP_REWARDER = + exports.CVXAPEUSDFRAXBP = + exports.CVXALUSDFRAXBP_REWARDER = + exports.CVXALUSDFRAXBP = + exports.CVXALCXFRAXBP_REWARDER = + exports.CVXALCXFRAXBP = + exports.CVXAGEURFRAXBP_REWARDER = + exports.CVXAGEURFRAXBP = + exports.CVGFRAXBP_POOL = + exports.CVGFRAXBP_GAUGE = + exports.CVGFRAXBP = + exports.CUSDC = + exports.CURVE4POOL = + exports.CRVUSDFRAX_POOL = + exports.CRVUSDFRAX_GAUGE = + exports.CRVUSDFRAX = + exports.CRVFRXETH_POOL = + exports.CRVFRXETH = + exports.CRVFRAX_GAUGE = + exports.CRVFRAX = + exports.COILFRAXBP_POOL = + exports.COILFRAXBP = + exports.CLEVUSDFRAXBP_POOL = + exports.CLEVUSDFRAXBP = + exports.CBETHFRXETH_POOL = + void 0; +exports.CVXFRXETHWETH_REWARDER = + exports.CVXFRXETHWETH = + exports.CVXFRXETHSTETH_REWARDER = + exports.CVXFRXETHSTETH = + exports.CVXFRXETHSETH_REWARDER = + exports.CVXFRXETHSETH = + exports.CVXFRXETHRETH_STAFI_REWARDER = + exports.CVXFRXETHRETH_STAFI = + exports.CVXFRXETHRETH_REWARDER = + exports.CVXFRXETHRETH = + exports.CVXFRXETHPXETH_REWARDER = + exports.CVXFRXETHPXETH = + exports.CVXFRXETHPETH_REWARDER = + exports.CVXFRXETHPETH = + exports.CVXFRXETHMSETH_REWARDER = + exports.CVXFRXETHMSETH = + exports.CVXFRXETHETH_REWARDER = + exports.CVXFRXETHETH = + exports.CVXFRXETHCVX_REWARDER = + exports.CVXFRXETHCVX = + exports.CVXFRXETHCRV_REWARDER = + exports.CVXFRXETHCRV = + exports.CVXFRXETHCBETH_REWARDER = + exports.CVXFRXETHCBETH = + exports.CVXFRXETHANKRETH_REWARDER = + exports.CVXFRXETHANKRETH = + exports.CVXFRXETHALETH_REWARDER = + exports.CVXFRXETHALETH = + exports.CVXFRXETH = + exports.CVXFRAXUSDP_REWARDER = + exports.CVXFRAXUSDP = + exports.CVXFRAXSDAI_REWARDER = + exports.CVXFRAXSDAI = + exports.CVXFRAXPYUSD_REWARDER = + exports.CVXFRAXPYUSD = + exports.CVXFRAXFXB_20261231_REWARDER = + exports.CVXFRAXFXB_20261231 = + exports.CVXFRAXFXB_20241231_REWARDER = + exports.CVXFRAXFXB_20241231 = + exports.CVXFRAXFXB_20240630_REWARDER = + exports.CVXFRAXFXB_20240630 = + exports.CVXFRAXFPI_NG_REWARDER = + exports.CVXFRAXFPI_NG = + exports.CVXFRAXBP_POOL = + exports.CVXFRAXBP = + exports.CVXFPIFRAX_F = + exports.CVXEUSDFRAXBP_REWARDER = + exports.CVXEUSDFRAXBP = + exports.CVXDOLAFRAXPYUSD_REWARDER = + exports.CVXDOLAFRAXPYUSD = + void 0; +exports.DOLAFRAXBP = + exports.D3POOL = + exports.CVXZUSDFRAXBP_REWARDER = + exports.CVXZUSDFRAXBP = + exports.CVXXAIFRAXBP_REWARDER = + exports.CVXXAIFRAXBP = + exports.CVXUZDFRAXBP_REWARDER = + exports.CVXUZDFRAXBP = + exports.CVXUSDDFRAXBP_REWARDER = + exports.CVXUSDDFRAXBP = + exports.CVXTUSDFRAXBP_REWARDER = + exports.CVXTUSDFRAXBP = + exports.CVXTRISDT_REWARDER = + exports.CVXTRISDT = + exports.CVXTRICRYPTOFRAX_REWARDER = + exports.CVXTRICRYPTOFRAX = + exports.CVXSWETHFRXETH_REWARDER = + exports.CVXSWETHFRXETH = + exports.CVXSUSDFRAXBP_REWARDER = + exports.CVXSUSDFRAXBP = + exports.CVXSTGFRAXBP_REWARDER = + exports.CVXSTGFRAXBP = + exports.CVXSDTFRAXBP_REWARDER = + exports.CVXSDTFRAXBP = + exports.CVXRSRFRAXBP_REWARDER = + exports.CVXRSRFRAXBP = + exports.CVXPUSDFRAXBP_REWARDER = + exports.CVXPUSDFRAXBP = + exports.CVXOHMFRAXBP_REWARDER = + exports.CVXOHMFRAXBP = + exports.CVXMSUSDFRAXBP_REWARDER = + exports.CVXMSUSDFRAXBP = + exports.CVXMKUSDFRAXBP_REWARDER = + exports.CVXMKUSDFRAXBP = + exports.CVXMAIFRAXBP_REWARDER = + exports.CVXMAIFRAXBP = + exports.CVXLUSDFRAXBP_REWARDER = + exports.CVXLUSDFRAXBP = + exports.CVXGUSDFRAXBP_REWARDER = + exports.CVXGUSDFRAXBP = + exports.CVXGUSD3CRV_FREE = + exports.CVXGRAIFRAXBP_REWARDER = + exports.CVXGRAIFRAXBP = + exports.CVXFXSFRAXBP_POOL = + exports.CVXFXSFRAXBP = + exports.CVXFRXETH_POOL = + exports.CVXFRXETHZUNETH_REWARDER = + exports.CVXFRXETHZUNETH = + exports.CVXFRXETHZETH_REWARDER = + exports.CVXFRXETHZETH = + void 0; +exports.FRXETHETH_POOL = + exports.FRXETHETH = + exports.FRXETHCVX_POOL = + exports.FRXETHCVX_GAUGE = + exports.FRXETHCVX = + exports.FRXETHCRV_POOL = + exports.FRXETHCRV_GAUGE = + exports.FRXETHCRV = + exports.FRXETHCBETH_POOL = + exports.FRXETHCBETH_GAUGE = + exports.FRXETHCBETH = + exports.FRXETHANKRETH_POOL = + exports.FRXETHANKRETH_GAUGE = + exports.FRXETHANKRETH = + exports.FRXETHALETH_POOL = + exports.FRXETHALETH_GAUGE = + exports.FRXETHALETH = + exports.FRAXUSDP_POOL = + exports.FRAXUSDP = + exports.FRAXSDAI_POOL = + exports.FRAXSDAI_GAUGE = + exports.FRAXSDAI = + exports.FRAXPYUSD_POOL = + exports.FRAXPYUSD_GAUGE = + exports.FRAXPYUSD = + exports.FRAXFXB_20261231_POOL = + exports.FRAXFXB_20261231_GAUGE = + exports.FRAXFXB_20261231 = + exports.FRAXFXB_20241231_POOL = + exports.FRAXFXB_20241231_GAUGE = + exports.FRAXFXB_20241231 = + exports.FRAXFXB_20240630_POOL = + exports.FRAXFXB_20240630_GAUGE = + exports.FRAXFXB_20240630 = + exports.FRAXFPI_POOL = + exports.FRAXFPI_NG_POOL = + exports.FRAXFPI_NG_GAUGE = + exports.FRAXFPI_NG = + exports.FRAXFPI = + exports.FRAXBP_POOL = + exports.FRAXBP = + exports.FRAX3CRV_F = + exports.FPIFRAX_F_POOL = + exports.FPIFRAX_F = + exports.EUSDFRAXBP_POOL = + exports.EUSDFRAXBP = + exports.DOLAFRAXPYUSD_POOL = + exports.DOLAFRAXPYUSD_GAUGE = + exports.DOLAFRAXPYUSD = + exports.DOLAFRAXBP_POOL = + void 0; +exports.MSUSDFRAXBP_POOL = + exports.MSUSDFRAXBP = + exports.MKUSDFRAXBP_POOL = + exports.MKUSDFRAXBP_GAUGE = + exports.MKUSDFRAXBP = + exports.MAIFRAXBP_POOL = + exports.MAIFRAXBP = + exports.LUSDFRAXBP_POOL = + exports.LUSDFRAXBP = + exports.GUSDFRAXBP_POOL = + exports.GUSDFRAXBP = + exports.GUSD3CRV = + exports.GRAIFRAXBP_POOL = + exports.GRAIFRAXBP_GAUGE = + exports.GRAIFRAXBP = + exports.GOHM = + exports.FXSFRXETH_POOL = + exports.FXSFRXETH = + exports.FUSDC_18 = + exports.FTRIBE_8 = + exports.FRXETHZUNETH_POOL = + exports.FRXETHZUNETH_GAUGE = + exports.FRXETHZUNETH = + exports.FRXETHZETH_POOL = + exports.FRXETHZETH_GAUGE = + exports.FRXETHZETH = + exports.FRXETHWETH_POOL = + exports.FRXETHWETH_GAUGE = + exports.FRXETHWETH = + exports.FRXETHSTETH_POOL = + exports.FRXETHSTETH_GAUGE = + exports.FRXETHSTETH = + exports.FRXETHSETH_POOL = + exports.FRXETHSETH_GAUGE = + exports.FRXETHSETH = + exports.FRXETHRETH_STAFI_POOL = + exports.FRXETHRETH_STAFI_GAUGE = + exports.FRXETHRETH_STAFI = + exports.FRXETHRETH_POOL = + exports.FRXETHRETH_GAUGE = + exports.FRXETHRETH = + exports.FRXETHPXETH_POOL = + exports.FRXETHPXETH_GAUGE = + exports.FRXETHPXETH = + exports.FRXETHPETH_POOL = + exports.FRXETHPETH_GAUGE = + exports.FRXETHPETH = + exports.FRXETHMSETH_POOL = + exports.FRXETHMSETH_GAUGE = + exports.FRXETHMSETH = + void 0; +exports.STKCVXCOILFRAXBP_DEPRECATED = + exports.STKCVXCOILFRAXBP = + exports.STKCVXCLEVUSDFRAXBP = + exports.STKCVXBUSDFRAXBP = + exports.STKCVXBADGERFRAXBP = + exports.STKCVXAPEUSDFRAXBP = + exports.STKCVXALUSDFRAXBP = + exports.STKCVXALCXFRAXBP = + exports.STKCVXAGEURFRAXBP = + exports.STKAAVE = + exports.STGFRAXBP_POOL = + exports.STGFRAXBP = + exports.STETHFRXETH_POOL = + exports.STETHFRXETH = + exports.SOHM = + exports.SETHFRXETH_POOL = + exports.SETHFRXETH = + exports.SDTFRAXBP_POOL = + exports.SDTFRAXBP = + exports.SDL_VESPERFRAXEARNPOOLFRAXBP_POOL = + exports.SDL_VESPERFRAXEARNPOOLFRAXBP_GAUGE = + exports.SDL_VESPERFRAXEARNPOOLFRAXBP = + exports.SDL_USDTFRAXBP_POOL = + exports.SDL_USDTFRAXBP_GAUGE = + exports.SDL_USDTFRAXBP = + exports.SDL_SUSDFRAXBP_POOL = + exports.SDL_SUSDFRAXBP_GAUGE = + exports.SDL_SUSDFRAXBP = + exports.SDL_FRAXBP_POOL = + exports.SDL_FRAXBP_GAUGE = + exports.SDL_FRAXBP = + exports.SDL_FRAX3POOL_POOL = + exports.SDL_FRAX3POOL_GAUGE = + exports.SDL_FRAX3POOL = + exports.SDL_ALUSDFRAXBP_POOL = + exports.SDL_ALUSDFRAXBP_GAUGE = + exports.SDL_ALUSDFRAXBP = + exports.SDFRAX3CRV_F = + exports.SADDLED4_POOL = + exports.SADDLED4 = + exports.RSRFRAXBP_POOL = + exports.RSRFRAXBP = + exports.RETHFRXETH_POOL = + exports.RETHFRXETH = + exports.PUSDFRAXBP_POOL = + exports.PUSDFRAXBP = + exports.PITCHFXS = + exports.OHMFRAXBP_POOL = + exports.OHMFRAXBP = + exports.OGTEMPLE = + void 0; +exports.STKCVXTUSDFRAXBP = + exports.STKCVXTRISDT = + exports.STKCVXTRICRYPTOFRAX = + exports.STKCVXSWETHFRXETH = + exports.STKCVXSUSDFRAXBP = + exports.STKCVXSTGFRAXBP = + exports.STKCVXSDTFRAXBP = + exports.STKCVXRSRFRAXBP = + exports.STKCVXPUSDFRAXBP = + exports.STKCVXOHMFRAXBP = + exports.STKCVXMSUSDFRAXBP = + exports.STKCVXMKUSDFRAXBP = + exports.STKCVXMAIFRAXBP = + exports.STKCVXLUSDFRAXBP = + exports.STKCVXGUSDFRAXBP = + exports.STKCVXGRAIFRAXBP = + exports.STKCVXFRXETHZUNETH = + exports.STKCVXFRXETHZETH = + exports.STKCVXFRXETHWETH = + exports.STKCVXFRXETHSTETH = + exports.STKCVXFRXETHSETH = + exports.STKCVXFRXETHRETH_STAFI = + exports.STKCVXFRXETHRETH = + exports.STKCVXFRXETHPXETH = + exports.STKCVXFRXETHPETH = + exports.STKCVXFRXETHMSETH = + exports.STKCVXFRXETHETH = + exports.STKCVXFRXETHCVX = + exports.STKCVXFRXETHCRV = + exports.STKCVXFRXETHCBETH = + exports.STKCVXFRXETHANKRETH = + exports.STKCVXFRXETHALETH = + exports.STKCVXFRAXUSDP = + exports.STKCVXFRAXSDAI = + exports.STKCVXFRAXPYUSD = + exports.STKCVXFRAXFXB_20261231 = + exports.STKCVXFRAXFXB_20241231 = + exports.STKCVXFRAXFXB_20240630 = + exports.STKCVXFRAXFPI_NG = + exports.STKCVXFRAXBP = + exports.STKCVXFPIFRAX = + exports.STKCVXEUSDFRAXBP = + exports.STKCVXDOLAFRAXPYUSD = + exports.STKCVXDOLAFRAXBP = + exports.STKCVXCVXFXSFRAXBP = + exports.STKCVXCVXFRAXBP = + exports.STKCVXCVXCRVFRAXBP = + exports.STKCVXCVGFRAXBP = + exports.STKCVXCRVUSDFRAX = + exports.STKCVXCRV = + void 0; +exports.KYBERSWAP_ELASTIC_POS_MGR_V2 = + exports.KYBERSWAP_ELASTIC_POS_MGR = + exports.KYBERSWAP_ELASTIC_FACTORY_V2 = + exports.KYBERSWAP_ELASTIC_FACTORY = + exports.USDC_WETH_UNI_V3_POOL = + exports.UNI_ETH_UNI_V3_POOL = + exports.STATIC_UNI_V3_ORACLE = + exports.MKR_ETH_UNI_V3_POOL = + exports.LINK_ETH_UNI_V3_POOL = + exports.FRXETH_FRAX_V3_POOL = + exports.FRAX_WETH_UNI_V3_POOL = + exports.FRAX_USDC_V3_POOL = + exports.FRAX_DAI_V3_POOL = + exports.APE_WETH_UNI_V3_POOL = + exports.AAVE_ETH_UNI_V3_POOL = + exports.ZUSDFRAXBP_POOL = + exports.ZUSDFRAXBP_GAUGE = + exports.ZUSDFRAXBP = + exports.YVUSDC = + exports.XSDT = + exports.XAIFRAXBP_POOL = + exports.XAIFRAXBP = + exports.VLCVX = + exports.VESDL = + exports.VECRV = + exports.UZDFRAXBP_POOL = + exports.UZDFRAXBP = + exports.USDDFRAXBP_POOL = + exports.USDDFRAXBP = + exports.TUSDFRAXBP_POOL = + exports.TUSDFRAXBP = + exports.TRISDT_GAUGE = + exports.TRISDT = + exports.TRICRYPTOFRAX_GAUGE = + exports.TRICRYPTOFRAX = + exports.THREECRV_POOL = + exports.THREECRV_ERC20 = + exports.TFXS = + exports.TFRAX = + exports.SWETHFRXETH_POOL = + exports.SWETHFRXETH = + exports.SUSDFRAXBP_POOL = + exports.SUSDFRAXBP = + exports.STKMTA = + exports.STKCVXZUSDFRAXBP = + exports.STKCVXXAIFRAXBP = + exports.STKCVXUZDFRAXBP_DEPRECATED_OLD = + exports.STKCVXUZDFRAXBP_DEPRECATED = + exports.STKCVXUZDFRAXBP = + exports.STKCVXUSDDFRAXBP = + void 0; +exports.UNISWAP_V3_FACTORY = + exports.SWAPROUTER = + exports.NON_FUNGIBLE_POSITION_MANAGER = + exports.KYBERSWAP_ELASTIC_TICK_FEES_READER_V2 = + exports.KYBERSWAP_ELASTIC_TICK_FEES_READER = + exports.KYBERSWAP_ELASTIC_ROUTER_V2 = + exports.KYBERSWAP_ELASTIC_ROUTER = + void 0; +// Canonicals +exports.CHAIN_ID = 1; +exports.FRAX = "0x853d955aCEf822Db058eb8505911ED77F175b99e"; +exports.FXS = "0x3432B6A60D23Ca0dFCa7761B7ab56459D9C964D0"; +exports.FPI = "0x5Ca135cB8527d76e932f34B5145575F9d8cbE08E"; +exports.FPIS = "0xc2544A32872A91F4A553b404C6950e89De901fdb"; +exports.FRXETH = "0x5E8422345238F34275888049021821E8E08CAa1f"; +exports.SFRXETH = "0xac3E018457B222d93114458476f3E3416Abbe38F"; +exports.SFRAX = "0xA663B02CF0a4b149d2aD41910CB81e23e1c41c32"; +exports.FRAX_ERC20 = exports.FRAX; +exports.FXS_ERC20 = exports.FXS; +exports.FRXETH_ERC20 = exports.FRXETH; +exports.SFRXETH_ERC20 = exports.SFRXETH; +// Farms +exports.AAVE_AFRAX = "0x02577b426F223A6B4f2351315A19ecD6F357d65c"; +exports.ANGLE_FRAX_AGEUR_STAKING = "0xb40432243E4F317cE287398e72Ab8f0312fc2FE8"; +exports.AURA_FRXETH_PXETH_DEPOSIT = "0x60aaA9b33e712A76F9421E46a75ec47fBDc8d4CB"; +exports.BALANCER_FRXETH_PXETH_GAUGE_DEPRECATED = "0x1e64E373c143810524BDb1Ac8Dce35977d12e55d"; +exports.BALANCER_SFRXETH_STETH_RETH_BPT = "0x3F0FB52648Eb3981EA598716b7320081d1c8Ba1a"; +exports.BUNNI_FRAX_USDC_GAUGE = "0x50B4cDb17D3e10C9BC88b3744F3fD7c25695EEE7"; +exports.BUNNI_FRXETH_WETH_GAUGE = "0xcbcCBA2FA84606Df153B593dD01c37a50ac8427C"; +exports.CONVEX_STKCVXAGEURFRAXBP = "0xd1f21322bBDd3586dC1151ADCcaA2684641c2b31"; +exports.CONVEX_STKCVXALCXFRAXBP = "0xA0657642224Fc53dAB4a3d2069430afe157BEc5D"; +exports.CONVEX_STKCVXALUSDFRAXBP = "0x711d650Cd10dF656C2c28D375649689f137005fA"; +exports.CONVEX_STKCVXAPEUSDFRAXBP = "0xa810D1268cEF398EC26095c27094596374262826"; +exports.CONVEX_STKCVXBADGERFRAXBP = "0x5a92EF27f4baA7C766aee6d751f754EBdEBd9fae"; +exports.CONVEX_STKCVXBUSDFRAXBP = "0xaCf54f101B86f9e55d35C0674Ebd8C854E5f80e4"; +exports.CONVEX_STKCVXCLEVUSDFRAXBP = "0x5745506D56b0088f800085b1227B3f1F7d419c89"; +exports.CONVEX_STKCVXCOILFRAXBP = "0x39cd4db6460d8B5961F73E997E86DdbB7Ca4D5F6"; +exports.CONVEX_STKCVXCOILFRAXBP_DEPRECATED = "0x94c491e298625b1226a89DDA091B3932c59FAbc1"; +exports.CONVEX_STKCVXCRVUSDFRAX = "0x67CC47cF82785728DD5E3AE9900873a074328658"; +exports.CONVEX_STKCVXCVGFRAXBP = "0x1ee8D379e374A4A00e7d79AF4Bf2eD2b591561c2"; +exports.CONVEX_STKCVXCVXCRVFRAXBP = "0x57c9F019B25AaAF822926f4Cacf0a860f61eDd8D"; +exports.CONVEX_STKCVXCVXFRAXBP = "0xeC670c5e0A8A8d5ae5639158565D840DE44CA03f"; +exports.CONVEX_STKCVXCVXFXSFRAXBP = "0x2F9504988675c91787E188Ed928D6E042d9052e9"; +exports.CONVEX_STKCVXDOLAFRAXBP = "0xE7211E87D60177575846936F2123b5FA6f0ce8Ab"; +exports.CONVEX_STKCVXDOLAFRAXPYUSD = "0x972d92f4563Ac9581c730A13A47Ae9d6dCdf18b7"; +exports.CONVEX_STKCVXEUSDFRAXBP = "0x4c9AD8c53d0a001E7fF08a3E5E26dE6795bEA5ac"; +exports.CONVEX_STKCVXFPIFRAX = "0x0a08673E3d7c454E1c6b27acD059C50Df6727FC9"; +exports.CONVEX_STKCVXFRAXBP = "0x963f487796d54d2f27bA6F3Fbe91154cA103b199"; +exports.CONVEX_STKCVXFRAXFPI_NG = "0x7d69b887751Af59fB4b56BC98fcA0234096Eb267"; +exports.CONVEX_STKCVXFRAXFXB_20240630 = "0x6D54747fC8e32cA1A91bA2fd36aB673bD84E2e7b"; +exports.CONVEX_STKCVXFRAXFXB_20241231 = "0x9D7eB7Ec34283D93C6677AE30F3983399Ab72A2f"; +exports.CONVEX_STKCVXFRAXFXB_20261231 = "0x9A95396eC04B55de54859C06fd75dFb8466F4653"; +exports.CONVEX_STKCVXFRAXPYUSD = "0x18FEFE5Db2D63aCaa8b5520AFde32507216d39e1"; +exports.CONVEX_STKCVXFRAXSDAI = "0x90EB2F13Acf1bc35c2c40c0EBaff2De4d2Eb0d6b"; +exports.CONVEX_STKCVXFRAXUSDP = "0x2A5b8C7DFE489CeB00ec80524C0bA0C1b78433A9"; +exports.CONVEX_STKCVXFRXETHALETH = "0x56790e4A08eD17aa3b7b4B1b23A6a84D731Fd77e"; +exports.CONVEX_STKCVXFRXETHANKRETH = "0x854B98dC1F76c92b22F75d1f33D23FEb64D8087F"; +exports.CONVEX_STKCVXFRXETHCBETH = "0x16e55917849aC7fA4341470FA3A22bB503D5cACD"; +exports.CONVEX_STKCVXFRXETHCRV = "0xDA0622cBa8cC821ee0d4AfA366Df95E948b43297"; +exports.CONVEX_STKCVXFRXETHCVX = "0xb01BaB994b52A37a231551f00a1B7cAcd43bc8C9"; +exports.CONVEX_STKCVXFRXETHETH = "0xa537d64881b84faffb9Ae43c951EEbF368b71cdA"; +exports.CONVEX_STKCVXFRXETHMSETH = "0x2816Ab1F4Db656602b6B0041c006652A4F5D0437"; +exports.CONVEX_STKCVXFRXETHPETH = "0xD591A551bC1776A7Ce066a5Df7640266afc850bF"; +exports.CONVEX_STKCVXFRXETHPXETH = "0xC68A0174401AE002D6DbA8C9788C6dF4c807BD52"; +exports.CONVEX_STKCVXFRXETHRETH = "0x719505cB97DF15565255eb1bDe65586271dB873C"; +exports.CONVEX_STKCVXFRXETHRETH_STAFI = "0x76CF35aB1450D3A6c84EdDB8A960A5F65B76e706"; +exports.CONVEX_STKCVXFRXETHSETH = "0xd79Ae34eD6D11A235629A48aeA9F661a241faD4f"; +exports.CONVEX_STKCVXFRXETHSTETH = "0x68921998fbc43B360D3cF14a03aF4273CB0cFA44"; +exports.CONVEX_STKCVXFRXETHWETH = "0xB4fdD7444E1d86b2035c97124C46b1528802DA35"; +exports.CONVEX_STKCVXFRXETHZETH = "0x882B9fad02D1a7436449dcdE9934Eeb9E287909c"; +exports.CONVEX_STKCVXFRXETHZUNETH = "0xE2E998A68C6f1D10c41884931457B7C302C6fA97"; +exports.CONVEX_STKCVXGRAIFRAXBP = "0x5684d5566bb438D8Ef7B3C1E5da9450cD19C1b9f"; +exports.CONVEX_STKCVXGUSDFRAXBP = "0xF0Ffe16810B7f412c52C1610e3BC9819A7Dcb366"; +exports.CONVEX_STKCVXLUSDFRAXBP = "0xF0A9b6F6593b4Bf96E1Ab13921A8a3FbFd9d4F16"; +exports.CONVEX_STKCVXMAIFRAXBP = "0xdE5684F85a78F6CcCFFB4b9301ad0944eb5CE3eE"; +exports.CONVEX_STKCVXMKUSDFRAXBP = "0x95AB2a2F6e701873cEA0070dAc735589D089f6Bc"; +exports.CONVEX_STKCVXMSUSDFRAXBP = "0xfB2CCc82755A734C53C8B45f260fFc2df026fe87"; +exports.CONVEX_STKCVXOHMFRAXBP = "0xc96e1a26264D965078bd01eaceB129A65C09FFE7"; +exports.CONVEX_STKCVXPUSDFRAXBP = "0x40b42E4ab3c044e67CBFb0bD99C9E975dcB83668"; +exports.CONVEX_STKCVXRSRFRAXBP = "0xF22D3C85e41Ef4b5Ac8Cb8B89a14718e290a0561"; +exports.CONVEX_STKCVXSDTFRAXBP = "0x9C8d9667d5726aEcA4d24171958BeE9F46861bed"; +exports.CONVEX_STKCVXSTGFRAXBP = "0xd600A3E4F57E718A7ad6A0cbb10c2A92c57827e6"; +exports.CONVEX_STKCVXSUSDFRAXBP = "0x560c7668459221e33ED515D1D17c09ECda1996f5"; +exports.CONVEX_STKCVXSWETHFRXETH = "0x7b8848f10A016341c9B2427e8541C19F31C2D243"; +exports.CONVEX_STKCVXTRICRYPTOFRAX = "0x5C0238c4C8f13370001632806C87066B90F1E383"; +exports.CONVEX_STKCVXTRISDT = "0x50Cde910D1f8b6C787b7903d23082542593E0710"; +exports.CONVEX_STKCVXTUSDFRAXBP = "0xb324b2BD8a3Dc55b04111E84d5cce0c3771F8889"; +exports.CONVEX_STKCVXUSDDFRAXBP = "0xF7242A1cE383174802818febB36B6eebb56d5BFb"; +exports.CONVEX_STKCVXUZDFRAXBP = "0xb8ebc210BCF78be8Ef3F09Dd0d8e85Fa5e252e86"; +exports.CONVEX_STKCVXUZDFRAXBP_DEPRECATED = "0x7838d18AD75372061a1e71e1499b7E90832c1508"; +exports.CONVEX_STKCVXUZDFRAXBP_DEPRECATED_OLD = "0x7677D1AADcd42dC40E758115FfDE5e1E10B7f30b"; +exports.CONVEX_STKCVXXAIFRAXBP = "0x4edF7C64dAD8c256f6843AcFe56876024b54A1b6"; +exports.CONVEX_STKCVXZUSDFRAXBP = "0x107a33019910E57533Ad4F75762d6A958630cA3d"; +exports.CURVE_FRAX3CRV_F_2 = "0xBBbAf1adf4d39B2843928CCa1E65564e5ce99ccC"; +exports.DFORCE_FRAX_LENDING_ETHEREUM = "0x71173e3c6999c2C72ccf363f4Ae7b67BCc7E8F63"; +exports.FLUX_FINANCE_FFRAX = "0x1C9A2d6b33B4826757273D47ebEe0e2DddcD978B"; +exports.FRAXLEND_V1_FRAX_FXS = "0x73e1e624C6d3E027b8674e6C72F104F1429FC17E"; +exports.FRAXSWAP_V1_FRAX_IQ = "0x5e15E40A3AA06bECA711EdE9F3F76E1d80C34490"; +exports.FRAXSWAP_V1_FRAX_IQ_V2 = "0xBF33B67F243a4DAbED494Ff5840f113B2E202a0d"; +exports.FRAXSWAP_V1_FRAX_IQ_V3 = "0x35678017e1D252dA1CdD6745b147E3e75d1f9C27"; +exports.FRAXSWAP_V1_FRAX_PITCHFXS = "0x9E66E7811fEacf5402B65021475d1A293f7ea797"; +exports.FRAXSWAP_V1_FRAX_PITCHFXS_V2 = "0x899Aa575E0e46344D18471f69337663C48b76e35"; +exports.FRAXSWAP_V1_FRAX_PITCHFXS_V3 = "0x24C66Ba25ca2A53bB97B452B9F45DD075b07Cf55"; +exports.FRAXSWAP_V1_FRAX_SYN = "0xE8453a2e8E97cba69365A1d727Fde3768b18d814"; +exports.FRAXSWAP_V2_FRAX_FPIS = "0x9d46C0584C5C89e14fb1143e2414712feF36f00F"; +exports.FRAXSWAP_V2_FRAX_FXS = "0x3F2E53B1A3036Fd33F3c2f3cC49daB26A88DF2e0"; +exports.FRAXSWAP_V2_FRAX_IQ = "0x7af00CF8D3a8A75210a5Ed74f2254E2EC43B5B5b"; +exports.FRAXSWAP_V2_FRAX_OHM = "0xf562B2f33b3c90d5D273f88Cdf0CeD866E17092e"; +exports.FRAXSWAP_V2_FRAX_PITCHFXS = "0xa632Fab76Fe013199c8271Ac22b466b9D11BFe88"; +exports.FRAXSWAP_V2_FRAX_SDL = "0x8875A328EaDb1e142f4021Fc2098096796a30cf8"; +exports.FRAXSWAP_V2_FRAX_SYN = "0x788E44b6424A0e4160Ae4766E86640EC5a6baD5b"; +exports.FRAXSWAP_V2_FRAX_ZZ = "0x38950D42CD549842B3Fc862a45F00eB24331F462"; +exports.GEARBOX_DFRAX = "0x8A1112AFef7F4FC7c066a77AABBc01b3Fff31D47"; +exports.GELATO_UNISWAP_FRAX_DAI = "0xcdfc491804A420b677f8e788B5157856910E2F6f"; +exports.KYBERSWAP_ELASTIC_FRAX_USDC = "0x21AF9DBa45989512468B08d13978e9040cc0cEF6"; +exports.KYBERSWAP_ELASTIC_FRAX_USDC_DEPRECATED = "0x90d52cdc60B7FF7994095Aa184694225035E8A60"; +exports.KYBERSWAP_ELASTIC_FRXETH_ETH = "0x6b96465F5e51C01134e0e64bff19f922fA7337C7"; +exports.KYBERSWAP_ELASTIC_FRXETH_ETH_DEPRECATED = "0x0cF99bbc8794e09e713769c4352eB3318e25c975"; +exports.KYBERSWAP_ELASTIC_FRXETH_FRAX = "0xaDf48a504b7E7262FE9BFC62Ab11894187590BB7"; +exports.MONOLITH_MO_SAMM_FRAX_USDT = "0x9972F7c292Deae7759a3831b1aDFF54dD43Dc264"; +exports.MONOLITH_MO_SAMM_FRXETH_WETH = "0x4E30fc7ccD2dF3ddCA39a69d2085334Ee63b9c96"; +exports.MONOLITH_MO_VAMM_FXS_FRXETH = "0x520b8e754768EEed9a37d78de76Cd5d75456b92F"; +exports.PICKLE_FINANCE_CURVE_CVXFXS_FXS = "0x6667c53D631410649B1826D21cFdf41E7a7aE6b1"; +exports.PICKLE_FINANCE_PVEFXS_BRINERY = "0x62826760CC53AE076a7523Fd9dCF4f8Dbb1dA140"; +exports.PICKLE_FINANCE_SADDLE_D4 = "0x08cb0A0ba8e4f143e4e6F7BED65E02b6dFb9A16C"; +exports.PICKLE_FINANCE_UNIV3_FRAX_DAI = "0xA50e005c3f2f3Cd1f56B09DF558816CfCe25E934"; +exports.PICKLE_FINANCE_UNIV3_FRAX_USDC = "0x6092cdE5762FA9F5c8D081fb0c5eD23601f0F400"; +exports.SADDLE_ALUSD_FEI_FRAX_LUSD = "0x0639076265e9f88542C91DCdEda65127974A5CA5"; +exports.SOLIDLY_SAMM_FRAX_USDC = "0x810E190Be9592615D75c514C0f9D8c9b79eB8056"; +exports.SOLIDLY_SAMM_FRAX_USDT = "0x9972F7c292Deae7759a3831b1aDFF54dD43Dc264"; +exports.SOLIDLY_SAMM_FRXETH_WETH = "0x4E30fc7ccD2dF3ddCA39a69d2085334Ee63b9c96"; +exports.SOLIDLY_VAMM_FRAX_FRXETH = "0xFae2B6Cac80635Cf768c9B68A4f453DB00BC79F0"; +exports.SOLIDLY_VAMM_FXS_FRXETH = "0x520b8e754768EEed9a37d78de76Cd5d75456b92F"; +exports.SOMMELIER_FRAXIMAL = "0x290a42E913083Edf5AEFb241f8A12B306C19f8f9"; +exports.STAKEDAO_CVXFXS_FXS = "0xAB1927160EC7414C6Fa71763E2a9f3D107c126dd"; +exports.STAKEDAO_FRAX3CRV = "0x72E158d38dbd50A483501c24f792bDAAA3e7D55C"; +exports.STAKEDAO_FRAX_USDC = "0xCFc25170633581Bf896CB6CDeE170e3E3Aa59503"; +exports.STAKEDAO_FRXETHCRV = "0x2932a86df44Fe8D2A706d8e9c5d51c24883423F5"; +exports.STAKEDAO_SANFRAX = "0xb40432243E4F317cE287398e72Ab8f0312fc2FE8"; +exports.STAKEDAO_SDETH_FRAXPUT = "0x0A53544b2194Dd8Ebc62c779043fc0624705BB56"; +exports.STAKEDAO_SDFRAX3CRV_F = "0xEB81b86248d3C2b618CcB071ADB122109DA96Da2"; +exports.STAKEDAO_SDFXS = "0xF3C6e8fbB946260e8c2a55d48a5e01C82fD63106"; +exports.STAKEDAO_SDFXS_FXS = "0xa9A9BC60fc80478059A83f516D5215185eeC2fc0"; +exports.STAKEDAO_SFRXETH_STETH_RETH_BPT = "0x3F0FB52648Eb3981EA598716b7320081d1c8Ba1a"; +exports.STARGATE_BRIDGE_LIQUIDITY_FRAX_ETHEREUM = "0xB0D502E938ed5f4df2E681fE6E419ff29631d62b"; +exports.SUSHI_FRAX_SUSHI = "0xb4Ab0dE6581FBD3A02cF8f9f265138691c3A7d5D"; +exports.TEMPLE_FRAX_TEMPLE = "0x10460d02226d6ef7B2419aE150E6377BdbB7Ef16"; +exports.TOKEMAK_FRAX_STAKING = "0x94671A3ceE8C7A12Ea72602978D1Bb84E920eFB2"; +exports.TOKEMAK_FXS_STAKING = "0xADF15Ec41689fc5b6DcA0db7c53c9bFE7981E655"; +exports.UNISWAP_FEI_TRIBE = "0x9928e4046d7c6513326cCeA028cD3e7a91c7590A"; +exports.UNISWAP_FRAX_FXS = "0xda2c338350a0E59Ce71CDCED9679A3A590Dd9BEC"; +exports.UNISWAP_FRAX_IQ = "0xF37057823910653a554d996B49E3399DC87fAE1b"; +exports.UNISWAP_FRAX_OHM = "0xfC77A420f56Dec53e3b91D7FC936902e132335FF"; +exports.UNISWAP_FRAX_USDC = "0xa29367a3f057F3191b62bd4055845a33411892b6"; +exports.UNISWAP_FRAX_WETH = "0xD875628B942f8970De3CcEaf6417005F68540d4f"; +exports.UNISWAP_FXS_WETH = "0xDc65f3514725206Dd83A8843AAE2aC3D99771C88"; +exports.UNISWAP_V3_FRAX_AGEUR = "0xf8caEd1943B15B877D7105B9906a618c154f69E8"; +exports.UNISWAP_V3_FRAX_DAI = "0xF22471AC2156B489CC4a59092c56713F813ff53e"; +exports.UNISWAP_V3_FRAX_USDC = "0x3EF26504dbc8Dd7B7aa3E97Bc9f3813a9FC0B4B0"; +exports.VEFPIS_FPIS_STAKING = "0x574C154C83432B0A45BA3ad2429C3fA242eD7359"; +exports.VEFXS_FXS_STAKING = "0xc8418aF6358FFddA74e09Ca9CC3Fe03Ca6aDC5b0"; +exports.VESPER_ORBIT_FRAX = "0x698137C473bc1F0Ea9b85adE45Caf64ef2DF48d6"; +exports.YEARN_CRVFRAX_VAULT_V3 = "0x1A5ebfF0E881Aec34837845e4D0EB430a1B4b737"; +// FraxBonds +exports.SLIPPAGE_AUCTION_FACTORY = "0xc9268c7F59850B26567b0f5d3Dcc317cEDC43490"; +exports.FXB_FACTORY = "0xa8478781D9605E17c3b4c9C79e7127c4597116E4"; +exports.FXB_AMO = "0x452420df4AC1e3db5429b5FD629f3047482C543C"; +exports.FXB_AMO_TIMELOCK = "0x831822660572bd54ebaa065C2acef662a6277D40"; +exports.FXB_20240630 = "0x0dE54CFdfeD8005176f8b7A9D5438B45c4F1df1e"; +exports.AUCTION_20240630 = "0xC92067D8DDb1970ecB93202DA31a3C45cC2c1F44"; +exports.ORACLE_20240630 = "0x27F4f8ca2f906B73c5eD8d794d1eA016f2cA0A97"; +exports.CURVE_20240630_MAINNET_POOL = "0x4ef4c7519023F30A78647EEab321d6cFabC2513c"; +exports.FXB_20241231 = "0xF8FDe8A259A3698902C88bdB1E13Ff28Cd7f6F09"; +exports.AUCTION_20241231 = "0xc9aa98788a675FF0846E8856cb83F19452f3b0c8"; +exports.FXB_20241231_ORACLE = "0x08a0748cF885F46e20fA30A50a035808eab293D3"; +exports.CURVE_20241231_MAINNET_POOL = "0x6307E6688819951Cf8D6B6066018243D2496952F"; +exports.CURVE_20241231_ARBITRUM_POOL = "0xE920eEdAff6c3BEd1Ef61010B64d46986634E908"; +exports.CURVE_20241231_ARBITRUM_GAUGE = "0x05824D6D4DE8A0ede4e12b98387A4f035a67ee68"; +exports.FXB_20261231 = "0x76237BCfDbe8e06FB774663add96216961df4ff3"; +exports.AUCTION_20261231 = "0x63981f5E690eaF7E8795c42832664e8848F532fB"; +exports.FXB_20261231_ORACLE = "0x2ec5D1C13fEF1C7029eE329a1D31B2180c9b3707"; +exports.CURVE_20261231_MAINNET_POOL = "0xe035e27A8eD6842b478933820f90093D205F7098"; +exports.CURVE_20261231_ARBITRUM_POOL = "0x946adc524BD312D036776798c46ceDD948DD0A0f"; +exports.CURVE_20261231_ARBITRUM_GAUGE = "0xa2617A26f9f528fa7B0E47fc2e66FcC04C6682E9"; +// FraxFerry +exports.FRAXFERRY_V1__ETHEREUM_ARBITRUM__FRAX__ETH_SIDE = "0x85c5f05Ae4CB68190C695a22b292C3bA90696128"; +exports.FRAXFERRY_V2__ETHEREUM_ARBITRUM__FXS__ETH_SIDE = "0x4b8792aF00eaE944484bF572bc33029B2184a50C"; +exports.FRAXFERRY_V2__ETHEREUM_ARBITRUM__FPI__ETH_SIDE = "0x5878d03AA50d2c00A921948Ea8Fa5F2d247f6BDB"; +exports.FRAXFERRY_V2__ETHEREUM_ARBITRUM__FPIS__ETH_SIDE = "0xCd4aa7DB9D8a995a651498E94f6693A4D26e6C9E"; +exports.FRAXFERRY_V2__ETHEREUM_ARBITRUM__FRXETH__ETH_SIDE = "0x505603e2440b44C1602b44D0Eb8385399b3F7bab"; +exports.FRAXFERRY_V2__ETHEREUM_ARBITRUM__SFRXETH__ETH_SIDE = "0x8afd5082E0C24dEcEA39A9eFb14e4ACF4373D7D6"; +exports.FRAXFERRY_V2__ETHEREUM_ARBITRUM__SFRAX__ETH_SIDE = "0x2453b1FbD17ceA069A31C9D16A27f4F93a85Cc0d"; +exports.FRAXFERRY_V1__ETHEREUM_AURORA__FRAX__ETH_SIDE = "0x6ac96F65156281a9383455D704b58A74ea9C9eC4"; +exports.FRAXFERRY_V1__ETHEREUM_AVALANCHE__FRAX__ETH_SIDE = "0xA381d58e96eC3818c825E1fb264099448945CF8b"; +exports.FRAXFERRY_V2__ETHEREUM_AVALANCHE__FXS__ETH_SIDE = "0x9Ab224996D25bfDCB91d838F7f1902698Ac0a742"; +exports.FRAXFERRY_V2__ETHEREUM_AVALANCHE__FPI__ETH_SIDE = "0xbb6b54F8969a4711527fdF6AB852B6D6cdF368d1"; +exports.FRAXFERRY_V2__ETHEREUM_AVALANCHE__FPIS__ETH_SIDE = "0x18A5ca670dC42D0551f00E11A730074f6787f17F"; +exports.FRAXFERRY_V2__ETHEREUM_AVALANCHE__FRXETH__ETH_SIDE = "0x94ddd112C9ea0fb534e376BE09A50d310F0612b4"; +exports.FRAXFERRY_V2__ETHEREUM_AVALANCHE__SFRXETH__ETH_SIDE = "0xF380200B115Caa22D49e6C115b758d6130377620"; +exports.FRAXFERRY_V2__ETHEREUM_AVALANCHE__SFRAX__ETH_SIDE = "0x59ae66FB395893E3FD965aDb06A52d06C49dF8A9"; +exports.FRAXFERRY_V1__ETHEREUM_BOBA__FRAX__ETH_SIDE = "0x3eF1d856EA62A2292B8690855042095a7aC48B4b"; +exports.FRAXFERRY_V1__ETHEREUM_BSC__FRAX__ETH_SIDE = "0xDAe210BfB0cF8c81EDB4b459e2e0bA14D553e2D9"; +exports.FRAXFERRY_V2__ETHEREUM_BSC__FXS__ETH_SIDE = "0x9B62402Eb9A755677dEbdaE3639CB531c0Af0E5d"; +exports.FRAXFERRY_V2__ETHEREUM_BSC__FPI__ETH_SIDE = "0xfbD33d2f3330f063C87b523Ba80D5F7f296E5393"; +exports.FRAXFERRY_V2__ETHEREUM_BSC__FPIS__ETH_SIDE = "0xf18B122c3935Ff49f62C8f1f77Dc42A6F85A0bb5"; +exports.FRAXFERRY_V2__ETHEREUM_BSC__FRXETH__ETH_SIDE = "0xce4DbAF3fa72C962Ee1F371694109fc2a80B03f5"; +exports.FRAXFERRY_V2__ETHEREUM_BSC__SFRXETH__ETH_SIDE = "0x621D0e62f26314387f338A2509aFA3Ae3414661A"; +exports.FRAXFERRY_V2__ETHEREUM_BSC__SFRAX__ETH_SIDE = "0xe3e7F354ac948ceBa925181C81618D7c9b3da8C9"; +exports.FRAXFERRY_V1__ETHEREUM_EVMOS__FRAX__ETH_SIDE = "0x2d2261f970F605C813f160E8BAEd455E9004A842"; +exports.FRAXFERRY_V1__ETHEREUM_FANTOM__FRAX__ETH_SIDE = "0xfB788F9E20ef426a32A67986654750172A6c1788"; +exports.FRAXFERRY_V2__ETHEREUM_FANTOM__FXS__ETH_SIDE = "0x1313d143BE1ac25aCACEFF39Bf31877bccDb9622"; +exports.FRAXFERRY_V2__ETHEREUM_FANTOM__FRXETH__ETH_SIDE = "0xaF4305d05e9B08b1D17894ce1ACE8235528f7EdE"; +exports.FRAXFERRY_V2__ETHEREUM_FANTOM__SFRXETH__ETH_SIDE = "0xB6b0290A39E2F896bBd8fC19cf17FE393e993dE4"; +exports.FRAXFERRY_V2__ETHEREUM_FRAXTAL__FRAX__ETH_SIDE = "0x5e1D94021484642863Ea8E7Cb4F0188e56B18FEE"; +exports.FRAXFERRY_V2__ETHEREUM_FRAXTAL__FXS__ETH_SIDE = "0x4A6d155df9Ec9A1BB3639e6B7B99E46Fb68D42f6"; +exports.FRAXFERRY_V2__ETHEREUM_FRAXTAL__FPI__ETH_SIDE = "0x9A576A3d39c589A861B46864C253288bcA428a6c"; +exports.FRAXFERRY_V2__ETHEREUM_FRAXTAL__FPIS__ETH_SIDE = "0x958815f476cD07354c0BC034EE5077B20fD93003"; +exports.FRAXFERRY_V2__ETHEREUM_FRAXTAL__SFRXETH__ETH_SIDE = "0x5c5f05cF8528FFe925A2264743bFfEdbAB2b0FE3"; +exports.FRAXFERRY_V2__ETHEREUM_FRAXTAL__SFRAX__ETH_SIDE = "0x2b4864c2F2A2C275C6C66B90a2ae6BE9fA9cbE47"; +exports.FRAXFERRY_V1__ETHEREUM_MOONBEAM__FRAX__ETH_SIDE = "0xF1E1deA8F1053FD9C5F47f72F1f03977E17aF242"; +exports.FRAXFERRY_V2__ETHEREUM_MOONBEAM__FXS__ETH_SIDE = "0x2De1354c98880889643c4cA8B06FA2Fb8Fc1Fd7A"; +exports.FRAXFERRY_V2__ETHEREUM_MOONBEAM__FRXETH__ETH_SIDE = "0x228567c10b7533C88057c10dDeA6349360F122c5"; +exports.FRAXFERRY_V2__ETHEREUM_MOONBEAM__SFRXETH__ETH_SIDE = "0xbc3A2bF4FA20bE2056DCE5BFB168970BA657F187"; +exports.FRAXFERRY_V1__ETHEREUM_MOONRIVER__FRAX__ETH_SIDE = "0x15ADa72A3B52A88E25DdD2CC2bA1120234e34bb0"; +exports.FRAXFERRY_V2__ETHEREUM_MOONRIVER__FXS__ETH_SIDE = "0xFe7ebA20c20C8FF12A337F940Ce7A97c6e2594DE"; +exports.FRAXFERRY_V1__ETHEREUM_OPTIMISM__FRAX__ETH_SIDE = "0x06Fa869caa1160754C6a0B744Da6454c5EA325d4"; +exports.FRAXFERRY_V2__ETHEREUM_OPTIMISM__FXS__ETH_SIDE = "0x6650D5183C4Cd294a81B1F724c365b0c42f8270a"; +exports.FRAXFERRY_V2__ETHEREUM_OPTIMISM__FPI__ETH_SIDE = "0xC05DE1CB258bAdc152d8EAd3F573CA9A2E812B2a"; +exports.FRAXFERRY_V2__ETHEREUM_OPTIMISM__FPIS__ETH_SIDE = "0x8Bf7Af56bB721BC3d015111508593Fcb301546F0"; +exports.FRAXFERRY_V2__ETHEREUM_OPTIMISM__FRXETH__ETH_SIDE = "0x2F08F4645d2fA1fB12D2db8531c0c2EA0268BdE2"; +exports.FRAXFERRY_V2__ETHEREUM_OPTIMISM__SFRXETH__ETH_SIDE = "0x04ba20D2Cc47C63bce1166C2864F0241e4D0a0CC"; +exports.FRAXFERRY_V2__ETHEREUM_OPTIMISM__SFRAX__ETH_SIDE = "0x9694dcF5b6CCF6216B05FE64945f62603e2d2367"; +exports.FRAXFERRY_V1__ETHEREUM_POLYGON__FRAX__ETH_SIDE = "0x43959A388603DCb6B02Ca084A55d4c7f3b442c57"; +exports.FRAXFERRY_V2__ETHEREUM_POLYGON__FXS__ETH_SIDE = "0xCa026e80F1E9e44da7ce3eD6aC2E9630260B9276"; +exports.FRAXFERRY_V2__ETHEREUM_POLYGON__FRXETH__ETH_SIDE = "0x98f5E4b7D9eDF57A6ED41b334bD40B2eAa6B6e26"; +exports.FRAXFERRY_V2__ETHEREUM_POLYGON__SFRXETH__ETH_SIDE = "0x91Ff54EffF7564BA3884A91d0E293502D8E6fF90"; +exports.FRAXFERRY_V2__ETHEREUM_POLYGON_ZKEVM__FRAX__ETH_SIDE = "0x86E71075e55F0aaD27D700017E0783458310c98a"; +exports.FRAXFERRY_V2__ETHEREUM_POLYGON_ZKEVM__FXS__ETH_SIDE = "0xBa32Df0b78b1A68F7FA304BbD4Ed7a56A74c525a"; +exports.FRAXFERRY_V2__ETHEREUM_POLYGON_ZKEVM__FPI__ETH_SIDE = "0x45D2d8e4aB0F5af1D29305301A1b31D5d41b3349"; +exports.FRAXFERRY_V2__ETHEREUM_POLYGON_ZKEVM__FPIS__ETH_SIDE = "0xF887C4cFAAfB43d1AA7De204344895591016772c"; +exports.FRAXFERRY_V2__ETHEREUM_POLYGON_ZKEVM__FRXETH__ETH_SIDE = "0x3aaB5C43D4e47f71DEea94a7d541E6C07e21B137"; +exports.FRAXFERRY_V2__ETHEREUM_POLYGON_ZKEVM__SFRXETH__ETH_SIDE = "0xb8686Ef9B7ee9e73dE5d1721E4Da580278F8F4d2"; +exports.FRAXFERRY_V2__ETHEREUM_POLYGON_ZKEVM__SFRAX__ETH_SIDE = "0x602cCfee6B4BA8Eb5e35Cf26e05fDEDE379e578E"; +exports.FRAXFERRY_V2__ETHEREUM_ZKSYNC__FRAX__ETH_SIDE = "0x32dDf80508cfD8feD8ABe375582FC7cfD20372C4"; +exports.FRAXFERRY_V2__ETHEREUM_ZKSYNC__FXS__ETH_SIDE = "0x27E97F35D80514D5DD1Caa730e22a292E912a214"; +exports.FRAXFERRY_V2__ETHEREUM_ZKSYNC__FPI__ETH_SIDE = "0x0F6136F9aBB7A0c21FbE076771625b39C544BDf5"; +exports.FRAXFERRY_V2__ETHEREUM_ZKSYNC__FPIS__ETH_SIDE = "0xFBC512849D4dcEeeFAa1bfce08B3dC9daD755482"; +exports.FRAXFERRY_V2__ETHEREUM_ZKSYNC__FRXETH__ETH_SIDE = "0x9f76b097Cd95627bFbD8052A583127FF6e7b3Fa9"; +exports.FRAXFERRY_V2__ETHEREUM_ZKSYNC__SFRXETH__ETH_SIDE = "0x29396AaE6198130A15F6Ff982C44BC4a7353Ef37"; +exports.FRAXFERRY_CAPTAIN = "0xBB437059584e30598b3AF0154472E47E6e2a45B9"; +exports.FRAXFERRY_FIRST_OFFICER = "0xBB437059584e30598b3AF0154472E47E6e2a45B9"; +exports.FRAXFERRY_CREWMEMBER = "0xBB437059584e30598b3AF0154472E47E6e2a45B9"; +// FraxMinterPools +exports.FRAX_POOL_USDC = "0x3C2982CA260e870eee70c423818010DfeF212659"; +exports.FRAX_POOL_USDC_V2 = "0x1864Ca3d47AaB98Ee78D11fc9DCC5E7bADdA1c0d"; +exports.FRAX_POOL_USDT = "0x7d3FCd3825AE54E8E8FFD3d0ce95882330d54968"; +exports.FRAX_POOL_V3 = "0x2fE065e6FFEf9ac95ab39E5042744d695F560729"; +// FraxlendAndOracles +exports.AAVE_ERC20 = "0x7Fc66500c84A76Ad7e9c93437bFc5Ac33E2DDaE9"; +exports.AAVE_TOKEN_DUAL_ORACLE_ADDRESS = "0x3284E1BCEaf70767A7575d0e1e10fAFbC4618B52"; +exports.AAVE_USD_CHAINLINK_ORACLE = "0x547a514d5e3769680Ce22B2361c10Ea13619e8a9"; +exports.APECOIN_DUAL_ORACLE_ADDRESS = "0x2CDF5812F4ebcF3BD533E8918D47Bd3e65514520"; +exports.APE_ERC20 = "0x4d224452801ACEd8B2F0aebE155379bb5D594381"; +exports.APE_USD_CHAINLINK_ORACLE = "0xD10aBbC76679a20055E167BB80A24ac851b37056"; +exports.BTC_USD_CHAINLINK_ORACLE = "0xF4030086522a5bEEa4988F8cA5B36dbC97BeE88c"; +exports.CHAIN_LINK_TOKEN_DUAL_ORACLE = "0x7F09c398740518F8e34556D8C1A1FBE1cb1F6Db0"; +exports.CIRCUIT_BREAKER_ADDRESS = "0xfd3065C629ee890Fd74F43b802c2fea4B7279B8c"; +exports.COMBO_ORACLE = "0x878f2059435a19C79c20318ee57657bF4543B6d4"; +exports.COMBO_ORACLE_KYBERSWAP_ELASTIC = "0x734fd1fD1f3720379f52cB9d8168d76Cd1ca4A73"; +exports.COMBO_ORACLE_KYBERSWAP_ELASTIC_V2 = "0xc3a483Bb5F96bC4E6104325aa1A229A8E29166B3"; +exports.COMBO_ORACLE_UNIV2_UNIV3 = "0x1cBE07F3b3bf3BDe44d363cecAecfe9a98EC2dff"; +exports.FRAXLEND_COMPTROLLER_ADDRESS = "0x168200cF227D4543302686124ac28aE0eaf2cA0B"; +exports.CONVEX_WRAPPER_FRAX_USDC_CURVE_POOL_LP = "0x8A2112B42AF1F997002FBAfF77dd09F42A281e8d"; +exports.CONVEX_WRAPPER_FRXETH_ETH_CURVE_POOL_LP = "0x45127c7fA0c3Ce6A18fEc9604D96eDfBBc8A9700"; +exports.CONVEX_WRAPPER_FRAX_USDC_FRAXLEND_LP_OLD = "0x54a3A6aFd87F10Eea4Acc2A067A2C0b612B6D315"; +exports.CONVEX_WRAPPER_FRXETH_ETH_FRAXLEND_LP_OLD = "0xd1b222AAEdf2877CeEB3c66BDaA6858200eb48fC"; +exports.CPI_TRACKER_ORACLE = "0x7086F2aCB5558043fF9cE3df346D8E3FB4F4f452"; +exports.CPI_TRACKER_ORACLE_V2 = "0x66B7DFF2Ac66dc4d6FBB3Db1CB627BBb01fF3146"; +exports.CRV_ERC20 = "0xD533a949740bb3306d119CC777fa900bA034cd52"; +exports.CRV_USD_CHAINLINK_ORACLE = "0xCd627aA160A6fA45Eb793D19Ef54f5062F20f33f"; +exports.CVX_ERC20 = "0x4e3FBD56CD56c3e72c1403e103b45Db9da5B9D2B"; +exports.CVX_USD_CHAINLINK_ORACLE = "0xd962fC30A72A84cE50161031391756Bf2876Af5D"; +exports.ETH_USD_CHAINLINK_ORACLE = "0x5f4eC3Df9cbd43714FE2740f5E3616155c5b8419"; +exports.EZETHETH_DUAL_ORACLE = "0x8216AE38454cCe2d52dEcf0442042250Ea6A2510"; +exports.EZETH_DUAL_ORACLE = "0xB020ab0E609d907578f6899a9469E3CbD79e4e70"; +exports.EZETH_ERC20 = "0xbf5495Efe5DB9ce00f80364C8B423567e58d2110"; +exports.FIL_ERC20 = "0xB8B01cec5CEd05C457654Fc0fda0948f859883CA"; +exports.FIL_ETH_CHAINLINK_ORACLE = "0x0606Be69451B1C9861Ac6b3626b99093b713E801"; +exports.FIL_USD_CHAINLINK_ORACLE = "0x1A31D42149e82Eb99777f903C08A2E41A00085d3"; +exports.FPIS_ERC20 = "0xc2544A32872A91F4A553b404C6950e89De901fdb"; +exports.FPI_CONTROLLER_POOL_ADDRESS = "0x2397321b301B80A1C0911d6f9ED4b6033d43cF51"; +exports.FPI_ERC20 = "0x5Ca135cB8527d76e932f34B5145575F9d8cbE08E"; +exports.FPI_ORACLE = "0xd2516e709a2e9D64F66B4c4009efE4F74F5FA40D"; +exports.FPI_ORACLE_V2 = "0x2469757756ebA7Bea6B7F054896e3Db74103A962"; +exports.FRAXBP_CURVE_LP_DUAL_ORACLE = "0x251d4fE77eD73126583Ee347041258ABeEcB7C66"; +exports.FRAXLEND_DEPLOYER_ADDRESS_V0 = "0x5d6e79Bcf90140585CE88c7119b7E43CAaA67044"; +exports.FRAXLEND_PAIRDEPLOYER = "0x5d6e79Bcf90140585CE88c7119b7E43CAaA67044"; +exports.FRAXLEND_PAIRHELPER = "0x26fa88b783cE712a2Fa10E91296Caf3daAE0AB37"; +exports.FRAXLEND_PAIR_DEPLOYER_ADDRESS = "0x38488dE975B77dc1b0D4B8569f596f6FD6ca0B92"; +exports.FRAXLEND_PAIR_DEPLOYER_CONVEX_ADDRESS = "0xC4e34AD5908c4D2508a26C20c8687Ff64CB9e05b"; +exports.FRAXLEND_PAIR_DEPLOYER_V3_ADDRESS = "0xaa913C26dD7723Fcae9dBD2036d28171a56C6251"; +exports.FRAXLEND_PAIR_DEPLOYER_V41_ADDRESS = "0xEb8816BAEB70690660ce6C0eDA2b07A21493e664"; +exports.FRAXLEND_PAIR_DEPLOYER_V4_ADDRESS = "0x7AB788d0483551428f2291232477F1818952998C"; +exports.FRAXLEND_PAIR_HELPER = "0x1b0bCeD6dd26a7c234506E261BC68C9A3A4031b7"; +exports.FRAXLEND_PAIR_REGISTRY_ADDRESS = "0xD6E9D27C75Afd88ad24Cd5EdccdC76fd2fc3A751"; +exports.FRAXLEND_WHITELIST_ADDRESS = "0x118C1462AA28bF2ea304f78f49C3388cfd93234e"; +exports.FRAXSWAP_ROUTER_ADDRESS = "0xC14d550632db8592D1243Edc8B95b0Ad06703867"; +exports.FRAX_HOT_WALLET = "0xdB3388e770F49A604E11f1a2084B39279492a61f"; +exports.FRAX_USDC_CURVE_LP_DUAL_ORACLE_ADDRESS = "0x2Ad35cce2a690E0bF1e6dCAC2F9175389F31D7F4"; +exports.FRAX_USDC_CURVE_POOL_LP_ERC20 = "0x3175Df0976dFA876431C2E9eE6Bc45b65d3473CC"; +exports.FRAX_USDC_CURVE_POOL_NOT_LP = "0xDcEF968d416a41Cdac0ED8702fAC8128A64241A2"; +exports.FRAX_USDC_PLAIN_POOL = "0xDcEF968d416a41Cdac0ED8702fAC8128A64241A2"; +exports.FRAX_USD_CHAINLINK_ORACLE = "0xB9E1E3A9feFf48998E45Fa90847ed4D467E8BcfD"; +exports.FRXETH_ETH_CURVE_POOL_LP_DUAL_ORACLE_ADDRESS = "0x1A4ae41e247ef90EDAaC97DD729a4F03687059DB"; +exports.FRXETH_ETH_CURVE_POOL_LP_ERC20 = "0xf43211935C781D5ca1a41d2041F397B8A7366C7A"; +exports.FRXETH_ETH_CURVE_POOL_NOT_LP = "0xa1F8A6807c402E4A15ef4EBa36528A3FED24E577"; +exports.FRXETH_ETH_DUAL_ORACLE_ADDRESS = "0xb12c19C838499E3447AFd9e59274B1BE56b1546A"; +exports.FRXETH_FRAX_ORACLE_ADDRESS = "0xC58F3385FBc1C8AD2c0C9a061D7c13b141D7A5Df"; +exports.FXB_20240630_ERC20 = "0x0dE54CFdfeD8005176f8b7A9D5438B45c4F1df1e"; +exports.FXB_20240630_ORACLE = "0x27F4f8ca2f906B73c5eD8d794d1eA016f2cA0A97"; +exports.FXB_20241231_ERC20 = "0xF8FDe8A259A3698902C88bdB1E13Ff28Cd7f6F09"; +exports.FXB_20241231_ORACLE_ADAPTER = "0x34b7525FB0735342Ef3E73d0ED2a912aaAC6c617"; +exports.FXB_20261231_ERC20 = "0x76237BCfDbe8e06FB774663add96216961df4ff3"; +exports.FXB_20261231_ORACLE_ADAPTER = "0x92e606Fd8b99F99928f690a5bEb20f6f6e3ec0f3"; +exports.FXB_VARIABLE_RATE_2 = "0x01480a0C134CeCC309015a564C7e292ba6E0F358"; +exports.FXS_USD_CHAINLINK_ORACLE = "0x6Ebc52C8C1089be9eB3945C4350B68B8E4C2233f"; +exports.GOHM_ERC20 = "0x0ab87046fBb341D058F17CBC4c1133F25a20a52f"; +exports.GOHM_ORACLE = "0xe893297a9d4310976424fD0B25f53aC2B6464fe3"; +exports.LDO_DUAL_ORACLE = "0x883Aa2E1E46b53648520E0F6857e2ee1798F3e5d"; +exports.LDO_ERC20 = "0x5A98FcBEA516Cf06857215779Fd812CA3beF1B32"; +exports.LDO_ETH_CHAINLINK_ORACLE = "0x4e844125952D32AcdF339BE976c98E22F6F318dB"; +exports.LDO_ETH_CURVE_V2_POOL = "0x9409280DC1e6D33AB7A8C6EC03e5763FB61772B5"; +exports.LINEAR_INTEREST_RATE = "0x2f3511C5E960040369F68508ebb366DF58DF1BF2"; +exports.LINEAR_RATE_ADDRESS = "0x2f3511C5E960040369F68508ebb366DF58DF1BF2"; +exports.LINK_ERC20 = "0x514910771AF9Ca656af840dff83E8264EcF986CA"; +exports.LINK_USD_CHAINLINK_ORACLE = "0x2c1d072e956AFFC0D435Cb7AC38EF18d24d9127c"; +exports.MAKER_DUAL_ORACLE_ADDRESS = "0x4c7b43EcE8958D7f6b184B3833DD1D383db1f83b"; +exports.MKR_ERC20 = "0x9f8F72aA9304c8B593d555F12eF6589cC3A579A2"; +exports.MKR_ETH_CHAINLINK_ORACLE = "0x24551a8Fb2A7211A25a17B1481f043A8a8adC7f2"; +exports.MKR_USD_CHAINLINK_ORACLE = "0xec1D1B3b0443256cc3860e24a46F108e699484Aa"; +exports.OHMV2_ETH_CHAINLINK_ORACLE = "0x9a72298ae3886221820B1c878d12D872087D3a23"; +exports.RETH_DUAL_ORACLE = "0x8161EDD2208247066FA213EDA909B0D351543b3d"; +exports.RETH_ERC20 = "0xae78736Cd615f374D3085123A210448E74Fc6393"; +exports.RSETHETH_DUAL_ORACLE = "0x16BAb4C46b36587609093633550816fc828817Ba"; +exports.RSETH_ERC20 = "0xA1290d69c65A6Fe4DF752f95823fae25cB99e5A7"; +exports.SFRAX_ERC20 = "0xA663B02CF0a4b149d2aD41910CB81e23e1c41c32"; +exports.SFRXETH_DUAL_ORACLE_ADDRESS = "0xd2F0fa7f2E6a60EEcf4b78c5b6D81002b9789F2c"; +exports.SFRXETH_ETH_DUAL_ORACLE_ADDRESS = "0x1473F3e4d236CBBe3412b9f65B4c210756BE2C0E"; +exports.SFRXETH_FRAX_ORACLE_ADDRESS = "0xB9af7723CfBd4469A7E8aa60B93428D648Bda99d"; +exports.SFRXETH_ORACLE = "0x27942aFe4EcB7F9945168094e0749CAC749aC97B"; +exports.SFRXETH_ORACLE_V2 = "0x807502C8EAdAc82C3227249f8aCf54d9d98F76d1"; +exports.SFRXETH_SFRAX_INVERSE_ORACLE_ADAPTER = "0xAfBcCB0a8d301AA8c18eBb4Ac94aB32d394fDCeC"; +exports.SFRXETH_USDC_ORACLE_V2_ADAPTER = "0x3FdA3e9E78EAcd7381F1ED2CF145B93537878c1f"; +exports.SFRXETH_USD_ORACLE_V2 = "0x3d3D868522b5a4035ADcb67BF0846D61597A6a6F"; +exports.SUSDE_ERC20 = "0x9D39A5DE30e57443BfF2A8307A4256c8797A3497"; +exports.SUSDE_ORACLE = "0x8Eb7a4Fa315620CC342073326acC206961F4BB62"; +exports.UNISWAP_DUAL_ORACLE_ADDRESS = "0x33A9D662d9F7cb2153e3a5102615B08865BeAbdB"; +exports.UNIV2_ROUTER = "0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D"; +exports.UNI_ERC20 = "0x1f9840a85d5aF5bf1D1762F925BDADdC4201F984"; +exports.UNI_USD_CHAINLINK_ORACLE = "0x553303d460EE0afB37EdFf9bE42922D8FF63220e"; +exports.USDC_ERC20 = "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48"; +exports.USDC_USD_CHAINLINK_ORACLE = "0x8fFfFfd4AfB6115b954Bd326cbe7B4BA576818f6"; +exports.USDE_CURVE_PAIR = "0x5dc1BF6f1e983C0b21EfB003c105133736fA0743"; +exports.USDE_ERC20 = "0x4c9EDD5852cd905f086C759E8383e09bff1E68B3"; +exports.USDE_ORACLE = "0xfdE8C36F32Bf32e73A1bdeb4ef3E17709674a838"; +exports.VARIABLE_RATE_2_ADDRESS = "0x18500cB1f2fE7a40eBdA393383A0B8548a31F261"; +exports.VARIABLE_RATE_2_ADDRESS_50 = "0x576E23b6E2665A91DdF301DcfF53d1fFA2972bB5"; +exports.VARIABLE_RATE_50BP_ADDRESS = "0xFf7846bAcB63FE97406a1E1e48CAf1595f66A98c"; +exports.VARIABLE_RATE_ADDRESS = "0x9327058a739089869B7DC3436E074C6d56051C7A"; +exports.VARIABLE_RATE_ADDRESS_OLD = "0x3da1bf0Be175B7cAa38d67A6E78371947d2F51f7"; +exports.VARIABLE_RATE_STABLE_ADDRESS = "0x9599033315C29Be9690b716bFE409381426dAD41"; +exports.WBTC_ERC20 = "0x2260FAC5E5542a773Aa44fBCfeDf7C193bc2C599"; +exports.WBTC_SFRAX_INVERSE_DUAL_ORACLE = "0xeA94770583b5d57791dFe9CF1e29EfD6D53d2fdC"; +exports.WBTC_SFRAX_INVERSE_ORACLE_ADAPTER_CHAINLINK = "0xb7dA758EE015c3C45B4a54579743Ebf365F7A53b"; +exports.WETH_ERC20 = "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2"; +exports.WETH_FRAX_V3_POOL = "0x92c7b5Ce4CB0e5483F3365C1449f21578eE9f21A"; +exports.WETH_SFRAX_INVERSE_ORACLE_ADAPTER_CHAINLINK = "0x1cA1350F67575B0beE44EC9DC6725A4032431F33"; +exports.WETH_USDC_V3_POOL = "0xE0554a476A092703abdB3Ef35c80e0D76d32939F"; +exports.WSTETH_ERC20 = "0x7f39C581F595B53c5cb19bD0b3f8dA6c935E2Ca0"; +exports.WSTETH_USD_DUAL_ORACLE_ADDRESS = "0xe73375f36A1b17A21d7Aa0fDa092195431e7017a"; +exports.FRAXLEND_PAIR_WETH_FRAX = "0x794F6B13FBd7EB7ef10d1ED205c9a416910207Ff"; +exports.FRAXLEND_PAIR_WBTC_FRAX = "0x32467a5fc2d72D21E8DCe990906547A2b012f382"; +exports.FRAXLEND_PAIR_SFRXETH_FRAX = "0x78bB3aEC3d855431bd9289fD98dA13F9ebB7ef15"; +exports.FRAXLEND_PAIR_CRVETHFRXETH_FRAX = "0x281E6CB341a552E4faCCc6b4eEF1A6fCC523682d"; +exports.FRAXLEND_PAIR_FXS_FRAX = "0xDbe88DBAc39263c47629ebbA02b3eF4cf0752A72"; +exports.FRAXLEND_PAIR_FPI_FRAX = "0x74F82Bd9D0390A4180DaaEc92D64cf0708751759"; +exports.FRAXLEND_PAIR_APE_FRAX = "0x3a25B9aB8c07FfEFEe614531C75905E810d8A239"; +exports.FRAXLEND_PAIR_CVX_FRAX = "0xa1D100a5bf6BFd2736837c97248853D989a9ED84"; +exports.FRAXLEND_PAIR_CRV_FRAX = "0x3835a58CA93Cdb5f912519ad366826aC9a752510"; +exports.FRAXLEND_PAIR_GOHM_FRAX = "0x66bf36dBa79d4606039f04b32946A260BCd3FF52"; +exports.FRAXLEND_PAIR_MKR_FRAX = "0x82Ec28636B77661a95f021090F6bE0C8d379DD5D"; +exports.FRAXLEND_PAIR_UNI_FRAX = "0xc6CadA314389430d396C7b0C70c6281e99ca7fe8"; +exports.FRAXLEND_PAIR_AAVE_FRAX = "0xc779fEE076EB04b9F8EA424ec19DE27Efd17A68d"; +exports.FRAXLEND_PAIR_FXB_20240630_FRAX = "0x35E08B28d5b01D058cbB1c39dA9188CC521a79aF"; +exports.FRAXLEND_PAIR_FXB_20241231_FRAX = "0xd1887398f3bbdC9d10D0d5616AD83506DdF5057a"; +exports.FRAXLEND_PAIR_FXB_20261231_FRAX = "0x1c0C222989a37247D974937782cebc8bF4f25733"; +exports.FRAXLEND_PAIR_SFRXETH_USDC = "0xeE847a804b67f4887c9E8fe559A2dA4278deFB52"; +exports.FRAXLEND_PAIR_LINK_FRAX = "0x7093F6141293F7C4F67E5efD922aC934402E452d"; +exports.FRAXLEND_PAIR_WSTETH_FRAX = "0xb5a46f712F03808aE5c4B885C6F598fA06442684"; +exports.FRAXLEND_PAIR_LDO_FRAX = "0x0601B72bEF2b3F09E9f48B7d60a8d7D2D3800C6e"; +exports.FRAXLEND_PAIR_RETH_FRAX = "0xa4Ddd4770588EF97A3a03E4B7E3885d824159bAA"; +exports.FRAXLEND_PAIR_SUSDE_FRAX = "0xb5Ae5b75C0DF5632c572A657109375646Ce66f90"; +exports.FRAXLEND_PAIR_SFRAX_WBTC = "0xb67Bd04f74BD79a505c5167675E8812355270eD5"; +exports.FRAXLEND_PAIR_SFRAX_SFRXETH = "0x501256B1DC7bb99CdE57AF188a69307BCC7E00E8"; +exports.FRAXLEND_PAIR_EZETH_FRXETH = "0x1eE17BE9B788bcf3EB86C08D0E2b049e036F6eb1"; +exports.FRAXLEND_PAIR_RSETH_FRXETH = "0xCfE3550206ea801c3F7Dc7997376F09E0b7e4B81"; +exports.FRAXLEND_WRAPPER_FACTORY = "0xe5Ca8CB440A6f9F6fA1D535D94A839CED59D9942"; +// Fraxswap +exports.FRAXSWAP_FACTORY_V1 = "0xB076b06F669e682609fb4a8C6646D2619717Be4b"; +exports.FRAXSWAP_FACTORY_V2 = "0x43eC799eAdd63848443E2347C49f5f52e8Fe0F6f"; +exports.FRAXSWAP_ROUTER_V1 = "0x1C6cA5DEe97C8C368Ca559892CCce2454c8C35C7"; +exports.FRAXSWAP_ROUTER_V2 = "0xC14d550632db8592D1243Edc8B95b0Ad06703867"; +exports.FRAXSWAP_ROUTER_MULTI_HOP = "0x25e9acA5951262241290841b6f863d59D37DC4f0"; +exports.FRAXSWAP_PAIR_FRAX_FPI = "0x5A1eA0130Dc4DC38420AA77929f992f1FBd482Bb"; +exports.FRAXSWAP_PAIR_FS_V2_FRAX_FPI = "0xd79886841026a39cFF99321140B3c4D31314782B"; +exports.FRAXSWAP_PAIR_FRAX_FXS = "0x8206412c107eF1aDb70B9277974f5163760E128E"; +exports.FRAXSWAP_PAIR_FS_V2_FRAX_FXS = "0x03B59Bd1c8B9F6C265bA0c3421923B93f15036Fa"; +exports.FRAXSWAP_PAIR_FRAX_FPIS = "0x99887AC15eBCcbad52FA2c9ceDc9D91A91e36051"; +exports.FRAXSWAP_PAIR_FS_V2_FRAX_FPIS = "0x56695c26b3Cdb528815cd22fF7B47510ab821EFd"; +exports.FRAXSWAP_PAIR_FPI_FPIS = "0xD3542ec999ceA6C79f09483fF88833f154a5e92f"; +exports.FRAXSWAP_PAIR_FS_V2_FPI_FPIS = "0xF14766a7C44EFb7F71441B7114d5Dd295B637175"; +exports.FRAXSWAP_PAIR_FPI_FXS = "0x843B5Ae5861362F20A3aC185A2dD2393D7526C65"; +exports.FRAXSWAP_PAIR_FS_V2_FPI_FXS = "0x3ECfdA4EfF6184cD8563772D6d024cB0Fb9cBf80"; +exports.FRAXSWAP_PAIR_FXS_FPIS = "0x1306b420B4B5f99cBeE938E369f06863a0f419A5"; +exports.FRAXSWAP_PAIR_FS_V2_FXS_FPIS = "0x7a9Bd205B55cCB1Cc1c5B99FF5Db87a6e7B2C38b"; +exports.FRAXSWAP_PAIR_FS_V2_FXS_FRXETH = "0x49FD21C5C8813B1bAE4e5507C556391D6Dd9e9f1"; +exports.FRAXSWAP_PAIR_FRAX_WETH = "0x8300f0528e00Ad33b218bb05D396F61A9FDd68Cd"; +exports.FRAXSWAP_PAIR_FS_V2_FRAX_WETH = "0x31351Bf3fba544863FBff44DDC27bA880916A199"; +exports.FRAXSWAP_PAIR_FRAX_PITCHFXS = "0x0a92aC70B5A187fB509947916a8F63DD31600F80"; +exports.FRAXSWAP_PAIR_FRAX_PITCHFXS_V2 = "0x2bac101F9769AEfF63c63EFfB4189152e833649F"; +exports.FRAXSWAP_PAIR_FRAX_IQ = "0xcB0bC7C879bb3E9CFEB9d8EFef653F33B3d242e9"; +exports.FRAXSWAP_PAIR_FRAX_IQ_V2 = "0x07AF6BB51d6Ad0Cf126E3eD2DeE6EaC34BF094F8"; +exports.FRAXSWAP_PAIR_FRAX_OHM = "0x38633ed142BCc8128b45aB04A2e4A6e53774699F"; +exports.FRAXSWAP_PAIR_FRAX_OHM_V2 = "0x5769071665eb8Db80e7e9226F92336Bb2897DCFA"; +exports.FRAXSWAP_PAIR_FRAX_SDL_V2 = "0xCCB26b5CC4e1Ce29521DA281a0107A6672bfe099"; +exports.FRAXSWAP_PAIR_FRAX_SYN_V2 = "0x832c6f546Bf34A552DeB8773216a93bf6801028c"; +exports.FRAXSWAP_PAIR_FRAX_ZZ_V2 = "0x5E8c1aD4c3D04f059d5c1A2Ce4593e53be270bca"; +// FraxtalL1 +exports.ADDRESS_MANAGER = "0x8c5D64d10394cFa070066e70Ec19E67398b4dABE"; +exports.BASE_FEE_VAULT_RECIPIENT = "0xB1748C79709f4Ba2Dd82834B8c82D4a505003f27"; +exports.BATCH_INBOX = "0xfF000000000000000000000000000000000420fC"; +exports.BATCH_SENDER = "0x6017f75108f251a488B045A7ce2a7C15b179d1f2"; +exports.DISPUTE_GAME_FACTORY_PROXY = "0x3AA7e876880CB34371c01f1510B1e0A932dCb8C1"; +exports.FINAL_SYSTEM_OWNER = "0xe0d7755252873c4eF5788f7f45764E0e17610508"; +exports.FRAXTAL_COMPTROLLER = "0xe0d7755252873c4eF5788f7f45764E0e17610508"; +exports.FRAXTAL_DEPLOYER = "0xe0d7755252873c4eF5788f7f45764E0e17610508"; +exports.L1_CROSS_DOMAIN_MESSENGER_IMPL_V2 = "0xC6e4ECE5576dC96846bb11eD8910f3dF3CE516b8"; +exports.L1_CROSS_DOMAIN_MESSENGER_PROXY = "0x126bcc31Bc076B3d515f60FBC81FddE0B0d542Ed"; +exports.L1_CROSS_DOMAIN_MESSENGER__IMPL_V1 = "0x31c25985E6b10CF335FC01cf9790aF4890d0505c"; +exports.L1_ERC721_BRIDGE_IMPL_V2 = "0x7eE1637C33Ed0DFEE6403f3301B6d404106018e4"; +exports.L1_ERC721_BRIDGE_PROXY = "0xa9B5Fb84B7aeAF0D51C95DB04a76B1D4738D0eC5"; +exports.L1_ERC721_BRIDGE__IMPL_V1 = "0x23A0478996241F9f966b7054c06FdeB96Ddf3475"; +exports.L1_STANDARD_BRIDGE_IMPL_V2_ADDR = "0x30Cd695249394eED44C576f2caEC5304be6455F9"; +exports.L1_STANDARD_BRIDGE_PROXY = "0x34C0bD5877A5Ee7099D0f5688D65F4bB9158BDE2"; +exports.L1_STANDARD_BRIDGE__IMPL_V1_ADDR = "0xCC26248B71284B812Ff7825e005560DB01a874C7"; +exports.L2_OUTPUT_ORACLE_CHALLENGER = "0xe0d7755252873c4eF5788f7f45764E0e17610508"; +exports.L2_OUTPUT_ORACLE_IMPL_V2 = "0x6f3CcC8C9DAf8B9b39aDe481213Ff7A626a42B65"; +exports.L2_OUTPUT_ORACLE_PROPOSER = "0xFb90465f3064fF63FC460F01A6307eC73d64bc50"; +exports.L2_OUTPUT_ORACLE_PROXY = "0x66CC916Ed5C6C2FA97014f7D1cD141528Ae171e4"; +exports.L2_OUTPUT_ORACLE__IMPL_V1 = "0xA30ADd78D5be6B2B55C934666bb4fF2C4429d800"; +exports.OPTIMISM_MINTABLE_ERC20_FACTORY_PROXY = "0x11FE3be54aC01C13Dd985cE2BdD10eD77e1376cc"; +exports.OPTIMISM_PORTAL_IMPL_V2_ADDR = "0x47Ec03B67ba4f3C71a4320D2947f2173E0B45a23"; +exports.OPTIMISM_PORTAL_PROXY = "0x36cb65c1967A0Fb0EEE11569C51C2f2aA1Ca6f6D"; +exports.OPTIMISM_PORTAL__IMPL_V1_ADDR = "0x59B6903044Fa9439a5D621D3605789A6E654b1D6"; +exports.P2P_SEQUENCER_ADDRESS = "0xc88138f5c82DD1bD327708C7F1c15E44Ce7FdA0C"; +exports.PORTAL_GUARDIAN = "0xe0d7755252873c4eF5788f7f45764E0e17610508"; +exports.PROTOCOL_VERSIONS_IMPL_V2 = "0xeE1d28b0FB299BcE1E164aCc001c15e283082bA2"; +exports.PROTOCOL_VERSIONS_PROXY = "0x3c7EA1c10Eb783fE86e4eEd202324dCFEEca9043"; +exports.PROXY_ADMIN = "0x13Fe62cB24aEa5afd179F20D362c056c3881ABcA"; +exports.PROXY_ADMIN_OWNER = "0xe0d7755252873c4eF5788f7f45764E0e17610508"; +exports.STORAGE_SETTER = "0x7a6b7F35D032c9b122C69F01EA4523e028f6ef4A"; +exports.SUPERCHAIN_CONFIG_GUARDIAN = "0xe0d7755252873c4eF5788f7f45764E0e17610508"; +exports.SUPERCHAIN_CONFIG_IMPL_V2 = "0x0d9C39c64CF8eDA1EdFeBD78AFa895bAA797eFc4"; +exports.SUPERCHAIN_CONFIG_PROXY = "0x61ca43CB037aC9181d8Fa5CD0073dC314065Ccc4"; +exports.SYSTEM_CONFIG_IMPL_V2_ADDR = "0x4D7A1a16d0DA89B50FBd8b524508FC393A6Dc367"; +exports.SYSTEM_CONFIG_PROXY = "0x34a9f273cbD847d49c3De015FC26c3E66825f8b2"; +exports.SYSTEM_CONFIG__IMPL_V1_ADDR = "0x22052c592f763CA14a090D9974c5Bf9Fd3a44b8c"; +exports.SYSTEM_OWNER_SAFE = "0xe0d7755252873c4eF5788f7f45764E0e17610508"; +// MiddlemanGauges +exports.BALANCER_FRXETH_BB_A_WETH_GAUGE = "0xE3f4e2b79f1a8bf3b14d9100323Fca24D923f796"; +exports.CONVEX_FRAXBP_ARBITRUM = "0x636A9d7686bFA0a2ddd93b37A1E33bCdE6C31e8D"; +exports.CONVEX_FRAX_FXB_20241231_ARBITRUM = "0xba1ED260F9a81088Ecb7602F790a67C773817BDA"; +exports.CONVEX_FRAX_FXB_20261231_ARBITRUM = "0x2A8499c4a86F7c07e311c73E36575A0Dc2D362C3"; +exports.CONVEX_FRXETH_WETH_ARBITRUM = "0x5608051D98377419d7D861531728DFB869dDc054"; +exports.CONVEX_HFXB_FRAX_ARBITRUM = "0x53e78a6e12146565c7d7307d07A3C1ABacf3E20F"; +exports.CONVEX_SQUID_WFRXETH_FRAXTAL = "0xE096E62B4b23C46a748828083458e22b014640f3"; +exports.CONVEX_USD_FRAXBP = "0x840f20ffED887c61435E81fd1231CB923df39d3d"; +exports.CURVE_VSTFRAX_F = "0x127963A74c07f72D862F2Bdc225226c3251BD117"; +exports.FLE_FXS_WFRXETH_FRAXTAL = "0x6f82A6551cc351Bc295602C3ea99C78EdACF590C"; +exports.FLE_FRAX_FXS_FRAXTAL = "0x83Dc6775c1B0fc7AaA46680D78B04b4a3d4f5650"; +exports.FRAXSWAP_V2_FRAX_FPI_FRAXTAL = "0x3B78BdC7575896701C4e32f9D070AA387fcEB22b"; +exports.FRAXSWAP_V2_FRAX_FXS_FRAXTAL = "0x99FA1928A9Fea45b8d1395e870a92a0675A10E6E"; +exports.FRAXSWAP_V2_FRAX_SFRXETH_FRAXTAL = "0x007c874a4240f8C31B4BfE6D91f47b903e2E3BE1"; +exports.FRAXSWAP_V2_FRAX_WFRXETH_FRAXTAL = "0x8Fa7B006538F0710BD5fEfBd5737eBDD8B487166"; +exports.KYBERSWAP_ELASTIC_FRAX_USDC_ARBITRUM = "0x0884c9Bb52348fa76d4e1c6Ea042A2EaF0b72c6C"; +exports.KYBERSWAP_ELASTIC_FRAX_USDC_OPTIMISM = "0x9c9e8E8ccD7dAF6AfAB436829992B3Cf408319B4"; +exports.KYBERSWAP_ELASTIC_FRAX_USDC_POLYGON = "0x11c9C6F9e983bf6E10296A9ce09D4572F664FF25"; +exports.MSTABLE_FRAX_MUSD = "0x3e14f6EEDCC5Bc1d0Fc7B20B45eAE7B1F74a6AeC"; +exports.SADDLE_L2D4_ARBITRUM = "0x9B8AEd182B8A9430C14e97Bf2C02F129f2b36854"; +exports.SENTIMENT_LFRAX = "0x86c0A521807f43A646978e9f302BAF693350eAa3"; +exports.SNOWBALL_S4D = "0x66fD216bCBeb566EF038A116B7270f241005e186"; +exports.SPIRITSWAP_FRAX_FXS = "0xebF993690F65B23862E10F489656529ac06A27B8"; +// Misc +exports.AAVE_AMO = "0x66635DC1EdEfF19e839f152a67278151Aa6e1B61"; +exports.AMO_MINTER = "0xcf37B62109b537fa0Cb9A90Af4CA72f6fb85E241"; // Old: 0xF9931973fCc0c37908687Eec2CCB28fC3B94B086 +exports.AMO_MINTER_OLD = "0x36a0B6a5F7b318A2B4Af75FFFb1b51a5C78dEB8C"; +exports.BALANCE_CHECKER = "0x0be27F994E24F8C3E5f6D0C28AbB5732256ee205"; +exports.BUNDLE_UTILS = "0xD1a7b80a954e56bfd7bd889aF6e2BE8674719F5d"; +exports.CONVEX_AMO = "0x49ee75278820f409ecd67063D8D717B38d66bd71"; // Impl: 0x49f77ddd4d57636ab4c98d8f18ca5f4b5210983d +exports.CONVEX_AMO_ADMIN = "0xE53d45ABe10Ce20427D20c5a1b6360Fa5BA0cE0A"; +exports.CRVFRAX_VAULT = "0xB4AdA607B9d6b2c9Ee07A275e9616B84AC560139"; +exports.CURVE_AMO = "0x72170Cdc48C33a6AE6B3E83CD387ca3Fb9105da2"; // Impl: 0xC3204838aF4CE0597476aDF367B4C9a3cf9a1B51 +exports.CURVE_AMO_IMPL_V1 = "0x5840Db064e17480f8e8E74fD6714C9c316f7DdFE"; // Old2: 0xbd061885260F176e05699fED9C5a4604fc7F2BDC, Old1: 0x77746DC37Deae008c7149EDc1b1A8D6d63e08Be5, Old2: 0x25e9702359bAf56E505F0BA981eeBFA23ceB030A, Old3: 0x19a47F38D39692617C9D9012eC0176C9ead00a5e +exports.CURVE_AMO_V1 = "0xbd061885260F176e05699fED9C5a4604fc7F2BDC"; +exports.CURVE_AMO_V2 = "0xD103FEf74D05FbC20B5184FE85c7187735355DB3"; // 0xeF8c0b4902b985bF64B8cfF6BbCD0AC1FDc8d5d3, // Proxy: 0x7e983e4f98b16cee76f8f9a6a1e87b5861de8769 +exports.CURVE_AMO_V5 = "0xf8a4ffe7C980fD50B160b7B86dCd5e9eb7E281a9"; +exports.CURVE_AMO_ADMIN = "0x900909C07c2761d84C5d863FF5905102916DF69C"; +exports.CURVE_METAPOOL_LOCKER = "0x70F55767B11c047C8397285E852919F5f6c8DC60"; +exports.CURVE_METAPOOL_LOCKER_2 = "0xE4BD0461AE7fdc76c61CE286a80c9B55d83B204a"; +exports.CURVE_VOTER_PROXY = "0x847FA1A5337C7f24D7066E467F2e2A0f969Ca79F"; +exports.CVX_LOCKER_AMO = "0x7038C406e7e2C9F81571557190d26704bB39B8f3"; +exports.CVX_LOCKER_AMO_V2 = "0x72a19342e8F1838460eBFCCEf09F6585e32db86E"; +exports.DEPOSIT_CONTRACT_ADDRESS = "0x00000000219ab540356cBB839Cbe05303d7705Fa"; +exports.ETH_ADDRESS = "0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE"; +exports.FPI_CONTROLLER_AMO = "0x2397321b301B80A1C0911d6f9ED4b6033d43cF51"; // Old: 0x309AC8840f9b4C7eEB5bAb1e89669d8dbb86c060 +exports.FRAX3CRV_CURVE_FXS_DISTRIBUTOR = "0xBBbAf1adf4d39B2843928CCa1E65564e5ce99ccC"; // MAY NEED TO CALL APPROVE FIRST +exports.FRAX3CRV_CURVE_REWARDS_DISTRIBUTOR_EOA = "0x73f9F84B04584227b4f0bafFd8B37D6D0C11a23c"; +exports.FRAX_GAUGE_CONTROLLER = "0x44ade9AA409B0C29463fF7fcf07c9d3c939166ce"; +exports.FRAX_GAUGE_CONTROLLER_V2 = "0x3669C421b77340B2979d1A00a792CC2ee0FcE737"; +exports.FRAX_GAUGE_REWARDS_DISTRIBUTOR = "0x278dC748edA1d8eFEf1aDFB518542612b49Fcd34"; +exports.FRAX_GAUGE_NOOP_REWARDS_DISTRIBUTOR = "0x48D9A9e67e9deCfD493efE2B3D3B5291fc802e5F"; +exports.FRAX_GAUGE_V2 = "0x72E158d38dbd50A483501c24f792bDAAA3e7D55C"; +exports.FRAXLEND_AMO = "0x0Ed8fA7FC63A8eb5487E7F87CAF1aB3914eA4eCa"; +exports.FRAXLEND_AMO_V3 = "0xf6E697e95D4008f81044337A749ECF4d15C30Ea6"; +exports.FRXETH_MINTER = "0xbAFA44EFE7901E04E39Dad13167D089C559c1138"; +exports.FXS_1559_AMO = "0x9C6a04871D11b33645ab592f68C41bb2B41F51EE"; // Old1: 0xaf02be5968D8Fe9536e24E4c7e888C59A58Bc077 +exports.FXS_1559_AMO_V2 = "0xC80C48862E4254F37047235298eDb6AA35717C24"; // Proxy +exports.FXS_1559_AMO_V2_ADMIN = "0xCaa487D113ad1C34Ce128c4f3a2A437614C6a692"; // Proxy admin +exports.FXS_1559_AMO_V2_IMPL_V1 = "0xCDe9A4e885B87a893b8817D136FD2F404B54294f"; +exports.FXS_1559_AMO_V3 = "0xb524622901b3f7b5DeA6501E9830700C847C7DC5"; // Old: 0x7301BB959ee286D8ABC46f341144afE443CEdAe5 +exports.INVESTOR_AMO = "0xB8315Af919729c823B2d996B1A6DDE381E7444f1"; // Old proxy: 0x2B4d259a8f6E765AD881C4C1D04045D629dA01b4 +exports.INVESTOR_AMO_V1 = "0xEE5825d5185a1D512706f9068E69146A54B6e076"; +exports.INVESTOR_AMO_ADMIN = "0x069c24600c2A03147D4E1D9b04d193151676F577"; +exports.INVESTOR_AMO_IMPL_V1 = "0xdE3C8aA7f53a69c595b7720045000A68Cb9CB341"; // Old V3: 0xEccA5a27B4f8f92a2bFFd006F20168A7188C0A0C, Old V2: 0xEE5825d5185a1D512706f9068E69146A54B6e076, // Old: 0xe09394AE14d7c3b1798e4dbEa4c280973B2689A4 +exports.LENDING_AMO = "0x9507189f5B6D820cd93d970d67893006968825ef"; // Old: 0xDA9d06166c2085988920Fb35EB2d322B4aaDF1EE +exports.MANUAL_TOKEN_TRACKER_AMO = "0xEc8672dd770D59FaD9a811591a5Edd40e8F6A413"; +exports.MIGRATION_BUNDLE_UTILS = "0x239c957d42343B3d91FABc7c16E7F1e30Bc32E5B"; // same bytecode: 0x2fFFFbA4F562569bec2D4FC1c36F7797ffb173Cd +exports.MIGRATION_HELPER = "0xe16723A08Ae054a8F20BDc0395389569011e78D6"; +exports.MIM_CONVEX_AMO = "0x31183a2CCe8d1BFBBFE140Ea1A1264A454Fc821E"; +exports.MINT_UTILITIES = "0xE054C1ab5D548E0144ab3F89a8f5809137819906"; +exports.MSIG_HELPER = "0x977eaDb6fa9b8E1a2A950CcDE1A75a7b527a8cBB"; +exports.MULTICALL_OZ_DELEGATECALL = "0x1EA632b997B7c7068ac48aDe8040652a8AF9FbbB"; +exports.MULTISIG = "0xFa27873EA2F0eA9DcD2052848C4A7F8ADE8a3936"; +exports.OHM_AMO = "0x5699d20732a2EFa9A895EF04bb210aa751C4dB96"; // Impl:0x89a5CeC88598c0CE4d4E331D0b027499edd3dfFa +exports.OHM_AMO_ADMIN = "0xE53d45ABe10Ce20427D20c5a1b6360Fa5BA0cE0A"; +exports.RARI_AMO = "0x96665d63c1B53f8335e3c9287Ee255f306C93c45"; +exports.RAGEQUITTER_TEMPLE = "0xB12C76b92936d136Fd8264F6EFcBb06458338D97"; +exports.STAKEDAO_AMO = "0x375278D3C65f29C1A90E8550888f1439cFeFe465"; // Impl:0xcf1e6926b2167f83ec3300bed04a672abd93e646 +exports.STAKING_UTILITIES = "0xE4de6E1DF1FE135D6462554d0Fd36A14d787f689"; +exports.TIMELOCK = "0x8412ebf45bAC1B340BbE8F318b928C466c4E39CA"; +exports.TOKEMAK_AMO = "0x4e710B33c87CEDF832Cd82E11d743A011864f733"; +exports.TOKEN_TRACKER_AMO = "0x3F702a8F6c9f9F7ABdfEA67f89d33F18e0368600"; +exports.TOKEN_TRACKER_V2 = "0x37336AD1F3A145C710247E6a14C9AcC7f34D09eE"; +exports.TWAMM_AMO = "0x11Fc7df1fb0E51f9c9AB8f575d9bbaDC92FA425B"; +exports.TWAMM_AMO_V2 = "0x629C473e0E698FD101496E5fbDA4bcB58DA78dC4"; +exports.UNIV2_TO_UNIV3_MIGRATOR_ADDRESS = "0x7b50137E8996A1717a6D97a0527e4c5D2D133405"; +exports.UNIV3_LIQUIDITY_AMO = "0x3814307b86b54b1d8e7B2Ac34662De9125F8f4E6"; // Old:"0xef2b0895f986Afd7Eb7939B65E2883C5e199751f +exports.UNIV3_LIQUIDITY_AMO_V2 = "0xc91Bb4b0696e3b48c0C501B4ce8E7244Fc363A79"; +exports.VEFXS_SMART_WALLET_CHECKER = "0x53c13BA8834a1567474b19822aAD85c6F90D9f9F"; +exports.VEFXS_YIELD_DISTRIBUTOR = "0x19a0a70a68fbC604Bf20A03b787df8f7AC1d50f0"; +exports.VEFXS_YIELD_DISTRIBUTOR_V2 = "0x62C4cf364078C98fA08AfDB4D3d8D87e780Ebd45"; +exports.VEFXS_YIELD_DISTRIBUTOR_V3 = "0xed2647Bbf875b2936AAF95a3F5bbc82819e3d3FE"; +exports.VEFXS_YIELD_DISTRIBUTOR_V4 = "0xc6764e58b36e26b08Fd1d2AeD4538c02171fA872"; +exports.VEFPIS_YIELD_DISTRIBUTOR_V4 = "0xE6D31C144BA99Af564bE7E81261f7bD951b802F6"; // V5 really, but keeping name here for DB compatibility +exports.VEFPIS_SMART_WALLET_CHECKER = "0x81903F6f9675f7b500eAFE20681bD2D7BAb7C71b"; +exports.YIELDSPACE_AMO = "0x8971946467a77b798762823434c0f407d20F9df9"; +// Multisigs +exports.ADVISORS_MULTISIG = "0x874a873e4891fB760EdFDae0D26cA2c00922C404"; +exports.BEE_USER = "0x733371d7C15ACECF9e120dd037D6BcDb6E069148"; +exports.COMMUNITY_MULTISIG = "0x63278bF9AcdFC9fA65CFa2940b89A34ADfbCb4A1"; +exports.COMPTROLLER = "0xB1748C79709f4Ba2Dd82834B8c82D4a505003f27"; +exports.COMPTROLLER_MULTISIG = "0xB1748C79709f4Ba2Dd82834B8c82D4a505003f27"; +exports.CURVEAMO_OPERATOR_ADDRESS = "0x8D8Cb63BcB8AD89Aa750B9f80Aa8Fa4CfBcC8E0C"; +exports.FPI_COMPTROLLER_MULTISIG = "0x6A7efa964Cf6D9Ab3BC3c47eBdDB853A8853C502"; +exports.FPI_CORE_CONTRIBUTORS_TEAM_MULTISIG = "0x708695db8dF61e646571E78b9b3e2BAd7D6c42E3"; +exports.FPI_TREASURY_MULTISIG = "0x5181C3c36bD52F783e6E1771d80b1e3AdCB36019"; +exports.FRAXLEND_MAIN_MULTISIG = "0x168200cF227D4543302686124ac28aE0eaf2cA0B"; +exports.FRAXLEND_OPERATOR_MULTISIG = "0xa4EC124e09D6D1A092c6BD16aFac9CD83f73E3c3"; +exports.FRAXLEND_CIRCUIT_BREAKER_MULTISIG = "0xfd3065C629ee890Fd74F43b802c2fea4B7279B8c"; +exports.FRXETH_COMPTROLLER = "0x8306300ffd616049FD7e4b0354a64Da835c1A81C"; +exports.FRXETH_OWNER = "0x8306300ffd616049FD7e4b0354a64Da835c1A81C"; +exports.FXB_MULTISIG = "0x831822660572bd54ebaa065C2acef662a6277D40"; +exports.INVESTORS_MULTISIG = "0xa95f86fE0409030136D6b82491822B3D70F890b3"; +exports.TEAM_MULTISIG = "0x8D4392F55bC76A046E443eb3bab99887F4366BB0"; +exports.TIMELOCK_ADDRESS = "0x8412ebf45bAC1B340BbE8F318b928C466c4E39CA"; +exports.TREASURY_MULTISIG = "0x9AA7Db8E488eE3ffCC9CdFD4f2EaECC8ABeDCB48"; +exports.WALLET_WITH_CRVFRAX = "0xCFc25170633581Bf896CB6CDeE170e3E3Aa59503"; +exports.WALLET_WITH_USDC = "0xD6216fC19DB775Df9774a6E33526131dA7D19a2c"; +exports.WALLET_WITH_WETH = "0x8EB8a3b98659Cce290402893d0123abb75E3ab28"; +// PoolRelatedTokens +exports.AFRAX = "0xd4937682df3C8aEF4FE912A96A74121C0829E664"; +exports.AGEURFRAXBP = "0x22e859Ee894c2068920858A60b51DC03ac5581c1"; +exports.AGEURFRAXBP_POOL = "0x58257e4291F95165184b4beA7793a1d6F8e7b627"; +exports.ALCXFRAXBP = "0xf985005a3793DbA4cCe241B3C19ddcd3Fe069ff4"; +exports.ALCXFRAXBP_POOL = "0x4149d1038575CE235E03E03B39487a80FD709D31"; +exports.ALETHFRXETH = "0x97Ba76a574bC5709b944bB1887691301c72337Ca"; +exports.ALETHFRXETH_POOL = "0x97Ba76a574bC5709b944bB1887691301c72337Ca"; +exports.ALUSDFRAXBP = "0xB30dA2376F63De30b42dC055C93fa474F31330A5"; +exports.ALUSDFRAXBP_POOL = "0xB30dA2376F63De30b42dC055C93fa474F31330A5"; +exports.ANKRETHFRXETH = "0xa8e14F03124Ea156A4fc416537c82ff91a647D50"; +exports.ANKRETHFRXETH_POOL = "0x41eA4045de2676727883aa0B4E43D7e32261f559"; +exports.APEUSDFRAXBP = "0x04b727C7e246CA70d496ecF52E6b6280f3c8077D"; +exports.APEUSDFRAXBP_POOL = "0x04b727C7e246CA70d496ecF52E6b6280f3c8077D"; +exports.AUSDC = "0xBcca60bB61934080951369a648Fb03DF4F96263C"; +exports.BADGERFRAXBP = "0x09b2E090531228d1b8E3d948C73b990Cb6e60720"; +exports.BADGERFRAXBP_POOL = "0x13B876C26Ad6d21cb87AE459EaF6d7A1b788A113"; +exports.BUSDFRAXBP = "0x8fdb0bB9365a46B145Db80D0B1C5C5e979C84190"; +exports.BUSDFRAXBP_POOL = "0x8fdb0bB9365a46B145Db80D0B1C5C5e979C84190"; +exports.CAAVE = "0xe65cdB6479BaC1e22340E4E755fAE7E509EcD06c"; +exports.CBETHFRXETH = "0x548E063CE6F3BaC31457E4f5b4e2345286274257"; +exports.CBETHFRXETH_POOL = "0x73069892f6750CCaaAbabaDC54b6b6b36B3A057D"; +exports.CLEVUSDFRAXBP = "0x84C333e94AEA4a51a21F6cf0C7F528C50Dc7592C"; +exports.CLEVUSDFRAXBP_POOL = "0x84C333e94AEA4a51a21F6cf0C7F528C50Dc7592C"; +exports.COILFRAXBP = "0xb85010193FD15aF8390dbD62790Da70F46c1126B"; +exports.COILFRAXBP_POOL = "0xAF4264916B467e2c9C8aCF07Acc22b9EDdDaDF33"; +exports.CRVFRAX = "0x3175Df0976dFA876431C2E9eE6Bc45b65d3473CC"; +exports.CRVFRAX_GAUGE = "0xCFc25170633581Bf896CB6CDeE170e3E3Aa59503"; +exports.CRVFRXETH = "0xc34993c9aDf6a5AB3b4cA27dC71b9c7894A53974"; +exports.CRVFRXETH_POOL = "0x442F37cfD85D3f35e576AD7D63bBa7Bb36fCFe4a"; +exports.CRVUSDFRAX = "0x0CD6f267b2086bea681E922E19D40512511BE538"; +exports.CRVUSDFRAX_GAUGE = "0x96424E6b5eaafe0c3B36CA82068d574D44BE4e3c"; +exports.CRVUSDFRAX_POOL = "0x0CD6f267b2086bea681E922E19D40512511BE538"; +exports.CURVE4POOL = "0x4e0915C88bC70750D68C481540F081fEFaF22273"; +exports.CUSDC = "0x39AA39c021dfbaE8faC545936693aC917d5E7563"; +exports.CVGFRAXBP = "0x421E13b4e805993A0d50aD8c6c47A4F693f04424"; +exports.CVGFRAXBP_GAUGE = "0x8A111B47B31bBa40C2F0D2f9a8Cf6B6C4B50114E"; +exports.CVGFRAXBP_POOL = "0xa7B0E924c2dBB9B4F576CCE96ac80657E42c3e42"; +exports.CVXAGEURFRAXBP = "0x9e187393cBc76c8Bf8e8a06bD7737a7cabe9d66C"; +exports.CVXAGEURFRAXBP_REWARDER = "0x17962aB30c7F291b125A0A38d0ad220ab22F8a5B"; +exports.CVXALCXFRAXBP = "0xCf9fC20189755354edDdED66C9ED9DFADAFd7a2E"; +exports.CVXALCXFRAXBP_REWARDER = "0xC10fD95fd3B56535668426B2c8681AD1E15Be608"; +exports.CVXALUSDFRAXBP = "0x5BcAfc77f19F72bCf1420cC1722c3e06E16Ec29a"; +exports.CVXALUSDFRAXBP_REWARDER = "0x26598e3E511ADFadefD70ab2C3475Ff741741104"; +exports.CVXAPEUSDFRAXBP = "0x04b727C7e246CA70d496ecF52E6b6280f3c8077D"; +exports.CVXAPEUSDFRAXBP_REWARDER = "0x51e6B84968D56a1E5BC93Ee264e95b1Ea577339c"; +exports.CVXBADGERFRAXBP = "0x25f0b7c3A7A43b409634a5759526560cC3313d75"; +exports.CVXBADGERFRAXBP_REWARDER = "0xe0705A91984b076C250d410A41f615380aF1C2ed"; +exports.CVXBUSDFRAXBP = "0xf203A94e59d071062a0dd31f396bCb19a38809A4"; +exports.CVXBUSDFRAXBP_REWARDER = "0x9e6Daf019767D5cEAdE416ce77E8d187b5B254F3"; +exports.CVXCLEVUSDFRAXBP = "0x84C333e94AEA4a51a21F6cf0C7F528C50Dc7592C"; +exports.CVXCLEVUSDFRAXBP_REWARDER = "0x710e85B2793b3AE88Cb1Da3cb25b3d62D810d180"; +exports.CVXCOILFRAXBP = "0x624cEFdBe30507EEAc71882C9e42Ca0900D5B6a1"; +exports.CVXCOILFRAXBP_REWARDER = "0xAE0b6b66378C7DEFc0514D7cBc6E4e92Cf56b0af"; +exports.CVXCRVFRAX = "0x117A0bab81F25e60900787d98061cCFae023560c"; +exports.CVXCRVFRAXBP = "0x527331F3F550f6f85ACFEcAB9Cc0889180C6f1d5"; +exports.CVXCRVFRAXBP_POOL = "0x31c325A01861c7dBd331a9270296a31296D797A0"; +exports.CVXCRVFRAX_REWARDER = "0x7e880867363A7e321f5d260Cade2B0Bb2F717B02"; +exports.CVXCRVUSDFRAX = "0x01CcDe1dFb6c84e1Cc13a6Bf777aa2160ABd11BA"; +exports.CVXCRVUSDFRAX_REWARDER = "0x3CfB4B26dc96B124D15A6f360503d028cF2a3c00"; +exports.CVXCRV_REWARDER = "0x3Fe65692bfCD0e6CF84cB1E7d24108E434A7587e"; +exports.CVXCVGFRAXBP = "0x3cB8E5cac768D6Dd3E7683dBC78E255aae66EDBB"; +exports.CVXCVGFRAXBP_REWARDER = "0x0736b746F53826A1eEC888a05EBF592AF68946Db"; +exports.CVXCVXCRVFRAXBP = "0x2aE739F40Cda5F053F9dbecE7E177Fcbdc4A07D9"; +exports.CVXCVXCRVFRAXBP_REWARDER = "0xdEbc7B51043b4D0dd4f3310C68A12382b8843ceE"; +exports.CVXCVXFRAXBP = "0x123dC033d6fF314211F7953eD31bC805f85C13d5"; +exports.CVXCVXFRAXBP_REWARDER = "0xf02B3A77b1e7775de10294d78a4c3d77772B484A"; +exports.CVXCVXFXSFRAXBP = "0xDad9DB2c7c96a1496493E6D48d131a2667f284f9"; +exports.CVXCVXFXSFRAXBP_REWARDER = "0x19eA715F854dB2196C6f45A174541a5Ac884D2f9"; +exports.CVXDOLAFRAXBP = "0xf7eCC27CC9DB5d28110AF2d89b176A6623c7E351"; +exports.CVXDOLAFRAXBP_REWARDER = "0x0404d05F3992347d2f0dC3a97bdd147D77C85c1c"; +exports.CVXDOLAFRAXPYUSD = "0x430bE19e180fd8c2199eC5FAEabE2F5CDba68C94"; +exports.CVXDOLAFRAXPYUSD_REWARDER = "0xE8cBdBFD4A1D776AB1146B63ABD1718b2F92a823"; +exports.CVXEUSDFRAXBP = "0x8e074d44aaBC1b3b4406fE03Da7ceF787ea85938"; +exports.CVXEUSDFRAXBP_REWARDER = "0xB468dB2E478885B87D7ce0C8DA1D4373A756C138"; +exports.CVXFPIFRAX_F = "0x28ebAb5Ecbc3efB4116205c2D3237d8b16976B06"; +exports.CVXFRAXBP = "0x7F17A6C77C3938D235b014818092eb6305BdA110"; +exports.CVXFRAXBP_POOL = "0xBEc570d92AFB7fFc553bdD9d4B4638121000b10D"; +exports.CVXFRAXFPI_NG = "0xBA927A88eb7B7902ffC5cd99b94fA2964d1a1E03"; +exports.CVXFRAXFPI_NG_REWARDER = "0x062450B06EB92F1C4E227C41c987ed97c93Ae232"; +exports.CVXFRAXFXB_20240630 = "0x5A82ae31C1a36833B9E148d01E967c1b05eDb346"; +exports.CVXFRAXFXB_20240630_REWARDER = "0x830a71574E3c8AE9da477cE1B7F12849E9f7c8c8"; +exports.CVXFRAXFXB_20241231 = "0x06382622D0FafB372dA64b765EAd3d082a8BCabB"; +exports.CVXFRAXFXB_20241231_REWARDER = "0x249cE0b1a682AD7b02e43271f9f0C9ac85Ec47e8"; +exports.CVXFRAXFXB_20261231 = "0x7Ce2F444D0B034f44EeA4FE77608f0c680966D20"; +exports.CVXFRAXFXB_20261231_REWARDER = "0xC9F6D73fD06b8EEB0A4E87cAd407219E10F31712"; +exports.CVXFRAXPYUSD = "0x839CF70a09f1CB104b4eb0B48E26B855A0F7e855"; +exports.CVXFRAXPYUSD_REWARDER = "0xB10a6e39Ed8a66fEd3aAef3866a95611a49B9a95"; +exports.CVXFRAXSDAI = "0xAb4feFd9cabC03D935cAD345b7626C3180238fb3"; +exports.CVXFRAXSDAI_REWARDER = "0xE627082369689b2B86D948c377A4aE4e739C59eE"; +exports.CVXFRAXUSDP = "0x29c22337E3ce362Ce4ad8ecc9CE11fE5A08DBA3c"; +exports.CVXFRAXUSDP_REWARDER = "0x6991C1CD588c4e6f6f1de3A0bac5B8BbAb7aAF6d"; +exports.CVXFRXETH = "0xBb2568deeb365b8B89ef7F9B53E86B34cd5D0490"; +exports.CVXFRXETHALETH = "0x112E8f4b685475CcEd5C38142Cd7A2aE41ef6737"; +exports.CVXFRXETHALETH_REWARDER = "0xe0DbbCF08A5465db7c7401C86cce89030e11aB67"; +exports.CVXFRXETHANKRETH = "0xc18695D5824C49cF50E054953B3A5910c45597A0"; +exports.CVXFRXETHANKRETH_REWARDER = "0xc18695D5824C49cF50E054953B3A5910c45597A0"; +exports.CVXFRXETHCBETH = "0x39E1Ea9CB87a352CfFd43e0b19D573d12cf110CC"; +exports.CVXFRXETHCBETH_REWARDER = "0x0080d49D4a4921dF0F3853c5e4533462A51fbb29"; +exports.CVXFRXETHCRV = "0x41603dA2DD26E6fe29CAe074fC6772053A39C2A9"; +exports.CVXFRXETHCRV_REWARDER = "0xd5dC65ec6948845C1C428fb60BE38FE59B50BD13"; +exports.CVXFRXETHCVX = "0xAc4b1295F9Aeb1DB29acB37902bE349a79a66403"; +exports.CVXFRXETHCVX_REWARDER = "0xA064C1EeEbECD1DF41432f4B7264F508F005aF0C"; +exports.CVXFRXETHETH = "0xC07e540DbFecCF7431EA2478Eb28A03918c1C30E"; +exports.CVXFRXETHETH_REWARDER = "0xbD5445402B0a287cbC77cb67B2a52e2FC635dce4"; +exports.CVXFRXETHMSETH = "0x29889a5fE8e467da8af697C5f1eB901F4911Ab50"; +exports.CVXFRXETHMSETH_REWARDER = "0x15507737f44446EB0A86147E2C72Aa6A111A64B2"; +exports.CVXFRXETHPETH = "0x1941da8D12A6B39B76bd54c865c8cD3a4553E9C3"; +exports.CVXFRXETHPETH_REWARDER = "0x42aaC689261723d06d2a8f356448bd8249f831Bc"; +exports.CVXFRXETHPXETH = "0xDE183818eb02AfEa367C1AAFF1BFdeDecE6B2B05"; +exports.CVXFRXETHPXETH_REWARDER = "0x72b99E2cf3f9A2bbDA1Cc76894E4554d7aA8FE2E"; +exports.CVXFRXETHRETH = "0xeEC515BE690BF445c8C4d1625FD82FA75Bc38bf6"; +exports.CVXFRXETHRETH_REWARDER = "0x84754821b5484A69DB3164eF4eDC5A5657318039"; +exports.CVXFRXETHRETH_STAFI = "0x02a2206268b49A9b3ee5DD51577E5bDa0072d5F1"; +exports.CVXFRXETHRETH_STAFI_REWARDER = "0xf011aD8E91D1dc8625e5548755AEa1F6Fff81089"; +exports.CVXFRXETHSETH = "0xf67FEC3D0A32418813bE2BcdD78e058BCFa33AE8"; +exports.CVXFRXETHSETH_REWARDER = "0x55cdF6c7E6d04b83835E4702ed395D0263237DA2"; +exports.CVXFRXETHSTETH = "0x01492A2cB0Bd14034710475197B4169501B49Ead"; +exports.CVXFRXETHSTETH_REWARDER = "0xC3D0B8170E105d6476fE407934492930CAc3BDAC"; +exports.CVXFRXETHWETH = "0xAA71e0065A29F2529aBC0F615874009287966229"; +exports.CVXFRXETHWETH_REWARDER = "0xFafDE12dC476C4913e29F47B4747860C148c5E4f"; +exports.CVXFRXETHZETH = "0x52EdB08ab81e4Cc32cf318aed17dB11c09C3E8B9"; +exports.CVXFRXETHZETH_REWARDER = "0x98B662443695f7328F6A7fDe9894CC0E88630269"; +exports.CVXFRXETHZUNETH = "0xCB5d9126402cC17eF47b81BD48B43D52bF474Cd4"; +exports.CVXFRXETHZUNETH_REWARDER = "0x756d67A10974Fa0e0cE63F82AF4E7ef0d46d452D"; +exports.CVXFRXETH_POOL = "0x6E855d08f2984516c40C4246A385bA4A2eDFcd0A"; +exports.CVXFXSFRAXBP = "0xF57ccaD8122B898A147Cc8601B1ECA88B1662c7E"; +exports.CVXFXSFRAXBP_POOL = "0x21d158d95C2e150e144c36FC64E3653B8D6c6267"; +exports.CVXGRAIFRAXBP = "0x6CceedbC3551B619da21e552623Dc7C64Ae15168"; +exports.CVXGRAIFRAXBP_REWARDER = "0xC4581E043F676b95Eb1430474C69f3559a758086"; +exports.CVXGUSD3CRV_FREE = "0x15c2471ef46Fa721990730cfa526BcFb45574576"; +exports.CVXGUSDFRAXBP = "0xfbd79471A12929De8379a6CbaF320E150f139ac4"; +exports.CVXGUSDFRAXBP_REWARDER = "0x47809eE386D1dEC29c0b13f21ba30F564517538B"; +exports.CVXLUSDFRAXBP = "0xE8a371b5D32344033589A2F0a2712dBD12130b18"; +exports.CVXLUSDFRAXBP_REWARDER = "0x053e1dad223A206e6BCa24C77786bb69a10e427d"; +exports.CVXMAIFRAXBP = "0xe79914274Ea1332222793d7ba931647531E10a5b"; +exports.CVXMAIFRAXBP_REWARDER = "0xD3C412C3cEdbEC604425B23DCd79Aa1ac810622f"; +exports.CVXMKUSDFRAXBP = "0x187601595F6D5746566BC0361a48d13066F11C71"; +exports.CVXMKUSDFRAXBP_REWARDER = "0x35FbE5520E70768DCD6E3215Ed54E14CBccA10D2"; +exports.CVXMSUSDFRAXBP = "0xc3b19502F8c02be75F3f77fd673503520DEB51dD"; +exports.CVXMSUSDFRAXBP_REWARDER = "0xF189A4a1E845Fd62944F93De497409798523B397"; +exports.CVXOHMFRAXBP = "0x5271045F7B73c17825A7A7aee6917eE46b0B7520"; +exports.CVXOHMFRAXBP_REWARDER = "0x27A8c58e3DE84280826d615D80ddb33930383fE9"; +exports.CVXPUSDFRAXBP = "0xB17255D92892F1322d023befddaB85f172E36f67"; +exports.CVXPUSDFRAXBP_REWARDER = "0x6d096C99Cc2Ea52490355311b73D86365Acf087f"; +exports.CVXRSRFRAXBP = "0x022600684e9492dA82f0da11Bf039c11109d0935"; +exports.CVXRSRFRAXBP_REWARDER = "0x28441fb9b8b026487A6174Ff39Be015810611C0F"; +exports.CVXSDTFRAXBP = "0x95B051E97957f1D48C622Bf73225E3d4c2B189fb"; +exports.CVXSDTFRAXBP_REWARDER = "0xc3df9cC2B8FFdB801E8e6E8FF9C1245E2dEcdA98"; +exports.CVXSTGFRAXBP = "0x867fe27FC2462cff8890B54DfD64E6d42a9D1aC8"; +exports.CVXSTGFRAXBP_REWARDER = "0xAa57A289Bb22a1A0C583db306F6566AE2c0CAf21"; +exports.CVXSUSDFRAXBP = "0x8E2A6e9390CbD4C3895D07E4Cb171C0527990dF6"; +exports.CVXSUSDFRAXBP_REWARDER = "0x3fABBDfe05487De1720a9420fE2e16d2c3e79A9D"; +exports.CVXSWETHFRXETH = "0x1fb9115929b32D4456C37B80536a2C9434061296"; +exports.CVXSWETHFRXETH_REWARDER = "0x91362eBf6DbFA5c0FD45CE4cF46DfFd4A8899c7C"; +exports.CVXTRICRYPTOFRAX = "0xa0821fDc8d62413757B9da2357b0e5371f45335e"; +exports.CVXTRICRYPTOFRAX_REWARDER = "0x4af50A690062970DAf1d2f0Fa9042C6f5a5495E3"; +exports.CVXTRISDT = "0x5C2c6E21e141Dd3D13C34754A20d620A1bb731B5"; +exports.CVXTRISDT_REWARDER = "0x1f2a117314e6e8655E0A1C97669b7B836e2cDb91"; +exports.CVXTUSDFRAXBP = "0x33baeDa08b8afACc4d3d07cf31d49FC1F1f3E893"; +exports.CVXTUSDFRAXBP_REWARDER = "0x4a744870fD705971c8c00aC510eAc2206C93d5bb"; +exports.CVXUSDDFRAXBP = "0x4606326b4Db89373F5377C316d3b0F6e55Bc6A20"; +exports.CVXUSDDFRAXBP_REWARDER = "0x546cd3B917c1d8A6525b4A312bB0014BE031Eb28"; +exports.CVXUZDFRAXBP = "0xe6c0fAA19A7fB6A0a2C01e0BBC1a782b9e4a7B48"; +exports.CVXUZDFRAXBP_REWARDER = "0x820Fad75512c8C3E57Ad021d016846CEEB5F7105"; +exports.CVXXAIFRAXBP = "0xEbB0Dd1AfE63813AdD4c38EEbd71CE7354dd9b7e"; +exports.CVXXAIFRAXBP_REWARDER = "0x4a866fE20A442Dff55FAA010684A5C1379151458"; +exports.CVXZUSDFRAXBP = "0xd48494c36F98BE491f6Cfd6841617e847C819806"; +exports.CVXZUSDFRAXBP_REWARDER = "0xFd3A7636694259b32B3896f59436997AD25380cA"; +exports.D3POOL = "0xBaaa1F5DbA42C3389bDbc2c9D2dE134F5cD0Dc89"; +exports.DOLAFRAXBP = "0xE57180685E3348589E9521aa53Af0BCD497E884d"; +exports.DOLAFRAXBP_POOL = "0xE57180685E3348589E9521aa53Af0BCD497E884d"; +exports.DOLAFRAXPYUSD = "0xef484de8C07B6e2d732A92B5F78e81B38f99f95E"; +exports.DOLAFRAXPYUSD_GAUGE = "0x4B092818708A721cB187dFACF41f440ADb79044D"; +exports.DOLAFRAXPYUSD_POOL = "0xef484de8C07B6e2d732A92B5F78e81B38f99f95E"; +exports.EUSDFRAXBP = "0xAEda92e6A3B1028edc139A4ae56Ec881f3064D4F"; +exports.EUSDFRAXBP_POOL = "0xAEda92e6A3B1028edc139A4ae56Ec881f3064D4F"; +exports.FPIFRAX_F = "0x4704aB1fb693ce163F7c9D3A31b3FF4eaF797714"; +exports.FPIFRAX_F_POOL = "0xf861483fa7E511fbc37487D91B6FAa803aF5d37c"; +exports.FRAX3CRV_F = "0xd632f22692FaC7611d2AA1C0D552930D43CAEd3B"; +exports.FRAXBP = "0x3175Df0976dFA876431C2E9eE6Bc45b65d3473CC"; +exports.FRAXBP_POOL = "0xDcEF968d416a41Cdac0ED8702fAC8128A64241A2"; +exports.FRAXFPI = "0x2Cf99A343e4ECF49623E82f2Ec6A9b62e16Ff3fe"; +exports.FRAXFPI_NG = "0x2Cf99A343e4ECF49623E82f2Ec6A9b62e16Ff3fe"; +exports.FRAXFPI_NG_GAUGE = "0x107E4c1302403095e5A4Bc5e815982aa732e95BD"; +exports.FRAXFPI_NG_POOL = "0x2Cf99A343e4ECF49623E82f2Ec6A9b62e16Ff3fe"; +exports.FRAXFPI_POOL = "0x2Cf99A343e4ECF49623E82f2Ec6A9b62e16Ff3fe"; +exports.FRAXFXB_20240630 = "0x4ef4c7519023F30A78647EEab321d6cFabC2513c"; +exports.FRAXFXB_20240630_GAUGE = "0x35aD1ACf0C4BE5d4Ba11342128D440fDb9e189eb"; +exports.FRAXFXB_20240630_POOL = "0x4ef4c7519023F30A78647EEab321d6cFabC2513c"; +exports.FRAXFXB_20241231 = "0x6307E6688819951Cf8D6B6066018243D2496952F"; +exports.FRAXFXB_20241231_GAUGE = "0xC2FE9D3c761994897594Df63B33b6D843Ab7b1cF"; +exports.FRAXFXB_20241231_POOL = "0x6307E6688819951Cf8D6B6066018243D2496952F"; +exports.FRAXFXB_20261231 = "0xe035e27A8eD6842b478933820f90093D205F7098"; +exports.FRAXFXB_20261231_GAUGE = "0x0E83dF148F69965BfE752250835854b0dBeeaf01"; +exports.FRAXFXB_20261231_POOL = "0xe035e27A8eD6842b478933820f90093D205F7098"; +exports.FRAXPYUSD = "0xA5588F7cdf560811710A2D82D3C9c99769DB1Dcb"; +exports.FRAXPYUSD_GAUGE = "0xdc6d319FAc1498125e871ccEdF7f1B9998ebA3C5"; +exports.FRAXPYUSD_POOL = "0xA5588F7cdf560811710A2D82D3C9c99769DB1Dcb"; +exports.FRAXSDAI = "0xcE6431D21E3fb1036CE9973a3312368ED96F5CE7"; +exports.FRAXSDAI_GAUGE = "0xb9BDcDcD7c3C1A3255402D44639cb6c7281833cF"; +exports.FRAXSDAI_POOL = "0xcE6431D21E3fb1036CE9973a3312368ED96F5CE7"; +exports.FRAXUSDP = "0xFC2838a17D8e8B1D5456E0a351B0708a09211147"; +exports.FRAXUSDP_POOL = "0xaE34574AC03A15cd58A92DC79De7B1A0800F1CE3"; +exports.FRXETHALETH = "0xB657B895B265C38c53FFF00166cF7F6A3C70587d"; +exports.FRXETHALETH_GAUGE = "0x415F30505368fa1dB82Feea02EB778be04e75907"; +exports.FRXETHALETH_POOL = "0xB657B895B265C38c53FFF00166cF7F6A3C70587d"; +exports.FRXETHANKRETH = "0xa8e14F03124Ea156A4fc416537c82ff91a647D50"; +exports.FRXETHANKRETH_GAUGE = "0x86f8d7Ced9A8F5563C1198466968B02238E05917"; +exports.FRXETHANKRETH_POOL = "0x41eA4045de2676727883aa0B4E43D7e32261f559"; +exports.FRXETHCBETH = "0x548E063CE6F3BaC31457E4f5b4e2345286274257"; +exports.FRXETHCBETH_GAUGE = "0xD10C17D82053DD0AB65851a9A93a0abE0C4F4794"; +exports.FRXETHCBETH_POOL = "0x73069892f6750CCaaAbabaDC54b6b6b36B3A057D"; +exports.FRXETHCRV = "0xc34993c9aDf6a5AB3b4cA27dC71b9c7894A53974"; +exports.FRXETHCRV_GAUGE = "0x266cE172a1180134cf6C7836C516bd6A58b1f619"; +exports.FRXETHCRV_POOL = "0x442F37cfD85D3f35e576AD7D63bBa7Bb36fCFe4a"; +exports.FRXETHCVX = "0x6e52cCe4EaFDf77091dD1c82183b2D97b776b397"; +exports.FRXETHCVX_GAUGE = "0xc2075702490F0426E84E00d8B328119027813AC5"; +exports.FRXETHCVX_POOL = "0x47D5E1679Fe5f0D9f0A657c6715924e33Ce05093"; +exports.FRXETHETH = "0xf43211935C781D5ca1a41d2041F397B8A7366C7A"; +exports.FRXETHETH_POOL = "0xa1F8A6807c402E4A15ef4EBa36528A3FED24E577"; +exports.FRXETHMSETH = "0x2d600BbBcC3F1B6Cb9910A70BaB59eC9d5F81B9A"; +exports.FRXETHMSETH_GAUGE = "0xB7A3C519889a916C5ecB54101E69ECf11DE60d0b"; +exports.FRXETHMSETH_POOL = "0x2d600BbBcC3F1B6Cb9910A70BaB59eC9d5F81B9A"; +exports.FRXETHPETH = "0x320B564Fb9CF36933eC507a846ce230008631fd3"; +exports.FRXETHPETH_GAUGE = "0x57e1947e1134F6e733A4a694dE6A163eF23EDf54"; +exports.FRXETHPETH_POOL = "0x320B564Fb9CF36933eC507a846ce230008631fd3"; +exports.FRXETHPXETH = "0xe2Ed1dAc3A9547BC6057e32bf8133b5268D7d987"; +exports.FRXETHPXETH_GAUGE = "0x277d1424a84B35ec0a8108482551b00b4fc1539b"; +exports.FRXETHPXETH_POOL = "0xe2Ed1dAc3A9547BC6057e32bf8133b5268D7d987"; +exports.FRXETHRETH = "0xbA6c373992AD8ec1f7520E5878E5540Eb36DeBf1"; +exports.FRXETHRETH_GAUGE = "0xF20bd4D5A4112d5f9c64aDF53726F3ef1b7d0D61"; +exports.FRXETHRETH_POOL = "0xe7c6E0A739021CdbA7aAC21b4B728779EeF974D9"; +exports.FRXETHRETH_STAFI = "0xfcc067EFb7bE2EEbD32615F14fC22195abB68e9B"; +exports.FRXETHRETH_STAFI_GAUGE = "0xb0549599d8446A196541dE11008eF5e79fA14F57"; +exports.FRXETHRETH_STAFI_POOL = "0xfcc067EFb7bE2EEbD32615F14fC22195abB68e9B"; +exports.FRXETHSETH = "0x663aC72a1c3E1C4186CD3dCb184f216291F4878C"; +exports.FRXETHSETH_GAUGE = "0x77ef5D544FF6C739E7E10a549f64Dd08055538d1"; +exports.FRXETHSETH_POOL = "0x663aC72a1c3E1C4186CD3dCb184f216291F4878C"; +exports.FRXETHSTETH = "0x4d9f9D15101EEC665F77210cB999639f760F831E"; +exports.FRXETHSTETH_GAUGE = "0x821529Bb07c83803C9CC7763e5974386e9eFEdC7"; +exports.FRXETHSTETH_POOL = "0x4d9f9D15101EEC665F77210cB999639f760F831E"; +exports.FRXETHWETH = "0x9c3B46C0Ceb5B9e304FCd6D88Fc50f7DD24B31Bc"; +exports.FRXETHWETH_GAUGE = "0x4E21418095d32d15c6e2B96A9910772613A50d50"; +exports.FRXETHWETH_POOL = "0x9c3B46C0Ceb5B9e304FCd6D88Fc50f7DD24B31Bc"; +exports.FRXETHZETH = "0xfC89b519658967fCBE1f525f1b8f4bf62d9b9018"; +exports.FRXETHZETH_GAUGE = "0xB3627140BEacb97f9CA52b34090352FdAfC77d72"; +exports.FRXETHZETH_POOL = "0xfC89b519658967fCBE1f525f1b8f4bf62d9b9018"; +exports.FRXETHZUNETH = "0x3A65cbaebBFecbeA5D0CB523ab56fDbda7fF9aAA"; +exports.FRXETHZUNETH_GAUGE = "0x44f30D79f62a3D5340030d64806cD73239889F07"; +exports.FRXETHZUNETH_POOL = "0x3A65cbaebBFecbeA5D0CB523ab56fDbda7fF9aAA"; +exports.FTRIBE_8 = "0xFd3300A9a74b3250F1b2AbC12B47611171910b07"; +exports.FUSDC_18 = "0x6f95d4d251053483f41c8718C30F4F3C404A8cf2"; +exports.FXSFRXETH = "0x970FAA9aFBC5Feb3EC53059BA330DEe71E22B55B"; +exports.FXSFRXETH_POOL = "0x5133Da6Ba0474368Ad0398d953c8D31c1B75b82B"; +exports.GOHM = "0x0ab87046fBb341D058F17CBC4c1133F25a20a52f"; +exports.GRAIFRAXBP = "0x3175f54A354C83e8ADe950c14FA3e32fc794c0Dc"; +exports.GRAIFRAXBP_GAUGE = "0x8d5AF1F5DD3dC4B73e3A9Af682aDC3641FADE9a5"; +exports.GRAIFRAXBP_POOL = "0x3175f54A354C83e8ADe950c14FA3e32fc794c0Dc"; +exports.GUSD3CRV = "0xD2967f45c4f384DEEa880F807Be904762a3DeA07"; +exports.GUSDFRAXBP = "0x4e43151b78b5fbb16298C1161fcbF7531d5F8D93"; +exports.GUSDFRAXBP_POOL = "0x4e43151b78b5fbb16298C1161fcbF7531d5F8D93"; +exports.LUSDFRAXBP = "0x497CE58F34605B9944E6b15EcafE6b001206fd25"; +exports.LUSDFRAXBP_POOL = "0x497CE58F34605B9944E6b15EcafE6b001206fd25"; +exports.MAIFRAXBP = "0x66E335622ad7a6C9c72c98dbfCCE684996a20Ef9"; +exports.MAIFRAXBP_POOL = "0x66E335622ad7a6C9c72c98dbfCCE684996a20Ef9"; +exports.MKUSDFRAXBP = "0x0CFe5C777A7438C9Dd8Add53ed671cEc7A5FAeE5"; +exports.MKUSDFRAXBP_GAUGE = "0xF184d80915Ba7d835D941BA70cDdf93DE36517ee"; +exports.MKUSDFRAXBP_POOL = "0x0CFe5C777A7438C9Dd8Add53ed671cEc7A5FAeE5"; +exports.MSUSDFRAXBP = "0xc3b19502F8c02be75F3f77fd673503520DEB51dD"; +exports.MSUSDFRAXBP_POOL = "0xc3b19502F8c02be75F3f77fd673503520DEB51dD"; +exports.OGTEMPLE = "0x654590F810f01B51dc7B86915D4632977e49EA33"; +exports.OHMFRAXBP = "0x5271045F7B73c17825A7A7aee6917eE46b0B7520"; +exports.OHMFRAXBP_POOL = "0xFc1e8bf3E81383Ef07Be24c3FD146745719DE48D"; +exports.PITCHFXS = "0x11EBe21e9d7BF541A18e1E3aC94939018Ce88F0b"; +exports.PUSDFRAXBP = "0xC47EBd6c0f68fD5963005D28D0ba533750E5C11B"; +exports.PUSDFRAXBP_POOL = "0xC47EBd6c0f68fD5963005D28D0ba533750E5C11B"; +exports.RETHFRXETH = "0xbA6c373992AD8ec1f7520E5878E5540Eb36DeBf1"; +exports.RETHFRXETH_POOL = "0xe7c6E0A739021CdbA7aAC21b4B728779EeF974D9"; +exports.RSRFRAXBP = "0x3F436954afb722F5D14D868762a23faB6b0DAbF0"; +exports.RSRFRAXBP_POOL = "0x6a6283aB6e31C2AeC3fA08697A8F806b740660b2"; +exports.SADDLED4 = "0xd48cF4D7FB0824CC8bAe055dF3092584d0a1726A"; +exports.SADDLED4_POOL = "0xC69DDcd4DFeF25D8a793241834d4cc4b3668EAD6"; +exports.SDFRAX3CRV_F = "0x5af15DA84A4a6EDf2d9FA6720De921E1026E37b7"; +exports.SDL_ALUSDFRAXBP = "0x3cF7b9479a01eeB3bbfC43581fa3bb21cd888e2A"; +exports.SDL_ALUSDFRAXBP_GAUGE = "0x953693DCB2E9DDC0c1398C1b540b81b63ceA5e16"; +exports.SDL_ALUSDFRAXBP_POOL = "0xFB516cF3710fC6901F2266aAEB8834cF5e4E9558"; +exports.SDL_FRAX3POOL = "0x0785aDDf5F7334aDB7ec40cD785EBF39bfD91520"; +exports.SDL_FRAX3POOL_GAUGE = "0x13Ba45c2B686c6db7C2E28BD3a9E8EDd24B894eD"; +exports.SDL_FRAX3POOL_POOL = "0x8cAEa59f3Bf1F341f89c51607E4919841131e47a"; +exports.SDL_FRAXBP = "0x927E6f04609A45B107C789aF34BA90Ebbf479f7f"; +exports.SDL_FRAXBP_GAUGE = "0xB2Ac3382dA625eb41Fc803b57743f941a484e2a6"; +exports.SDL_FRAXBP_POOL = "0x13Cc34Aa8037f722405285AD2C82FE570bfa2bdc"; +exports.SDL_SUSDFRAXBP = "0x6Ac7a4cB3BFa90DC651CD53EB098e23c88d04e77"; +exports.SDL_SUSDFRAXBP_GAUGE = "0x104F44551386d603217450822443456229F73aE4"; +exports.SDL_SUSDFRAXBP_POOL = "0x69baA0d7c2e864b74173922Ca069Ac79d3be1556"; +exports.SDL_USDTFRAXBP = "0x486DFCfdbF9025c062110E8c0344a15279aD0a85"; +exports.SDL_USDTFRAXBP_GAUGE = "0x6EC5DD7D8E396973588f0dEFD79dCA04F844d57C"; +exports.SDL_USDTFRAXBP_POOL = "0xC765Cd3d015626244AD63B5FB63a97c5634643b9"; +exports.SDL_VESPERFRAXEARNPOOLFRAXBP = "0xA3beCa25Bd2bDd67272556666A7791d772C36571"; +exports.SDL_VESPERFRAXEARNPOOLFRAXBP_GAUGE = "0x9980C9b35844946cF3451cC0B43D9b6501F4a96E"; +exports.SDL_VESPERFRAXEARNPOOLFRAXBP_POOL = "0x9AC17f026f0599F77b3513a0A35f0258B0ec77f3"; +exports.SDTFRAXBP = "0x893DA8A02b487FEF2F7e3F35DF49d7625aE549a3"; +exports.SDTFRAXBP_POOL = "0x3e3C6c7db23cdDEF80B694679aaF1bCd9517D0Ae"; +exports.SETHFRXETH = "0x663aC72a1c3E1C4186CD3dCb184f216291F4878C"; +exports.SETHFRXETH_POOL = "0x663aC72a1c3E1C4186CD3dCb184f216291F4878C"; +exports.SOHM = "0x04F2694C8fcee23e8Fd0dfEA1d4f5Bb8c352111F"; +exports.STETHFRXETH = "0x4d9f9D15101EEC665F77210cB999639f760F831E"; +exports.STETHFRXETH_POOL = "0x4d9f9D15101EEC665F77210cB999639f760F831E"; +exports.STGFRAXBP = "0x9de1c3D446237ab9BaFF74127eb4F303802a2683"; +exports.STGFRAXBP_POOL = "0x867fe27FC2462cff8890B54DfD64E6d42a9D1aC8"; +exports.STKAAVE = "0x4da27a545c0c5B758a6BA100e3a049001de870f5"; +exports.STKCVXAGEURFRAXBP = "0x78b74C93c726B6e29d0Ef5A01764fA19eCCF0C1c"; +exports.STKCVXALCXFRAXBP = "0xAF1b82809296E52A42B3452c52e301369Ce20554"; +exports.STKCVXALUSDFRAXBP = "0xBE1C919cA137299715e9c929BC7126Af14f76091"; +exports.STKCVXAPEUSDFRAXBP = "0x6a20FC1654A2167d00614332A5aFbB7EBcD9d414"; +exports.STKCVXBADGERFRAXBP = "0xb92e3fD365Fc5E038aa304Afe919FeE158359C88"; +exports.STKCVXBUSDFRAXBP = "0x20c5177504A3f9Bad59c430791feA853EeAD4CCE"; +exports.STKCVXCLEVUSDFRAXBP = "0x3199a1ed1Ad4cb1d1b57939809c8ee79eafE9934"; +exports.STKCVXCOILFRAXBP = "0xa5B6f8Ec4122c5Fe0dBc4Ead8Bfe66A412aE427C"; +exports.STKCVXCOILFRAXBP_DEPRECATED = "0xdA69CeC36AE581C1b2a2EEb77C527Fb7c1331310"; +exports.STKCVXCRV = "0xaa0C3f5F7DFD688C6E646F66CD2a6B66ACdbE434"; +exports.STKCVXCRVUSDFRAX = "0xb6F63cc2066e7626fA47fCC37E78Df9fe89F1663"; +exports.STKCVXCVGFRAXBP = "0x7B465174A93a6d0602fD4ea99eEc86C07e5E1568"; +exports.STKCVXCVXCRVFRAXBP = "0xa103a6ca0C4D4072BA59a55FD453BFE4197A095B"; +exports.STKCVXCVXFRAXBP = "0x93D1De20eaBB21686CFe716f78F67E51ee578185"; +exports.STKCVXCVXFXSFRAXBP = "0xA6A8F315b1a8C9B05433d206b8fECfbF0fC96217"; +exports.STKCVXDOLAFRAXBP = "0xF06c8696730cf760619e4fA0eDd0f79ea50531A9"; +exports.STKCVXDOLAFRAXPYUSD = "0x8aAa49650C4908156efAc3B47e00745a319c806c"; +exports.STKCVXEUSDFRAXBP = "0x49BF6f9B860fAF73B0b515c06Be1Bcbf4A0db3dF"; +exports.STKCVXFPIFRAX = "0x7287488F8Df7dddc5f373142D4827aAF92AAC845"; +exports.STKCVXFRAXBP = "0x8a53ee42FB458D4897e15cc7dEa3F75D0F1c3475"; +exports.STKCVXFRAXFPI_NG = "0x562E4d6C958333a5f0988FFedA11e45C27722994"; +exports.STKCVXFRAXFXB_20240630 = "0x6E804b00fe562707E3a86bBbcC53Eb73c36c0cf6"; +exports.STKCVXFRAXFXB_20241231 = "0xBb16610CF051AAc4bBEF9c53e2fc99b77BCE4A8c"; +exports.STKCVXFRAXFXB_20261231 = "0x8aa015CE081505064a9cB8e7816deE3Bd7a45a12"; +exports.STKCVXFRAXPYUSD = "0x59Ae4E430be0bF47e758F7E022E9a50A8C7D09d6"; +exports.STKCVXFRAXSDAI = "0x2EB43dBF8C0013712fEc7B2A57453e41B9907e95"; +exports.STKCVXFRAXUSDP = "0x5385AE7dC08F5C3799691E5b387cB01108B76627"; +exports.STKCVXFRXETHALETH = "0x8A59781B415288f9E633b948618726CB6E47e980"; +exports.STKCVXFRXETHANKRETH = "0x75A439b3F8106428b86198D8c306c57E9e7Bb3dC"; +exports.STKCVXFRXETHCBETH = "0x4e9D8323603E69c1310E5e04Db172bD5aB07df95"; +exports.STKCVXFRXETHCRV = "0x194aA54376886dAd3d08e71F47D189A88251D8Da"; +exports.STKCVXFRXETHCVX = "0x5B31bf2988E5388Edae2960504d96Bc142742dCb"; +exports.STKCVXFRXETHETH = "0x4659d5fF63A1E1EDD6D5DD9CC315e063c95947d0"; +exports.STKCVXFRXETHMSETH = "0x09bFD0c760E4a1bFc970cdaAAD240307C917Aa6c"; +exports.STKCVXFRXETHPETH = "0xeCF134dF5DE1e0E12A441D446ff81994Cb0301A2"; +exports.STKCVXFRXETHPXETH = "0x51521Da84Cbce1B4A930B55d8D896b590532f7A6"; +exports.STKCVXFRXETHRETH = "0xE0c65F74728Ff26219C6adddCEfB215484bb08DF"; +exports.STKCVXFRXETHRETH_STAFI = "0xffAFA5aA5b0a9C0C8e05ec8b89056F018EE2Bad6"; +exports.STKCVXFRXETHSETH = "0x44b51F7F92D761Cf2FC46011AD6b74Ce56447924"; +exports.STKCVXFRXETHSTETH = "0xc2eC3d1209FD1Fc512950825f34281EaF9aB13A2"; +exports.STKCVXFRXETHWETH = "0x08061feC3FC09Aa2Eb4B4B72EA618034CBFD22b0"; +exports.STKCVXFRXETHZETH = "0xd69068777d1b2dc74522117efA75AA195c0b57DB"; +exports.STKCVXFRXETHZUNETH = "0xD893522D2CCd40eA6C1414815e3eAD1B58a83D51"; +exports.STKCVXGRAIFRAXBP = "0xDf9BB26ba5a05fcFc2637dC763AA4eb735911568"; +exports.STKCVXGUSDFRAXBP = "0x16e9eaC2A9e29aF3c53d24ed0F07fc403E098b64"; +exports.STKCVXLUSDFRAXBP = "0x8C402989a966D37B96f60401A6158D5D49f1381D"; +exports.STKCVXMAIFRAXBP = "0x787eB52b94c4610ABE2C9C5eE95c3a4a16533344"; +exports.STKCVXMKUSDFRAXBP = "0xd529a0FD4249f0b48171140873b1b13a1ad5286d"; +exports.STKCVXMSUSDFRAXBP = "0x227b7F44468A0EC0FDdfc3FB0cE09b294E62f875"; +exports.STKCVXOHMFRAXBP = "0x81b0dCDa53482A2EA9eb496342dC787643323e95"; +exports.STKCVXPUSDFRAXBP = "0x7AEF5bDC573dCbfb40EC68b0BAAB03abB846C9c6"; +exports.STKCVXRSRFRAXBP = "0xF37007f2b9DE656115e1B977Bb1fd38A99B8a2a6"; +exports.STKCVXSDTFRAXBP = "0xE6Aa75F98e6c105b821a2dba9Fbbd886b421F06b"; +exports.STKCVXSTGFRAXBP = "0xAe1bA2Cf0eBF00C5052309992d7B6c94e3EfcBEf"; +exports.STKCVXSUSDFRAXBP = "0x9f0C2673a33b7087e367253f196A7E823fBc2341"; +exports.STKCVXSWETHFRXETH = "0xa3ae006Cc863423F690ca01C2a8F692B97c93c3b"; +exports.STKCVXTRICRYPTOFRAX = "0x0643d5C29498149D31bAd69a5bE2771b5440C58d"; +exports.STKCVXTRISDT = "0xAD059ccF041e344eA52A3152Bbf654c605d68473"; +exports.STKCVXTUSDFRAXBP = "0x32fA492Ac1F729E0eE9eDdfCBacc3ef72B234e27"; +exports.STKCVXUSDDFRAXBP = "0x507e41A64eB7AE47ee303e3B16237ab757F6C06c"; +exports.STKCVXUZDFRAXBP = "0xaa236bd1302755937Aa46D6f3423655BbC654B02"; +exports.STKCVXUZDFRAXBP_DEPRECATED = "0x57Fb068BDa27351EF0913113264Ce3EF4EeA3316"; +exports.STKCVXUZDFRAXBP_DEPRECATED_OLD = "0x57Fb068BDa27351EF0913113264Ce3EF4EeA3316"; +exports.STKCVXXAIFRAXBP = "0x19f0a60f4635d3E2c48647822Eda5332BA094fd3"; +exports.STKCVXZUSDFRAXBP = "0xFD2d7847E0f450d8B00d3D697D720C687E622a7B"; +exports.STKMTA = "0x8f2326316eC696F6d023E37A9931c2b2C177a3D7"; +exports.SUSDFRAXBP = "0xe3c190c57b5959Ae62EfE3B6797058B76bA2f5eF"; +exports.SUSDFRAXBP_POOL = "0xe3c190c57b5959Ae62EfE3B6797058B76bA2f5eF"; +exports.SWETHFRXETH = "0xe49AdDc2D1A131c6b8145F0EBa1C946B7198e0BA"; +exports.SWETHFRXETH_POOL = "0x67e0bDbe0A2C5999A60D048f50e794218056b767"; +exports.TFRAX = "0x94671A3ceE8C7A12Ea72602978D1Bb84E920eFB2"; +exports.TFXS = "0xADF15Ec41689fc5b6DcA0db7c53c9bFE7981E655"; +exports.THREECRV_ERC20 = "0x6c3F90f043a72FA612cbac8115EE7e52BDe6E490"; +exports.THREECRV_POOL = "0xbEbc44782C7dB0a1A60Cb6fe97d0b483032FF1C7"; +exports.TRICRYPTOFRAX = "0x4D1941a887eC788F059b3bfcC8eE1E97b968825B"; +exports.TRICRYPTOFRAX_GAUGE = "0x4B43fEaB8f5ccD38Ac0831DD7eC797330114F058"; +exports.TRISDT = "0x954313005C56b555bdC41B84D6c63B69049d7847"; +exports.TRISDT_GAUGE = "0x2DD2b7E07dD433B758B98A3889a63cbF48ef0D99"; +exports.TUSDFRAXBP = "0x33baeDa08b8afACc4d3d07cf31d49FC1F1f3E893"; +exports.TUSDFRAXBP_POOL = "0x33baeDa08b8afACc4d3d07cf31d49FC1F1f3E893"; +exports.USDDFRAXBP = "0x4606326b4Db89373F5377C316d3b0F6e55Bc6A20"; +exports.USDDFRAXBP_POOL = "0x4606326b4Db89373F5377C316d3b0F6e55Bc6A20"; +exports.UZDFRAXBP = "0x68934F60758243eafAf4D2cFeD27BF8010bede3a"; +exports.UZDFRAXBP_POOL = "0x68934F60758243eafAf4D2cFeD27BF8010bede3a"; +exports.VECRV = "0x5f3b5DfEb7B28CDbD7FAba78963EE202a494e2A2"; +exports.VESDL = "0xD2751CdBED54B87777E805be36670D7aeAe73bb2"; +exports.VLCVX = "0x72a19342e8F1838460eBFCCEf09F6585e32db86E"; +exports.XAIFRAXBP = "0x326290A1B0004eeE78fa6ED4F1d8f4b2523ab669"; +exports.XAIFRAXBP_POOL = "0x326290A1B0004eeE78fa6ED4F1d8f4b2523ab669"; +exports.XSDT = "0xaC14864ce5A98aF3248Ffbf549441b04421247D3"; +exports.YVUSDC = "0xa354F35829Ae975e850e23e9615b11Da1B3dC4DE"; +exports.ZUSDFRAXBP = "0x400d4C984779A747462e88373c3fE369EF9F5b50"; +exports.ZUSDFRAXBP_GAUGE = "0x218E4678318ab5527e41135713193E5EAd73337f"; +exports.ZUSDFRAXBP_POOL = "0x400d4C984779A747462e88373c3fE369EF9F5b50"; +// UniV3Pools +exports.AAVE_ETH_UNI_V3_POOL = "0x5aB53EE1d50eeF2C1DD3d5402789cd27bB52c1bB"; +exports.APE_WETH_UNI_V3_POOL = "0xAc4b3DacB91461209Ae9d41EC517c2B9Cb1B7DAF"; +exports.FRAX_DAI_V3_POOL = "0x97e7d56A0408570bA1a7852De36350f7713906ec"; +exports.FRAX_USDC_V3_POOL = "0xc63B0708E2F7e69CB8A1df0e1389A98C35A76D52"; +exports.FRAX_WETH_UNI_V3_POOL = "0x92c7b5Ce4CB0e5483F3365C1449f21578eE9f21A"; +exports.FRXETH_FRAX_V3_POOL = "0x36C060Cc4b088c830a561E959A679A58205D3F56"; +exports.LINK_ETH_UNI_V3_POOL = "0xa6Cc3C2531FdaA6Ae1A3CA84c2855806728693e8"; +exports.MKR_ETH_UNI_V3_POOL = "0xe8c6c9227491C0a8156A0106A0204d881BB7E531"; +exports.STATIC_UNI_V3_ORACLE = "0xB210CE856631EeEB767eFa666EC7C1C57738d438"; +exports.UNI_ETH_UNI_V3_POOL = "0x1d42064Fc4Beb5F8aAF85F4617AE8b3b5B8Bd801"; +exports.USDC_WETH_UNI_V3_POOL = "0x88e6A0c2dDD26FEEb64F039a2c41296FcB3f5640"; +// UniswapV3Misc +exports.KYBERSWAP_ELASTIC_FACTORY = "0x5F1dddbf348aC2fbe22a163e30F99F9ECE3DD50a"; +exports.KYBERSWAP_ELASTIC_FACTORY_V2 = "0xC7a590291e07B9fe9E64b86c58fD8fC764308C4A"; +exports.KYBERSWAP_ELASTIC_POS_MGR = "0x2B1c7b41f6A8F2b2bc45C3233a5d5FB3cD6dC9A8"; +exports.KYBERSWAP_ELASTIC_POS_MGR_V2 = "0xe222fBE074A436145b255442D919E4E3A6c6a480"; +exports.KYBERSWAP_ELASTIC_ROUTER = "0xC1e7dFE73E1598E3910EF4C7845B68A9Ab6F4c83"; +exports.KYBERSWAP_ELASTIC_ROUTER_V2 = "0xF9c2b5746c946EF883ab2660BbbB1f10A5bdeAb4"; +exports.KYBERSWAP_ELASTIC_TICK_FEES_READER = "0xD7ab1699280980E756C446769B4c0F04550f88c9"; +exports.KYBERSWAP_ELASTIC_TICK_FEES_READER_V2 = "0x8Fd8Cb948965d9305999D767A02bf79833EADbB3"; +exports.NON_FUNGIBLE_POSITION_MANAGER = "0xC36442b4a4522E871399CD717aBDD847Ab11FE88"; +exports.SWAPROUTER = "0xE592427A0AEce92De3Edee1F18E0157C05861564"; +exports.UNISWAP_V3_FACTORY = "0x1F98431c8aD98523631AE4a59f267346ea31F984"; diff --git a/scripts/constants/mode.js b/scripts/constants/mode.js new file mode 100644 index 0000000..8ba0d86 --- /dev/null +++ b/scripts/constants/mode.js @@ -0,0 +1,41 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.CHAIN_ID = + exports.LZ_CHAIN_ID = + exports.FRAX_PROXY_ADMIN = + exports.LZ_BLOCK_SEND_LIB = + exports.LZ_SEND_LIB_302 = + exports.LZ_RECEIVE_LIB_302 = + exports.LZ_ENDPOINT = + exports.REMOTEMINTREDEEMHOP = + exports.REMOTEHOP = + exports.WFRAXOFT = + exports.SFRXUSDOFT = + exports.SFRXETHOFT = + exports.FRXUSDOFT = + exports.FRXETHOFT = + exports.FPIOFT = + void 0; +// LayerZero +exports.FPIOFT = "0x90581eCa9469D8D7F5D3B60f4715027aDFCf7927"; +exports.FRXETHOFT = "0x43eDD7f3831b08FE70B7555ddD373C8bF65a9050"; +exports.FRXUSDOFT = "0x80Eede496655FB9047dd39d9f418d5483ED600df"; +exports.SFRXETHOFT = "0x3Ec3849C33291a9eF4c5dB86De593EB4A37fDe45"; +exports.SFRXUSDOFT = "0x5Bff88cA1442c2496f7E475E9e7786383Bc070c0"; +exports.WFRAXOFT = "0x64445f0aecC51E94aD52d8AC56b7190e764E561a"; +// FraxtalLZHop +exports.REMOTEHOP = "0x486cb4788f1be7cdef9301a7a637b451df3cf262"; +exports.REMOTEMINTREDEEMHOP = "0x7360575f6f8F91b38dD078241b0Df508f5fBfDf9"; +// LayerZeroInfra +exports.LZ_ENDPOINT = "0x1a44076050125825900e736c501f859c50fE728c"; +exports.LZ_RECEIVE_LIB_302 = "0xc1B621b18187F74c8F6D52a6F709Dd2780C09821"; +exports.LZ_SEND_LIB_302 = "0x2367325334447C5E1E0f1b3a6fB947b262F58312"; +exports.LZ_BLOCK_SEND_LIB = "0x1ccbf0db9c192d969de57e25b3ff09a25bb1d862"; +exports.FRAX_PROXY_ADMIN = "0x223a681fc5c5522c85c96157c0efa18cd6c5405c"; +// Chain IDs +exports.LZ_CHAIN_ID = 30260; +exports.CHAIN_ID = 34443; + +// HopV2 +exports.REMOTEHOPV2 = "0x0000006D38568b00B457580b734e0076C62de659"; +exports.REMOTEADMINV2 = "0x954286118E93df807aB6f99aE0454f8710f0a8B9"; diff --git a/scripts/constants/mode.ts b/scripts/constants/mode.ts index 652853a..031c9dc 100644 --- a/scripts/constants/mode.ts +++ b/scripts/constants/mode.ts @@ -8,4 +8,10 @@ export const WFRAXOFT = "0x64445f0aecC51E94aD52d8AC56b7190e764E561a"; // FraxtalLZHop export const REMOTEHOP = "0x486cb4788f1be7cdef9301a7a637b451df3cf262"; -export const REMOTEMINTREDEEMHOP = "0x7360575f6f8F91b38dD078241b0Df508f5fBfDf9"; \ No newline at end of file +export const REMOTEMINTREDEEMHOP = "0x7360575f6f8F91b38dD078241b0Df508f5fBfDf9"; +// LayerZeroInfra +export const FRAX_PROXY_ADMIN = "0x223a681fc5c5522c85c96157c0efa18cd6c5405c"; + +// HopV2 +export const REMOTEHOPV2 = "0x0000006D38568b00B457580b734e0076C62de659"; +export const REMOTEADMINV2 = "0x954286118E93df807aB6f99aE0454f8710f0a8B9"; diff --git a/scripts/constants/monad.d.ts b/scripts/constants/monad.d.ts new file mode 100644 index 0000000..8a6d90b --- /dev/null +++ b/scripts/constants/monad.d.ts @@ -0,0 +1,11 @@ +export declare const FPIOFT = "0xba554f7a47f0792b9fa41a1256d4cf628bb1d028"; +export declare const FRXETHOFT = "0x288f9d76019469bfeb56bb77d86afa2bf563b75b"; +export declare const FRXUSDOFT = "0x58e3ee6accd124642ddb5d3f91928816be8d8ed3"; +export declare const SFRXETHOFT = "0x3b4cf37a3335f21c945a40088404c715525fcb29"; +export declare const SFRXUSDOFT = "0x137643f7b2c189173867b3391f6629cab46f0f1a"; +export declare const WFRAXOFT = "0x29acc7c504665a5ea95344796f784095f0cfcc58"; +export declare const REMOTEHOP = "0x40F66FFf44DBBee88058185F2cFE287558D7E532"; +export declare const REMOTEMINTREDEEMHOP = "0x92E6892706053ee85fC1178AFFCB3803118D2C4F"; +export declare const FRAX_PROXY_ADMIN = "0xc2871eae630640ce1a16b39a17c498f22d76c21a"; +export declare const REMOTEHOPV2 = "0x0000006D38568b00B457580b734e0076C62de659"; +export declare const REMOTEADMINV2 = "0x4bE0942c2CbFd741DB5906CF2831c1AF29fcEa55"; diff --git a/scripts/constants/monad.js b/scripts/constants/monad.js new file mode 100644 index 0000000..7a704a0 --- /dev/null +++ b/scripts/constants/monad.js @@ -0,0 +1,29 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.REMOTEADMINV2 = + exports.REMOTEHOPV2 = + exports.FRAX_PROXY_ADMIN = + exports.REMOTEMINTREDEEMHOP = + exports.REMOTEHOP = + exports.WFRAXOFT = + exports.SFRXUSDOFT = + exports.SFRXETHOFT = + exports.FRXUSDOFT = + exports.FRXETHOFT = + exports.FPIOFT = + void 0; +// LayerZero +exports.FPIOFT = "0xba554f7a47f0792b9fa41a1256d4cf628bb1d028"; +exports.FRXETHOFT = "0x288f9d76019469bfeb56bb77d86afa2bf563b75b"; +exports.FRXUSDOFT = "0x58e3ee6accd124642ddb5d3f91928816be8d8ed3"; +exports.SFRXETHOFT = "0x3b4cf37a3335f21c945a40088404c715525fcb29"; +exports.SFRXUSDOFT = "0x137643f7b2c189173867b3391f6629cab46f0f1a"; +exports.WFRAXOFT = "0x29acc7c504665a5ea95344796f784095f0cfcc58"; +// FraxtalLZHop +exports.REMOTEHOP = "0x40F66FFf44DBBee88058185F2cFE287558D7E532"; +exports.REMOTEMINTREDEEMHOP = "0x92E6892706053ee85fC1178AFFCB3803118D2C4F"; +// LayerZeroInfra +exports.FRAX_PROXY_ADMIN = "0xc2871eae630640ce1a16b39a17c498f22d76c21a"; +// HopV2 +exports.REMOTEHOPV2 = "0x0000006D38568b00B457580b734e0076C62de659"; +exports.REMOTEADMINV2 = "0x4bE0942c2CbFd741DB5906CF2831c1AF29fcEa55"; diff --git a/scripts/constants/monad.ts b/scripts/constants/monad.ts new file mode 100644 index 0000000..cf917ff --- /dev/null +++ b/scripts/constants/monad.ts @@ -0,0 +1,18 @@ +// LayerZero +export const FPIOFT = "0xba554f7a47f0792b9fa41a1256d4cf628bb1d028"; +export const FRXETHOFT = "0x288f9d76019469bfeb56bb77d86afa2bf563b75b"; +export const FRXUSDOFT = "0x58e3ee6accd124642ddb5d3f91928816be8d8ed3"; +export const SFRXETHOFT = "0x3b4cf37a3335f21c945a40088404c715525fcb29"; +export const SFRXUSDOFT = "0x137643f7b2c189173867b3391f6629cab46f0f1a"; +export const WFRAXOFT = "0x29acc7c504665a5ea95344796f784095f0cfcc58"; + +// FraxtalLZHop +export const REMOTEHOP = "0x40F66FFf44DBBee88058185F2cFE287558D7E532"; +export const REMOTEMINTREDEEMHOP = "0x92E6892706053ee85fC1178AFFCB3803118D2C4F"; + +// LayerZeroInfra +export const FRAX_PROXY_ADMIN = "0xc2871eae630640ce1a16b39a17c498f22d76c21a"; + +// HopV2 +export const REMOTEHOPV2 = "0x0000006D38568b00B457580b734e0076C62de659"; +export const REMOTEADMINV2 = "0x4bE0942c2CbFd741DB5906CF2831c1AF29fcEa55"; diff --git a/scripts/constants/moonbeam.js b/scripts/constants/moonbeam.js new file mode 100644 index 0000000..b8a2bd5 --- /dev/null +++ b/scripts/constants/moonbeam.js @@ -0,0 +1,64 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.ZENLINK_CANFRAX_WGLMR = + exports.ZENLINK_CANFRAX_CANFXS = + exports.FPI_COMPTROLLER = + exports.COMPTROLLER = + exports.FRAXSWAP_V2_FRAX_WGLMR = + exports.FRAXSWAP_V1_FRAX_WGLMR = + exports.FRAXSWAP_V2_FRAX_FXS = + exports.FRAXSWAP_V1_FRAX_FXS = + exports.FRAXSWAP_ROUTER_MULTI_HOP = + exports.FRAXSWAP_ROUTER_V2 = + exports.FRAXSWAP_ROUTER_V1 = + exports.FRAXSWAP_FACTORY_V2 = + exports.FRAXSWAP_FACTORY_V1 = + exports.COMBO_ORACLE_UNIV2_UNIV3 = + exports.COMBO_ORACLE = + exports.CREWMEMBER = + exports.FIRST_OFFICER = + exports.CAPTAIN = + exports.FRAXFERRY_V2__ETHEREUM_MOONBEAM__SFRXETH__MNBM_SIDE = + exports.FRAXFERRY_V2__ETHEREUM_MOONBEAM__FRXETH__MNBM_SIDE = + exports.FRAXFERRY_V2__ETHEREUM_MOONBEAM__FXS__MNBM_SIDE = + exports.FRAXFERRY_V1__ETHEREUM_MOONBEAM__FRAX__MNBM_SIDE = + exports.SFRXETH = + exports.FRXETH = + exports.FXS = + exports.FRAX = + void 0; +// Canonicals +exports.FRAX = "0x322E86852e492a7Ee17f28a78c663da38FB33bfb"; +exports.FXS = "0x2CC0A9D8047A5011dEfe85328a6f26968C8aaA1C"; +exports.FRXETH = "0x82bbd1b6f6De2B7bb63D3e1546e6b1553508BE99"; +exports.SFRXETH = "0xecf91116348aF1cfFe335e9807f0051332BE128D"; +// Farms +// FraxBonds +// FraxFerry +exports.FRAXFERRY_V1__ETHEREUM_MOONBEAM__FRAX__MNBM_SIDE = "0xd545Fd6080db07eDdcC1F57dC28a53D930837A8d"; +exports.FRAXFERRY_V2__ETHEREUM_MOONBEAM__FXS__MNBM_SIDE = "0x1E87990678f640BFfe5A118c331fEc296DDC8d89"; +exports.FRAXFERRY_V2__ETHEREUM_MOONBEAM__FRXETH__MNBM_SIDE = "0x7c7Fd7412F5E79f4917163F78d5Ece5E2e923504"; +exports.FRAXFERRY_V2__ETHEREUM_MOONBEAM__SFRXETH__MNBM_SIDE = "0x78348E58582d0D1789da1621B79Fc62012485CAe"; +exports.CAPTAIN = "0xBB437059584e30598b3AF0154472E47E6e2a45B9"; +exports.FIRST_OFFICER = "0xBB437059584e30598b3AF0154472E47E6e2a45B9"; +exports.CREWMEMBER = "0xBB437059584e30598b3AF0154472E47E6e2a45B9"; +// FraxlendAndOracles +exports.COMBO_ORACLE = "0x247A323DAA63cC97c2BAD61b4D6f1E0120B5c9e2"; +exports.COMBO_ORACLE_UNIV2_UNIV3 = "0x4A40198373dE481741bdf629B44Dc98f12f18161"; +// Fraxswap +exports.FRAXSWAP_FACTORY_V1 = "0x5Ca135cB8527d76e932f34B5145575F9d8cbE08E"; +exports.FRAXSWAP_FACTORY_V2 = "0x51f9DBEd76f5Dcf209817f641b549aa82F35D23F"; +exports.FRAXSWAP_ROUTER_V1 = "0xc2544A32872A91F4A553b404C6950e89De901fdb"; +exports.FRAXSWAP_ROUTER_V2 = "0xd95fe880d7717f7f20981FE6e41A2315f3EFeAb5"; +exports.FRAXSWAP_ROUTER_MULTI_HOP = "0x0000000000000000000000000000000000000000"; +exports.FRAXSWAP_V1_FRAX_FXS = "0x44E11b99ff8F6164FD54393a17b3CD4c57732dB7"; +exports.FRAXSWAP_V2_FRAX_FXS = "0x2974A0D3e70FDe22d44c188F770beE964205aCad"; +exports.FRAXSWAP_V1_FRAX_WGLMR = "0xAE0b5be7d467C8c0898CaE4c96B2f40A6810DEBC"; +exports.FRAXSWAP_V2_FRAX_WGLMR = "0xd3bE0E32147ae91378F035fF96f3e2cAb96aC48b"; +// Misc +// Multisigs +exports.COMPTROLLER = "0x343e4f06BF240d22FbdFd4a2Fe5858BC66e79F12"; +exports.FPI_COMPTROLLER = "0xc4d89dcE72cde17DC3BEF317E62530b6A0733971"; +// PoolRelatedTokens +exports.ZENLINK_CANFRAX_CANFXS = "0x8ca030649720b94b16e8C3B551cc2ab88c681C0F"; +exports.ZENLINK_CANFRAX_WGLMR = "0xd341D2191bb0F84E5c29cB301deF5753Dab1ac04"; diff --git a/scripts/constants/moonriver.js b/scripts/constants/moonriver.js new file mode 100644 index 0000000..c434524 --- /dev/null +++ b/scripts/constants/moonriver.js @@ -0,0 +1,66 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.SUSHI_CANFXS_ANYUSDC = + exports.SUSHI_CANFRAX_WMOVR = + exports.SUSHI_CANFRAX_ANYUSDC = + exports.SUSHI_CANFRAX_CANFXS = + exports.SUSHI_FRAX_USDC_MOONRIVER = + exports.SOLARBEAM_FRAX_MOVR = + exports.SOLARBEAM_FRAX_ROME = + exports.COMPTROLLER = + exports.FRAXSWAP_V2_FRAX_WMOVR = + exports.FRAXSWAP_V1_FRAX_WMOVR = + exports.FRAXSWAP_V2_FRAX_FXS = + exports.FRAXSWAP_V1_FRAX_FXS = + exports.FRAXSWAP_ROUTER_MULTI_HOP = + exports.FRAXSWAP_ROUTER_V2 = + exports.FRAXSWAP_ROUTER_V1 = + exports.FRAXSWAP_FACTORY_V2 = + exports.FRAXSWAP_FACTORY_V1 = + exports.COMBO_ORACLE_UNIV2_UNIV3 = + exports.COMBO_ORACLE = + exports.ZENLINK_CANFRAX_WGLMR = + exports.CREWMEMBER = + exports.FIRST_OFFICER = + exports.CAPTAIN = + exports.FRAXFERRY_V2__ETHEREUM_MOONRIVER__FXS__MOVR_SIDE = + exports.FRAXFERRY_V1__ETHEREUM_MOONRIVER__FRAX__MOVR_SIDE = + exports.FXS = + exports.FRAX = + void 0; +// Canonicals +exports.FRAX = "0x1A93B23281CC1CDE4C4741353F3064709A16197d"; +exports.FXS = "0x6f1D1Ee50846Fcbc3de91723E61cb68CFa6D0E98"; +// Farms +// FraxBonds +// FraxFerry +exports.FRAXFERRY_V1__ETHEREUM_MOONRIVER__FRAX__MOVR_SIDE = "0x81dbcc69937DAd14e358B1a16Ba7ea047703c404"; +exports.FRAXFERRY_V2__ETHEREUM_MOONRIVER__FXS__MOVR_SIDE = "0x2d3146aD02f64cb21C23b54f3fD5B0ddc927ba20"; +exports.CAPTAIN = "0xBB437059584e30598b3AF0154472E47E6e2a45B9"; +exports.FIRST_OFFICER = "0xBB437059584e30598b3AF0154472E47E6e2a45B9"; +exports.CREWMEMBER = "0xBB437059584e30598b3AF0154472E47E6e2a45B9"; +exports.ZENLINK_CANFRAX_WGLMR = "0xd341D2191bb0F84E5c29cB301deF5753Dab1ac04"; +// FraxlendAndOracles +exports.COMBO_ORACLE = "0x3B56E2DD29e4976B639BAd95044A0852BeeEBF02"; +exports.COMBO_ORACLE_UNIV2_UNIV3 = "0x212ae4B6e93a735840A431845833261CA9cA76ED"; +// Fraxswap +exports.FRAXSWAP_FACTORY_V1 = "0x5Ca135cB8527d76e932f34B5145575F9d8cbE08E"; +exports.FRAXSWAP_FACTORY_V2 = "0x7FB05Ca29DAc7F5690E9b5AE0aF0415D579D7CD3"; +exports.FRAXSWAP_ROUTER_V1 = "0xc2544A32872A91F4A553b404C6950e89De901fdb"; +exports.FRAXSWAP_ROUTER_V2 = "0xD8FC27ec222E8d5172CD63aC453C6Dfb7467a3C7"; +exports.FRAXSWAP_ROUTER_MULTI_HOP = "0x0000000000000000000000000000000000000000"; +exports.FRAXSWAP_V1_FRAX_FXS = "0x2C803cd6E9a7AdAD813718a4767ECec4F6e0ca90"; +exports.FRAXSWAP_V2_FRAX_FXS = "0x08C81e49D695Ae8F50574144560a301542b05C60"; +exports.FRAXSWAP_V1_FRAX_WMOVR = "0x3Dbb1Fd5E0b50a5905fc24Fc38D8e741C52F782b"; +exports.FRAXSWAP_V2_FRAX_WMOVR = "0x72B7D2Bb0082cC9cDa8db55eca6Ce4dfcc954191"; +// Misc +// Multisigs +exports.COMPTROLLER = "0x2bBbE751E8C36CD6c92767776067f8Dd3A21941f"; +// PoolRelatedTokens +exports.SOLARBEAM_FRAX_ROME = "0x069C2065100b4D3D982383f7Ef3EcD1b95C05894"; +exports.SOLARBEAM_FRAX_MOVR = "0x2cc54b4A3878e36E1C754871438113C1117a3ad7"; +exports.SUSHI_FRAX_USDC_MOONRIVER = "0x310C4d18640aF4878567c4A31cB9cBde7Cd234A3"; +exports.SUSHI_CANFRAX_CANFXS = "0xC5147A6E773343aFE527249a26EF16AFc6a0013F"; +exports.SUSHI_CANFRAX_ANYUSDC = "0x310C4d18640aF4878567c4A31cB9cBde7Cd234A3"; +exports.SUSHI_CANFRAX_WMOVR = "0x756057872D1Ad41C703B68e12701D27874fbe533"; +exports.SUSHI_CANFXS_ANYUSDC = "0xc0EAB66DaDC825c95cA1951A2B02BC56073Fc7B2"; diff --git a/scripts/constants/movement.js b/scripts/constants/movement.js new file mode 100644 index 0000000..d1d7a4a --- /dev/null +++ b/scripts/constants/movement.js @@ -0,0 +1,43 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.CHAIN_ID = + exports.LZ_CHAIN_ID = + exports.LZ_BLOCK_SEND_LIB = + exports.LZ_SEND_LIB_302 = + exports.LZ_RECEIVE_LIB_302 = + exports.LZ_ENDPOINT = + exports.WFRAXOFT = + exports.SFRXUSDOFT = + exports.SFRXETHOFT = + exports.FRXUSDOFT = + exports.FRXETHOFT = + exports.FPIOFT = + exports.WFRAX = + exports.SFRXUSD = + exports.SFRXETH = + exports.FRXUSD = + exports.FRXETH = + exports.FPI = + void 0; +// Canonicals +exports.FPI = "0x15607151cc023512886f5af24d4f77e6e7a5d6fb8a482dfb56b9c4f5c1fca0b2"; +exports.FRXETH = "0x8645126a60d36e138d435a28875a2aeef253bf80aae22bebcd411ad4251f1585"; +exports.FRXUSD = "0xe4354602aa4311f36240dd57f3f3435ffccdbd0cd2963f1a69da39a2dbcd59b5"; +exports.SFRXETH = "0x80d729c4632bcc6279b7bed2542e01e2cebd34ca9f3f15963c29d1621efc221a"; +exports.SFRXUSD = "0xbf2efbffbbd7083aaf006379d96b866b73bb4eb9684a7504c62feafe670962c2"; +exports.WFRAX = "0x4e4cce8f877d7ad45c896c1823017fe07874f3d8db6e15960eda26e211151300"; +// LayerZero +exports.FPIOFT = "0xadf0ffffa5ee44a94f0c65be05e701951e65e276419f7460286a139d9403e864"; +exports.FRXETHOFT = "0xecb3a766f12981919158fc8ec3b98dd3f8b39a59280e62e80c600cea1b2c0f9c"; +exports.FRXUSDOFT = "0xe067037681385b86d8344e6b7746023604c6ac90ddc997ba3c58396c258ad17b"; +exports.SFRXETHOFT = "0x28b7264258592031a024ed8e1632090648ec53797c269ac91aa0c9ed94268356"; +exports.SFRXUSDOFT = "0xc9bdfdc965bb7fcdcfa6b45870eab33bfaf8f4e8e3f6b89d3e0203aba634a1c9"; +exports.WFRAXOFT = "0x267749b1a80d9d582019e6b0572c1dbc98648e24101b0861395cdbed095ceff2"; +// LayerZeroInfra +exports.LZ_ENDPOINT = "0xe60045e20fc2c99e869c1c34a65b9291c020cd12a0d37a00a53ac1348af4f43c"; +exports.LZ_RECEIVE_LIB_302 = "0xc33752e0220faf79e45385dd73fb28d681dcd9f1569a1480725507c1f3c3aba9"; +exports.LZ_SEND_LIB_302 = "0xc33752e0220faf79e45385dd73fb28d681dcd9f1569a1480725507c1f3c3aba9"; +exports.LZ_BLOCK_SEND_LIB = "0x3ca0d187f1938cf9776a0aa821487a650fc7bb2ab1c1d241ba319192aae4afc6"; +// Chain IDs +exports.LZ_CHAIN_ID = 30325; +exports.CHAIN_ID = 0; diff --git a/scripts/constants/movement.ts b/scripts/constants/movement.ts index 933ad7a..bca2b28 100644 --- a/scripts/constants/movement.ts +++ b/scripts/constants/movement.ts @@ -13,3 +13,5 @@ export const FRXUSDOFT = "0xe067037681385b86d8344e6b7746023604c6ac90ddc997ba3c58 export const SFRXETHOFT = "0x28b7264258592031a024ed8e1632090648ec53797c269ac91aa0c9ed94268356"; export const SFRXUSDOFT = "0xc9bdfdc965bb7fcdcfa6b45870eab33bfaf8f4e8e3f6b89d3e0203aba634a1c9"; export const WFRAXOFT = "0x267749b1a80d9d582019e6b0572c1dbc98648e24101b0861395cdbed095ceff2"; + +// LayerZeroInfra diff --git a/scripts/constants/optimism.js b/scripts/constants/optimism.js new file mode 100644 index 0000000..9a71b44 --- /dev/null +++ b/scripts/constants/optimism.js @@ -0,0 +1,123 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.FRAX_PROXY_ADMIN = + exports.LZ_BLOCK_SEND_LIB = + exports.LZ_SEND_LIB_302 = + exports.LZ_RECEIVE_LIB_302 = + exports.LZ_ENDPOINT = + exports.REMOTEMINTREDEEMHOP = + exports.REMOTEHOP = + exports.WFRAXOFT = + exports.SFRXUSDOFT = + exports.SFRXETHOFT = + exports.FRXUSDOFT = + exports.FRXETHOFT = + exports.FPIOFT = + exports.KYBERSWAP_ELASTIC_FRAX_USDC_OPTIMISM = + exports.CURVE_4POOL = + exports.FPI_COMPTROLLER = + exports.COMPTROLLER = + exports.KYBERSWAP_ELASTIC_TICK_FEES_READER_V2 = + exports.KYBERSWAP_ELASTIC_ROUTER_V2 = + exports.KYBERSWAP_ELASTIC_POS_MGR_V2 = + exports.KYBERSWAP_ELASTIC_FACTORY_V2 = + exports.FRAXSWAP_V2_FRAX_WETH = + exports.FRAXSWAP_V2_FRAX_FXS = + exports.FRAXSWAP_V1_FRAX_WETH = + exports.FRAXSWAP_V1_FRAX_FXS = + exports.FRAXSWAP_ROUTER_V2 = + exports.FRAXSWAP_ROUTER_V1 = + exports.FRAXSWAP_ROUTER_MULTI_HOP = + exports.FRAXSWAP_FACTORY_V2 = + exports.FRAXSWAP_FACTORY_V1 = + exports.COMBO_ORACLE_KYBERSWAP_ELASTIC_V2 = + exports.COMBO_ORACLE_UNIV2_UNIV3 = + exports.COMBO_ORACLE = + exports.CREWMEMBER = + exports.FIRST_OFFICER = + exports.CAPTAIN = + exports.FRAXFERRY_V2__ETHEREUM_OPTIMISM__SFRAX__OPTI_SIDE = + exports.FRAXFERRY_V2__ETHEREUM_OPTIMISM__SFRXETH__OPTI_SIDE = + exports.FRAXFERRY_V2__ETHEREUM_OPTIMISM__FRXETH__OPTI_SIDE = + exports.FRAXFERRY_V2__ETHEREUM_OPTIMISM__FPIS__OPTI_SIDE = + exports.FRAXFERRY_V2__ETHEREUM_OPTIMISM__FPI__OPTI_SIDE = + exports.FRAXFERRY_V2__ETHEREUM_OPTIMISM__FXS__OPTI_SIDE = + exports.FRAXFERRY_V1__ETHEREUM_OPTIMISM__FRAX__OPTI_SIDE = + exports.SFRAX = + exports.SFRXETH = + exports.FRXETH = + exports.FPIS = + exports.FPI = + exports.FXS = + exports.FRAX = + void 0; +exports.CHAIN_ID = exports.LZ_CHAIN_ID = void 0; +// Canonicals +exports.FRAX = "0x2E3D870790dC77A83DD1d18184Acc7439A53f475"; +exports.FXS = "0x67CCEA5bb16181E7b4109c9c2143c24a1c2205Be"; +exports.FPI = "0xC5d43A94e26fCa47A9b21CF547ae4AA0268670E1"; +exports.FPIS = "0x8368Dca5CE2a4Db530c0F6e535d90B6826428Dee"; +exports.FRXETH = "0x6806411765Af15Bddd26f8f544A34cC40cb9838B"; +exports.SFRXETH = "0x484c2D6e3cDd945a8B2DF735e079178C1036578c"; +exports.SFRAX = "0x2Dd1B4D4548aCCeA497050619965f91f78b3b532"; +// Farms +// FraxBonds +// FraxFerry +exports.FRAXFERRY_V1__ETHEREUM_OPTIMISM__FRAX__OPTI_SIDE = "0xb781FCaC4B8eF06891F9baD7dB9C178B1cE67967"; +exports.FRAXFERRY_V2__ETHEREUM_OPTIMISM__FXS__OPTI_SIDE = "0xdF6B3b56B1668dA507Db58C64b7153756cfE8e67"; +exports.FRAXFERRY_V2__ETHEREUM_OPTIMISM__FPI__OPTI_SIDE = "0x053F082f3bC0C48B8409970c017b4F2a6f673e16"; +exports.FRAXFERRY_V2__ETHEREUM_OPTIMISM__FPIS__OPTI_SIDE = "0xB84E29042Bfb489439949a79aed8a0e156169Ae5"; +exports.FRAXFERRY_V2__ETHEREUM_OPTIMISM__FRXETH__OPTI_SIDE = "0xA4EFC2d768C9b9b0f97DD91a1555B345f69b39C0"; +exports.FRAXFERRY_V2__ETHEREUM_OPTIMISM__SFRXETH__OPTI_SIDE = "0x59b99CF08C01a6ADa0e0D819520719CA41B35c7C"; +exports.FRAXFERRY_V2__ETHEREUM_OPTIMISM__SFRAX__OPTI_SIDE = "0xD1738eB733A636d1b8665f48bC8a24dA889c2562"; +exports.CAPTAIN = "0xBB437059584e30598b3AF0154472E47E6e2a45B9"; +exports.FIRST_OFFICER = "0xBB437059584e30598b3AF0154472E47E6e2a45B9"; +exports.CREWMEMBER = "0xBB437059584e30598b3AF0154472E47E6e2a45B9"; +// FraxlendAndOracles +exports.COMBO_ORACLE = "0x626eFc448227d794dC8C02ffea6a932bB360f72a"; +exports.COMBO_ORACLE_UNIV2_UNIV3 = "0xeba66661Afc03aB95ec37383b1BfB724abe14a0F"; +exports.COMBO_ORACLE_KYBERSWAP_ELASTIC_V2 = "0x2C37fb628b35dfdFD515d41B0cAAe11B542773C3"; +// Fraxswap +exports.FRAXSWAP_FACTORY_V1 = "0xBe90FD3CDdaf0D3B8576ffb5E51aDbfD304d0437"; +exports.FRAXSWAP_FACTORY_V2 = "0x67a1412d2D6CbF211bb71F8e851b4393b491B10f"; +exports.FRAXSWAP_ROUTER_MULTI_HOP = "0x0000000000000000000000000000000000000000"; +exports.FRAXSWAP_ROUTER_V1 = "0xffE66A866B249f5d7C97b4a4c84742A393bC9354"; +exports.FRAXSWAP_ROUTER_V2 = "0xB9A55F455e46e8D717eEA5E47D2c449416A0437F"; +exports.FRAXSWAP_V1_FRAX_FXS = "0x25e2222Bc50E3B2dc945E1b9430F5498107FD3A5"; +exports.FRAXSWAP_V1_FRAX_WETH = "0x0BC2D9B4c3f599BD85789EC3649774076A7D9264"; +exports.FRAXSWAP_V2_FRAX_FXS = "0x9456c020D3A05b159dAB4557535083fBA836c49A"; +exports.FRAXSWAP_V2_FRAX_WETH = "0xCc4Dd8Bc7967D46060bA3fAAA8e525A35625F8b4"; +exports.KYBERSWAP_ELASTIC_FACTORY_V2 = "0xC7a590291e07B9fe9E64b86c58fD8fC764308C4A"; +exports.KYBERSWAP_ELASTIC_POS_MGR_V2 = "0xe222fBE074A436145b255442D919E4E3A6c6a480"; +exports.KYBERSWAP_ELASTIC_ROUTER_V2 = "0xF9c2b5746c946EF883ab2660BbbB1f10A5bdeAb4"; +exports.KYBERSWAP_ELASTIC_TICK_FEES_READER_V2 = "0x8Fd8Cb948965d9305999D767A02bf79833EADbB3"; +// Misc +// Multisigs +exports.COMPTROLLER = "0x0dF840dCbf1229262A4125C1fc559bd338eC9491"; +exports.FPI_COMPTROLLER = "0x8Acc8819cBB632dE4a8E732f08b9E578D2A8F635"; +// PoolRelatedTokens +exports.CURVE_4POOL = "0x3da3153E26A230d918bb9F9428A8d60349B73379"; +exports.KYBERSWAP_ELASTIC_FRAX_USDC_OPTIMISM = "0x97cB76cbb84Aa35deaF1dAC3101a506588B6c197"; +// LayerZero +exports.FPIOFT = "0x90581eCa9469D8D7F5D3B60f4715027aDFCf7927"; +exports.FRXETHOFT = "0x43eDD7f3831b08FE70B7555ddD373C8bF65a9050"; +exports.FRXUSDOFT = "0x80Eede496655FB9047dd39d9f418d5483ED600df"; +exports.SFRXETHOFT = "0x3Ec3849C33291a9eF4c5dB86De593EB4A37fDe45"; +exports.SFRXUSDOFT = "0x5Bff88cA1442c2496f7E475E9e7786383Bc070c0"; +exports.WFRAXOFT = "0x64445f0aecC51E94aD52d8AC56b7190e764E561a"; +// FraxtalLZHop +exports.REMOTEHOP = "0x31D982ebd82Ad900358984bd049207A4c2468640"; +exports.REMOTEMINTREDEEMHOP = "0x7a07D606c87b7251c2953A30Fa445d8c5F856C7A"; +// LayerZeroInfra +exports.LZ_ENDPOINT = "0x1a44076050125825900e736c501f859c50fE728c"; +exports.LZ_RECEIVE_LIB_302 = "0x3c4962Ff6258dcfCafD23a814237B7d6Eb712063"; +exports.LZ_SEND_LIB_302 = "0x1322871e4ab09Bc7f5717189434f97bBD9546e95"; +exports.LZ_BLOCK_SEND_LIB = "0x1ccbf0db9c192d969de57e25b3ff09a25bb1d862"; +exports.FRAX_PROXY_ADMIN = "0x223a681fc5c5522c85c96157c0efa18cd6c5405c"; +// Chain IDs +exports.LZ_CHAIN_ID = 30111; +exports.CHAIN_ID = 10; + +// HopV2 +exports.REMOTEHOPV2 = "0x0000006D38568b00B457580b734e0076C62de659"; +exports.REMOTEADMINV2 = "0x954286118E93df807aB6f99aE0454f8710f0a8B9"; diff --git a/scripts/constants/optimism.ts b/scripts/constants/optimism.ts index d19245d..375a5b2 100644 --- a/scripts/constants/optimism.ts +++ b/scripts/constants/optimism.ts @@ -63,4 +63,10 @@ export const WFRAXOFT = "0x64445f0aecC51E94aD52d8AC56b7190e764E561a"; // FraxtalLZHop export const REMOTEHOP = "0x31D982ebd82Ad900358984bd049207A4c2468640"; -export const REMOTEMINTREDEEMHOP = "0x7a07D606c87b7251c2953A30Fa445d8c5F856C7A"; \ No newline at end of file +export const REMOTEMINTREDEEMHOP = "0x7a07D606c87b7251c2953A30Fa445d8c5F856C7A"; +// LayerZeroInfra +export const FRAX_PROXY_ADMIN = "0x223a681fc5c5522c85c96157c0efa18cd6c5405c"; + +// HopV2 +export const REMOTEHOPV2 = "0x0000006D38568b00B457580b734e0076C62de659"; +export const REMOTEADMINV2 = "0x954286118E93df807aB6f99aE0454f8710f0a8B9"; diff --git a/scripts/constants/plumephoenix.d.ts b/scripts/constants/plumephoenix.d.ts new file mode 100644 index 0000000..cb4487a --- /dev/null +++ b/scripts/constants/plumephoenix.d.ts @@ -0,0 +1,11 @@ +export declare const FPIOFT = "0x90581eCa9469D8D7F5D3B60f4715027aDFCf7927"; +export declare const FRXETHOFT = "0x43eDD7f3831b08FE70B7555ddD373C8bF65a9050"; +export declare const FRXUSDOFT = "0x80Eede496655FB9047dd39d9f418d5483ED600df"; +export declare const SFRXETHOFT = "0x3Ec3849C33291a9eF4c5dB86De593EB4A37fDe45"; +export declare const SFRXUSDOFT = "0x5Bff88cA1442c2496f7E475E9e7786383Bc070c0"; +export declare const WFRAXOFT = "0x64445f0aecC51E94aD52d8AC56b7190e764E561a"; +export declare const REMOTEHOP = "0x6cA98f43719231d38F6426DB64C7F3D5C7CE7876"; +export declare const REMOTEMINTREDEEMHOP = "0xa71f2204EDDB8d84F411A0C712687FAe5002e7Fb"; +export declare const FRAX_PROXY_ADMIN = "0x223a681fc5c5522c85c96157c0efa18cd6c5405c"; +export declare const REMOTEHOPV2 = "0x0000006D38568b00B457580b734e0076C62de659"; +export declare const REMOTEADMINV2 = "0x954286118E93df807aB6f99aE0454f8710f0a8B9"; diff --git a/scripts/constants/plumephoenix.js b/scripts/constants/plumephoenix.js new file mode 100644 index 0000000..fb91583 --- /dev/null +++ b/scripts/constants/plumephoenix.js @@ -0,0 +1,29 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.REMOTEADMINV2 = + exports.REMOTEHOPV2 = + exports.FRAX_PROXY_ADMIN = + exports.REMOTEMINTREDEEMHOP = + exports.REMOTEHOP = + exports.WFRAXOFT = + exports.SFRXUSDOFT = + exports.SFRXETHOFT = + exports.FRXUSDOFT = + exports.FRXETHOFT = + exports.FPIOFT = + void 0; +// LayerZero +exports.FPIOFT = "0x90581eCa9469D8D7F5D3B60f4715027aDFCf7927"; +exports.FRXETHOFT = "0x43eDD7f3831b08FE70B7555ddD373C8bF65a9050"; +exports.FRXUSDOFT = "0x80Eede496655FB9047dd39d9f418d5483ED600df"; +exports.SFRXETHOFT = "0x3Ec3849C33291a9eF4c5dB86De593EB4A37fDe45"; +exports.SFRXUSDOFT = "0x5Bff88cA1442c2496f7E475E9e7786383Bc070c0"; +exports.WFRAXOFT = "0x64445f0aecC51E94aD52d8AC56b7190e764E561a"; +// FraxtalLZHop +exports.REMOTEHOP = "0x6cA98f43719231d38F6426DB64C7F3D5C7CE7876"; +exports.REMOTEMINTREDEEMHOP = "0xa71f2204EDDB8d84F411A0C712687FAe5002e7Fb"; +// LayerZeroInfra +exports.FRAX_PROXY_ADMIN = "0x223a681fc5c5522c85c96157c0efa18cd6c5405c"; +// HopV2 +exports.REMOTEHOPV2 = "0x0000006D38568b00B457580b734e0076C62de659"; +exports.REMOTEADMINV2 = "0x954286118E93df807aB6f99aE0454f8710f0a8B9"; diff --git a/scripts/constants/plumephoenix.ts b/scripts/constants/plumephoenix.ts index 1efb4e5..7f5f0e0 100644 --- a/scripts/constants/plumephoenix.ts +++ b/scripts/constants/plumephoenix.ts @@ -8,4 +8,10 @@ export const WFRAXOFT = "0x64445f0aecC51E94aD52d8AC56b7190e764E561a"; // FraxtalLZHop export const REMOTEHOP = "0x6cA98f43719231d38F6426DB64C7F3D5C7CE7876"; -export const REMOTEMINTREDEEMHOP = "0xa71f2204EDDB8d84F411A0C712687FAe5002e7Fb"; \ No newline at end of file +export const REMOTEMINTREDEEMHOP = "0xa71f2204EDDB8d84F411A0C712687FAe5002e7Fb"; +// LayerZeroInfra +export const FRAX_PROXY_ADMIN = "0x223a681fc5c5522c85c96157c0efa18cd6c5405c"; + +// HopV2 +export const REMOTEHOPV2 = "0x0000006D38568b00B457580b734e0076C62de659"; +export const REMOTEADMINV2 = "0x954286118E93df807aB6f99aE0454f8710f0a8B9"; diff --git a/scripts/constants/polygon-zkevm.js b/scripts/constants/polygon-zkevm.js new file mode 100644 index 0000000..368f90b --- /dev/null +++ b/scripts/constants/polygon-zkevm.js @@ -0,0 +1,68 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.REMOTEMINTREDEEMHOP = + exports.REMOTEHOP = + exports.WFRAXOFT = + exports.SFRXUSDOFT = + exports.SFRXETHOFT = + exports.FRXUSDOFT = + exports.FRXETHOFT = + exports.FPIOFT = + exports.COMBO_ORACLE_UNIV2_UNIV3 = + exports.COMBO_ORACLE = + exports.CREWMEMBER = + exports.FIRST_OFFICER = + exports.CAPTAIN = + exports.FRAXFERRY_V2__ETHEREUM_POLYGON_ZKEVM__SFRAX__POLYZKEVM_SIDE = + exports.FRAXFERRY_V2__ETHEREUM_POLYGON_ZKEVM__SFRXETH__POLYZKEVM_SIDE = + exports.FRAXFERRY_V2__ETHEREUM_POLYGON_ZKEVM__FRXETH__POLYZKEVM_SIDE = + exports.FRAXFERRY_V2__ETHEREUM_POLYGON_ZKEVM__FPIS__POLYZKEVM_SIDE = + exports.FRAXFERRY_V2__ETHEREUM_POLYGON_ZKEVM__FPI__POLYZKEVM_SIDE = + exports.FRAXFERRY_V2__ETHEREUM_POLYGON_ZKEVM__FXS__POLYZKEVM_SIDE = + exports.FRAXFERRY_V2__ETHEREUM_POLYGON_ZKEVM__FRAX__POLYZKEVM_SIDE = + exports.SFRAX = + exports.SFRXETH = + exports.FRXETH = + exports.FPIS = + exports.FPI = + exports.FXS = + exports.FRAX = + void 0; +// Canonicals +exports.FRAX = "0xFf8544feD5379D9ffa8D47a74cE6b91e632AC44D"; +exports.FXS = "0x6b856a14CeA1d7dCfaF80fA6936c0b75972cCacE"; +exports.FPI = "0x7E5845b1bFc9e6620893e48346bdB8541995a8D9"; +exports.FPIS = "0xdE7df9036801676aF0cB73661d93a098c0085fba"; +exports.FRXETH = "0xCf7eceE185f19e2E970a301eE37F93536ed66179"; +exports.SFRXETH = "0x7c2aF1Fb79D0b1c67d4eb802d44C673D0A1D2C04"; +exports.SFRAX = "0x2C37fb628b35dfdFD515d41B0cAAe11B542773C3"; +// Farms +// FraxBonds +// FraxFerry +exports.FRAXFERRY_V2__ETHEREUM_POLYGON_ZKEVM__FRAX__POLYZKEVM_SIDE = "0xEaBd7625056bbD2c260f90D0B08759C69d971a5B"; +exports.FRAXFERRY_V2__ETHEREUM_POLYGON_ZKEVM__FXS__POLYZKEVM_SIDE = "0x96720C1E893bB69C14291d8a85475ED9BC484b26"; +exports.FRAXFERRY_V2__ETHEREUM_POLYGON_ZKEVM__FPI__POLYZKEVM_SIDE = "0xA31001fbe938C520C27204b984817d998bAeA885"; +exports.FRAXFERRY_V2__ETHEREUM_POLYGON_ZKEVM__FPIS__POLYZKEVM_SIDE = "0x3d1bc21F8991091538FfEf535Fe96A449794461C"; +exports.FRAXFERRY_V2__ETHEREUM_POLYGON_ZKEVM__FRXETH__POLYZKEVM_SIDE = "0xA711F85672899331900359e5b89848A30BeEBDBe"; +exports.FRAXFERRY_V2__ETHEREUM_POLYGON_ZKEVM__SFRXETH__POLYZKEVM_SIDE = "0x4DB406906835ca0B28bFbef344c7d2C707BC4947"; +exports.FRAXFERRY_V2__ETHEREUM_POLYGON_ZKEVM__SFRAX__POLYZKEVM_SIDE = "0xE30521fe7f3bEB6Ad556887b50739d6C7CA667E6"; +exports.CAPTAIN = "0xBB437059584e30598b3AF0154472E47E6e2a45B9"; +exports.FIRST_OFFICER = "0xBB437059584e30598b3AF0154472E47E6e2a45B9"; +exports.CREWMEMBER = "0xBB437059584e30598b3AF0154472E47E6e2a45B9"; +// FraxlendAndOracles +// Fraxswap +// Misc +// Multisigs +exports.COMBO_ORACLE = "0x030BD43af99cb72B51dA233A73F7697Cd2461C0b"; +exports.COMBO_ORACLE_UNIV2_UNIV3 = "0x967d0c5f7362A54b156cf2831Fb17dA8681FAD7D"; +// PoolRelatedTokens +// LayerZero +exports.FPIOFT = "0x90581eCa9469D8D7F5D3B60f4715027aDFCf7927"; +exports.FRXETHOFT = "0x43eDD7f3831b08FE70B7555ddD373C8bF65a9050"; +exports.FRXUSDOFT = "0x80Eede496655FB9047dd39d9f418d5483ED600df"; +exports.SFRXETHOFT = "0x3Ec3849C33291a9eF4c5dB86De593EB4A37fDe45"; +exports.SFRXUSDOFT = "0x5Bff88cA1442c2496f7E475E9e7786383Bc070c0"; +exports.WFRAXOFT = "0x64445f0aecC51E94aD52d8AC56b7190e764E561a"; +// FraxtalLZHop +exports.REMOTEHOP = "0x111ddab65Af5fF96b674400246699ED40F550De1"; +exports.REMOTEMINTREDEEMHOP = "0xc71BF5Ee4740405030eF521F18A96eA14fec802D"; diff --git a/scripts/constants/polygon.d.ts b/scripts/constants/polygon.d.ts new file mode 100644 index 0000000..1afc407 --- /dev/null +++ b/scripts/constants/polygon.d.ts @@ -0,0 +1,52 @@ +export declare const FRAX = "0x45c32fA6DF82ead1e2EF74d17b76547EDdFaFF89"; +export declare const FXS = "0x1a3acf6D19267E2d3e7f898f42803e90C9219062"; +export declare const FPI = "0x411C9cDd0fBBa243488988f2A3005D6fFf126661"; +export declare const FPIS = "0x84F6FCeb8E4A3EB87768C4a111273C17b54D4411"; +export declare const FRXETH = "0xEe327F889d5947c1dc1934Bb208a1E792F953E96"; +export declare const SFRXETH = "0x6d1FdBB266fCc09A16a22016369210A15bb95761"; +export declare const BALANCER_FRXETH_BB_A_WETH_GAUGE = "0x617430FF1C74faff0378726627F26a8704d03c8d"; +export declare const KYBERSWAP_ELASTIC_FRAX_USDC_POLYGON = "0x0363a32D18c25a3FD19a0d00B02106C03d8b8182"; +export declare const MSTABLE_FRAX_MUSD = "0xc425Fd9Ed3C892d849C9E1a971516da1C1B29696"; +export declare const CAPTAIN = "0xBB437059584e30598b3AF0154472E47E6e2a45B9"; +export declare const CREWMEMBER = "0xBB437059584e30598b3AF0154472E47E6e2a45B9"; +export declare const DUMMY_TKN = "0xC6525aC8fc37814Fd68216F1ea690b3dC2249e89"; +export declare const FERRY_TO_ARBITRUM = "0xA621dC655fFBD0dB9cb2564529324E5750f2A4F0"; +export declare const FIRST_OFFICER = "0xBB437059584e30598b3AF0154472E47E6e2a45B9"; +export declare const FRAXFERRY_V1__ETHEREUM_POLYGON__FRAX__POLY_SIDE = "0x6f7F18C15B97dC9Fac48Ae7F986989F97D25dbc7"; +export declare const FRAXFERRY_V2__ETHEREUM_POLYGON__FRXETH__POLY_SIDE = "0x2760a93993BaA3BC4d7C209db000d4685bdAD6B1"; +export declare const FRAXFERRY_V2__ETHEREUM_POLYGON__FXS__POLY_SIDE = "0x6f71Ea0e9679389854010eE48a7D237cB430DBA4"; +export declare const FRAXFERRY_V2__ETHEREUM_POLYGON__SFRXETH__POLY_SIDE = "0x6728b24B4a4C42cabEe14a2BdFDc51271aa3Ae63"; +export declare const COMBO_ORACLE = "0xAfe0C8318B67Ea8461350ABf7Bc82E5ce9Cf11D3"; +export declare const COMBO_ORACLE_UNIV2_UNIV3 = "0x86Cffe1fE0C09A0815Fe4Fd21956D24Af5ba4020"; +export declare const COMBO_ORACLE_KYBERSWAP_ELASTIC_V2 = "0xfBCB0F967817c924f83e26e04F0FB28ED4d6276F"; +export declare const FRAXSWAP_FACTORY_V1 = "0xc2544A32872A91F4A553b404C6950e89De901fdb"; +export declare const FRAXSWAP_FACTORY_V2 = "0x54F454D747e037Da288dB568D4121117EAb34e79"; +export declare const FRAXSWAP_ROUTER_MULTI_HOP = "0x0000000000000000000000000000000000000000"; +export declare const FRAXSWAP_ROUTER_V1 = "0x9bc2152fD37b196C0Ff3C16f5533767c9A983971"; +export declare const FRAXSWAP_ROUTER_V2 = "0xE52D0337904D4D0519EF7487e707268E1DB6495F"; +export declare const FRAXSWAP_V1_FRAX_FXS = "0x60AC6d228ffeeefF423879baA02091558e6480dc"; +export declare const FRAXSWAP_V1_FRAX_WMATIC = "0x4F7267Af6DB7B284dF74BEA9e35402987D8C72a7"; +export declare const FRAXSWAP_V2_FRAX_FXS = "0xd2105fE5f1B631daf2398e918549758Cd181cA7C"; +export declare const FRAXSWAP_V2_FRAX_WMATIC = "0xA964b92C690f0B8efad5B46a278A84bD0EF8AC01"; +export declare const KYBERSWAP_ELASTIC_FACTORY_V2 = "0xC7a590291e07B9fe9E64b86c58fD8fC764308C4A"; +export declare const KYBERSWAP_ELASTIC_POS_MGR_V2 = "0xe222fBE074A436145b255442D919E4E3A6c6a480"; +export declare const KYBERSWAP_ELASTIC_ROUTER_V2 = "0xF9c2b5746c946EF883ab2660BbbB1f10A5bdeAb4"; +export declare const KYBERSWAP_ELASTIC_TICK_FEES_READER_V2 = "0x8Fd8Cb948965d9305999D767A02bf79833EADbB3"; +export declare const COMPTROLLER = "0xDCB5A4b6Ee39447D700F4FA3303B1d1c25Ea9cA7"; +export declare const FPI_COMPTROLLER = "0x4EBd698a5dB2580587EE0000929128190524006c"; +export declare const CURVE4POOL = "0xe4ae3Ee65bb687045e401827b404FeE34BE4BA53"; +export declare const DYSTOPIA_STABLEV1_AMM___USDC_FRAX = "0x53227c83a98Ba1035FEd912Da6cE26a0c11C7C66"; +export declare const DYSTOPIA_VOLATILEV1_AMM___FXS_FRAX = "0xfC2e89aabD257471a461dd506188609B2Bec53Fa"; +export declare const FRAX3POOL = "0x5e5A23b52Cb48F5E70271Be83079cA5bC9c9e9ac"; +export declare const HOP_LP_USDC = "0x9D373d22FD091d7f9A6649EB067557cc12Fb1A0A"; +export declare const FPIOFT = "0x90581eCa9469D8D7F5D3B60f4715027aDFCf7927"; +export declare const FRXETHOFT = "0x43eDD7f3831b08FE70B7555ddD373C8bF65a9050"; +export declare const FRXUSDOFT = "0x80Eede496655FB9047dd39d9f418d5483ED600df"; +export declare const SFRXETHOFT = "0x3Ec3849C33291a9eF4c5dB86De593EB4A37fDe45"; +export declare const SFRXUSDOFT = "0x5Bff88cA1442c2496f7E475E9e7786383Bc070c0"; +export declare const WFRAXOFT = "0x64445f0aecC51E94aD52d8AC56b7190e764E561a"; +export declare const REMOTEHOP = "0xf74D38A26948E9DDa53eD85cF03C6b1188FbB30C"; +export declare const REMOTEMINTREDEEMHOP = "0x5658e82E330e094627D9b362ed0E137eA06673C4"; +export declare const FRAX_PROXY_ADMIN = "0x223a681fc5c5522c85c96157c0efa18cd6c5405c"; +export declare const REMOTEHOPV2 = "0x0000006D38568b00B457580b734e0076C62de659"; +export declare const REMOTEADMINV2 = "0x954286118E93df807aB6f99aE0454f8710f0a8B9"; diff --git a/scripts/constants/polygon.js b/scripts/constants/polygon.js new file mode 100644 index 0000000..ff584fd --- /dev/null +++ b/scripts/constants/polygon.js @@ -0,0 +1,119 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.FRAX_PROXY_ADMIN = + exports.REMOTEMINTREDEEMHOP = + exports.REMOTEHOP = + exports.WFRAXOFT = + exports.SFRXUSDOFT = + exports.SFRXETHOFT = + exports.FRXUSDOFT = + exports.FRXETHOFT = + exports.FPIOFT = + exports.HOP_LP_USDC = + exports.FRAX3POOL = + exports.DYSTOPIA_VOLATILEV1_AMM___FXS_FRAX = + exports.DYSTOPIA_STABLEV1_AMM___USDC_FRAX = + exports.CURVE4POOL = + exports.FPI_COMPTROLLER = + exports.COMPTROLLER = + exports.KYBERSWAP_ELASTIC_TICK_FEES_READER_V2 = + exports.KYBERSWAP_ELASTIC_ROUTER_V2 = + exports.KYBERSWAP_ELASTIC_POS_MGR_V2 = + exports.KYBERSWAP_ELASTIC_FACTORY_V2 = + exports.FRAXSWAP_V2_FRAX_WMATIC = + exports.FRAXSWAP_V2_FRAX_FXS = + exports.FRAXSWAP_V1_FRAX_WMATIC = + exports.FRAXSWAP_V1_FRAX_FXS = + exports.FRAXSWAP_ROUTER_V2 = + exports.FRAXSWAP_ROUTER_V1 = + exports.FRAXSWAP_ROUTER_MULTI_HOP = + exports.FRAXSWAP_FACTORY_V2 = + exports.FRAXSWAP_FACTORY_V1 = + exports.COMBO_ORACLE_KYBERSWAP_ELASTIC_V2 = + exports.COMBO_ORACLE_UNIV2_UNIV3 = + exports.COMBO_ORACLE = + exports.FRAXFERRY_V2__ETHEREUM_POLYGON__SFRXETH__POLY_SIDE = + exports.FRAXFERRY_V2__ETHEREUM_POLYGON__FXS__POLY_SIDE = + exports.FRAXFERRY_V2__ETHEREUM_POLYGON__FRXETH__POLY_SIDE = + exports.FRAXFERRY_V1__ETHEREUM_POLYGON__FRAX__POLY_SIDE = + exports.FIRST_OFFICER = + exports.FERRY_TO_ARBITRUM = + exports.DUMMY_TKN = + exports.CREWMEMBER = + exports.CAPTAIN = + exports.MSTABLE_FRAX_MUSD = + exports.KYBERSWAP_ELASTIC_FRAX_USDC_POLYGON = + exports.BALANCER_FRXETH_BB_A_WETH_GAUGE = + exports.SFRXETH = + exports.FRXETH = + exports.FPIS = + exports.FPI = + exports.FXS = + exports.FRAX = + void 0; +exports.REMOTEADMINV2 = exports.REMOTEHOPV2 = void 0; +// Canonicals +exports.FRAX = "0x45c32fA6DF82ead1e2EF74d17b76547EDdFaFF89"; +exports.FXS = "0x1a3acf6D19267E2d3e7f898f42803e90C9219062"; +exports.FPI = "0x411C9cDd0fBBa243488988f2A3005D6fFf126661"; +exports.FPIS = "0x84F6FCeb8E4A3EB87768C4a111273C17b54D4411"; +exports.FRXETH = "0xEe327F889d5947c1dc1934Bb208a1E792F953E96"; +exports.SFRXETH = "0x6d1FdBB266fCc09A16a22016369210A15bb95761"; +// Farms +exports.BALANCER_FRXETH_BB_A_WETH_GAUGE = "0x617430FF1C74faff0378726627F26a8704d03c8d"; +exports.KYBERSWAP_ELASTIC_FRAX_USDC_POLYGON = "0x0363a32D18c25a3FD19a0d00B02106C03d8b8182"; +exports.MSTABLE_FRAX_MUSD = "0xc425Fd9Ed3C892d849C9E1a971516da1C1B29696"; +// FraxBonds +// FraxFerry +exports.CAPTAIN = "0xBB437059584e30598b3AF0154472E47E6e2a45B9"; +exports.CREWMEMBER = "0xBB437059584e30598b3AF0154472E47E6e2a45B9"; +exports.DUMMY_TKN = "0xC6525aC8fc37814Fd68216F1ea690b3dC2249e89"; +exports.FERRY_TO_ARBITRUM = "0xA621dC655fFBD0dB9cb2564529324E5750f2A4F0"; +exports.FIRST_OFFICER = "0xBB437059584e30598b3AF0154472E47E6e2a45B9"; +exports.FRAXFERRY_V1__ETHEREUM_POLYGON__FRAX__POLY_SIDE = "0x6f7F18C15B97dC9Fac48Ae7F986989F97D25dbc7"; +exports.FRAXFERRY_V2__ETHEREUM_POLYGON__FRXETH__POLY_SIDE = "0x2760a93993BaA3BC4d7C209db000d4685bdAD6B1"; +exports.FRAXFERRY_V2__ETHEREUM_POLYGON__FXS__POLY_SIDE = "0x6f71Ea0e9679389854010eE48a7D237cB430DBA4"; +exports.FRAXFERRY_V2__ETHEREUM_POLYGON__SFRXETH__POLY_SIDE = "0x6728b24B4a4C42cabEe14a2BdFDc51271aa3Ae63"; +// FraxlendAndOracles +exports.COMBO_ORACLE = "0xAfe0C8318B67Ea8461350ABf7Bc82E5ce9Cf11D3"; +exports.COMBO_ORACLE_UNIV2_UNIV3 = "0x86Cffe1fE0C09A0815Fe4Fd21956D24Af5ba4020"; +exports.COMBO_ORACLE_KYBERSWAP_ELASTIC_V2 = "0xfBCB0F967817c924f83e26e04F0FB28ED4d6276F"; +// Fraxswap +exports.FRAXSWAP_FACTORY_V1 = "0xc2544A32872A91F4A553b404C6950e89De901fdb"; +exports.FRAXSWAP_FACTORY_V2 = "0x54F454D747e037Da288dB568D4121117EAb34e79"; +exports.FRAXSWAP_ROUTER_MULTI_HOP = "0x0000000000000000000000000000000000000000"; +exports.FRAXSWAP_ROUTER_V1 = "0x9bc2152fD37b196C0Ff3C16f5533767c9A983971"; +exports.FRAXSWAP_ROUTER_V2 = "0xE52D0337904D4D0519EF7487e707268E1DB6495F"; +exports.FRAXSWAP_V1_FRAX_FXS = "0x60AC6d228ffeeefF423879baA02091558e6480dc"; +exports.FRAXSWAP_V1_FRAX_WMATIC = "0x4F7267Af6DB7B284dF74BEA9e35402987D8C72a7"; +exports.FRAXSWAP_V2_FRAX_FXS = "0xd2105fE5f1B631daf2398e918549758Cd181cA7C"; +exports.FRAXSWAP_V2_FRAX_WMATIC = "0xA964b92C690f0B8efad5B46a278A84bD0EF8AC01"; +exports.KYBERSWAP_ELASTIC_FACTORY_V2 = "0xC7a590291e07B9fe9E64b86c58fD8fC764308C4A"; +exports.KYBERSWAP_ELASTIC_POS_MGR_V2 = "0xe222fBE074A436145b255442D919E4E3A6c6a480"; +exports.KYBERSWAP_ELASTIC_ROUTER_V2 = "0xF9c2b5746c946EF883ab2660BbbB1f10A5bdeAb4"; +exports.KYBERSWAP_ELASTIC_TICK_FEES_READER_V2 = "0x8Fd8Cb948965d9305999D767A02bf79833EADbB3"; +// Misc +// Multisigs +exports.COMPTROLLER = "0xDCB5A4b6Ee39447D700F4FA3303B1d1c25Ea9cA7"; +exports.FPI_COMPTROLLER = "0x4EBd698a5dB2580587EE0000929128190524006c"; +// PoolRelatedTokens +exports.CURVE4POOL = "0xe4ae3Ee65bb687045e401827b404FeE34BE4BA53"; +exports.DYSTOPIA_STABLEV1_AMM___USDC_FRAX = "0x53227c83a98Ba1035FEd912Da6cE26a0c11C7C66"; +exports.DYSTOPIA_VOLATILEV1_AMM___FXS_FRAX = "0xfC2e89aabD257471a461dd506188609B2Bec53Fa"; +exports.FRAX3POOL = "0x5e5A23b52Cb48F5E70271Be83079cA5bC9c9e9ac"; +exports.HOP_LP_USDC = "0x9D373d22FD091d7f9A6649EB067557cc12Fb1A0A"; +// LayerZero +exports.FPIOFT = "0x90581eCa9469D8D7F5D3B60f4715027aDFCf7927"; +exports.FRXETHOFT = "0x43eDD7f3831b08FE70B7555ddD373C8bF65a9050"; +exports.FRXUSDOFT = "0x80Eede496655FB9047dd39d9f418d5483ED600df"; +exports.SFRXETHOFT = "0x3Ec3849C33291a9eF4c5dB86De593EB4A37fDe45"; +exports.SFRXUSDOFT = "0x5Bff88cA1442c2496f7E475E9e7786383Bc070c0"; +exports.WFRAXOFT = "0x64445f0aecC51E94aD52d8AC56b7190e764E561a"; +// FraxtalLZHop +exports.REMOTEHOP = "0xf74D38A26948E9DDa53eD85cF03C6b1188FbB30C"; +exports.REMOTEMINTREDEEMHOP = "0x5658e82E330e094627D9b362ed0E137eA06673C4"; +// LayerZeroInfra +exports.FRAX_PROXY_ADMIN = "0x223a681fc5c5522c85c96157c0efa18cd6c5405c"; +// HopV2 +exports.REMOTEHOPV2 = "0x0000006D38568b00B457580b734e0076C62de659"; +exports.REMOTEADMINV2 = "0x954286118E93df807aB6f99aE0454f8710f0a8B9"; diff --git a/scripts/constants/polygon.ts b/scripts/constants/polygon.ts index 13a1816..1472858 100644 --- a/scripts/constants/polygon.ts +++ b/scripts/constants/polygon.ts @@ -67,4 +67,10 @@ export const WFRAXOFT = "0x64445f0aecC51E94aD52d8AC56b7190e764E561a"; // FraxtalLZHop export const REMOTEHOP = "0xf74D38A26948E9DDa53eD85cF03C6b1188FbB30C"; -export const REMOTEMINTREDEEMHOP = "0x5658e82E330e094627D9b362ed0E137eA06673C4"; \ No newline at end of file +export const REMOTEMINTREDEEMHOP = "0x5658e82E330e094627D9b362ed0E137eA06673C4"; +// LayerZeroInfra +export const FRAX_PROXY_ADMIN = "0x223a681fc5c5522c85c96157c0efa18cd6c5405c"; + +// HopV2 +export const REMOTEHOPV2 = "0x0000006D38568b00B457580b734e0076C62de659"; +export const REMOTEADMINV2 = "0x954286118E93df807aB6f99aE0454f8710f0a8B9"; diff --git a/scripts/constants/scroll.d.ts b/scripts/constants/scroll.d.ts new file mode 100644 index 0000000..cca3152 --- /dev/null +++ b/scripts/constants/scroll.d.ts @@ -0,0 +1,11 @@ +export declare const FPIOFT = "0x93cDc5d29293Cb6983f059Fec6e4FFEb656b6a62"; +export declare const FRXETHOFT = "0x0097Cf8Ee15800d4f80da8A6cE4dF360D9449Ed5"; +export declare const FRXUSDOFT = "0x397F939C3b91A74C321ea7129396492bA9Cdce82"; +export declare const SFRXETHOFT = "0x73382eb28F35d80Df8C3fe04A3EED71b1aFce5dE"; +export declare const SFRXUSDOFT = "0xC6B2BE25d65760B826D0C852FD35F364250619c2"; +export declare const WFRAXOFT = "0x879ba0efe1ab0119fefa745a21585fa205b07907"; +export declare const REMOTEHOP = "0xf6f45ccb5e85d1400067ee66f9e168f83e86124e"; +export declare const REMOTEMINTREDEEMHOP = "0x91DDB0E0C36B901C6BF53B9Eb5ACa0Eb1465F558"; +export declare const FRAX_PROXY_ADMIN = "0x8f1b9c1fd67136d525e14d96efb3887a33f16250"; +export declare const REMOTEHOPV2 = "0x0000006D38568b00B457580b734e0076C62de659"; +export declare const REMOTEADMINV2 = "0x1dE5910A2b0f860A226a8a43148aeA91afbE3d01"; diff --git a/scripts/constants/scroll.js b/scripts/constants/scroll.js new file mode 100644 index 0000000..a6cacc5 --- /dev/null +++ b/scripts/constants/scroll.js @@ -0,0 +1,29 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.REMOTEADMINV2 = + exports.REMOTEHOPV2 = + exports.FRAX_PROXY_ADMIN = + exports.REMOTEMINTREDEEMHOP = + exports.REMOTEHOP = + exports.WFRAXOFT = + exports.SFRXUSDOFT = + exports.SFRXETHOFT = + exports.FRXUSDOFT = + exports.FRXETHOFT = + exports.FPIOFT = + void 0; +// LayerZero +exports.FPIOFT = "0x93cDc5d29293Cb6983f059Fec6e4FFEb656b6a62"; +exports.FRXETHOFT = "0x0097Cf8Ee15800d4f80da8A6cE4dF360D9449Ed5"; +exports.FRXUSDOFT = "0x397F939C3b91A74C321ea7129396492bA9Cdce82"; +exports.SFRXETHOFT = "0x73382eb28F35d80Df8C3fe04A3EED71b1aFce5dE"; +exports.SFRXUSDOFT = "0xC6B2BE25d65760B826D0C852FD35F364250619c2"; +exports.WFRAXOFT = "0x879ba0efe1ab0119fefa745a21585fa205b07907"; +// FraxtalLZHop +exports.REMOTEHOP = "0xf6f45ccb5e85d1400067ee66f9e168f83e86124e"; +exports.REMOTEMINTREDEEMHOP = "0x91DDB0E0C36B901C6BF53B9Eb5ACa0Eb1465F558"; +// LayerZeroInfra +exports.FRAX_PROXY_ADMIN = "0x8f1b9c1fd67136d525e14d96efb3887a33f16250"; +// HopV2 +exports.REMOTEHOPV2 = "0x0000006D38568b00B457580b734e0076C62de659"; +exports.REMOTEADMINV2 = "0x1dE5910A2b0f860A226a8a43148aeA91afbE3d01"; diff --git a/scripts/constants/scroll.ts b/scripts/constants/scroll.ts index 5db5344..88351e3 100644 --- a/scripts/constants/scroll.ts +++ b/scripts/constants/scroll.ts @@ -1,11 +1,17 @@ // LayerZero -export const FPIOFT = "0x90581eCa9469D8D7F5D3B60f4715027aDFCf7927"; -export const FRXETHOFT = "0x43eDD7f3831b08FE70B7555ddD373C8bF65a9050"; -export const FRXUSDOFT = "0x80Eede496655FB9047dd39d9f418d5483ED600df"; -export const SFRXETHOFT = "0x3Ec3849C33291a9eF4c5dB86De593EB4A37fDe45"; -export const SFRXUSDOFT = "0x5Bff88cA1442c2496f7E475E9e7786383Bc070c0"; -export const WFRAXOFT = "0x64445f0aecC51E94aD52d8AC56b7190e764E561a"; +export const FPIOFT = "0x93cDc5d29293Cb6983f059Fec6e4FFEb656b6a62"; +export const FRXETHOFT = "0x0097Cf8Ee15800d4f80da8A6cE4dF360D9449Ed5"; +export const FRXUSDOFT = "0x397F939C3b91A74C321ea7129396492bA9Cdce82"; +export const SFRXETHOFT = "0x73382eb28F35d80Df8C3fe04A3EED71b1aFce5dE"; +export const SFRXUSDOFT = "0xC6B2BE25d65760B826D0C852FD35F364250619c2"; +export const WFRAXOFT = "0x879ba0efe1ab0119fefa745a21585fa205b07907"; // FraxtalLZHop export const REMOTEHOP = "0xf6f45ccb5e85d1400067ee66f9e168f83e86124e"; -export const REMOTEMINTREDEEMHOP = "0x91DDB0E0C36B901C6BF53B9Eb5ACa0Eb1465F558"; \ No newline at end of file +export const REMOTEMINTREDEEMHOP = "0x91DDB0E0C36B901C6BF53B9Eb5ACa0Eb1465F558"; +// LayerZeroInfra +export const FRAX_PROXY_ADMIN = "0x8f1b9c1fd67136d525e14d96efb3887a33f16250"; + +// HopV2 +export const REMOTEHOPV2 = "0x0000006D38568b00B457580b734e0076C62de659"; +export const REMOTEADMINV2 = "0x1dE5910A2b0f860A226a8a43148aeA91afbE3d01"; diff --git a/scripts/constants/sei.js b/scripts/constants/sei.js new file mode 100644 index 0000000..532cc69 --- /dev/null +++ b/scripts/constants/sei.js @@ -0,0 +1,41 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.CHAIN_ID = + exports.LZ_CHAIN_ID = + exports.FRAX_PROXY_ADMIN = + exports.LZ_BLOCK_SEND_LIB = + exports.LZ_SEND_LIB_302 = + exports.LZ_RECEIVE_LIB_302 = + exports.LZ_ENDPOINT = + exports.REMOTEMINTREDEEMHOP = + exports.REMOTEHOP = + exports.WFRAXOFT = + exports.SFRXUSDOFT = + exports.SFRXETHOFT = + exports.FRXUSDOFT = + exports.FRXETHOFT = + exports.FPIOFT = + void 0; +// LayerZero +exports.FPIOFT = "0x90581eCa9469D8D7F5D3B60f4715027aDFCf7927"; +exports.FRXETHOFT = "0x43eDD7f3831b08FE70B7555ddD373C8bF65a9050"; +exports.FRXUSDOFT = "0x80Eede496655FB9047dd39d9f418d5483ED600df"; +exports.SFRXETHOFT = "0x3Ec3849C33291a9eF4c5dB86De593EB4A37fDe45"; +exports.SFRXUSDOFT = "0x5Bff88cA1442c2496f7E475E9e7786383Bc070c0"; +exports.WFRAXOFT = "0x64445f0aecC51E94aD52d8AC56b7190e764E561a"; +// FraxtalLZHop +exports.REMOTEHOP = "0x3a6F28e8DDD232B02C72C491Bd1626F69D2fb329"; +exports.REMOTEMINTREDEEMHOP = "0x0255a172d0a060F2bEab3e7c12334dD73cCC26ba"; +// LayerZeroInfra +exports.LZ_ENDPOINT = "0x1a44076050125825900e736c501f859c50fE728c"; +exports.LZ_RECEIVE_LIB_302 = "0xe1844c5D63a9543023008D332Bd3d2e6f1FE1043"; +exports.LZ_SEND_LIB_302 = "0xC39161c743D0307EB9BCc9FEF03eeb9Dc4802de7"; +exports.LZ_BLOCK_SEND_LIB = "0x1ccbf0db9c192d969de57e25b3ff09a25bb1d862"; +exports.FRAX_PROXY_ADMIN = "0x223a681fc5c5522c85c96157c0efa18cd6c5405c"; +// Chain IDs +exports.LZ_CHAIN_ID = 30280; +exports.CHAIN_ID = 1329; + +// HopV2 +exports.REMOTEHOPV2 = "0x0000006D38568b00B457580b734e0076C62de659"; +exports.REMOTEADMINV2 = "0x954286118E93df807aB6f99aE0454f8710f0a8B9"; diff --git a/scripts/constants/sei.ts b/scripts/constants/sei.ts index 294d513..6f887ad 100644 --- a/scripts/constants/sei.ts +++ b/scripts/constants/sei.ts @@ -8,4 +8,10 @@ export const WFRAXOFT = "0x64445f0aecC51E94aD52d8AC56b7190e764E561a"; // FraxtalLZHop export const REMOTEHOP = "0x3a6F28e8DDD232B02C72C491Bd1626F69D2fb329"; -export const REMOTEMINTREDEEMHOP = "0x0255a172d0a060F2bEab3e7c12334dD73cCC26ba"; \ No newline at end of file +export const REMOTEMINTREDEEMHOP = "0x0255a172d0a060F2bEab3e7c12334dD73cCC26ba"; +// LayerZeroInfra +export const FRAX_PROXY_ADMIN = "0x223a681fc5c5522c85c96157c0efa18cd6c5405c"; + +// HopV2 +export const REMOTEHOPV2 = "0x0000006D38568b00B457580b734e0076C62de659"; +export const REMOTEADMINV2 = "0x954286118E93df807aB6f99aE0454f8710f0a8B9"; diff --git a/scripts/constants/solana.js b/scripts/constants/solana.js new file mode 100644 index 0000000..c6cec7f --- /dev/null +++ b/scripts/constants/solana.js @@ -0,0 +1,84 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.CHAIN_ID = + exports.LZ_CHAIN_ID = + exports.LZ_BLOCK_SEND_LIB = + exports.LZ_SEND_LIB_302 = + exports.LZ_RECEIVE_LIB_302 = + exports.LZ_ENDPOINT = + exports.WFRAX_OFT_STORE = + exports.SFRXUSD_OFT_STORE = + exports.SFRXETH_OFT_STORE = + exports.FRXUSD_OFT_STORE = + exports.FRXETH_OFT_STORE = + exports.FPI_OFT_STORE = + exports.WFRAX_ESCROW = + exports.SFRXUSD_ESCROW = + exports.SFRXETH_ESCROW = + exports.FRXUSD_ESCROW = + exports.FRXETH_ESCROW = + exports.FPI_ESCROW = + exports.WFRAX_MINT_AUTHORITY = + exports.SFRXUSD_MINT_AUTHORITY = + exports.SFRXETH_MINT_AUTHORITY = + exports.FRXUSD_MINT_AUTHORITY = + exports.FRXETH_MINT_AUTHORITY = + exports.FPI_MINT_AUTHORITY = + exports.WFRAX = + exports.SFRXUSD = + exports.SFRXETH = + exports.FRXUSD = + exports.FRXETH = + exports.FPI = + exports.WFRAXOFT = + exports.SFRXUSDOFT = + exports.SFRXETHOFT = + exports.FRXUSDOFT = + exports.FRXETHOFT = + exports.FPIOFT = + exports.OFT_PROGRAM_ID = + void 0; +// LayerZero +exports.OFT_PROGRAM_ID = "E1ht9dUh1ZkgWWRRPCuN3kExEoF2FXiyADXeN3XyMHaQ"; +exports.FPIOFT = "0xd3cee058686107cc51844f331ee213a33142ab299b5ce473c1cf3a8ddaa721a0"; +exports.FRXETHOFT = "0x38dd9e11bbf63835dc61d3cbf259f4221f5987ac92982c96609b99634662dfb3"; +exports.FRXUSDOFT = "0x5e208a73d5bb1c78e9dbf53badd7299afd6bee9acacdcd4fd668833e53c538ad"; +exports.SFRXETHOFT = "0xbf2f1fc27286a43f25b05bd843a74a5478c4246343fa90c1fcb641a1caf46c61"; +exports.SFRXUSDOFT = "0x8602f005ca65b6da46a3c6ce66ecd1d15be911ca650d5f418d369df184b584cf"; +exports.WFRAXOFT = "0x4939035f8dd13d15a9386e28b6705519aa6f488791323466a3c0116a201e51aa"; +// Token Mints +exports.FPI = "8xKX8CRH9LxriRUNCPittu1jiovyQQr4EonWQjHZjWyH"; +exports.FRXETH = "5sDrwVNiHMM2jC78hRBH1CtysDQYiNKihubgW2zNu8tf"; +exports.FRXUSD = "GzX1ireZDU865FiMaKrdVB1H6AE8LAqWYCg6chrMrfBw"; +exports.SFRXETH = "58zpC9acE6F4FBtd88L64NoWHJcmzLsQSy5bjz35Ydgv"; +exports.SFRXUSD = "DUvWQMyASSkLNJFwsMDA4kwxEvmfaqpPGrvUVKtitX45"; +exports.WFRAX = "zZbQjiRg8uSxZaPu996XuviuZeSY6nsaMuutKZQBJga"; +// Mint Authorities +exports.FPI_MINT_AUTHORITY = "F3YLUzqvJndUpypxUgxsFZQFHD3KUNC5QrkpNJKLBGje"; +exports.FRXETH_MINT_AUTHORITY = "Ea6GvxUc4xh4LoPgJXePhKFsUcuW8G2RASdNYyuoohxr"; +exports.FRXUSD_MINT_AUTHORITY = "52e8UiVqx28VEqyiEqMbMVehFC3LheNGqnA9m82XF6GK"; +exports.SFRXETH_MINT_AUTHORITY = "BVQcQygw2f6nrDu6HNTfQ1ECjRRx8nm2CnBANt4yqqvp"; +exports.SFRXUSD_MINT_AUTHORITY = "EK2qrg4ggSVmxNDU3qSvVcKx7HYpmNT3kWbLHMtL5vaV"; +exports.WFRAX_MINT_AUTHORITY = "CMCA6bzoCH4KcDZtwCviFYF2c5tasLHjEhX8ThMeCpqk"; +// Escrows +exports.FPI_ESCROW = "EPmy89v6at8rxrV2n1E3xZP74MzaGi7BWdFNiA2xW64Z"; +exports.FRXETH_ESCROW = "H17Anco2cnEtSyfSwt4XKhsU7nbFyP57qqXhsff39UW3"; +exports.FRXUSD_ESCROW = "84AFSH3TSzyjbEFJX9z8sjpV7npTWq7f8ZR5zkLG22hX"; +exports.SFRXETH_ESCROW = "AmjMhAYdCz2crdKYG4U9WMPT7ccHsXSx12qJ5TTjoHYq"; +exports.SFRXUSD_ESCROW = "8vRGMiktFX3VhQRfwkaWsAG3KHHzVnRYEKkDKEYzgmCa"; +exports.WFRAX_ESCROW = "FwmRDpyFBLkdk7BLRkWF5p5DqwBX2LzVTARGkG5haHbV"; +// OFT Stores +exports.FPI_OFT_STORE = "FFozEKoFQ1CZD6Kn7bpwAxaWhK1jEA76pjucvBBHf9ZH"; +exports.FRXETH_OFT_STORE = "4pyqBQFhzsuL7ED76x3AyzT4bCVpMpQWXhS1LqEsfQtz"; +exports.FRXUSD_OFT_STORE = "7LS6y37WXXCyBHkBU6zVpiqaqbkXLr4P85ZhQi3eonSp"; +exports.SFRXETH_OFT_STORE = "DsJYjDF5yVSopMC15q9W42v833MhWGhCxcU2J39oS3wN"; +exports.SFRXUSD_OFT_STORE = "A28EK6j1euK4e6taP1KLFpGEoR1mDpXR4vtfiyCE1Nxv"; +exports.WFRAX_OFT_STORE = "5vqBiG7nxNnoCst8mEVVS6ax7C1ypEEenPfcZ4kLgj9B"; +// LayerZeroInfra +exports.LZ_ENDPOINT = "76y77prsiCMvXMjuoZ5VRrhG5qYBrUMYTE5WgHqgjEn6"; +exports.LZ_RECEIVE_LIB_302 = "7a4WjyR8VZ7yZz5XJAKm39BUGn5iT9CKcv2pmG9tdXVH"; +exports.LZ_SEND_LIB_302 = "7a4WjyR8VZ7yZz5XJAKm39BUGn5iT9CKcv2pmG9tdXVH"; +exports.LZ_BLOCK_SEND_LIB = "2XrYqmhBMPJgDsb4SVbjV1PnJBprurd5bzRCkHwiFCJB"; +// Chain IDs +exports.LZ_CHAIN_ID = 30168; +exports.CHAIN_ID = 0; diff --git a/scripts/constants/solana.ts b/scripts/constants/solana.ts index e430102..601a20a 100644 --- a/scripts/constants/solana.ts +++ b/scripts/constants/solana.ts @@ -1,13 +1,41 @@ // LayerZero +export const OFT_PROGRAM_ID = "E1ht9dUh1ZkgWWRRPCuN3kExEoF2FXiyADXeN3XyMHaQ"; export const FPIOFT = "0xd3cee058686107cc51844f331ee213a33142ab299b5ce473c1cf3a8ddaa721a0"; export const FRXETHOFT = "0x38dd9e11bbf63835dc61d3cbf259f4221f5987ac92982c96609b99634662dfb3"; export const FRXUSDOFT = "0x5e208a73d5bb1c78e9dbf53badd7299afd6bee9acacdcd4fd668833e53c538ad"; export const SFRXETHOFT = "0xbf2f1fc27286a43f25b05bd843a74a5478c4246343fa90c1fcb641a1caf46c61"; export const SFRXUSDOFT = "0x8602f005ca65b6da46a3c6ce66ecd1d15be911ca650d5f418d369df184b584cf"; export const WFRAXOFT = "0x4939035f8dd13d15a9386e28b6705519aa6f488791323466a3c0116a201e51aa"; -export const FPI = "8xKX8CRH9LxriRUNCPittu1jiovyQQr4EonWQjHZjWyH" -export const FRXETH = "5sDrwVNiHMM2jC78hRBH1CtysDQYiNKihubgW2zNu8tf" -export const FRXUSD = "GzX1ireZDU865FiMaKrdVB1H6AE8LAqWYCg6chrMrfBw" -export const SFRXETH = "58zpC9acE6F4FBtd88L64NoWHJcmzLsQSy5bjz35Ydgv" -export const SFRXUSD = "DUvWQMyASSkLNJFwsMDA4kwxEvmfaqpPGrvUVKtitX45" -export const WFRAX = "zZbQjiRg8uSxZaPu996XuviuZeSY6nsaMuutKZQBJga" \ No newline at end of file + +// Token Mints +export const FPI = "8xKX8CRH9LxriRUNCPittu1jiovyQQr4EonWQjHZjWyH"; +export const FRXETH = "5sDrwVNiHMM2jC78hRBH1CtysDQYiNKihubgW2zNu8tf"; +export const FRXUSD = "GzX1ireZDU865FiMaKrdVB1H6AE8LAqWYCg6chrMrfBw"; +export const SFRXETH = "58zpC9acE6F4FBtd88L64NoWHJcmzLsQSy5bjz35Ydgv"; +export const SFRXUSD = "DUvWQMyASSkLNJFwsMDA4kwxEvmfaqpPGrvUVKtitX45"; +export const WFRAX = "zZbQjiRg8uSxZaPu996XuviuZeSY6nsaMuutKZQBJga"; + +// Mint Authorities +export const FPI_MINT_AUTHORITY = "F3YLUzqvJndUpypxUgxsFZQFHD3KUNC5QrkpNJKLBGje"; +export const FRXETH_MINT_AUTHORITY = "Ea6GvxUc4xh4LoPgJXePhKFsUcuW8G2RASdNYyuoohxr"; +export const FRXUSD_MINT_AUTHORITY = "52e8UiVqx28VEqyiEqMbMVehFC3LheNGqnA9m82XF6GK"; +export const SFRXETH_MINT_AUTHORITY = "BVQcQygw2f6nrDu6HNTfQ1ECjRRx8nm2CnBANt4yqqvp"; +export const SFRXUSD_MINT_AUTHORITY = "EK2qrg4ggSVmxNDU3qSvVcKx7HYpmNT3kWbLHMtL5vaV"; +export const WFRAX_MINT_AUTHORITY = "CMCA6bzoCH4KcDZtwCviFYF2c5tasLHjEhX8ThMeCpqk"; + +// Escrows +export const FPI_ESCROW = "EPmy89v6at8rxrV2n1E3xZP74MzaGi7BWdFNiA2xW64Z"; +export const FRXETH_ESCROW = "H17Anco2cnEtSyfSwt4XKhsU7nbFyP57qqXhsff39UW3"; +export const FRXUSD_ESCROW = "84AFSH3TSzyjbEFJX9z8sjpV7npTWq7f8ZR5zkLG22hX"; +export const SFRXETH_ESCROW = "AmjMhAYdCz2crdKYG4U9WMPT7ccHsXSx12qJ5TTjoHYq"; +export const SFRXUSD_ESCROW = "8vRGMiktFX3VhQRfwkaWsAG3KHHzVnRYEKkDKEYzgmCa"; +export const WFRAX_ESCROW = "FwmRDpyFBLkdk7BLRkWF5p5DqwBX2LzVTARGkG5haHbV"; + +// OFT Stores +export const FPI_OFT_STORE = "FFozEKoFQ1CZD6Kn7bpwAxaWhK1jEA76pjucvBBHf9ZH"; +export const FRXETH_OFT_STORE = "4pyqBQFhzsuL7ED76x3AyzT4bCVpMpQWXhS1LqEsfQtz"; +export const FRXUSD_OFT_STORE = "7LS6y37WXXCyBHkBU6zVpiqaqbkXLr4P85ZhQi3eonSp"; +export const SFRXETH_OFT_STORE = "DsJYjDF5yVSopMC15q9W42v833MhWGhCxcU2J39oS3wN"; +export const SFRXUSD_OFT_STORE = "A28EK6j1euK4e6taP1KLFpGEoR1mDpXR4vtfiyCE1Nxv"; +export const WFRAX_OFT_STORE = "5vqBiG7nxNnoCst8mEVVS6ax7C1ypEEenPfcZ4kLgj9B"; +// LayerZeroInfra diff --git a/scripts/constants/sonic.js b/scripts/constants/sonic.js new file mode 100644 index 0000000..53f335d --- /dev/null +++ b/scripts/constants/sonic.js @@ -0,0 +1,41 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.CHAIN_ID = + exports.LZ_CHAIN_ID = + exports.FRAX_PROXY_ADMIN = + exports.LZ_BLOCK_SEND_LIB = + exports.LZ_SEND_LIB_302 = + exports.LZ_RECEIVE_LIB_302 = + exports.LZ_ENDPOINT = + exports.REMOTEMINTREDEEMHOP = + exports.REMOTEHOP = + exports.WFRAXOFT = + exports.SFRXUSDOFT = + exports.SFRXETHOFT = + exports.FRXUSDOFT = + exports.FRXETHOFT = + exports.FPIOFT = + void 0; +// LayerZero +exports.FPIOFT = "0x90581eCa9469D8D7F5D3B60f4715027aDFCf7927"; +exports.FRXETHOFT = "0x43eDD7f3831b08FE70B7555ddD373C8bF65a9050"; +exports.FRXUSDOFT = "0x80Eede496655FB9047dd39d9f418d5483ED600df"; +exports.SFRXETHOFT = "0x3Ec3849C33291a9eF4c5dB86De593EB4A37fDe45"; +exports.SFRXUSDOFT = "0x5Bff88cA1442c2496f7E475E9e7786383Bc070c0"; +exports.WFRAXOFT = "0x64445f0aecC51E94aD52d8AC56b7190e764E561a"; +// FraxtalLZHop +exports.REMOTEHOP = "0x3A5cDA3Ac66Aa80573402610c94B74eD6cdb2F23"; +exports.REMOTEMINTREDEEMHOP = "0xf6115Bb9b6A4b3660dA409cB7afF1fb773efaD0b"; +// LayerZeroInfra +exports.LZ_ENDPOINT = "0x6F475642a6e85809B1c36Fa62763669b1b48DD5B"; +exports.LZ_RECEIVE_LIB_302 = "0xe1844c5D63a9543023008D332Bd3d2e6f1FE1043"; +exports.LZ_SEND_LIB_302 = "0xC39161c743D0307EB9BCc9FEF03eeb9Dc4802de7"; +exports.LZ_BLOCK_SEND_LIB = "0xc1ce56b2099ca68720592583c7984cab4b6d7e7a"; +exports.FRAX_PROXY_ADMIN = "0x223a681fc5c5522c85c96157c0efa18cd6c5405c"; +// Chain IDs +exports.LZ_CHAIN_ID = 30332; +exports.CHAIN_ID = 146; + +// HopV2 +exports.REMOTEHOPV2 = "0x0000006D38568b00B457580b734e0076C62de659"; +exports.REMOTEADMINV2 = "0x954286118E93df807aB6f99aE0454f8710f0a8B9"; diff --git a/scripts/constants/sonic.ts b/scripts/constants/sonic.ts index 5b0d672..a8b91f2 100644 --- a/scripts/constants/sonic.ts +++ b/scripts/constants/sonic.ts @@ -8,4 +8,10 @@ export const WFRAXOFT = "0x64445f0aecC51E94aD52d8AC56b7190e764E561a"; // FraxtalLZHop export const REMOTEHOP = "0x3A5cDA3Ac66Aa80573402610c94B74eD6cdb2F23"; -export const REMOTEMINTREDEEMHOP = "0xf6115Bb9b6A4b3660dA409cB7afF1fb773efaD0b"; \ No newline at end of file +export const REMOTEMINTREDEEMHOP = "0xf6115Bb9b6A4b3660dA409cB7afF1fb773efaD0b"; +// LayerZeroInfra +export const FRAX_PROXY_ADMIN = "0x223a681fc5c5522c85c96157c0efa18cd6c5405c"; + +// HopV2 +export const REMOTEHOPV2 = "0x0000006D38568b00B457580b734e0076C62de659"; +export const REMOTEADMINV2 = "0x954286118E93df807aB6f99aE0454f8710f0a8B9"; diff --git a/scripts/constants/stable.d.ts b/scripts/constants/stable.d.ts new file mode 100644 index 0000000..9016d2d --- /dev/null +++ b/scripts/constants/stable.d.ts @@ -0,0 +1,11 @@ +export declare const FPIOFT = "0x90581eCa9469D8D7F5D3B60f4715027aDFCf7927"; +export declare const FRXETHOFT = "0x43eDD7f3831b08FE70B7555ddD373C8bF65a9050"; +export declare const FRXUSDOFT = "0x80Eede496655FB9047dd39d9f418d5483ED600df"; +export declare const SFRXETHOFT = "0x3Ec3849C33291a9eF4c5dB86De593EB4A37fDe45"; +export declare const SFRXUSDOFT = "0x5Bff88cA1442c2496f7E475E9e7786383Bc070c0"; +export declare const WFRAXOFT = "0x64445f0aecC51E94aD52d8AC56b7190e764E561a"; +export declare const REMOTEHOP = "0x8EbB34b1880B2EA5e458082590B3A2c9Ea7C41A2"; +export declare const REMOTEMINTREDEEMHOP = "0xb85A8FDa7F5e52E32fa5582847CFfFee9456a5Dc"; +export declare const FRAX_PROXY_ADMIN = "0x223a681fc5c5522c85c96157c0efa18cd6c5405c"; +export declare const REMOTEHOPV2 = "0x0000006D38568b00B457580b734e0076C62de659"; +export declare const REMOTEADMINV2 = "0x954286118E93df807aB6f99aE0454f8710f0a8B9"; diff --git a/scripts/constants/stable.js b/scripts/constants/stable.js new file mode 100644 index 0000000..15b82c9 --- /dev/null +++ b/scripts/constants/stable.js @@ -0,0 +1,29 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.REMOTEADMINV2 = + exports.REMOTEHOPV2 = + exports.FRAX_PROXY_ADMIN = + exports.REMOTEMINTREDEEMHOP = + exports.REMOTEHOP = + exports.WFRAXOFT = + exports.SFRXUSDOFT = + exports.SFRXETHOFT = + exports.FRXUSDOFT = + exports.FRXETHOFT = + exports.FPIOFT = + void 0; +// LayerZero +exports.FPIOFT = "0x90581eCa9469D8D7F5D3B60f4715027aDFCf7927"; +exports.FRXETHOFT = "0x43eDD7f3831b08FE70B7555ddD373C8bF65a9050"; +exports.FRXUSDOFT = "0x80Eede496655FB9047dd39d9f418d5483ED600df"; +exports.SFRXETHOFT = "0x3Ec3849C33291a9eF4c5dB86De593EB4A37fDe45"; +exports.SFRXUSDOFT = "0x5Bff88cA1442c2496f7E475E9e7786383Bc070c0"; +exports.WFRAXOFT = "0x64445f0aecC51E94aD52d8AC56b7190e764E561a"; +// FraxtalLZHop +exports.REMOTEHOP = "0x8EbB34b1880B2EA5e458082590B3A2c9Ea7C41A2"; +exports.REMOTEMINTREDEEMHOP = "0xb85A8FDa7F5e52E32fa5582847CFfFee9456a5Dc"; +// LayerZeroInfra +exports.FRAX_PROXY_ADMIN = "0x223a681fc5c5522c85c96157c0efa18cd6c5405c"; +// HopV2 +exports.REMOTEHOPV2 = "0x0000006D38568b00B457580b734e0076C62de659"; +exports.REMOTEADMINV2 = "0x954286118E93df807aB6f99aE0454f8710f0a8B9"; diff --git a/scripts/constants/stable.ts b/scripts/constants/stable.ts new file mode 100644 index 0000000..1c76fa9 --- /dev/null +++ b/scripts/constants/stable.ts @@ -0,0 +1,18 @@ +// LayerZero +export const FPIOFT = "0x90581eCa9469D8D7F5D3B60f4715027aDFCf7927"; +export const FRXETHOFT = "0x43eDD7f3831b08FE70B7555ddD373C8bF65a9050"; +export const FRXUSDOFT = "0x80Eede496655FB9047dd39d9f418d5483ED600df"; +export const SFRXETHOFT = "0x3Ec3849C33291a9eF4c5dB86De593EB4A37fDe45"; +export const SFRXUSDOFT = "0x5Bff88cA1442c2496f7E475E9e7786383Bc070c0"; +export const WFRAXOFT = "0x64445f0aecC51E94aD52d8AC56b7190e764E561a"; + +// FraxtalLZHop +export const REMOTEHOP = "0x8EbB34b1880B2EA5e458082590B3A2c9Ea7C41A2"; +export const REMOTEMINTREDEEMHOP = "0xb85A8FDa7F5e52E32fa5582847CFfFee9456a5Dc"; + +// LayerZeroInfra +export const FRAX_PROXY_ADMIN = "0x223a681fc5c5522c85c96157c0efa18cd6c5405c"; + +// HopV2 +export const REMOTEHOPV2 = "0x0000006D38568b00B457580b734e0076C62de659"; +export const REMOTEADMINV2 = "0x954286118E93df807aB6f99aE0454f8710f0a8B9"; diff --git a/scripts/constants/unichain.js b/scripts/constants/unichain.js new file mode 100644 index 0000000..a4ca98c --- /dev/null +++ b/scripts/constants/unichain.js @@ -0,0 +1,41 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.CHAIN_ID = + exports.LZ_CHAIN_ID = + exports.FRAX_PROXY_ADMIN = + exports.LZ_BLOCK_SEND_LIB = + exports.LZ_SEND_LIB_302 = + exports.LZ_RECEIVE_LIB_302 = + exports.LZ_ENDPOINT = + exports.REMOTEMINTREDEEMHOP = + exports.REMOTEHOP = + exports.WFRAXOFT = + exports.SFRXUSDOFT = + exports.SFRXETHOFT = + exports.FRXUSDOFT = + exports.FRXETHOFT = + exports.FPIOFT = + void 0; +// LayerZero +exports.FPIOFT = "0x90581eCa9469D8D7F5D3B60f4715027aDFCf7927"; +exports.FRXETHOFT = "0x43eDD7f3831b08FE70B7555ddD373C8bF65a9050"; +exports.FRXUSDOFT = "0x80Eede496655FB9047dd39d9f418d5483ED600df"; +exports.SFRXETHOFT = "0x3Ec3849C33291a9eF4c5dB86De593EB4A37fDe45"; +exports.SFRXUSDOFT = "0x5Bff88cA1442c2496f7E475E9e7786383Bc070c0"; +exports.WFRAXOFT = "0x64445f0aecC51E94aD52d8AC56b7190e764E561a"; +// FraxtalLZHop +exports.REMOTEHOP = "0xc71BF5Ee4740405030eF521F18A96eA14fec802D"; +exports.REMOTEMINTREDEEMHOP = "0x983aF86c94Fe3963989c22CeeEb6eA8Eac32D263"; +// LayerZeroInfra +exports.LZ_ENDPOINT = "0x6F475642a6e85809B1c36Fa62763669b1b48DD5B"; +exports.LZ_RECEIVE_LIB_302 = "0xe1844c5D63a9543023008D332Bd3d2e6f1FE1043"; +exports.LZ_SEND_LIB_302 = "0xC39161c743D0307EB9BCc9FEF03eeb9Dc4802de7"; +exports.LZ_BLOCK_SEND_LIB = "0xc1ce56b2099ca68720592583c7984cab4b6d7e7a"; +exports.FRAX_PROXY_ADMIN = "0x223a681fc5c5522c85c96157c0efa18cd6c5405c"; +// Chain IDs +exports.LZ_CHAIN_ID = 30320; +exports.CHAIN_ID = 130; + +// HopV2 +exports.REMOTEHOPV2 = "0x0000006D38568b00B457580b734e0076C62de659"; +exports.REMOTEADMINV2 = "0x954286118E93df807aB6f99aE0454f8710f0a8B9"; diff --git a/scripts/constants/unichain.ts b/scripts/constants/unichain.ts index 48b4cb8..482cefd 100644 --- a/scripts/constants/unichain.ts +++ b/scripts/constants/unichain.ts @@ -8,4 +8,10 @@ export const WFRAXOFT = "0x64445f0aecC51E94aD52d8AC56b7190e764E561a"; // FraxtalLZHop export const REMOTEHOP = "0xc71BF5Ee4740405030eF521F18A96eA14fec802D"; -export const REMOTEMINTREDEEMHOP = "0x983aF86c94Fe3963989c22CeeEb6eA8Eac32D263"; \ No newline at end of file +export const REMOTEMINTREDEEMHOP = "0x983aF86c94Fe3963989c22CeeEb6eA8Eac32D263"; +// LayerZeroInfra +export const FRAX_PROXY_ADMIN = "0x223a681fc5c5522c85c96157c0efa18cd6c5405c"; + +// HopV2 +export const REMOTEHOPV2 = "0x0000006D38568b00B457580b734e0076C62de659"; +export const REMOTEADMINV2 = "0x954286118E93df807aB6f99aE0454f8710f0a8B9"; diff --git a/scripts/constants/worldchain.js b/scripts/constants/worldchain.js new file mode 100644 index 0000000..ebfc00a --- /dev/null +++ b/scripts/constants/worldchain.js @@ -0,0 +1,41 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.CHAIN_ID = + exports.LZ_CHAIN_ID = + exports.FRAX_PROXY_ADMIN = + exports.LZ_BLOCK_SEND_LIB = + exports.LZ_SEND_LIB_302 = + exports.LZ_RECEIVE_LIB_302 = + exports.LZ_ENDPOINT = + exports.REMOTEMINTREDEEMHOP = + exports.REMOTEHOP = + exports.WFRAXOFT = + exports.SFRXUSDOFT = + exports.SFRXETHOFT = + exports.FRXUSDOFT = + exports.FRXETHOFT = + exports.FPIOFT = + void 0; +// LayerZero +exports.FPIOFT = "0x90581eCa9469D8D7F5D3B60f4715027aDFCf7927"; +exports.FRXETHOFT = "0x43eDD7f3831b08FE70B7555ddD373C8bF65a9050"; +exports.FRXUSDOFT = "0x80Eede496655FB9047dd39d9f418d5483ED600df"; +exports.SFRXETHOFT = "0x3Ec3849C33291a9eF4c5dB86De593EB4A37fDe45"; +exports.SFRXUSDOFT = "0x5Bff88cA1442c2496f7E475E9e7786383Bc070c0"; +exports.WFRAXOFT = "0x64445f0aecC51E94aD52d8AC56b7190e764E561a"; +// FraxtalLZHop +exports.REMOTEHOP = "0x938d99A81814f66b01010d19DDce92A633441699"; +exports.REMOTEMINTREDEEMHOP = "0x111ddab65Af5fF96b674400246699ED40F550De1"; +// LayerZeroInfra +exports.LZ_ENDPOINT = "0x6F475642a6e85809B1c36Fa62763669b1b48DD5B"; +exports.LZ_RECEIVE_LIB_302 = "0xe1844c5D63a9543023008D332Bd3d2e6f1FE1043"; +exports.LZ_SEND_LIB_302 = "0xC39161c743D0307EB9BCc9FEF03eeb9Dc4802de7"; +exports.LZ_BLOCK_SEND_LIB = "0xc1ce56b2099ca68720592583c7984cab4b6d7e7a"; +exports.FRAX_PROXY_ADMIN = "0x223a681fc5c5522c85c96157c0efa18cd6c5405c"; +// Chain IDs +exports.LZ_CHAIN_ID = 30319; +exports.CHAIN_ID = 480; + +// HopV2 +exports.REMOTEHOPV2 = "0x0000006D38568b00B457580b734e0076C62de659"; +exports.REMOTEADMINV2 = "0x954286118E93df807aB6f99aE0454f8710f0a8B9"; diff --git a/scripts/constants/worldchain.ts b/scripts/constants/worldchain.ts index 4b82a1c..b387da2 100644 --- a/scripts/constants/worldchain.ts +++ b/scripts/constants/worldchain.ts @@ -8,4 +8,10 @@ export const WFRAXOFT = "0x64445f0aecC51E94aD52d8AC56b7190e764E561a"; // FraxtalLZHop export const REMOTEHOP = "0x938d99A81814f66b01010d19DDce92A633441699"; -export const REMOTEMINTREDEEMHOP = "0x111ddab65Af5fF96b674400246699ED40F550De1"; \ No newline at end of file +export const REMOTEMINTREDEEMHOP = "0x111ddab65Af5fF96b674400246699ED40F550De1"; +// LayerZeroInfra +export const FRAX_PROXY_ADMIN = "0x223a681fc5c5522c85c96157c0efa18cd6c5405c"; + +// HopV2 +export const REMOTEHOPV2 = "0x0000006D38568b00B457580b734e0076C62de659"; +export const REMOTEADMINV2 = "0x954286118E93df807aB6f99aE0454f8710f0a8B9"; diff --git a/scripts/constants/xlayer.js b/scripts/constants/xlayer.js new file mode 100644 index 0000000..48ceb72 --- /dev/null +++ b/scripts/constants/xlayer.js @@ -0,0 +1,37 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.CHAIN_ID = + exports.LZ_CHAIN_ID = + exports.FRAX_PROXY_ADMIN = + exports.LZ_BLOCK_SEND_LIB = + exports.LZ_SEND_LIB_302 = + exports.LZ_RECEIVE_LIB_302 = + exports.LZ_ENDPOINT = + exports.REMOTEMINTREDEEMHOP = + exports.REMOTEHOP = + exports.WFRAXOFT = + exports.SFRXUSDOFT = + exports.SFRXETHOFT = + exports.FRXUSDOFT = + exports.FRXETHOFT = + exports.FPIOFT = + void 0; +// LayerZero +exports.FPIOFT = "0x90581eCa9469D8D7F5D3B60f4715027aDFCf7927"; +exports.FRXETHOFT = "0x43eDD7f3831b08FE70B7555ddD373C8bF65a9050"; +exports.FRXUSDOFT = "0x80Eede496655FB9047dd39d9f418d5483ED600df"; +exports.SFRXETHOFT = "0x3Ec3849C33291a9eF4c5dB86De593EB4A37fDe45"; +exports.SFRXUSDOFT = "0x5Bff88cA1442c2496f7E475E9e7786383Bc070c0"; +exports.WFRAXOFT = "0x64445f0aecC51E94aD52d8AC56b7190e764E561a"; +// FraxtalLZHop +exports.REMOTEHOP = "0x79152c303AD5aE429eDefa4553CB1Ad2c6EE1396"; +exports.REMOTEMINTREDEEMHOP = "0x45c6852a5188ce1905567ea83454329bd4982007"; +// LayerZeroInfra +exports.LZ_ENDPOINT = "0x1a44076050125825900e736c501f859c50fE728c"; +exports.LZ_RECEIVE_LIB_302 = "0x2367325334447C5E1E0f1b3a6fB947b262F58312"; +exports.LZ_SEND_LIB_302 = "0xe1844c5D63a9543023008D332Bd3d2e6f1FE1043"; +exports.LZ_BLOCK_SEND_LIB = "0x1ccbf0db9c192d969de57e25b3ff09a25bb1d862"; +exports.FRAX_PROXY_ADMIN = "0x223a681fc5c5522c85c96157c0efa18cd6c5405c"; +// Chain IDs +exports.LZ_CHAIN_ID = 30274; +exports.CHAIN_ID = 196; diff --git a/scripts/constants/xlayer.ts b/scripts/constants/xlayer.ts index b4e7183..734a396 100644 --- a/scripts/constants/xlayer.ts +++ b/scripts/constants/xlayer.ts @@ -8,4 +8,6 @@ export const WFRAXOFT = "0x64445f0aecC51E94aD52d8AC56b7190e764E561a"; // FraxtalLZHop export const REMOTEHOP = "0x79152c303AD5aE429eDefa4553CB1Ad2c6EE1396"; -export const REMOTEMINTREDEEMHOP = "0x45c6852a5188ce1905567ea83454329bd4982007"; \ No newline at end of file +export const REMOTEMINTREDEEMHOP = "0x45c6852a5188ce1905567ea83454329bd4982007"; +// LayerZeroInfra +export const FRAX_PROXY_ADMIN = "0x223a681fc5c5522c85c96157c0efa18cd6c5405c"; diff --git a/scripts/constants/zksync.d.ts b/scripts/constants/zksync.d.ts new file mode 100644 index 0000000..bc10685 --- /dev/null +++ b/scripts/constants/zksync.d.ts @@ -0,0 +1,11 @@ +export declare const FPIOFT = "0x580F2ee1476eDF4B1760bd68f6AaBaD57dec420E"; +export declare const FRXETHOFT = "0xc7Ab797019156b543B7a3fBF5A99ECDab9eb4440"; +export declare const FRXUSDOFT = "0xEa77c590Bb36c43ef7139cE649cFBCFD6163170d"; +export declare const SFRXETHOFT = "0xFD78FD3667DeF2F1097Ed221ec503AE477155394"; +export declare const SFRXUSDOFT = "0x9F87fbb47C33Cd0614E43500b9511018116F79eE"; +export declare const WFRAXOFT = "0xAf01aE13Fb67AD2bb2D76f29A83961069a5F245F"; +export declare const REMOTEHOP = "0xc5e4A0cfef8D801278927C25fB51C1DB7b69dDFb"; +export declare const REMOTEMINTREDEEMHOP = "0xa05E9F9B97c963B5651ed6A50Fae46625a8C400b"; +export declare const FRAX_PROXY_ADMIN = "0xe59dcae52a4ffa39be99588486c84bc2dc1ba52f"; +export declare const REMOTEHOPV2 = "0x0000006D38568b00B457580b734e0076C62de659"; +export declare const REMOTEADMINV2 = "0x000000000E0E120FCAc7b4d98e9E35E1DE6fdadb"; diff --git a/scripts/constants/zksync.js b/scripts/constants/zksync.js new file mode 100644 index 0000000..1b958d6 --- /dev/null +++ b/scripts/constants/zksync.js @@ -0,0 +1,29 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.REMOTEADMINV2 = + exports.REMOTEHOPV2 = + exports.FRAX_PROXY_ADMIN = + exports.REMOTEMINTREDEEMHOP = + exports.REMOTEHOP = + exports.WFRAXOFT = + exports.SFRXUSDOFT = + exports.SFRXETHOFT = + exports.FRXUSDOFT = + exports.FRXETHOFT = + exports.FPIOFT = + void 0; +// LayerZero +exports.FPIOFT = "0x580F2ee1476eDF4B1760bd68f6AaBaD57dec420E"; +exports.FRXETHOFT = "0xc7Ab797019156b543B7a3fBF5A99ECDab9eb4440"; +exports.FRXUSDOFT = "0xEa77c590Bb36c43ef7139cE649cFBCFD6163170d"; +exports.SFRXETHOFT = "0xFD78FD3667DeF2F1097Ed221ec503AE477155394"; +exports.SFRXUSDOFT = "0x9F87fbb47C33Cd0614E43500b9511018116F79eE"; +exports.WFRAXOFT = "0xAf01aE13Fb67AD2bb2D76f29A83961069a5F245F"; +// FraxtalLZHop +exports.REMOTEHOP = "0xc5e4A0cfef8D801278927C25fB51C1DB7b69dDFb"; +exports.REMOTEMINTREDEEMHOP = "0xa05E9F9B97c963B5651ed6A50Fae46625a8C400b"; +// LayerZeroInfra +exports.FRAX_PROXY_ADMIN = "0xe59dcae52a4ffa39be99588486c84bc2dc1ba52f"; +// HopV2 +exports.REMOTEHOPV2 = "0x0000006D38568b00B457580b734e0076C62de659"; +exports.REMOTEADMINV2 = "0x000000000E0E120FCAc7b4d98e9E35E1DE6fdadb"; diff --git a/scripts/constants/zksync.ts b/scripts/constants/zksync.ts index c1dbf58..cd23c50 100644 --- a/scripts/constants/zksync.ts +++ b/scripts/constants/zksync.ts @@ -8,4 +8,10 @@ export const WFRAXOFT = "0xAf01aE13Fb67AD2bb2D76f29A83961069a5F245F"; // FraxtalLZHop export const REMOTEHOP = "0xc5e4A0cfef8D801278927C25fB51C1DB7b69dDFb"; -export const REMOTEMINTREDEEMHOP = "0xa05E9F9B97c963B5651ed6A50Fae46625a8C400b"; \ No newline at end of file +export const REMOTEMINTREDEEMHOP = "0xa05E9F9B97c963B5651ed6A50Fae46625a8C400b"; +// LayerZeroInfra +export const FRAX_PROXY_ADMIN = "0xe59dcae52a4ffa39be99588486c84bc2dc1ba52f"; + +// HopV2 +export const REMOTEHOPV2 = "0x0000006D38568b00B457580b734e0076C62de659"; +export const REMOTEADMINV2 = "0x000000000E0E120FCAc7b4d98e9E35E1DE6fdadb"; diff --git a/scripts/generateConstants.js b/scripts/generateConstants.js new file mode 100644 index 0000000..bcff438 --- /dev/null +++ b/scripts/generateConstants.js @@ -0,0 +1,185 @@ +"use strict"; +var __createBinding = + (this && this.__createBinding) || + (Object.create + ? function (o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { + enumerable: true, + get: function () { + return m[k]; + }, + }; + } + Object.defineProperty(o, k2, desc); + } + : function (o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; + }); +var __setModuleDefault = + (this && this.__setModuleDefault) || + (Object.create + ? function (o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); + } + : function (o, v) { + o["default"] = v; + }); +var __importStar = + (this && this.__importStar) || + (function () { + var ownKeys = function (o) { + ownKeys = + Object.getOwnPropertyNames || + function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) + for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; + })(); +var __importDefault = + (this && this.__importDefault) || + function (mod) { + return mod && mod.__esModule ? mod : { default: mod }; + }; +Object.defineProperty(exports, "__esModule", { value: true }); +const fs = __importStar(require("fs/promises")); +const path_1 = __importDefault(require("path")); +const constants = __importStar(require("./constants")); +const networkPrefixes = { + Abstract: "ABS", + Aptos: "APT", + Arbitrum: "ARBI", + Aurora: "AUR", + Avalanche: "AVAX", + BASE: "BASE", + BERA: "BERA", + BLAST: "BLAST", + BSC: "BSC", + Ethereum: "ETH", + Fantom: "FTM", + FraxtalL1Devnet: "FXTL_L1_DN", + FraxtalL2Devnet: "FXTL_L2_DN", + FraxtalL2: "FXTL", + FraxtalTestnetL1: "FXTL_TN_L1", + FraxtalTestnetL2: "FXTL_TN_L2", + Holesky: "HOLESKY", + Hyperliquid: "HYPE", + Katana: "KTN", + Mainnet: "ETH", + Moonbeam: "MNBM", + Moonriver: "MOVR", + Optimism: "OPTI", + Polygon: "POLY", + PolygonzkEVM: "POLY_ZKEVM", + Scroll: "SCROLL", + Sei: "SEI", + Solana: "SOL", + Sonic: "SONIC", + Unichain: "UNI", + Worldchain: "WRLD", + Linea: "LINEA", + Zksync: "ZKSYNC", +}; +const REMOVE_DUPLICATE_LABELS = false; +async function main() { + // Get all the network names + const networks = Object.keys(constants); + // Prepare seen/duplicate values + const seenValues = []; + // Generate the files + for (let n = 0; n < networks.length; n++) { + const networkName = networks[n]; + const outputString = await handleSingleNetwork(networkName, constants[networkName], seenValues); + const finalString = + `// SPDX-License-Identifier: ISC +pragma solidity >=0.8.0; + +// **NOTE** Generated code, do not modify. Run 'npm run generate:constants'. + +import { TestBase } from "forge-std/Test.sol"; + + ` + outputString; + await fs.writeFile(path_1.default.resolve("src/contracts/chain-constants", `${networkName}.sol`), finalString); + } +} +async function handleSingleNetwork(networkName, constants, seenValues) { + let numberValues = []; + const constantString = Object.entries(constants) + .map(([key, value]) => { + if (typeof value === "string") { + // Determine whether it is an address or a string + if (value.startsWith("0x")) { + return ` address internal constant ${key} = ${value};`; + } + return ` string internal constant ${key} = "${value}";`; + } else { + // number + // Note the value is a number + numberValues.push(value); + return ` uint256 internal constant ${key} = ${value};`; + } + }) + .join("\n"); + // Remove certain values from being labeled + let constantsToLabel = {}; + Object.entries(constants).forEach(([key, value]) => { + // Check if the value has been labeled already + const alreadySeen = REMOVE_DUPLICATE_LABELS ? seenValues.includes(value) : false; + // Check if the value is a number + const isANumber = numberValues.includes(value); + // Check for rejects + if (alreadySeen) { + // Do not label already-seen addresses (optional) + console.log(`Removing duplicate value ${value}`); + } else if (isANumber) { + // Do not label numbers + console.log(`Removing number value ${value}`); + } else { + // Otherwise, it can be labeled + constantsToLabel[key] = value; + } + }); + // Generate the labels for the entries + const labelStrings = Object.entries(constantsToLabel) + .map(([key, value]) => { + // Add the value to the seen list + seenValues.push(value); + // Return the string + return ` vm.label(${value}, "Constants.${networkPrefixes[networkName]}_${key}");`; + }) + .join("\n"); + const contractString = `library ${networkName} { +${constantString} +} +`; + // if (networkName == "Mainnet") { + const constantsHelper = ` +abstract contract AddressHelper${networkName} is TestBase { + constructor() { + labelConstants(); + } + + function labelConstants() public { +${labelStrings} + } +} +`; + return contractString + constantsHelper; + // } + // return contractString; +} +main(); diff --git a/tsconfig.json b/tsconfig.json index 2aad328..b350858 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -18,5 +18,5 @@ "outDir": "dist" }, "exclude": ["node_modules"], - "include": ["script/**/*"] + "include": ["script/**/*", "scripts/**/*"] }