Verified contractPartialMIT
ICS26Router
Address0x4e9083ec6ed91d6ab6b59eaecfcd4459f76dcde1
- Balance
0 ETH
- Transactions
1
- Compiler
solc 0.8.28
- Same code
Only this contract
Details
- Compiler
- solc 0.8.28+commit.7893614a
- Language
- solidity
- Optimization
- Yes, 10,000 runs
- EVM version
- cancun
- Via IR
- yes
- License
- MIT
- Match
- Partialcreation code: yes, runtime code: yes
- Verified on Sourcify
- Created in block
- 22,581,283
- Creation transaction
- 0x2cda57198d…ddeb948ef7
Read18
- CLIENT_ID_CUSTOMIZER_ROLE() → (bytes32)
- DEFAULT_ADMIN_ROLE() → (bytes32)
- PORT_CUSTOMIZER_ROLE() → (bytes32)
- RELAYER_ROLE() → (bytes32)
- UPGRADE_INTERFACE_VERSION() → (string)
- getClient(string) → (address)
- getCommitment(bytes32) → (bytes32)
- getCounterparty(string) → (tuple)
- getGovAdmin() → (address)
- getIBCApp(string) → (address)
- getLightClientMigratorRole(string) → (bytes32)
- getNextClientSeq() → (uint256)
- getRoleAdmin(bytes32) → (bytes32)
- getTimelockedAdmin() → (address)
- hasRole(bytes32,address) → (bool)
- isAdmin(address) → (bool)
- proxiableUUID() → (bytes32)
- supportsInterface(bytes4) → (bool)
Write19
- ackPacket(tuple)
- addClient(string,tuple,address) → (string)
- addClient(tuple,address) → (string)
- addIBCApp(address)
- addIBCApp(string,address)
- grantRole(bytes32,address)
- initialize(address)
- migrateClient(string,tuple,address)
- multicall(bytes[]) → (bytes[])
- recvPacket(tuple)
- renounceRole(bytes32,address)
- revokeRole(bytes32,address)
- sendPacket(tuple) → (uint64)
- setGovAdmin(address)
- setTimelockedAdmin(address)
- submitMisbehaviour(string,bytes)
- timeoutPacket(tuple)
- updateClient(string,bytes) → (uint8)
- upgradeToAndCall(address,bytes)
Events16
- AckPacket(string,uint256,tuple,bytes)
- IBCAppAdded(string,address)
- IBCAppRecvPacketCallbackError(bytes)
- ICS02ClientAdded(string,tuple,address)
- ICS02ClientMigrated(string,tuple,address)
- ICS02ClientUpdated(string,uint8)
- ICS02MisbehaviourSubmitted(string)
- Initialized(uint64)
- Noop()
- RoleAdminChanged(bytes32,bytes32,bytes32)
- RoleGranted(bytes32,address,address)
- RoleRevoked(bytes32,address,address)
- SendPacket(string,uint256,tuple)
- TimeoutPacket(string,uint256,tuple)
- Upgraded(address)
- WriteAcknowledgement(string,uint256,tuple,bytes[])
Errors36
- AccessControlBadConfirmation()
- AccessControlUnauthorizedAccount(address,bytes32)
- AddressEmptyCode(address)
- DefaultAdminRoleCannotBeGranted()
- ERC1967InvalidImplementation(address)
- ERC1967NonPayable()
- FailedCall()
- IBCAppNotFound(string)
- IBCAsyncAcknowledgementNotSupported()
- IBCClientAlreadyExists(string)
- IBCClientNotFound(string)
- IBCCounterpartyClientNotFound(string)
- IBCErrorUniversalAcknowledgement()
- IBCFailedCallback()
- IBCInvalidClientId(string)
- IBCInvalidCounterparty(string,string)
- IBCInvalidPortIdentifier(string)
- IBCInvalidTimeoutDuration(uint256,uint256)
- IBCInvalidTimeoutTimestamp(uint256,uint256)
- IBCMultiPayloadPacketNotSupported()
- IBCPacketAcknowledgementAlreadyExists(bytes)
- IBCPacketCommitmentAlreadyExists(bytes)
- IBCPacketCommitmentMismatch(bytes32,bytes32)
- IBCPacketReceiptMismatch(bytes32,bytes32)
- IBCPortAlreadyExists(string)
- IBCUnauthorizedSender(address)
- InvalidInitialization()
- InvalidMerklePrefix(bytes[])
- NoAcknowledgements()
- NotInitializing()
- ReentrancyGuardReentrantCall()
- StringsInsufficientHexLength(uint256,uint256)
- UUPSUnauthorizedCallContext()
- UUPSUnsupportedProxiableUUID(bytes32)
- Unauthorized()
- Unreachable()
ABI as JSON
[
{
"type": "constructor",
"inputs": [],
"stateMutability": "nonpayable"
},
{
"name": "AccessControlBadConfirmation",
"type": "error",
"inputs": []
},
{
"name": "AccessControlUnauthorizedAccount",
"type": "error",
"inputs": [
{
"name": "account",
"type": "address",
"internalType": "address"
},
{
"name": "neededRole",
"type": "bytes32",
"internalType": "bytes32"
}
]
},
{
"name": "AddressEmptyCode",
"type": "error",
"inputs": [
{
"name": "target",
"type": "address",
"internalType": "address"
}
]
},
{
"name": "DefaultAdminRoleCannotBeGranted",
"type": "error",
"inputs": []
},
{
"name": "ERC1967InvalidImplementation",
"type": "error",
"inputs": [
{
"name": "implementation",
"type": "address",
"internalType": "address"
}
]
},
{
"name": "ERC1967NonPayable",
"type": "error",
"inputs": []
},
{
"name": "FailedCall",
"type": "error",
"inputs": []
},
{
"name": "IBCAppNotFound",
"type": "error",
"inputs": [
{
"name": "portId",
"type": "string",
"internalType": "string"
}
]
},
{
"name": "IBCAsyncAcknowledgementNotSupported",
"type": "error",
"inputs": []
},
{
"name": "IBCClientAlreadyExists",
"type": "error",
"inputs": [
{
"name": "clientId",
"type": "string",
"internalType": "string"
}
]
},
{
"name": "IBCClientNotFound",
"type": "error",
"inputs": [
{
"name": "clientId",
"type": "string",
"internalType": "string"
}
]
},
{
"name": "IBCCounterpartyClientNotFound",
"type": "error",
"inputs": [
{
"name": "counterpartyClientId",
"type": "string",
"internalType": "string"
}
]
},
{
"name": "IBCErrorUniversalAcknowledgement",
"type": "error",
"inputs": []
},
{
"name": "IBCFailedCallback",
"type": "error",
"inputs": []
},
{
"name": "IBCInvalidClientId",
"type": "error",
"inputs": [
{
"name": "clientId",
"type": "string",
"internalType": "string"
}
]
},
{
"name": "IBCInvalidCounterparty",
"type": "error",
"inputs": [
{
"name": "expected",
"type": "string",
"internalType": "string"
},
{
"name": "actual",
"type": "string",
"internalType": "string"
}
]
},
{
"name": "IBCInvalidPortIdentifier",
"type": "error",
"inputs": [
{
"name": "portId",
"type": "string",
"internalType": "string"
}
]
},
{
"name": "IBCInvalidTimeoutDuration",
"type": "error",
"inputs": [
{
"name": "maxTimeoutDuration",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "actualTimeoutDuration",
"type": "uint256",
"internalType": "uint256"
}
]
},
{
"name": "IBCInvalidTimeoutTimestamp",
"type": "error",
"inputs": [
{
"name": "timeoutTimestamp",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "comparedTimestamp",
"type": "uint256",
"internalType": "uint256"
}
]
},
{
"name": "IBCMultiPayloadPacketNotSupported",
"type": "error",
"inputs": []
},
{
"name": "IBCPacketAcknowledgementAlreadyExists",
"type": "error",
"inputs": [
{
"name": "path",
"type": "bytes",
"internalType": "bytes"
}
]
},
{
"name": "IBCPacketCommitmentAlreadyExists",
"type": "error",
"inputs": [
{
"name": "path",
"type": "bytes",
"internalType": "bytes"
}
]
},
{
"name": "IBCPacketCommitmentMismatch",
"type": "error",
"inputs": [
{
"name": "expected",
"type": "bytes32",
"internalType": "bytes32"
},
{
"name": "actual",
"type": "bytes32",
"internalType": "bytes32"
}
]
},
{
"name": "IBCPacketReceiptMismatch",
"type": "error",
"inputs": [
{
"name": "expected",
"type": "bytes32",
"internalType": "bytes32"
},
{
"name": "actual",
"type": "bytes32",
"internalType": "bytes32"
}
]
},
{
"name": "IBCPortAlreadyExists",
"type": "error",
"inputs": [
{
"name": "portId",
"type": "string",
"internalType": "string"
}
]
},
{
"name": "IBCUnauthorizedSender",
"type": "error",
"inputs": [
{
"name": "caller",
"type": "address",
"internalType": "address"
}
]
},
{
"name": "InvalidInitialization",
"type": "error",
"inputs": []
},
{
"name": "InvalidMerklePrefix",
"type": "error",
"inputs": [
{
"name": "prefix",
"type": "bytes[]",
"internalType": "bytes[]"
}
]
},
{
"name": "NoAcknowledgements",
"type": "error",
"inputs": []
},
{
"name": "NotInitializing",
"type": "error",
"inputs": []
},
{
"name": "ReentrancyGuardReentrantCall",
"type": "error",
"inputs": []
},
{
"name": "StringsInsufficientHexLength",
"type": "error",
"inputs": [
{
"name": "value",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "length",
"type": "uint256",
"internalType": "uint256"
}
]
},
{
"name": "UUPSUnauthorizedCallContext",
"type": "error",
"inputs": []
},
{
"name": "UUPSUnsupportedProxiableUUID",
"type": "error",
"inputs": [
{
"name": "slot",
"type": "bytes32",
"internalType": "bytes32"
}
]
},
{
"name": "Unauthorized",
"type": "error",
"inputs": []
},
{
"name": "Unreachable",
"type": "error",
"inputs": []
},
{
"name": "AckPacket",
"type": "event",
"inputs": [
{
"name": "clientId",
"type": "string",
"indexed": true,
"internalType": "string"
},
{
"name": "sequence",
"type": "uint256",
"indexed": true,
"internalType": "uint256"
},
{
"name": "packet",
"type": "tuple",
"indexed": false,
"components": [
{
"name": "sequence",
"type": "uint64",
"internalType": "uint64"
},
{
"name": "sourceClient",
"type": "string",
"internalType": "string"
},
{
"name": "destClient",
"type": "string",
"internalType": "string"
},
{
"name": "timeoutTimestamp",
"type": "uint64",
"internalType": "uint64"
},
{
"name": "payloads",
"type": "tuple[]",
"components": [
{
"name": "sourcePort",
"type": "string",
"internalType": "string"
},
{
"name": "destPort",
"type": "string",
"internalType": "string"
},
{
"name": "version",
"type": "string",
"internalType": "string"
},
{
"name": "encoding",
"type": "string",
"internalType": "string"
},
{
"name": "value",
"type": "bytes",
"internalType": "bytes"
}
],
"internalType": "struct IICS26RouterMsgs.Payload[]"
}
],
"internalType": "struct IICS26RouterMsgs.Packet"
},
{
"name": "acknowledgement",
"type": "bytes",
"indexed": false,
"internalType": "bytes"
}
],
"anonymous": false
},
{
"name": "IBCAppAdded",
"type": "event",
"inputs": [
{
"name": "portId",
"type": "string",
"indexed": false,
"internalType": "string"
},
{
"name": "app",
"type": "address",
"indexed": false,
"internalType": "address"
}
],
"anonymous": false
},
{
"name": "IBCAppRecvPacketCallbackError",
"type": "event",
"inputs": [
{
"name": "reason",
"type": "bytes",
"indexed": false,
"internalType": "bytes"
}
],
"anonymous": false
},
{
"name": "ICS02ClientAdded",
"type": "event",
"inputs": [
{
"name": "clientId",
"type": "string",
"indexed": false,
"internalType": "string"
},
{
"name": "counterpartyInfo",
"type": "tuple",
"indexed": false,
"components": [
{
"name": "clientId",
"type": "string",
"internalType": "string"
},
{
"name": "merklePrefix",
"type": "bytes[]",
"internalType": "bytes[]"
}
],
"internalType": "struct IICS02ClientMsgs.CounterpartyInfo"
},
{
"name": "client",
"type": "address",
"indexed": false,
"internalType": "address"
}
],
"anonymous": false
},
{
"name": "ICS02ClientMigrated",
"type": "event",
"inputs": [
{
"name": "clientId",
"type": "string",
"indexed": false,
"internalType": "string"
},
{
"name": "counterpartyInfo",
"type": "tuple",
"indexed": false,
"components": [
{
"name": "clientId",
"type": "string",
"internalType": "string"
},
{
"name": "merklePrefix",
"type": "bytes[]",
"internalType": "bytes[]"
}
],
"internalType": "struct IICS02ClientMsgs.CounterpartyInfo"
},
{
"name": "client",
"type": "address",
"indexed": false,
"internalType": "address"
}
],
"anonymous": false
},
{
"name": "ICS02ClientUpdated",
"type": "event",
"inputs": [
{
"name": "clientId",
"type": "string",
"indexed": false,
"internalType": "string"
},
{
"name": "result",
"type": "uint8",
"indexed": false,
"internalType": "enum ILightClientMsgs.UpdateResult"
}
],
"anonymous": false
},
{
"name": "ICS02MisbehaviourSubmitted",
"type": "event",
"inputs": [
{
"name": "clientId",
"type": "string",
"indexed": false,
"internalType": "string"
}
],
"anonymous": false
},
{
"name": "Initialized",
"type": "event",
"inputs": [
{
"name": "version",
"type": "uint64",
"indexed": false,
"internalType": "uint64"
}
],
"anonymous": false
},
{
"name": "Noop",
"type": "event",
"inputs": [],
"anonymous": false
},
{
"name": "RoleAdminChanged",
"type": "event",
"inputs": [
{
"name": "role",
"type": "bytes32",
"indexed": true,
"internalType": "bytes32"
},
{
"name": "previousAdminRole",
"type": "bytes32",
"indexed": true,
"internalType": "bytes32"
},
{
"name": "newAdminRole",
"type": "bytes32",
"indexed": true,
"internalType": "bytes32"
}
],
"anonymous": false
},
{
"name": "RoleGranted",
"type": "event",
"inputs": [
{
"name": "role",
"type": "bytes32",
"indexed": true,
"internalType": "bytes32"
},
{
"name": "account",
"type": "address",
"indexed": true,
"internalType": "address"
},
{
"name": "sender",
"type": "address",
"indexed": true,
"internalType": "address"
}
],
"anonymous": false
},
{
"name": "RoleRevoked",
"type": "event",
"inputs": [
{
"name": "role",
"type": "bytes32",
"indexed": true,
"internalType": "bytes32"
},
{
"name": "account",
"type": "address",
"indexed": true,
"internalType": "address"
},
{
"name": "sender",
"type": "address",
"indexed": true,
"internalType": "address"
}
],
"anonymous": false
},
{
"name": "SendPacket",
"type": "event",
"inputs": [
{
"name": "clientId",
"type": "string",
"indexed": true,
"internalType": "string"
},
{
"name": "sequence",
"type": "uint256",
"indexed": true,
"internalType": "uint256"
},
{
"name": "packet",
"type": "tuple",
"indexed": false,
"components": [
{
"name": "sequence",
"type": "uint64",
"internalType": "uint64"
},
{
"name": "sourceClient",
"type": "string",
"internalType": "string"
},
{
"name": "destClient",
"type": "string",
"internalType": "string"
},
{
"name": "timeoutTimestamp",
"type": "uint64",
"internalType": "uint64"
},
{
"name": "payloads",
"type": "tuple[]",
"components": [
{
"name": "sourcePort",
"type": "string",
"internalType": "string"
},
{
"name": "destPort",
"type": "string",
"internalType": "string"
},
{
"name": "version",
"type": "string",
"internalType": "string"
},
{
"name": "encoding",
"type": "string",
"internalType": "string"
},
{
"name": "value",
"type": "bytes",
"internalType": "bytes"
}
],
"internalType": "struct IICS26RouterMsgs.Payload[]"
}
],
"internalType": "struct IICS26RouterMsgs.Packet"
}
],
"anonymous": false
},
{
"name": "TimeoutPacket",
"type": "event",
"inputs": [
{
"name": "clientId",
"type": "string",
"indexed": true,
"internalType": "string"
},
{
"name": "sequence",
"type": "uint256",
"indexed": true,
"internalType": "uint256"
},
{
"name": "packet",
"type": "tuple",
"indexed": false,
"components": [
{
"name": "sequence",
"type": "uint64",
"internalType": "uint64"
},
{
"name": "sourceClient",
"type": "string",
"internalType": "string"
},
{
"name": "destClient",
"type": "string",
"internalType": "string"
},
{
"name": "timeoutTimestamp",
"type": "uint64",
"internalType": "uint64"
},
{
"name": "payloads",
"type": "tuple[]",
"components": [
{
"name": "sourcePort",
"type": "string",
"internalType": "string"
},
{
"name": "destPort",
"type": "string",
"internalType": "string"
},
{
"name": "version",
"type": "string",
"internalType": "string"
},
{
"name": "encoding",
"type": "string",
"internalType": "string"
},
{
"name": "value",
"type": "bytes",
"internalType": "bytes"
}
],
"internalType": "struct IICS26RouterMsgs.Payload[]"
}
],
"internalType": "struct IICS26RouterMsgs.Packet"
}
],
"anonymous": false
},
{
"name": "Upgraded",
"type": "event",
"inputs": [
{
"name": "implementation",
"type": "address",
"indexed": true,
"internalType": "address"
}
],
"anonymous": false
},
{
"name": "WriteAcknowledgement",
"type": "event",
"inputs": [
{
"name": "clientId",
"type": "string",
"indexed": true,
"internalType": "string"
},
{
"name": "sequence",
"type": "uint256",
"indexed": true,
"internalType": "uint256"
},
{
"name": "packet",
"type": "tuple",
"indexed": false,
"components": [
{
"name": "sequence",
"type": "uint64",
"internalType": "uint64"
},
{
"name": "sourceClient",
"type": "string",
"internalType": "string"
},
{
"name": "destClient",
"type": "string",
"internalType": "string"
},
{
"name": "timeoutTimestamp",
"type": "uint64",
"internalType": "uint64"
},
{
"name": "payloads",
"type": "tuple[]",
"components": [
{
"name": "sourcePort",
"type": "string",
"internalType": "string"
},
{
"name": "destPort",
"type": "string",
"internalType": "string"
},
{
"name": "version",
"type": "string",
"internalType": "string"
},
{
"name": "encoding",
"type": "string",
"internalType": "string"
},
{
"name": "value",
"type": "bytes",
"internalType": "bytes"
}
],
"internalType": "struct IICS26RouterMsgs.Payload[]"
}
],
"internalType": "struct IICS26RouterMsgs.Packet"
},
{
"name": "acknowledgements",
"type": "bytes[]",
"indexed": false,
"internalType": "bytes[]"
}
],
"anonymous": false
},
{
"name": "CLIENT_ID_CUSTOMIZER_ROLE",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "bytes32",
"internalType": "bytes32"
}
],
"stateMutability": "view"
},
{
"name": "DEFAULT_ADMIN_ROLE",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "bytes32",
"internalType": "bytes32"
}
],
"stateMutability": "view"
},
{
"name": "PORT_CUSTOMIZER_ROLE",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "bytes32",
"internalType": "bytes32"
}
],
"stateMutability": "view"
},
{
"name": "RELAYER_ROLE",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "bytes32",
"internalType": "bytes32"
}
],
"stateMutability": "view"
},
{
"name": "UPGRADE_INTERFACE_VERSION",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "string",
"internalType": "string"
}
],
"stateMutability": "view"
},
{
"name": "ackPacket",
"type": "function",
"inputs": [
{
"name": "msg_",
"type": "tuple",
"components": [
{
"name": "packet",
"type": "tuple",
"components": [
{
"name": "sequence",
"type": "uint64",
"internalType": "uint64"
},
{
"name": "sourceClient",
"type": "string",
"internalType": "string"
},
{
"name": "destClient",
"type": "string",
"internalType": "string"
},
{
"name": "timeoutTimestamp",
"type": "uint64",
"internalType": "uint64"
},
{
"name": "payloads",
"type": "tuple[]",
"components": [
{
"name": "sourcePort",
"type": "string",
"internalType": "string"
},
{
"name": "destPort",
"type": "string",
"internalType": "string"
},
{
"name": "version",
"type": "string",
"internalType": "string"
},
{
"name": "encoding",
"type": "string",
"internalType": "string"
},
{
"name": "value",
"type": "bytes",
"internalType": "bytes"
}
],
"internalType": "struct IICS26RouterMsgs.Payload[]"
}
],
"internalType": "struct IICS26RouterMsgs.Packet"
},
{
"name": "acknowledgement",
"type": "bytes",
"internalType": "bytes"
},
{
"name": "proofAcked",
"type": "bytes",
"internalType": "bytes"
},
{
"name": "proofHeight",
"type": "tuple",
"components": [
{
"name": "revisionNumber",
"type": "uint64",
"internalType": "uint64"
},
{
"name": "revisionHeight",
"type": "uint64",
"internalType": "uint64"
}
],
"internalType": "struct IICS02ClientMsgs.Height"
}
],
"internalType": "struct IICS26RouterMsgs.MsgAckPacket"
}
],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"name": "addClient",
"type": "function",
"inputs": [
{
"name": "clientId",
"type": "string",
"internalType": "string"
},
{
"name": "counterpartyInfo",
"type": "tuple",
"components": [
{
"name": "clientId",
"type": "string",
"internalType": "string"
},
{
"name": "merklePrefix",
"type": "bytes[]",
"internalType": "bytes[]"
}
],
"internalType": "struct IICS02ClientMsgs.CounterpartyInfo"
},
{
"name": "client",
"type": "address",
"internalType": "address"
}
],
"outputs": [
{
"name": "",
"type": "string",
"internalType": "string"
}
],
"stateMutability": "nonpayable"
},
{
"name": "addClient",
"type": "function",
"inputs": [
{
"name": "counterpartyInfo",
"type": "tuple",
"components": [
{
"name": "clientId",
"type": "string",
"internalType": "string"
},
{
"name": "merklePrefix",
"type": "bytes[]",
"internalType": "bytes[]"
}
],
"internalType": "struct IICS02ClientMsgs.CounterpartyInfo"
},
{
"name": "client",
"type": "address",
"internalType": "address"
}
],
"outputs": [
{
"name": "",
"type": "string",
"internalType": "string"
}
],
"stateMutability": "nonpayable"
},
{
"name": "addIBCApp",
"type": "function",
"inputs": [
{
"name": "app",
"type": "address",
"internalType": "address"
}
],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"name": "addIBCApp",
"type": "function",
"inputs": [
{
"name": "portId",
"type": "string",
"internalType": "string"
},
{
"name": "app",
"type": "address",
"internalType": "address"
}
],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"name": "getClient",
"type": "function",
"inputs": [
{
"name": "clientId",
"type": "string",
"internalType": "string"
}
],
"outputs": [
{
"name": "",
"type": "address",
"internalType": "contract ILightClient"
}
],
"stateMutability": "view"
},
{
"name": "getCommitment",
"type": "function",
"inputs": [
{
"name": "hashedPath",
"type": "bytes32",
"internalType": "bytes32"
}
],
"outputs": [
{
"name": "",
"type": "bytes32",
"internalType": "bytes32"
}
],
"stateMutability": "view"
},
{
"name": "getCounterparty",
"type": "function",
"inputs": [
{
"name": "clientId",
"type": "string",
"internalType": "string"
}
],
"outputs": [
{
"name": "",
"type": "tuple",
"components": [
{
"name": "clientId",
"type": "string",
"internalType": "string"
},
{
"name": "merklePrefix",
"type": "bytes[]",
"internalType": "bytes[]"
}
],
"internalType": "struct IICS02ClientMsgs.CounterpartyInfo"
}
],
"stateMutability": "view"
},
{
"name": "getGovAdmin",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "address",
"internalType": "address"
}
],
"stateMutability": "view"
},
{
"name": "getIBCApp",
"type": "function",
"inputs": [
{
"name": "portId",
"type": "string",
"internalType": "string"
}
],
"outputs": [
{
"name": "",
"type": "address",
"internalType": "contract IIBCApp"
}
],
"stateMutability": "view"
},
{
"name": "getLightClientMigratorRole",
"type": "function",
"inputs": [
{
"name": "clientId",
"type": "string",
"internalType": "string"
}
],
"outputs": [
{
"name": "",
"type": "bytes32",
"internalType": "bytes32"
}
],
"stateMutability": "pure"
},
{
"name": "getNextClientSeq",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "view"
},
{
"name": "getRoleAdmin",
"type": "function",
"inputs": [
{
"name": "role",
"type": "bytes32",
"internalType": "bytes32"
}
],
"outputs": [
{
"name": "",
"type": "bytes32",
"internalType": "bytes32"
}
],
"stateMutability": "view"
},
{
"name": "getTimelockedAdmin",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "address",
"internalType": "address"
}
],
"stateMutability": "view"
},
{
"name": "grantRole",
"type": "function",
"inputs": [
{
"name": "role",
"type": "bytes32",
"internalType": "bytes32"
},
{
"name": "account",
"type": "address",
"internalType": "address"
}
],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"name": "hasRole",
"type": "function",
"inputs": [
{
"name": "role",
"type": "bytes32",
"internalType": "bytes32"
},
{
"name": "account",
"type": "address",
"internalType": "address"
}
],
"outputs": [
{
"name": "",
"type": "bool",
"internalType": "bool"
}
],
"stateMutability": "view"
},
{
"name": "initialize",
"type": "function",
"inputs": [
{
"name": "timelockedAdmin",
"type": "address",
"internalType": "address"
}
],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"name": "isAdmin",
"type": "function",
"inputs": [
{
"name": "account",
"type": "address",
"internalType": "address"
}
],
"outputs": [
{
"name": "",
"type": "bool",
"internalType": "bool"
}
],
"stateMutability": "view"
},
{
"name": "migrateClient",
"type": "function",
"inputs": [
{
"name": "clientId",
"type": "string",
"internalType": "string"
},
{
"name": "counterpartyInfo",
"type": "tuple",
"components": [
{
"name": "clientId",
"type": "string",
"internalType": "string"
},
{
"name": "merklePrefix",
"type": "bytes[]",
"internalType": "bytes[]"
}
],
"internalType": "struct IICS02ClientMsgs.CounterpartyInfo"
},
{
"name": "client",
"type": "address",
"internalType": "address"
}
],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"name": "multicall",
"type": "function",
"inputs": [
{
"name": "data",
"type": "bytes[]",
"internalType": "bytes[]"
}
],
"outputs": [
{
"name": "results",
"type": "bytes[]",
"internalType": "bytes[]"
}
],
"stateMutability": "nonpayable"
},
{
"name": "proxiableUUID",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "bytes32",
"internalType": "bytes32"
}
],
"stateMutability": "view"
},
{
"name": "recvPacket",
"type": "function",
"inputs": [
{
"name": "msg_",
"type": "tuple",
"components": [
{
"name": "packet",
"type": "tuple",
"components": [
{
"name": "sequence",
"type": "uint64",
"internalType": "uint64"
},
{
"name": "sourceClient",
"type": "string",
"internalType": "string"
},
{
"name": "destClient",
"type": "string",
"internalType": "string"
},
{
"name": "timeoutTimestamp",
"type": "uint64",
"internalType": "uint64"
},
{
"name": "payloads",
"type": "tuple[]",
"components": [
{
"name": "sourcePort",
"type": "string",
"internalType": "string"
},
{
"name": "destPort",
"type": "string",
"internalType": "string"
},
{
"name": "version",
"type": "string",
"internalType": "string"
},
{
"name": "encoding",
"type": "string",
"internalType": "string"
},
{
"name": "value",
"type": "bytes",
"internalType": "bytes"
}
],
"internalType": "struct IICS26RouterMsgs.Payload[]"
}
],
"internalType": "struct IICS26RouterMsgs.Packet"
},
{
"name": "proofCommitment",
"type": "bytes",
"internalType": "bytes"
},
{
"name": "proofHeight",
"type": "tuple",
"components": [
{
"name": "revisionNumber",
"type": "uint64",
"internalType": "uint64"
},
{
"name": "revisionHeight",
"type": "uint64",
"internalType": "uint64"
}
],
"internalType": "struct IICS02ClientMsgs.Height"
}
],
"internalType": "struct IICS26RouterMsgs.MsgRecvPacket"
}
],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"name": "renounceRole",
"type": "function",
"inputs": [
{
"name": "role",
"type": "bytes32",
"internalType": "bytes32"
},
{
"name": "callerConfirmation",
"type": "address",
"internalType": "address"
}
],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"name": "revokeRole",
"type": "function",
"inputs": [
{
"name": "role",
"type": "bytes32",
"internalType": "bytes32"
},
{
"name": "account",
"type": "address",
"internalType": "address"
}
],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"name": "sendPacket",
"type": "function",
"inputs": [
{
"name": "msg_",
"type": "tuple",
"components": [
{
"name": "sourceClient",
"type": "string",
"internalType": "string"
},
{
"name": "timeoutTimestamp",
"type": "uint64",
"internalType": "uint64"
},
{
"name": "payload",
"type": "tuple",
"components": [
{
"name": "sourcePort",
"type": "string",
"internalType": "string"
},
{
"name": "destPort",
"type": "string",
"internalType": "string"
},
{
"name": "version",
"type": "string",
"internalType": "string"
},
{
"name": "encoding",
"type": "string",
"internalType": "string"
},
{
"name": "value",
"type": "bytes",
"internalType": "bytes"
}
],
"internalType": "struct IICS26RouterMsgs.Payload"
}
],
"internalType": "struct IICS26RouterMsgs.MsgSendPacket"
}
],
"outputs": [
{
"name": "",
"type": "uint64",
"internalType": "uint64"
}
],
"stateMutability": "nonpayable"
},
{
"name": "setGovAdmin",
"type": "function",
"inputs": [
{
"name": "newGovAdmin",
"type": "address",
"internalType": "address"
}
],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"name": "setTimelockedAdmin",
"type": "function",
"inputs": [
{
"name": "newTimelockedAdmin",
"type": "address",
"internalType": "address"
}
],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"name": "submitMisbehaviour",
"type": "function",
"inputs": [
{
"name": "clientId",
"type": "string",
"internalType": "string"
},
{
"name": "misbehaviourMsg",
"type": "bytes",
"internalType": "bytes"
}
],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"name": "supportsInterface",
"type": "function",
"inputs": [
{
"name": "interfaceId",
"type": "bytes4",
"internalType": "bytes4"
}
],
"outputs": [
{
"name": "",
"type": "bool",
"internalType": "bool"
}
],
"stateMutability": "view"
},
{
"name": "timeoutPacket",
"type": "function",
"inputs": [
{
"name": "msg_",
"type": "tuple",
"components": [
{
"name": "packet",
"type": "tuple",
"components": [
{
"name": "sequence",
"type": "uint64",
"internalType": "uint64"
},
{
"name": "sourceClient",
"type": "string",
"internalType": "string"
},
{
"name": "destClient",
"type": "string",
"internalType": "string"
},
{
"name": "timeoutTimestamp",
"type": "uint64",
"internalType": "uint64"
},
{
"name": "payloads",
"type": "tuple[]",
"components": [
{
"name": "sourcePort",
"type": "string",
"internalType": "string"
},
{
"name": "destPort",
"type": "string",
"internalType": "string"
},
{
"name": "version",
"type": "string",
"internalType": "string"
},
{
"name": "encoding",
"type": "string",
"internalType": "string"
},
{
"name": "value",
"type": "bytes",
"internalType": "bytes"
}
],
"internalType": "struct IICS26RouterMsgs.Payload[]"
}
],
"internalType": "struct IICS26RouterMsgs.Packet"
},
{
"name": "proofTimeout",
"type": "bytes",
"internalType": "bytes"
},
{
"name": "proofHeight",
"type": "tuple",
"components": [
{
"name": "revisionNumber",
"type": "uint64",
"internalType": "uint64"
},
{
"name": "revisionHeight",
"type": "uint64",
"internalType": "uint64"
}
],
"internalType": "struct IICS02ClientMsgs.Height"
}
],
"internalType": "struct IICS26RouterMsgs.MsgTimeoutPacket"
}
],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"name": "updateClient",
"type": "function",
"inputs": [
{
"name": "clientId",
"type": "string",
"internalType": "string"
},
{
"name": "updateMsg",
"type": "bytes",
"internalType": "bytes"
}
],
"outputs": [
{
"name": "",
"type": "uint8",
"internalType": "enum ILightClientMsgs.UpdateResult"
}
],
"stateMutability": "nonpayable"
},
{
"name": "upgradeToAndCall",
"type": "function",
"inputs": [
{
"name": "newImplementation",
"type": "address",
"internalType": "address"
},
{
"name": "data",
"type": "bytes",
"internalType": "bytes"
}
],
"outputs": [],
"stateMutability": "payable"
}
]Source code and metadata: Sourcify.
The source code belongs to the authors of the contract.