-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
imp: change counterpartyInfo to channel (#100)
Co-authored-by: srdtrk <[email protected]> Co-authored-by: srdtrk <[email protected]>
- Loading branch information
1 parent
169400e
commit ee8cdff
Showing
21 changed files
with
670 additions
and
243 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,320 @@ | ||
[ | ||
{ | ||
"type": "constructor", | ||
"inputs": [ | ||
{ | ||
"name": "owner_", | ||
"type": "address", | ||
"internalType": "address" | ||
} | ||
], | ||
"stateMutability": "nonpayable" | ||
}, | ||
{ | ||
"type": "function", | ||
"name": "addChannel", | ||
"inputs": [ | ||
{ | ||
"name": "clientType", | ||
"type": "string", | ||
"internalType": "string" | ||
}, | ||
{ | ||
"name": "channel", | ||
"type": "tuple", | ||
"internalType": "struct IICS04ChannelMsgs.Channel", | ||
"components": [ | ||
{ | ||
"name": "counterpartyId", | ||
"type": "string", | ||
"internalType": "string" | ||
}, | ||
{ | ||
"name": "merklePrefix", | ||
"type": "bytes[]", | ||
"internalType": "bytes[]" | ||
} | ||
] | ||
}, | ||
{ | ||
"name": "client", | ||
"type": "address", | ||
"internalType": "address" | ||
} | ||
], | ||
"outputs": [ | ||
{ | ||
"name": "", | ||
"type": "string", | ||
"internalType": "string" | ||
} | ||
], | ||
"stateMutability": "nonpayable" | ||
}, | ||
{ | ||
"type": "function", | ||
"name": "getChannel", | ||
"inputs": [ | ||
{ | ||
"name": "channelId", | ||
"type": "string", | ||
"internalType": "string" | ||
} | ||
], | ||
"outputs": [ | ||
{ | ||
"name": "", | ||
"type": "tuple", | ||
"internalType": "struct IICS04ChannelMsgs.Channel", | ||
"components": [ | ||
{ | ||
"name": "counterpartyId", | ||
"type": "string", | ||
"internalType": "string" | ||
}, | ||
{ | ||
"name": "merklePrefix", | ||
"type": "bytes[]", | ||
"internalType": "bytes[]" | ||
} | ||
] | ||
} | ||
], | ||
"stateMutability": "view" | ||
}, | ||
{ | ||
"type": "function", | ||
"name": "getClient", | ||
"inputs": [ | ||
{ | ||
"name": "clientId", | ||
"type": "string", | ||
"internalType": "string" | ||
} | ||
], | ||
"outputs": [ | ||
{ | ||
"name": "", | ||
"type": "address", | ||
"internalType": "contract ILightClient" | ||
} | ||
], | ||
"stateMutability": "view" | ||
}, | ||
{ | ||
"type": "function", | ||
"name": "migrateClient", | ||
"inputs": [ | ||
{ | ||
"name": "subjectClientId", | ||
"type": "string", | ||
"internalType": "string" | ||
}, | ||
{ | ||
"name": "substituteClientId", | ||
"type": "string", | ||
"internalType": "string" | ||
} | ||
], | ||
"outputs": [], | ||
"stateMutability": "nonpayable" | ||
}, | ||
{ | ||
"type": "function", | ||
"name": "owner", | ||
"inputs": [], | ||
"outputs": [ | ||
{ | ||
"name": "", | ||
"type": "address", | ||
"internalType": "address" | ||
} | ||
], | ||
"stateMutability": "view" | ||
}, | ||
{ | ||
"type": "function", | ||
"name": "renounceOwnership", | ||
"inputs": [], | ||
"outputs": [], | ||
"stateMutability": "nonpayable" | ||
}, | ||
{ | ||
"type": "function", | ||
"name": "submitMisbehaviour", | ||
"inputs": [ | ||
{ | ||
"name": "clientId", | ||
"type": "string", | ||
"internalType": "string" | ||
}, | ||
{ | ||
"name": "misbehaviourMsg", | ||
"type": "bytes", | ||
"internalType": "bytes" | ||
} | ||
], | ||
"outputs": [], | ||
"stateMutability": "nonpayable" | ||
}, | ||
{ | ||
"type": "function", | ||
"name": "transferOwnership", | ||
"inputs": [ | ||
{ | ||
"name": "newOwner", | ||
"type": "address", | ||
"internalType": "address" | ||
} | ||
], | ||
"outputs": [], | ||
"stateMutability": "nonpayable" | ||
}, | ||
{ | ||
"type": "function", | ||
"name": "updateClient", | ||
"inputs": [ | ||
{ | ||
"name": "clientId", | ||
"type": "string", | ||
"internalType": "string" | ||
}, | ||
{ | ||
"name": "updateMsg", | ||
"type": "bytes", | ||
"internalType": "bytes" | ||
} | ||
], | ||
"outputs": [ | ||
{ | ||
"name": "", | ||
"type": "uint8", | ||
"internalType": "enum ILightClientMsgs.UpdateResult" | ||
} | ||
], | ||
"stateMutability": "nonpayable" | ||
}, | ||
{ | ||
"type": "function", | ||
"name": "upgradeClient", | ||
"inputs": [ | ||
{ | ||
"name": "clientId", | ||
"type": "string", | ||
"internalType": "string" | ||
}, | ||
{ | ||
"name": "upgradeMsg", | ||
"type": "bytes", | ||
"internalType": "bytes" | ||
} | ||
], | ||
"outputs": [], | ||
"stateMutability": "nonpayable" | ||
}, | ||
{ | ||
"type": "event", | ||
"name": "ICS04ChannelAdded", | ||
"inputs": [ | ||
{ | ||
"name": "channelId", | ||
"type": "string", | ||
"indexed": false, | ||
"internalType": "string" | ||
}, | ||
{ | ||
"name": "channel", | ||
"type": "tuple", | ||
"indexed": false, | ||
"internalType": "struct IICS04ChannelMsgs.Channel", | ||
"components": [ | ||
{ | ||
"name": "counterpartyId", | ||
"type": "string", | ||
"internalType": "string" | ||
}, | ||
{ | ||
"name": "merklePrefix", | ||
"type": "bytes[]", | ||
"internalType": "bytes[]" | ||
} | ||
] | ||
} | ||
], | ||
"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": "IBCClientNotFound", | ||
"inputs": [ | ||
{ | ||
"name": "clientId", | ||
"type": "string", | ||
"internalType": "string" | ||
} | ||
] | ||
}, | ||
{ | ||
"type": "error", | ||
"name": "IBCCounterpartyClientNotFound", | ||
"inputs": [ | ||
{ | ||
"name": "counterpartyClientId", | ||
"type": "string", | ||
"internalType": "string" | ||
} | ||
] | ||
}, | ||
{ | ||
"type": "error", | ||
"name": "IBCInvalidClientType", | ||
"inputs": [ | ||
{ | ||
"name": "clientType", | ||
"type": "string", | ||
"internalType": "string" | ||
} | ||
] | ||
}, | ||
{ | ||
"type": "error", | ||
"name": "OwnableInvalidOwner", | ||
"inputs": [ | ||
{ | ||
"name": "owner", | ||
"type": "address", | ||
"internalType": "address" | ||
} | ||
] | ||
}, | ||
{ | ||
"type": "error", | ||
"name": "OwnableUnauthorizedAccount", | ||
"inputs": [ | ||
{ | ||
"name": "account", | ||
"type": "address", | ||
"internalType": "address" | ||
} | ||
] | ||
} | ||
] |
Oops, something went wrong.