diff --git a/contract/ICrossChain.go b/contract/ICrossChain.go index 34f3a5e2..726708b1 100644 --- a/contract/ICrossChain.go +++ b/contract/ICrossChain.go @@ -31,7 +31,7 @@ var ( // ICrossChainMetaData contains all meta data concerning the ICrossChain contract. var ICrossChainMetaData = &bind.MetaData{ - ABI: "[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"string\",\"name\":\"chain\",\"type\":\"string\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"txID\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"reward\",\"type\":\"uint256\"}],\"name\":\"AddPendingPoolRewardsEvent\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"_sender\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"_receiver\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"_to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"_txOrigin\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"_value\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"_eventNonce\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"string\",\"name\":\"_dstChain\",\"type\":\"string\"},{\"indexed\":false,\"internalType\":\"address[]\",\"name\":\"_tokens\",\"type\":\"address[]\"},{\"indexed\":false,\"internalType\":\"uint256[]\",\"name\":\"_amounts\",\"type\":\"uint256[]\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"_data\",\"type\":\"bytes\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"_memo\",\"type\":\"bytes\"}],\"name\":\"BridgeCallEvent\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"_sender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"string\",\"name\":\"chain\",\"type\":\"string\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"txID\",\"type\":\"uint256\"}],\"name\":\"CancelPendingBridgeCallEvent\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"string\",\"name\":\"chain\",\"type\":\"string\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"txID\",\"type\":\"uint256\"}],\"name\":\"CancelSendToExternal\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"string\",\"name\":\"denom\",\"type\":\"string\"},{\"indexed\":false,\"internalType\":\"string\",\"name\":\"receipt\",\"type\":\"string\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"fee\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"target\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"string\",\"name\":\"memo\",\"type\":\"string\"}],\"name\":\"CrossChain\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"_sender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"_eventNonce\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"string\",\"name\":\"_chain\",\"type\":\"string\"}],\"name\":\"ExecuteClaimEvent\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"string\",\"name\":\"chain\",\"type\":\"string\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"txID\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"fee\",\"type\":\"uint256\"}],\"name\":\"IncreaseBridgeFee\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"_chain\",\"type\":\"string\"},{\"internalType\":\"uint256\",\"name\":\"_txID\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"_token\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_reward\",\"type\":\"uint256\"}],\"name\":\"addPendingPoolRewards\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"_result\",\"type\":\"bool\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"_dstChain\",\"type\":\"string\"},{\"internalType\":\"address\",\"name\":\"_refund\",\"type\":\"address\"},{\"internalType\":\"address[]\",\"name\":\"_tokens\",\"type\":\"address[]\"},{\"internalType\":\"uint256[]\",\"name\":\"_amounts\",\"type\":\"uint256[]\"},{\"internalType\":\"address\",\"name\":\"_to\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"_data\",\"type\":\"bytes\"},{\"internalType\":\"uint256\",\"name\":\"_value\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"_memo\",\"type\":\"bytes\"}],\"name\":\"bridgeCall\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"_eventNonce\",\"type\":\"uint256\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_token\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"_target\",\"type\":\"bytes32\"}],\"name\":\"bridgeCoinAmount\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"_chain\",\"type\":\"string\"},{\"internalType\":\"uint256\",\"name\":\"_txID\",\"type\":\"uint256\"}],\"name\":\"cancelPendingBridgeCall\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"_result\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"_chain\",\"type\":\"string\"},{\"internalType\":\"uint256\",\"name\":\"_txID\",\"type\":\"uint256\"}],\"name\":\"cancelSendToExternal\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"_result\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_token\",\"type\":\"address\"},{\"internalType\":\"string\",\"name\":\"_receipt\",\"type\":\"string\"},{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_fee\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"_target\",\"type\":\"bytes32\"},{\"internalType\":\"string\",\"name\":\"_memo\",\"type\":\"string\"}],\"name\":\"crossChain\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"_result\",\"type\":\"bool\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"_chain\",\"type\":\"string\"},{\"internalType\":\"uint256\",\"name\":\"_eventNonce\",\"type\":\"uint256\"}],\"name\":\"executeClaim\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"_result\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"_chain\",\"type\":\"string\"},{\"internalType\":\"address\",\"name\":\"_externalAddress\",\"type\":\"address\"}],\"name\":\"hasOracle\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"_result\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"_chain\",\"type\":\"string\"},{\"internalType\":\"uint256\",\"name\":\"_txID\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"_token\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_fee\",\"type\":\"uint256\"}],\"name\":\"increaseBridgeFee\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"_result\",\"type\":\"bool\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"_chain\",\"type\":\"string\"},{\"internalType\":\"address\",\"name\":\"_externalAddress\",\"type\":\"address\"}],\"name\":\"isOracleOnline\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"_result\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"}]", + ABI: "[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"_sender\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"_receiver\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"_to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"_txOrigin\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"_value\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"_eventNonce\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"string\",\"name\":\"_dstChain\",\"type\":\"string\"},{\"indexed\":false,\"internalType\":\"address[]\",\"name\":\"_tokens\",\"type\":\"address[]\"},{\"indexed\":false,\"internalType\":\"uint256[]\",\"name\":\"_amounts\",\"type\":\"uint256[]\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"_data\",\"type\":\"bytes\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"_memo\",\"type\":\"bytes\"}],\"name\":\"BridgeCallEvent\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"string\",\"name\":\"chain\",\"type\":\"string\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"txID\",\"type\":\"uint256\"}],\"name\":\"CancelSendToExternal\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"string\",\"name\":\"denom\",\"type\":\"string\"},{\"indexed\":false,\"internalType\":\"string\",\"name\":\"receipt\",\"type\":\"string\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"fee\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"target\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"string\",\"name\":\"memo\",\"type\":\"string\"}],\"name\":\"CrossChain\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"_sender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"_eventNonce\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"string\",\"name\":\"_chain\",\"type\":\"string\"}],\"name\":\"ExecuteClaimEvent\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"string\",\"name\":\"chain\",\"type\":\"string\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"txID\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"fee\",\"type\":\"uint256\"}],\"name\":\"IncreaseBridgeFee\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"_dstChain\",\"type\":\"string\"},{\"internalType\":\"address\",\"name\":\"_refund\",\"type\":\"address\"},{\"internalType\":\"address[]\",\"name\":\"_tokens\",\"type\":\"address[]\"},{\"internalType\":\"uint256[]\",\"name\":\"_amounts\",\"type\":\"uint256[]\"},{\"internalType\":\"address\",\"name\":\"_to\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"_data\",\"type\":\"bytes\"},{\"internalType\":\"uint256\",\"name\":\"_value\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"_memo\",\"type\":\"bytes\"}],\"name\":\"bridgeCall\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"_eventNonce\",\"type\":\"uint256\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_token\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"_target\",\"type\":\"bytes32\"}],\"name\":\"bridgeCoinAmount\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"_chain\",\"type\":\"string\"},{\"internalType\":\"uint256\",\"name\":\"_txID\",\"type\":\"uint256\"}],\"name\":\"cancelSendToExternal\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"_result\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_token\",\"type\":\"address\"},{\"internalType\":\"string\",\"name\":\"_receipt\",\"type\":\"string\"},{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_fee\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"_target\",\"type\":\"bytes32\"},{\"internalType\":\"string\",\"name\":\"_memo\",\"type\":\"string\"}],\"name\":\"crossChain\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"_result\",\"type\":\"bool\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"_chain\",\"type\":\"string\"},{\"internalType\":\"uint256\",\"name\":\"_eventNonce\",\"type\":\"uint256\"}],\"name\":\"executeClaim\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"_result\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"_chain\",\"type\":\"string\"},{\"internalType\":\"address\",\"name\":\"_externalAddress\",\"type\":\"address\"}],\"name\":\"hasOracle\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"_result\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"_chain\",\"type\":\"string\"},{\"internalType\":\"uint256\",\"name\":\"_txID\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"_token\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_fee\",\"type\":\"uint256\"}],\"name\":\"increaseBridgeFee\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"_result\",\"type\":\"bool\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"_chain\",\"type\":\"string\"},{\"internalType\":\"address\",\"name\":\"_externalAddress\",\"type\":\"address\"}],\"name\":\"isOracleOnline\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"_result\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"}]", } // ICrossChainABI is the input ABI used to generate the binding from. @@ -273,27 +273,6 @@ func (_ICrossChain *ICrossChainCallerSession) IsOracleOnline(_chain string, _ext return _ICrossChain.Contract.IsOracleOnline(&_ICrossChain.CallOpts, _chain, _externalAddress) } -// AddPendingPoolRewards is a paid mutator transaction binding the contract method 0x36599019. -// -// Solidity: function addPendingPoolRewards(string _chain, uint256 _txID, address _token, uint256 _reward) payable returns(bool _result) -func (_ICrossChain *ICrossChainTransactor) AddPendingPoolRewards(opts *bind.TransactOpts, _chain string, _txID *big.Int, _token common.Address, _reward *big.Int) (*types.Transaction, error) { - return _ICrossChain.contract.Transact(opts, "addPendingPoolRewards", _chain, _txID, _token, _reward) -} - -// AddPendingPoolRewards is a paid mutator transaction binding the contract method 0x36599019. -// -// Solidity: function addPendingPoolRewards(string _chain, uint256 _txID, address _token, uint256 _reward) payable returns(bool _result) -func (_ICrossChain *ICrossChainSession) AddPendingPoolRewards(_chain string, _txID *big.Int, _token common.Address, _reward *big.Int) (*types.Transaction, error) { - return _ICrossChain.Contract.AddPendingPoolRewards(&_ICrossChain.TransactOpts, _chain, _txID, _token, _reward) -} - -// AddPendingPoolRewards is a paid mutator transaction binding the contract method 0x36599019. -// -// Solidity: function addPendingPoolRewards(string _chain, uint256 _txID, address _token, uint256 _reward) payable returns(bool _result) -func (_ICrossChain *ICrossChainTransactorSession) AddPendingPoolRewards(_chain string, _txID *big.Int, _token common.Address, _reward *big.Int) (*types.Transaction, error) { - return _ICrossChain.Contract.AddPendingPoolRewards(&_ICrossChain.TransactOpts, _chain, _txID, _token, _reward) -} - // BridgeCall is a paid mutator transaction binding the contract method 0x851c42ee. // // Solidity: function bridgeCall(string _dstChain, address _refund, address[] _tokens, uint256[] _amounts, address _to, bytes _data, uint256 _value, bytes _memo) payable returns(uint256 _eventNonce) @@ -315,27 +294,6 @@ func (_ICrossChain *ICrossChainTransactorSession) BridgeCall(_dstChain string, _ return _ICrossChain.Contract.BridgeCall(&_ICrossChain.TransactOpts, _dstChain, _refund, _tokens, _amounts, _to, _data, _value, _memo) } -// CancelPendingBridgeCall is a paid mutator transaction binding the contract method 0x0f7a07c3. -// -// Solidity: function cancelPendingBridgeCall(string _chain, uint256 _txID) returns(bool _result) -func (_ICrossChain *ICrossChainTransactor) CancelPendingBridgeCall(opts *bind.TransactOpts, _chain string, _txID *big.Int) (*types.Transaction, error) { - return _ICrossChain.contract.Transact(opts, "cancelPendingBridgeCall", _chain, _txID) -} - -// CancelPendingBridgeCall is a paid mutator transaction binding the contract method 0x0f7a07c3. -// -// Solidity: function cancelPendingBridgeCall(string _chain, uint256 _txID) returns(bool _result) -func (_ICrossChain *ICrossChainSession) CancelPendingBridgeCall(_chain string, _txID *big.Int) (*types.Transaction, error) { - return _ICrossChain.Contract.CancelPendingBridgeCall(&_ICrossChain.TransactOpts, _chain, _txID) -} - -// CancelPendingBridgeCall is a paid mutator transaction binding the contract method 0x0f7a07c3. -// -// Solidity: function cancelPendingBridgeCall(string _chain, uint256 _txID) returns(bool _result) -func (_ICrossChain *ICrossChainTransactorSession) CancelPendingBridgeCall(_chain string, _txID *big.Int) (*types.Transaction, error) { - return _ICrossChain.Contract.CancelPendingBridgeCall(&_ICrossChain.TransactOpts, _chain, _txID) -} - // CancelSendToExternal is a paid mutator transaction binding the contract method 0x0b56c190. // // Solidity: function cancelSendToExternal(string _chain, uint256 _txID) returns(bool _result) @@ -420,162 +378,6 @@ func (_ICrossChain *ICrossChainTransactorSession) IncreaseBridgeFee(_chain strin return _ICrossChain.Contract.IncreaseBridgeFee(&_ICrossChain.TransactOpts, _chain, _txID, _token, _fee) } -// ICrossChainAddPendingPoolRewardsEventIterator is returned from FilterAddPendingPoolRewardsEvent and is used to iterate over the raw logs and unpacked data for AddPendingPoolRewardsEvent events raised by the ICrossChain contract. -type ICrossChainAddPendingPoolRewardsEventIterator struct { - Event *ICrossChainAddPendingPoolRewardsEvent // Event containing the contract specifics and raw log - - contract *bind.BoundContract // Generic contract to use for unpacking event data - event string // Event name to use for unpacking event data - - logs chan types.Log // Log channel receiving the found contract events - sub ethereum.Subscription // Subscription for errors, completion and termination - done bool // Whether the subscription completed delivering logs - fail error // Occurred error to stop iteration -} - -// Next advances the iterator to the subsequent event, returning whether there -// are any more events found. In case of a retrieval or parsing error, false is -// returned and Error() can be queried for the exact failure. -func (it *ICrossChainAddPendingPoolRewardsEventIterator) Next() bool { - // If the iterator failed, stop iterating - if it.fail != nil { - return false - } - // If the iterator completed, deliver directly whatever's available - if it.done { - select { - case log := <-it.logs: - it.Event = new(ICrossChainAddPendingPoolRewardsEvent) - if err := it.contract.UnpackLog(it.Event, it.event, log); err != nil { - it.fail = err - return false - } - it.Event.Raw = log - return true - - default: - return false - } - } - // Iterator still in progress, wait for either a data or an error event - select { - case log := <-it.logs: - it.Event = new(ICrossChainAddPendingPoolRewardsEvent) - if err := it.contract.UnpackLog(it.Event, it.event, log); err != nil { - it.fail = err - return false - } - it.Event.Raw = log - return true - - case err := <-it.sub.Err(): - it.done = true - it.fail = err - return it.Next() - } -} - -// Error returns any retrieval or parsing error occurred during filtering. -func (it *ICrossChainAddPendingPoolRewardsEventIterator) Error() error { - return it.fail -} - -// Close terminates the iteration process, releasing any pending underlying -// resources. -func (it *ICrossChainAddPendingPoolRewardsEventIterator) Close() error { - it.sub.Unsubscribe() - return nil -} - -// ICrossChainAddPendingPoolRewardsEvent represents a AddPendingPoolRewardsEvent event raised by the ICrossChain contract. -type ICrossChainAddPendingPoolRewardsEvent struct { - Sender common.Address - Token common.Address - Chain string - TxID *big.Int - Reward *big.Int - Raw types.Log // Blockchain specific contextual infos -} - -// FilterAddPendingPoolRewardsEvent is a free log retrieval operation binding the contract event 0x3afbebaebe58f01b574a31dcb1a2186714107461ff1efebbf3eef3aa79ced285. -// -// Solidity: event AddPendingPoolRewardsEvent(address indexed sender, address indexed token, string chain, uint256 txID, uint256 reward) -func (_ICrossChain *ICrossChainFilterer) FilterAddPendingPoolRewardsEvent(opts *bind.FilterOpts, sender []common.Address, token []common.Address) (*ICrossChainAddPendingPoolRewardsEventIterator, error) { - - var senderRule []interface{} - for _, senderItem := range sender { - senderRule = append(senderRule, senderItem) - } - var tokenRule []interface{} - for _, tokenItem := range token { - tokenRule = append(tokenRule, tokenItem) - } - - logs, sub, err := _ICrossChain.contract.FilterLogs(opts, "AddPendingPoolRewardsEvent", senderRule, tokenRule) - if err != nil { - return nil, err - } - return &ICrossChainAddPendingPoolRewardsEventIterator{contract: _ICrossChain.contract, event: "AddPendingPoolRewardsEvent", logs: logs, sub: sub}, nil -} - -// WatchAddPendingPoolRewardsEvent is a free log subscription operation binding the contract event 0x3afbebaebe58f01b574a31dcb1a2186714107461ff1efebbf3eef3aa79ced285. -// -// Solidity: event AddPendingPoolRewardsEvent(address indexed sender, address indexed token, string chain, uint256 txID, uint256 reward) -func (_ICrossChain *ICrossChainFilterer) WatchAddPendingPoolRewardsEvent(opts *bind.WatchOpts, sink chan<- *ICrossChainAddPendingPoolRewardsEvent, sender []common.Address, token []common.Address) (event.Subscription, error) { - - var senderRule []interface{} - for _, senderItem := range sender { - senderRule = append(senderRule, senderItem) - } - var tokenRule []interface{} - for _, tokenItem := range token { - tokenRule = append(tokenRule, tokenItem) - } - - logs, sub, err := _ICrossChain.contract.WatchLogs(opts, "AddPendingPoolRewardsEvent", senderRule, tokenRule) - if err != nil { - return nil, err - } - return event.NewSubscription(func(quit <-chan struct{}) error { - defer sub.Unsubscribe() - for { - select { - case log := <-logs: - // New log arrived, parse the event and forward to the user - event := new(ICrossChainAddPendingPoolRewardsEvent) - if err := _ICrossChain.contract.UnpackLog(event, "AddPendingPoolRewardsEvent", log); err != nil { - return err - } - event.Raw = log - - select { - case sink <- event: - case err := <-sub.Err(): - return err - case <-quit: - return nil - } - case err := <-sub.Err(): - return err - case <-quit: - return nil - } - } - }), nil -} - -// ParseAddPendingPoolRewardsEvent is a log parse operation binding the contract event 0x3afbebaebe58f01b574a31dcb1a2186714107461ff1efebbf3eef3aa79ced285. -// -// Solidity: event AddPendingPoolRewardsEvent(address indexed sender, address indexed token, string chain, uint256 txID, uint256 reward) -func (_ICrossChain *ICrossChainFilterer) ParseAddPendingPoolRewardsEvent(log types.Log) (*ICrossChainAddPendingPoolRewardsEvent, error) { - event := new(ICrossChainAddPendingPoolRewardsEvent) - if err := _ICrossChain.contract.UnpackLog(event, "AddPendingPoolRewardsEvent", log); err != nil { - return nil, err - } - event.Raw = log - return event, nil -} - // ICrossChainBridgeCallEventIterator is returned from FilterBridgeCallEvent and is used to iterate over the raw logs and unpacked data for BridgeCallEvent events raised by the ICrossChain contract. type ICrossChainBridgeCallEventIterator struct { Event *ICrossChainBridgeCallEvent // Event containing the contract specifics and raw log @@ -746,152 +548,6 @@ func (_ICrossChain *ICrossChainFilterer) ParseBridgeCallEvent(log types.Log) (*I return event, nil } -// ICrossChainCancelPendingBridgeCallEventIterator is returned from FilterCancelPendingBridgeCallEvent and is used to iterate over the raw logs and unpacked data for CancelPendingBridgeCallEvent events raised by the ICrossChain contract. -type ICrossChainCancelPendingBridgeCallEventIterator struct { - Event *ICrossChainCancelPendingBridgeCallEvent // Event containing the contract specifics and raw log - - contract *bind.BoundContract // Generic contract to use for unpacking event data - event string // Event name to use for unpacking event data - - logs chan types.Log // Log channel receiving the found contract events - sub ethereum.Subscription // Subscription for errors, completion and termination - done bool // Whether the subscription completed delivering logs - fail error // Occurred error to stop iteration -} - -// Next advances the iterator to the subsequent event, returning whether there -// are any more events found. In case of a retrieval or parsing error, false is -// returned and Error() can be queried for the exact failure. -func (it *ICrossChainCancelPendingBridgeCallEventIterator) Next() bool { - // If the iterator failed, stop iterating - if it.fail != nil { - return false - } - // If the iterator completed, deliver directly whatever's available - if it.done { - select { - case log := <-it.logs: - it.Event = new(ICrossChainCancelPendingBridgeCallEvent) - if err := it.contract.UnpackLog(it.Event, it.event, log); err != nil { - it.fail = err - return false - } - it.Event.Raw = log - return true - - default: - return false - } - } - // Iterator still in progress, wait for either a data or an error event - select { - case log := <-it.logs: - it.Event = new(ICrossChainCancelPendingBridgeCallEvent) - if err := it.contract.UnpackLog(it.Event, it.event, log); err != nil { - it.fail = err - return false - } - it.Event.Raw = log - return true - - case err := <-it.sub.Err(): - it.done = true - it.fail = err - return it.Next() - } -} - -// Error returns any retrieval or parsing error occurred during filtering. -func (it *ICrossChainCancelPendingBridgeCallEventIterator) Error() error { - return it.fail -} - -// Close terminates the iteration process, releasing any pending underlying -// resources. -func (it *ICrossChainCancelPendingBridgeCallEventIterator) Close() error { - it.sub.Unsubscribe() - return nil -} - -// ICrossChainCancelPendingBridgeCallEvent represents a CancelPendingBridgeCallEvent event raised by the ICrossChain contract. -type ICrossChainCancelPendingBridgeCallEvent struct { - Sender common.Address - Chain string - TxID *big.Int - Raw types.Log // Blockchain specific contextual infos -} - -// FilterCancelPendingBridgeCallEvent is a free log retrieval operation binding the contract event 0x19ca330d2f7a3939e8b2ff44bec00174f762d9804c3dcb9540f5072b57f16486. -// -// Solidity: event CancelPendingBridgeCallEvent(address indexed _sender, string chain, uint256 txID) -func (_ICrossChain *ICrossChainFilterer) FilterCancelPendingBridgeCallEvent(opts *bind.FilterOpts, _sender []common.Address) (*ICrossChainCancelPendingBridgeCallEventIterator, error) { - - var _senderRule []interface{} - for _, _senderItem := range _sender { - _senderRule = append(_senderRule, _senderItem) - } - - logs, sub, err := _ICrossChain.contract.FilterLogs(opts, "CancelPendingBridgeCallEvent", _senderRule) - if err != nil { - return nil, err - } - return &ICrossChainCancelPendingBridgeCallEventIterator{contract: _ICrossChain.contract, event: "CancelPendingBridgeCallEvent", logs: logs, sub: sub}, nil -} - -// WatchCancelPendingBridgeCallEvent is a free log subscription operation binding the contract event 0x19ca330d2f7a3939e8b2ff44bec00174f762d9804c3dcb9540f5072b57f16486. -// -// Solidity: event CancelPendingBridgeCallEvent(address indexed _sender, string chain, uint256 txID) -func (_ICrossChain *ICrossChainFilterer) WatchCancelPendingBridgeCallEvent(opts *bind.WatchOpts, sink chan<- *ICrossChainCancelPendingBridgeCallEvent, _sender []common.Address) (event.Subscription, error) { - - var _senderRule []interface{} - for _, _senderItem := range _sender { - _senderRule = append(_senderRule, _senderItem) - } - - logs, sub, err := _ICrossChain.contract.WatchLogs(opts, "CancelPendingBridgeCallEvent", _senderRule) - if err != nil { - return nil, err - } - return event.NewSubscription(func(quit <-chan struct{}) error { - defer sub.Unsubscribe() - for { - select { - case log := <-logs: - // New log arrived, parse the event and forward to the user - event := new(ICrossChainCancelPendingBridgeCallEvent) - if err := _ICrossChain.contract.UnpackLog(event, "CancelPendingBridgeCallEvent", log); err != nil { - return err - } - event.Raw = log - - select { - case sink <- event: - case err := <-sub.Err(): - return err - case <-quit: - return nil - } - case err := <-sub.Err(): - return err - case <-quit: - return nil - } - } - }), nil -} - -// ParseCancelPendingBridgeCallEvent is a log parse operation binding the contract event 0x19ca330d2f7a3939e8b2ff44bec00174f762d9804c3dcb9540f5072b57f16486. -// -// Solidity: event CancelPendingBridgeCallEvent(address indexed _sender, string chain, uint256 txID) -func (_ICrossChain *ICrossChainFilterer) ParseCancelPendingBridgeCallEvent(log types.Log) (*ICrossChainCancelPendingBridgeCallEvent, error) { - event := new(ICrossChainCancelPendingBridgeCallEvent) - if err := _ICrossChain.contract.UnpackLog(event, "CancelPendingBridgeCallEvent", log); err != nil { - return nil, err - } - event.Raw = log - return event, nil -} - // ICrossChainCancelSendToExternalIterator is returned from FilterCancelSendToExternal and is used to iterate over the raw logs and unpacked data for CancelSendToExternal events raised by the ICrossChain contract. type ICrossChainCancelSendToExternalIterator struct { Event *ICrossChainCancelSendToExternal // Event containing the contract specifics and raw log diff --git a/proto/fx/gravity/crosschain/v1/legacy.proto b/proto/fx/gravity/crosschain/v1/legacy.proto index 8d621e52..1f0fc9d8 100644 --- a/proto/fx/gravity/crosschain/v1/legacy.proto +++ b/proto/fx/gravity/crosschain/v1/legacy.proto @@ -111,3 +111,22 @@ message MsgRequestBatch { // Deprecated: do not use message MsgRequestBatchResponse { uint64 batch_nonce = 1; } + +message MsgIncreaseBridgeFee { + option deprecated = true; + option (cosmos.msg.v1.signer) = "sender"; + option (amino.name) = "crosschain/MsgIncreaseBridgeFee"; + + string chain_name = 1; + uint64 transaction_id = 2; + string sender = 3; + cosmos.base.v1beta1.Coin add_bridge_fee = 4 [ (gogoproto.nullable) = false ]; +} + +message MsgIncreaseBridgeFeeResponse { option deprecated = true; } + +message MsgOracleSetConfirmResponse { option deprecated = true; } + +message MsgConfirmBatchResponse { option deprecated = true; } + +message MsgBridgeCallConfirmResponse { option deprecated = true; } \ No newline at end of file diff --git a/proto/fx/gravity/crosschain/v1/tx.proto b/proto/fx/gravity/crosschain/v1/tx.proto index e6a06f60..f3ab7f09 100644 --- a/proto/fx/gravity/crosschain/v1/tx.proto +++ b/proto/fx/gravity/crosschain/v1/tx.proto @@ -48,6 +48,7 @@ service Msg { // module parameters. The authority is hard-coded to the x/gov module account. rpc UpdateParams(MsgUpdateParams) returns (MsgUpdateParamsResponse); + // Deprecated: do not use rpc IncreaseBridgeFee(MsgIncreaseBridgeFee) returns (MsgIncreaseBridgeFeeResponse); @@ -136,8 +137,6 @@ message MsgOracleSetConfirm { string chain_name = 5; } -message MsgOracleSetConfirmResponse {} - message MsgOracleSetUpdatedClaim { option (cosmos.msg.v1.signer) = "bridger_address"; option (amino.name) = "crosschain/MsgOracleSetUpdatedClaim"; @@ -150,8 +149,6 @@ message MsgOracleSetUpdatedClaim { string chain_name = 7; } -message MsgOracleSetUpdatedClaimResponse {} - message MsgSendToFxClaim { option (cosmos.msg.v1.signer) = "bridger_address"; option (amino.name) = "crosschain/MsgSendToFxClaim"; @@ -171,8 +168,6 @@ message MsgSendToFxClaim { string chain_name = 9; } -message MsgSendToFxClaimResponse {} - message MsgBridgeCallClaim { option (cosmos.msg.v1.signer) = "bridger_address"; option (amino.name) = "crosschain/MsgBridgeCallClaim"; @@ -200,8 +195,6 @@ message MsgBridgeCallClaim { string tx_origin = 13; } -message MsgBridgeCallClaimResponse {} - message MsgBridgeCallResultClaim { option (cosmos.msg.v1.signer) = "bridger_address"; option (amino.name) = "crosschain/MsgBridgeCallResultClaim"; @@ -216,8 +209,6 @@ message MsgBridgeCallResultClaim { string cause = 8; } -message MsgBridgeCallResultClaimResponse {} - message MsgConfirmBatch { option (cosmos.msg.v1.signer) = "bridger_address"; option (amino.name) = "crosschain/MsgConfirmBatch"; @@ -230,8 +221,6 @@ message MsgConfirmBatch { string chain_name = 6; } -message MsgConfirmBatchResponse {} - message MsgSendToExternalClaim { option (cosmos.msg.v1.signer) = "bridger_address"; option (amino.name) = "crosschain/MsgSendToExternalClaim"; @@ -244,8 +233,6 @@ message MsgSendToExternalClaim { string chain_name = 6; } -message MsgSendToExternalClaimResponse {} - message MsgBridgeTokenClaim { option (cosmos.msg.v1.signer) = "bridger_address"; option (amino.name) = "crosschain/MsgBridgeTokenClaim"; @@ -261,8 +248,6 @@ message MsgBridgeTokenClaim { string chain_name = 9; } -message MsgBridgeTokenClaimResponse {} - message MsgBridgeCallConfirm { option (cosmos.msg.v1.signer) = "bridger_address"; option (amino.name) = "crosschain/MsgBridgeCallConfirm"; @@ -274,8 +259,6 @@ message MsgBridgeCallConfirm { string signature = 5; } -message MsgBridgeCallConfirmResponse {} - message MsgUpdateParams { option (cosmos.msg.v1.signer) = "authority"; option (amino.name) = "crosschain/MsgUpdateParams"; @@ -293,18 +276,6 @@ message MsgUpdateParams { message MsgUpdateParamsResponse {} -message MsgIncreaseBridgeFee { - option (cosmos.msg.v1.signer) = "sender"; - option (amino.name) = "crosschain/MsgIncreaseBridgeFee"; - - string chain_name = 1; - uint64 transaction_id = 2; - string sender = 3; - cosmos.base.v1beta1.Coin add_bridge_fee = 4 [ (gogoproto.nullable) = false ]; -} - -message MsgIncreaseBridgeFeeResponse {} - message MsgUpdateChainOracles { option (cosmos.msg.v1.signer) = "authority"; option (amino.name) = "crosschain/MsgUpdateChainOracles"; diff --git a/solidity/contracts/bridge/ICrossChain.sol b/solidity/contracts/bridge/ICrossChain.sol index f96f0ec3..14c6d6c1 100644 --- a/solidity/contracts/bridge/ICrossChain.sol +++ b/solidity/contracts/bridge/ICrossChain.sol @@ -7,6 +7,7 @@ import {IBridgeCall} from "./IBridgeCall.sol"; // NOTE: if using an interface to invoke the precompiled contract // need to use solidity version 0.8.10 and later. interface ICrossChain is IBridgeCall { + // Deprecated: please use `IBridgeCall.bridgeCall` function crossChain( address _token, string memory _receipt, @@ -16,11 +17,13 @@ interface ICrossChain is IBridgeCall { string memory _memo ) external payable returns (bool _result); + // Deprecated: please use `IBridgeCall.bridgeCall` function cancelSendToExternal( string memory _chain, uint256 _txID ) external returns (bool _result); + // Deprecated: please use `IBridgeCall.bridgeCall` function increaseBridgeFee( string memory _chain, uint256 _txID, @@ -28,18 +31,6 @@ interface ICrossChain is IBridgeCall { uint256 _fee ) external payable returns (bool _result); - function cancelPendingBridgeCall( - string memory _chain, - uint256 _txID - ) external returns (bool _result); - - function addPendingPoolRewards( - string memory _chain, - uint256 _txID, - address _token, - uint256 _reward - ) external payable returns (bool _result); - function bridgeCoinAmount( address _token, bytes32 _target @@ -60,6 +51,7 @@ interface ICrossChain is IBridgeCall { address _externalAddress ) external view returns (bool _result); + // Deprecated event CrossChain( address indexed sender, address indexed token, @@ -71,12 +63,14 @@ interface ICrossChain is IBridgeCall { string memo ); + // Deprecated event CancelSendToExternal( address indexed sender, string chain, uint256 txID ); + // Deprecated event IncreaseBridgeFee( address indexed sender, address indexed token, @@ -99,20 +93,6 @@ interface ICrossChain is IBridgeCall { bytes _memo ); - event CancelPendingBridgeCallEvent( - address indexed _sender, - string chain, - uint256 txID - ); - - event AddPendingPoolRewardsEvent( - address indexed sender, - address indexed token, - string chain, - uint256 txID, - uint256 reward - ); - event ExecuteClaimEvent( address indexed _sender, uint256 _eventNonce, diff --git a/tests/contract/CrossChainTest.go b/tests/contract/CrossChainTest.go index 50b9a79f..6d5b4e8e 100644 --- a/tests/contract/CrossChainTest.go +++ b/tests/contract/CrossChainTest.go @@ -32,7 +32,7 @@ var ( // CrossChainTestMetaData contains all meta data concerning the CrossChainTest contract. var CrossChainTestMetaData = &bind.MetaData{ ABI: "[{\"inputs\":[],\"name\":\"CROSS_CHAIN_ADDRESS\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_token\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"_target\",\"type\":\"bytes32\"}],\"name\":\"bridgeCoinAmount\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"_chain\",\"type\":\"string\"},{\"internalType\":\"uint256\",\"name\":\"_txID\",\"type\":\"uint256\"}],\"name\":\"cancelSendToExternal\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_token\",\"type\":\"address\"},{\"internalType\":\"string\",\"name\":\"_receipt\",\"type\":\"string\"},{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_fee\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"_target\",\"type\":\"bytes32\"},{\"internalType\":\"string\",\"name\":\"_memo\",\"type\":\"string\"}],\"name\":\"crossChain\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"_chain\",\"type\":\"string\"},{\"internalType\":\"uint256\",\"name\":\"_txID\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"_token\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_fee\",\"type\":\"uint256\"}],\"name\":\"increaseBridgeFee\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"payable\",\"type\":\"function\"}]", - Bin: "0x608060405234801561001057600080fd5b50610907806100206000396000f3fe60806040526004361061004a5760003560e01c80630b56c1901461004f578063160d7c73146100845780638fefb76514610097578063c79a6b7b146100c5578063f7356475146100d8575b600080fd5b34801561005b57600080fd5b5061006f61006a3660046105fa565b610106565b60405190151581526020015b60405180910390f35b61006f61009236600461065b565b610179565b3480156100a357600080fd5b506100b76100b23660046106eb565b610469565b60405190815260200161007b565b61006f6100d3366004610715565b6104dd565b3480156100e457600080fd5b506100ee61100481565b6040516001600160a01b03909116815260200161007b565b60405162b56c1960e41b815260009061100490630b56c1909061012f90869086906004016107c1565b6020604051808303816000875af115801561014e573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061017291906107e3565b9392505050565b60006001600160a01b038716156102ab576001600160a01b0387166323b872dd33306101a5888a610805565b6040516001600160e01b031960e086901b1681526001600160a01b03938416600482015292909116602483015260448201526064016020604051808303816000875af11580156101f9573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061021d91906107e3565b506001600160a01b03871663095ea7b361100461023a8789610805565b6040516001600160e01b031960e085901b1681526001600160a01b03909216600483015260248201526044016020604051808303816000875af1158015610285573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102a991906107e3565b505b6001600160a01b0387161561039257604051636eb1769f60e11b815230600482015261100460248201526000906001600160a01b0389169063dd62ed3e90604401602060405180830381865afa158015610309573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061032d919061082b565b90506103398587610805565b811461038c5760405162461bcd60e51b815260206004820181905260248201527f616c6c6f77616e6365206e6f7420657175616c20616d6f756e74202b2066656560448201526064015b60405180910390fd5b506103ea565b61039c8486610805565b34146103ea5760405162461bcd60e51b815260206004820181905260248201527f6d73672e76616c7565206e6f7420657175616c20616d6f756e74202b206665656044820152606401610383565b60405163160d7c7360e01b81526110049063160d7c7390349061041b908b908b908b908b908b908b90600401610844565b60206040518083038185885af1158015610439573d6000803e3d6000fd5b50505050506040513d601f19601f8201168201806040525081019061045e91906107e3565b979650505050505050565b604051638fefb76560e01b81526001600160a01b03831660048201526024810182905260009061100490638fefb76590604401602060405180830381865afa1580156104b9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610172919061082b565b60405163c79a6b7b60e01b81526000906110049063c79a6b7b9061050b908890889088908890600401610899565b6020604051808303816000875af115801561052a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061054e91906107e3565b95945050505050565b634e487b7160e01b600052604160045260246000fd5b600082601f83011261057e57600080fd5b813567ffffffffffffffff8082111561059957610599610557565b604051601f8301601f19908116603f011681019082821181831017156105c1576105c1610557565b816040528381528660208588010111156105da57600080fd5b836020870160208301376000602085830101528094505050505092915050565b6000806040838503121561060d57600080fd5b823567ffffffffffffffff81111561062457600080fd5b6106308582860161056d565b95602094909401359450505050565b80356001600160a01b038116811461065657600080fd5b919050565b60008060008060008060c0878903121561067457600080fd5b61067d8761063f565b9550602087013567ffffffffffffffff8082111561069a57600080fd5b6106a68a838b0161056d565b965060408901359550606089013594506080890135935060a08901359150808211156106d157600080fd5b506106de89828a0161056d565b9150509295509295509295565b600080604083850312156106fe57600080fd5b6107078361063f565b946020939093013593505050565b6000806000806080858703121561072b57600080fd5b843567ffffffffffffffff81111561074257600080fd5b61074e8782880161056d565b945050602085013592506107646040860161063f565b9396929550929360600135925050565b6000815180845260005b8181101561079a5760208185018101518683018201520161077e565b818111156107ac576000602083870101525b50601f01601f19169290920160200192915050565b6040815260006107d46040830185610774565b90508260208301529392505050565b6000602082840312156107f557600080fd5b8151801515811461017257600080fd5b6000821982111561082657634e487b7160e01b600052601160045260246000fd5b500190565b60006020828403121561083d57600080fd5b5051919050565b6001600160a01b038716815260c06020820181905260009061086890830188610774565b86604084015285606084015284608084015282810360a084015261088c8185610774565b9998505050505050505050565b6080815260006108ac6080830187610774565b6020830195909552506001600160a01b0392909216604083015260609091015291905056fea2646970667358221220fa4ea4a521b359fc70a46eb313f9cf9c7ae72224e4bfa508e0f810b5d14de35764736f6c634300080a0033", + Bin: "0x608060405234801561001057600080fd5b50610907806100206000396000f3fe60806040526004361061004a5760003560e01c80630b56c1901461004f578063160d7c73146100845780638fefb76514610097578063c79a6b7b146100c5578063f7356475146100d8575b600080fd5b34801561005b57600080fd5b5061006f61006a3660046105fa565b610106565b60405190151581526020015b60405180910390f35b61006f61009236600461065b565b610179565b3480156100a357600080fd5b506100b76100b23660046106eb565b610469565b60405190815260200161007b565b61006f6100d3366004610715565b6104dd565b3480156100e457600080fd5b506100ee61100481565b6040516001600160a01b03909116815260200161007b565b60405162b56c1960e41b815260009061100490630b56c1909061012f90869086906004016107c1565b6020604051808303816000875af115801561014e573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061017291906107e3565b9392505050565b60006001600160a01b038716156102ab576001600160a01b0387166323b872dd33306101a5888a610805565b6040516001600160e01b031960e086901b1681526001600160a01b03938416600482015292909116602483015260448201526064016020604051808303816000875af11580156101f9573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061021d91906107e3565b506001600160a01b03871663095ea7b361100461023a8789610805565b6040516001600160e01b031960e085901b1681526001600160a01b03909216600483015260248201526044016020604051808303816000875af1158015610285573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102a991906107e3565b505b6001600160a01b0387161561039257604051636eb1769f60e11b815230600482015261100460248201526000906001600160a01b0389169063dd62ed3e90604401602060405180830381865afa158015610309573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061032d919061082b565b90506103398587610805565b811461038c5760405162461bcd60e51b815260206004820181905260248201527f616c6c6f77616e6365206e6f7420657175616c20616d6f756e74202b2066656560448201526064015b60405180910390fd5b506103ea565b61039c8486610805565b34146103ea5760405162461bcd60e51b815260206004820181905260248201527f6d73672e76616c7565206e6f7420657175616c20616d6f756e74202b206665656044820152606401610383565b60405163160d7c7360e01b81526110049063160d7c7390349061041b908b908b908b908b908b908b90600401610844565b60206040518083038185885af1158015610439573d6000803e3d6000fd5b50505050506040513d601f19601f8201168201806040525081019061045e91906107e3565b979650505050505050565b604051638fefb76560e01b81526001600160a01b03831660048201526024810182905260009061100490638fefb76590604401602060405180830381865afa1580156104b9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610172919061082b565b60405163c79a6b7b60e01b81526000906110049063c79a6b7b9061050b908890889088908890600401610899565b6020604051808303816000875af115801561052a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061054e91906107e3565b95945050505050565b634e487b7160e01b600052604160045260246000fd5b600082601f83011261057e57600080fd5b813567ffffffffffffffff8082111561059957610599610557565b604051601f8301601f19908116603f011681019082821181831017156105c1576105c1610557565b816040528381528660208588010111156105da57600080fd5b836020870160208301376000602085830101528094505050505092915050565b6000806040838503121561060d57600080fd5b823567ffffffffffffffff81111561062457600080fd5b6106308582860161056d565b95602094909401359450505050565b80356001600160a01b038116811461065657600080fd5b919050565b60008060008060008060c0878903121561067457600080fd5b61067d8761063f565b9550602087013567ffffffffffffffff8082111561069a57600080fd5b6106a68a838b0161056d565b965060408901359550606089013594506080890135935060a08901359150808211156106d157600080fd5b506106de89828a0161056d565b9150509295509295509295565b600080604083850312156106fe57600080fd5b6107078361063f565b946020939093013593505050565b6000806000806080858703121561072b57600080fd5b843567ffffffffffffffff81111561074257600080fd5b61074e8782880161056d565b945050602085013592506107646040860161063f565b9396929550929360600135925050565b6000815180845260005b8181101561079a5760208185018101518683018201520161077e565b818111156107ac576000602083870101525b50601f01601f19169290920160200192915050565b6040815260006107d46040830185610774565b90508260208301529392505050565b6000602082840312156107f557600080fd5b8151801515811461017257600080fd5b6000821982111561082657634e487b7160e01b600052601160045260246000fd5b500190565b60006020828403121561083d57600080fd5b5051919050565b6001600160a01b038716815260c06020820181905260009061086890830188610774565b86604084015285606084015284608084015282810360a084015261088c8185610774565b9998505050505050505050565b6080815260006108ac6080830187610774565b6020830195909552506001600160a01b0392909216604083015260609091015291905056fea2646970667358221220f4444562a8459561fa76aca43b6ebed5628ad0b0cf48c5991b5a424436da2a6d64736f6c634300080a0033", } // CrossChainTestABI is the input ABI used to generate the binding from. diff --git a/x/crosschain/precompile/cancel_send_to_external.go b/x/crosschain/precompile/cancel_send_to_external.go index af17e061..f3e3b7bb 100644 --- a/x/crosschain/precompile/cancel_send_to_external.go +++ b/x/crosschain/precompile/cancel_send_to_external.go @@ -14,12 +14,14 @@ import ( evmtypes "github.com/functionx/fx-core/v8/x/evm/types" ) +// Deprecated: please use BridgeCallMethod type CancelSendToExternalMethod struct { *Keeper Method abi.Method Event abi.Event } +// Deprecated: please use BridgeCallMethod func NewCancelSendToExternalMethod(keeper *Keeper) *CancelSendToExternalMethod { return &CancelSendToExternalMethod{ Keeper: keeper, diff --git a/x/crosschain/precompile/crosschain.go b/x/crosschain/precompile/crosschain.go index 6197659c..e38e2e8c 100644 --- a/x/crosschain/precompile/crosschain.go +++ b/x/crosschain/precompile/crosschain.go @@ -16,12 +16,14 @@ import ( evmtypes "github.com/functionx/fx-core/v8/x/evm/types" ) +// Deprecated: please use BridgeCallMethod type CrossChainMethod struct { *Keeper abi.Method abi.Event } +// Deprecated: please use BridgeCallMethod func NewCrossChainMethod(keeper *Keeper) *CrossChainMethod { return &CrossChainMethod{ Keeper: keeper, diff --git a/x/crosschain/precompile/increase_bridge_fee.go b/x/crosschain/precompile/increase_bridge_fee.go index 391aa19a..bb319521 100644 --- a/x/crosschain/precompile/increase_bridge_fee.go +++ b/x/crosschain/precompile/increase_bridge_fee.go @@ -17,12 +17,14 @@ import ( evmtypes "github.com/functionx/fx-core/v8/x/evm/types" ) +// Deprecated: please use BridgeCallMethod type IncreaseBridgeFeeMethod struct { *Keeper abi.Method abi.Event } +// Deprecated: please use BridgeCallMethod func NewIncreaseBridgeFeeMethod(keeper *Keeper) *IncreaseBridgeFeeMethod { return &IncreaseBridgeFeeMethod{ Keeper: keeper, diff --git a/x/crosschain/types/legacy.pb.go b/x/crosschain/types/legacy.pb.go index 91a9f1b6..d8173bb2 100644 --- a/x/crosschain/types/legacy.pb.go +++ b/x/crosschain/types/legacy.pb.go @@ -585,6 +585,223 @@ func (m *MsgRequestBatchResponse) GetBatchNonce() uint64 { return 0 } +// Deprecated: Do not use. +type MsgIncreaseBridgeFee struct { + ChainName string `protobuf:"bytes,1,opt,name=chain_name,json=chainName,proto3" json:"chain_name,omitempty"` + TransactionId uint64 `protobuf:"varint,2,opt,name=transaction_id,json=transactionId,proto3" json:"transaction_id,omitempty"` + Sender string `protobuf:"bytes,3,opt,name=sender,proto3" json:"sender,omitempty"` + AddBridgeFee types.Coin `protobuf:"bytes,4,opt,name=add_bridge_fee,json=addBridgeFee,proto3" json:"add_bridge_fee"` +} + +func (m *MsgIncreaseBridgeFee) Reset() { *m = MsgIncreaseBridgeFee{} } +func (m *MsgIncreaseBridgeFee) String() string { return proto.CompactTextString(m) } +func (*MsgIncreaseBridgeFee) ProtoMessage() {} +func (*MsgIncreaseBridgeFee) Descriptor() ([]byte, []int) { + return fileDescriptor_26110436a8f12cc1, []int{10} +} +func (m *MsgIncreaseBridgeFee) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *MsgIncreaseBridgeFee) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_MsgIncreaseBridgeFee.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *MsgIncreaseBridgeFee) XXX_Merge(src proto.Message) { + xxx_messageInfo_MsgIncreaseBridgeFee.Merge(m, src) +} +func (m *MsgIncreaseBridgeFee) XXX_Size() int { + return m.Size() +} +func (m *MsgIncreaseBridgeFee) XXX_DiscardUnknown() { + xxx_messageInfo_MsgIncreaseBridgeFee.DiscardUnknown(m) +} + +var xxx_messageInfo_MsgIncreaseBridgeFee proto.InternalMessageInfo + +func (m *MsgIncreaseBridgeFee) GetChainName() string { + if m != nil { + return m.ChainName + } + return "" +} + +func (m *MsgIncreaseBridgeFee) GetTransactionId() uint64 { + if m != nil { + return m.TransactionId + } + return 0 +} + +func (m *MsgIncreaseBridgeFee) GetSender() string { + if m != nil { + return m.Sender + } + return "" +} + +func (m *MsgIncreaseBridgeFee) GetAddBridgeFee() types.Coin { + if m != nil { + return m.AddBridgeFee + } + return types.Coin{} +} + +// Deprecated: Do not use. +type MsgIncreaseBridgeFeeResponse struct { +} + +func (m *MsgIncreaseBridgeFeeResponse) Reset() { *m = MsgIncreaseBridgeFeeResponse{} } +func (m *MsgIncreaseBridgeFeeResponse) String() string { return proto.CompactTextString(m) } +func (*MsgIncreaseBridgeFeeResponse) ProtoMessage() {} +func (*MsgIncreaseBridgeFeeResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_26110436a8f12cc1, []int{11} +} +func (m *MsgIncreaseBridgeFeeResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *MsgIncreaseBridgeFeeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_MsgIncreaseBridgeFeeResponse.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *MsgIncreaseBridgeFeeResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_MsgIncreaseBridgeFeeResponse.Merge(m, src) +} +func (m *MsgIncreaseBridgeFeeResponse) XXX_Size() int { + return m.Size() +} +func (m *MsgIncreaseBridgeFeeResponse) XXX_DiscardUnknown() { + xxx_messageInfo_MsgIncreaseBridgeFeeResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_MsgIncreaseBridgeFeeResponse proto.InternalMessageInfo + +// Deprecated: Do not use. +type MsgOracleSetConfirmResponse struct { +} + +func (m *MsgOracleSetConfirmResponse) Reset() { *m = MsgOracleSetConfirmResponse{} } +func (m *MsgOracleSetConfirmResponse) String() string { return proto.CompactTextString(m) } +func (*MsgOracleSetConfirmResponse) ProtoMessage() {} +func (*MsgOracleSetConfirmResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_26110436a8f12cc1, []int{12} +} +func (m *MsgOracleSetConfirmResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *MsgOracleSetConfirmResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_MsgOracleSetConfirmResponse.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *MsgOracleSetConfirmResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_MsgOracleSetConfirmResponse.Merge(m, src) +} +func (m *MsgOracleSetConfirmResponse) XXX_Size() int { + return m.Size() +} +func (m *MsgOracleSetConfirmResponse) XXX_DiscardUnknown() { + xxx_messageInfo_MsgOracleSetConfirmResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_MsgOracleSetConfirmResponse proto.InternalMessageInfo + +// Deprecated: Do not use. +type MsgConfirmBatchResponse struct { +} + +func (m *MsgConfirmBatchResponse) Reset() { *m = MsgConfirmBatchResponse{} } +func (m *MsgConfirmBatchResponse) String() string { return proto.CompactTextString(m) } +func (*MsgConfirmBatchResponse) ProtoMessage() {} +func (*MsgConfirmBatchResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_26110436a8f12cc1, []int{13} +} +func (m *MsgConfirmBatchResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *MsgConfirmBatchResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_MsgConfirmBatchResponse.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *MsgConfirmBatchResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_MsgConfirmBatchResponse.Merge(m, src) +} +func (m *MsgConfirmBatchResponse) XXX_Size() int { + return m.Size() +} +func (m *MsgConfirmBatchResponse) XXX_DiscardUnknown() { + xxx_messageInfo_MsgConfirmBatchResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_MsgConfirmBatchResponse proto.InternalMessageInfo + +// Deprecated: Do not use. +type MsgBridgeCallConfirmResponse struct { +} + +func (m *MsgBridgeCallConfirmResponse) Reset() { *m = MsgBridgeCallConfirmResponse{} } +func (m *MsgBridgeCallConfirmResponse) String() string { return proto.CompactTextString(m) } +func (*MsgBridgeCallConfirmResponse) ProtoMessage() {} +func (*MsgBridgeCallConfirmResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_26110436a8f12cc1, []int{14} +} +func (m *MsgBridgeCallConfirmResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *MsgBridgeCallConfirmResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_MsgBridgeCallConfirmResponse.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *MsgBridgeCallConfirmResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_MsgBridgeCallConfirmResponse.Merge(m, src) +} +func (m *MsgBridgeCallConfirmResponse) XXX_Size() int { + return m.Size() +} +func (m *MsgBridgeCallConfirmResponse) XXX_DiscardUnknown() { + xxx_messageInfo_MsgBridgeCallConfirmResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_MsgBridgeCallConfirmResponse proto.InternalMessageInfo + func init() { proto.RegisterType((*InitCrossChainParamsProposal)(nil), "fx.gravity.crosschain.v1.InitCrossChainParamsProposal") proto.RegisterType((*UpdateChainOraclesProposal)(nil), "fx.gravity.crosschain.v1.UpdateChainOraclesProposal") @@ -596,6 +813,11 @@ func init() { proto.RegisterType((*MsgCancelSendToExternalResponse)(nil), "fx.gravity.crosschain.v1.MsgCancelSendToExternalResponse") proto.RegisterType((*MsgRequestBatch)(nil), "fx.gravity.crosschain.v1.MsgRequestBatch") proto.RegisterType((*MsgRequestBatchResponse)(nil), "fx.gravity.crosschain.v1.MsgRequestBatchResponse") + proto.RegisterType((*MsgIncreaseBridgeFee)(nil), "fx.gravity.crosschain.v1.MsgIncreaseBridgeFee") + proto.RegisterType((*MsgIncreaseBridgeFeeResponse)(nil), "fx.gravity.crosschain.v1.MsgIncreaseBridgeFeeResponse") + proto.RegisterType((*MsgOracleSetConfirmResponse)(nil), "fx.gravity.crosschain.v1.MsgOracleSetConfirmResponse") + proto.RegisterType((*MsgConfirmBatchResponse)(nil), "fx.gravity.crosschain.v1.MsgConfirmBatchResponse") + proto.RegisterType((*MsgBridgeCallConfirmResponse)(nil), "fx.gravity.crosschain.v1.MsgBridgeCallConfirmResponse") } func init() { @@ -603,64 +825,70 @@ func init() { } var fileDescriptor_26110436a8f12cc1 = []byte{ - // 903 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x55, 0xbf, 0x6f, 0x23, 0x45, - 0x14, 0xf6, 0xc6, 0x89, 0x43, 0x9e, 0xef, 0x12, 0x6e, 0x09, 0x9c, 0x63, 0x1d, 0xb6, 0x59, 0x25, - 0x22, 0x04, 0x6e, 0x57, 0x09, 0x12, 0x3f, 0x22, 0x84, 0x94, 0x04, 0x22, 0x59, 0x22, 0x77, 0x27, - 0x73, 0x34, 0x34, 0xd6, 0x78, 0xf7, 0x79, 0x3d, 0xc2, 0x3b, 0x63, 0x66, 0xc6, 0x96, 0xd3, 0x22, - 0x21, 0x21, 0x2a, 0x4a, 0x24, 0x9a, 0xf4, 0x48, 0xe8, 0x0a, 0x5a, 0x0a, 0xba, 0x2b, 0x28, 0x4e, - 0x54, 0x88, 0xe2, 0x84, 0x92, 0xe2, 0xf8, 0x33, 0xd0, 0xce, 0xcc, 0xe6, 0x36, 0x2b, 0xac, 0x24, - 0xba, 0xc6, 0xda, 0xf7, 0xbd, 0x37, 0x6f, 0xbe, 0xef, 0x7b, 0x6f, 0xbd, 0xb0, 0xd1, 0x9f, 0x06, - 0xb1, 0x20, 0x13, 0xaa, 0x8e, 0x83, 0x50, 0x70, 0x29, 0xc3, 0x01, 0xa1, 0x2c, 0x98, 0x6c, 0x07, - 0x43, 0x8c, 0x49, 0x78, 0xec, 0x8f, 0x04, 0x57, 0xdc, 0xad, 0xf5, 0xa7, 0xbe, 0x2d, 0xf3, 0x9f, - 0x97, 0xf9, 0x93, 0xed, 0xfa, 0xfa, 0xcc, 0x06, 0xea, 0x78, 0x84, 0xd2, 0x9c, 0xaf, 0xaf, 0xc6, - 0x3c, 0xe6, 0xfa, 0x31, 0x48, 0x9f, 0x2c, 0xba, 0x16, 0x73, 0x1e, 0x0f, 0x31, 0xd0, 0x51, 0x6f, - 0xdc, 0x0f, 0x08, 0xb3, 0x17, 0xd6, 0x1b, 0x21, 0x97, 0x09, 0x97, 0x41, 0x8f, 0x48, 0x0c, 0x26, - 0xdb, 0x3d, 0x54, 0x64, 0x3b, 0x08, 0x39, 0x65, 0x36, 0x7f, 0xdb, 0xe6, 0x13, 0x19, 0xa7, 0x77, - 0x25, 0x32, 0xce, 0x7a, 0x9a, 0x44, 0xd7, 0x5c, 0x66, 0x02, 0x9b, 0xba, 0x45, 0x12, 0xca, 0x78, - 0xa0, 0x7f, 0x0d, 0xe4, 0xfd, 0xe6, 0xc0, 0x9d, 0x36, 0xa3, 0xea, 0x20, 0x65, 0x7e, 0x90, 0x32, - 0x7f, 0x40, 0x04, 0x49, 0xe4, 0x03, 0xc1, 0x47, 0x5c, 0x92, 0xa1, 0xbb, 0x0a, 0x0b, 0x8a, 0xaa, - 0x21, 0xd6, 0x9c, 0x96, 0xb3, 0xb9, 0xd4, 0x31, 0x81, 0xdb, 0x82, 0x6a, 0x84, 0x32, 0x14, 0x74, - 0xa4, 0x28, 0x67, 0xb5, 0x39, 0x9d, 0xcb, 0x43, 0xee, 0x07, 0x50, 0x19, 0xe9, 0x4e, 0xb5, 0x72, - 0xcb, 0xd9, 0xac, 0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38, 0xff, 0x9c, 0x36, 0x9c, 0x1f, 0xce, 0x1a, 0xa5, 0x27, - 0x67, 0x8d, 0xd2, 0x5f, 0x67, 0x8d, 0xd2, 0x97, 0x41, 0x4c, 0xd5, 0x60, 0xdc, 0xf3, 0x43, 0x9e, - 0x04, 0xfd, 0x31, 0xd3, 0xeb, 0x33, 0x0d, 0xfa, 0xd3, 0xbb, 0x21, 0x17, 0x18, 0x4c, 0xf3, 0x5f, - 0x79, 0xfd, 0x89, 0xef, 0x55, 0xf4, 0xb7, 0xf4, 0xdd, 0xff, 0x02, 0x00, 0x00, 0xff, 0xff, 0xef, - 0x46, 0x6c, 0xb8, 0x4c, 0x08, 0x00, 0x00, + // 1005 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x56, 0xcf, 0x6f, 0x1b, 0x45, + 0x14, 0xf6, 0xda, 0xf9, 0x41, 0xc6, 0x69, 0x42, 0x97, 0x40, 0x9d, 0x90, 0xda, 0xe9, 0x2a, 0x11, + 0x21, 0xd0, 0x5d, 0x39, 0x48, 0xfc, 0xb0, 0x10, 0x52, 0x6c, 0x1a, 0xc9, 0x12, 0x6e, 0x2b, 0xb7, + 0x5c, 0xb8, 0x58, 0xe3, 0x9d, 0xe7, 0xf5, 0x0a, 0xef, 0x8c, 0x99, 0x19, 0x5b, 0xce, 0x15, 0x09, + 0x09, 0x71, 0xe2, 0x88, 0xc4, 0x25, 0x77, 0x24, 0xd4, 0x03, 0x57, 0x0e, 0xdc, 0x7a, 0xe0, 0x50, + 0x71, 0x42, 0x1c, 0x2a, 0x94, 0x1c, 0xca, 0x89, 0xbf, 0x01, 0xed, 0xcc, 0x6c, 0xba, 0xde, 0xc6, + 0x24, 0x51, 0x2f, 0xd6, 0xce, 0xf7, 0xde, 0xbc, 0xf9, 0xbe, 0xef, 0xbd, 0xb1, 0x06, 0xed, 0xf4, + 0x26, 0x5e, 0xc0, 0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0xb4, 0x49, 0x52, 0xbe, 0xe7, 0xa7, 0x7c, 0xbf, + 0xa0, 0xf9, 0xfb, 0x19, 0xa9, 0xce, 0xb4, 0xd4, 0xf3, 0x18, 0x39, 0xb7, 0x50, 0x65, 0x46, 0x28, + 0x91, 0xed, 0xfc, 0x96, 0x47, 0xab, 0x2d, 0x11, 0xb4, 0xe1, 0xab, 0x11, 0x08, 0x59, 0xc7, 0xd2, + 0xef, 0xcf, 0x9c, 0x8c, 0x35, 0x34, 0x4f, 0x80, 0xb2, 0xc8, 0x10, 0xd7, 0x0b, 0xfb, 0x33, 0x54, + 0x8c, 0x42, 0x1a, 0x46, 0xa3, 0x48, 0xf5, 0x58, 0x11, 0xaf, 0xbf, 0x13, 0x37, 0xf2, 0xaf, 0xa7, + 0x95, 0xd7, 0x75, 0xab, 0x05, 0xf9, 0xd2, 0x0d, 0x99, 0x17, 0x61, 0xd9, 0x77, 0x9b, 0x54, 0xfe, + 0xf1, 0xcb, 0x6d, 0x64, 0x66, 0xa0, 0x49, 0x65, 0x1b, 0x99, 0xfd, 0x71, 0xc3, 0x2b, 0xa8, 0xd8, + 0x03, 0xe8, 0x70, 0xf0, 0x21, 0x1c, 0x27, 0xff, 0x6c, 0xa8, 0x07, 0xd0, 0xd6, 0xc8, 0x05, 0x13, + 0x61, 0x1f, 0xa2, 0x57, 0xe2, 0xb1, 0x52, 0x54, 0x16, 0xae, 0x4e, 0x65, 0x31, 0xde, 0x7c, 0x08, + 0x50, 0xdb, 0xcb, 0xd8, 0xbd, 0x31, 0x6d, 0x77, 0xda, 0x2f, 0xa7, 0xa6, 0x66, 0x22, 0x0d, 0x9d, + 0x4d, 0x55, 0x05, 0x15, 0xbb, 0x31, 0xd0, 0xa1, 0x8c, 0xfa, 0x60, 0x06, 0x02, 0x29, 0xe8, 0x6e, + 0x8c, 0x38, 0xff, 0x5a, 0x68, 0xad, 0x25, 0x82, 0x26, 0xf5, 0x39, 0x60, 0x01, 0xf5, 0x19, 0x93, + 0x6f, 0x65, 0x75, 0xbe, 0x38, 0x6c, 0xf9, 0xff, 0x1f, 0xb6, 0xc2, 0x54, 0x2b, 0xef, 0xa0, 0x15, + 0x4c, 0x48, 0xe7, 0xea, 0x77, 0x73, 0x19, 0x13, 0x72, 0x46, 0xb2, 0x56, 0xcd, 0xb8, 0x54, 0x99, + 0x76, 0xe9, 0x05, 0x55, 0x25, 0xcb, 0x71, 0xd0, 0xe6, 0x79, 0x91, 0xc4, 0xb1, 0x5a, 0xbe, 0x64, + 0x39, 0xb7, 0xd0, 0x9b, 0x2d, 0x11, 0xe8, 0x3f, 0xb1, 0x07, 0x20, 0x1b, 0x8c, 0xf6, 0x42, 0x1e, + 0x4d, 0xa5, 0xdc, 0xd4, 0xf7, 0x50, 0x47, 0xa6, 0x3c, 0x57, 0x61, 0x7d, 0x8a, 0xae, 0xde, 0xc0, + 0x83, 0xc1, 0x39, 0x25, 0xea, 0xcd, 0xc7, 0x27, 0x65, 0xeb, 0xc9, 0x49, 0xd9, 0xfa, 0xfb, 0xa4, + 0x6c, 0x7d, 0x7f, 0x5a, 0xce, 0x3d, 0x39, 0x2d, 0xe7, 0xfe, 0x3c, 0x2d, 0xe7, 0xbe, 0xf0, 0x82, + 0x50, 0xf6, 0x47, 0x5d, 0xd7, 0x67, 0x91, 0xd7, 0x1b, 0x51, 0x65, 0xe6, 0xc4, 0xeb, 0x4d, 0x6e, + 0xfb, 0x8c, 0x83, 0x37, 0x49, 0x3f, 0xb0, 0xd4, 0xeb, 0xaa, 0xbb, 0xa0, 0x9e, 0x31, 0xef, 0xfd, + 0x17, 0x00, 0x00, 0xff, 0xff, 0x8b, 0x04, 0x10, 0x1c, 0xc7, 0x09, 0x00, 0x00, } func (m *InitCrossChainParamsProposal) Marshal() (dAtA []byte, err error) { @@ -1136,81 +1364,225 @@ func (m *MsgRequestBatchResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) return len(dAtA) - i, nil } -func encodeVarintLegacy(dAtA []byte, offset int, v uint64) int { - offset -= sovLegacy(v) - base := offset - for v >= 1<<7 { - dAtA[offset] = uint8(v&0x7f | 0x80) - v >>= 7 - offset++ +func (m *MsgIncreaseBridgeFee) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err } - dAtA[offset] = uint8(v) - return base + return dAtA[:n], nil } -func (m *InitCrossChainParamsProposal) Size() (n int) { - if m == nil { - return 0 - } + +func (m *MsgIncreaseBridgeFee) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *MsgIncreaseBridgeFee) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i var l int _ = l - l = len(m.Title) - if l > 0 { - n += 1 + l + sovLegacy(uint64(l)) + { + size, err := m.AddBridgeFee.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintLegacy(dAtA, i, uint64(size)) } - l = len(m.Description) - if l > 0 { - n += 1 + l + sovLegacy(uint64(l)) + i-- + dAtA[i] = 0x22 + if len(m.Sender) > 0 { + i -= len(m.Sender) + copy(dAtA[i:], m.Sender) + i = encodeVarintLegacy(dAtA, i, uint64(len(m.Sender))) + i-- + dAtA[i] = 0x1a } - if m.Params != nil { - l = m.Params.Size() - n += 1 + l + sovLegacy(uint64(l)) + if m.TransactionId != 0 { + i = encodeVarintLegacy(dAtA, i, uint64(m.TransactionId)) + i-- + dAtA[i] = 0x10 } - l = len(m.ChainName) - if l > 0 { - n += 1 + l + sovLegacy(uint64(l)) + if len(m.ChainName) > 0 { + i -= len(m.ChainName) + copy(dAtA[i:], m.ChainName) + i = encodeVarintLegacy(dAtA, i, uint64(len(m.ChainName))) + i-- + dAtA[i] = 0xa } - return n + return len(dAtA) - i, nil } -func (m *UpdateChainOraclesProposal) Size() (n int) { - if m == nil { - return 0 +func (m *MsgIncreaseBridgeFeeResponse) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err } + return dAtA[:n], nil +} + +func (m *MsgIncreaseBridgeFeeResponse) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *MsgIncreaseBridgeFeeResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i var l int _ = l - l = len(m.Title) - if l > 0 { - n += 1 + l + sovLegacy(uint64(l)) - } - l = len(m.Description) - if l > 0 { - n += 1 + l + sovLegacy(uint64(l)) - } - if len(m.Oracles) > 0 { - for _, s := range m.Oracles { - l = len(s) - n += 1 + l + sovLegacy(uint64(l)) - } - } - l = len(m.ChainName) - if l > 0 { - n += 1 + l + sovLegacy(uint64(l)) - } - return n + return len(dAtA) - i, nil } -func (m *MsgSetOrchestratorAddress) Size() (n int) { - if m == nil { - return 0 +func (m *MsgOracleSetConfirmResponse) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err } + return dAtA[:n], nil +} + +func (m *MsgOracleSetConfirmResponse) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *MsgOracleSetConfirmResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i var l int _ = l - l = len(m.OracleAddress) - if l > 0 { - n += 1 + l + sovLegacy(uint64(l)) - } - l = len(m.BridgerAddress) - if l > 0 { + return len(dAtA) - i, nil +} + +func (m *MsgConfirmBatchResponse) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *MsgConfirmBatchResponse) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *MsgConfirmBatchResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + return len(dAtA) - i, nil +} + +func (m *MsgBridgeCallConfirmResponse) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *MsgBridgeCallConfirmResponse) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *MsgBridgeCallConfirmResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + return len(dAtA) - i, nil +} + +func encodeVarintLegacy(dAtA []byte, offset int, v uint64) int { + offset -= sovLegacy(v) + base := offset + for v >= 1<<7 { + dAtA[offset] = uint8(v&0x7f | 0x80) + v >>= 7 + offset++ + } + dAtA[offset] = uint8(v) + return base +} +func (m *InitCrossChainParamsProposal) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Title) + if l > 0 { + n += 1 + l + sovLegacy(uint64(l)) + } + l = len(m.Description) + if l > 0 { + n += 1 + l + sovLegacy(uint64(l)) + } + if m.Params != nil { + l = m.Params.Size() + n += 1 + l + sovLegacy(uint64(l)) + } + l = len(m.ChainName) + if l > 0 { + n += 1 + l + sovLegacy(uint64(l)) + } + return n +} + +func (m *UpdateChainOraclesProposal) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Title) + if l > 0 { + n += 1 + l + sovLegacy(uint64(l)) + } + l = len(m.Description) + if l > 0 { + n += 1 + l + sovLegacy(uint64(l)) + } + if len(m.Oracles) > 0 { + for _, s := range m.Oracles { + l = len(s) + n += 1 + l + sovLegacy(uint64(l)) + } + } + l = len(m.ChainName) + if l > 0 { + n += 1 + l + sovLegacy(uint64(l)) + } + return n +} + +func (m *MsgSetOrchestratorAddress) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.OracleAddress) + if l > 0 { + n += 1 + l + sovLegacy(uint64(l)) + } + l = len(m.BridgerAddress) + if l > 0 { n += 1 + l + sovLegacy(uint64(l)) } l = len(m.ExternalAddress) @@ -1352,6 +1724,64 @@ func (m *MsgRequestBatchResponse) Size() (n int) { return n } +func (m *MsgIncreaseBridgeFee) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.ChainName) + if l > 0 { + n += 1 + l + sovLegacy(uint64(l)) + } + if m.TransactionId != 0 { + n += 1 + sovLegacy(uint64(m.TransactionId)) + } + l = len(m.Sender) + if l > 0 { + n += 1 + l + sovLegacy(uint64(l)) + } + l = m.AddBridgeFee.Size() + n += 1 + l + sovLegacy(uint64(l)) + return n +} + +func (m *MsgIncreaseBridgeFeeResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + return n +} + +func (m *MsgOracleSetConfirmResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + return n +} + +func (m *MsgConfirmBatchResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + return n +} + +func (m *MsgBridgeCallConfirmResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + return n +} + func sovLegacy(x uint64) (n int) { return (math_bits.Len64(x|1) + 6) / 7 } @@ -2855,6 +3285,372 @@ func (m *MsgRequestBatchResponse) Unmarshal(dAtA []byte) error { } return nil } +func (m *MsgIncreaseBridgeFee) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowLegacy + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: MsgIncreaseBridgeFee: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: MsgIncreaseBridgeFee: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ChainName", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowLegacy + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthLegacy + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthLegacy + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.ChainName = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field TransactionId", wireType) + } + m.TransactionId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowLegacy + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.TransactionId |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Sender", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowLegacy + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthLegacy + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthLegacy + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Sender = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field AddBridgeFee", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowLegacy + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthLegacy + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthLegacy + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if err := m.AddBridgeFee.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipLegacy(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthLegacy + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *MsgIncreaseBridgeFeeResponse) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowLegacy + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: MsgIncreaseBridgeFeeResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: MsgIncreaseBridgeFeeResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := skipLegacy(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthLegacy + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *MsgOracleSetConfirmResponse) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowLegacy + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: MsgOracleSetConfirmResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: MsgOracleSetConfirmResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := skipLegacy(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthLegacy + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *MsgConfirmBatchResponse) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowLegacy + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: MsgConfirmBatchResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: MsgConfirmBatchResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := skipLegacy(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthLegacy + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *MsgBridgeCallConfirmResponse) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowLegacy + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: MsgBridgeCallConfirmResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: MsgBridgeCallConfirmResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := skipLegacy(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthLegacy + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} func skipLegacy(dAtA []byte) (n int, err error) { l := len(dAtA) iNdEx := 0 diff --git a/x/crosschain/types/tx.pb.go b/x/crosschain/types/tx.pb.go index 5ef5be5f..63d194f5 100644 --- a/x/crosschain/types/tx.pb.go +++ b/x/crosschain/types/tx.pb.go @@ -695,42 +695,6 @@ func (m *MsgOracleSetConfirm) GetChainName() string { return "" } -type MsgOracleSetConfirmResponse struct { -} - -func (m *MsgOracleSetConfirmResponse) Reset() { *m = MsgOracleSetConfirmResponse{} } -func (m *MsgOracleSetConfirmResponse) String() string { return proto.CompactTextString(m) } -func (*MsgOracleSetConfirmResponse) ProtoMessage() {} -func (*MsgOracleSetConfirmResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_62b4a7c0d32dd67f, []int{13} -} -func (m *MsgOracleSetConfirmResponse) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *MsgOracleSetConfirmResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_MsgOracleSetConfirmResponse.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil - } -} -func (m *MsgOracleSetConfirmResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_MsgOracleSetConfirmResponse.Merge(m, src) -} -func (m *MsgOracleSetConfirmResponse) XXX_Size() int { - return m.Size() -} -func (m *MsgOracleSetConfirmResponse) XXX_DiscardUnknown() { - xxx_messageInfo_MsgOracleSetConfirmResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_MsgOracleSetConfirmResponse proto.InternalMessageInfo - type MsgOracleSetUpdatedClaim struct { EventNonce uint64 `protobuf:"varint,1,opt,name=event_nonce,json=eventNonce,proto3" json:"event_nonce,omitempty"` BlockHeight uint64 `protobuf:"varint,2,opt,name=block_height,json=blockHeight,proto3" json:"block_height,omitempty"` @@ -744,7 +708,7 @@ func (m *MsgOracleSetUpdatedClaim) Reset() { *m = MsgOracleSetUpdatedCla func (m *MsgOracleSetUpdatedClaim) String() string { return proto.CompactTextString(m) } func (*MsgOracleSetUpdatedClaim) ProtoMessage() {} func (*MsgOracleSetUpdatedClaim) Descriptor() ([]byte, []int) { - return fileDescriptor_62b4a7c0d32dd67f, []int{14} + return fileDescriptor_62b4a7c0d32dd67f, []int{13} } func (m *MsgOracleSetUpdatedClaim) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -815,42 +779,6 @@ func (m *MsgOracleSetUpdatedClaim) GetChainName() string { return "" } -type MsgOracleSetUpdatedClaimResponse struct { -} - -func (m *MsgOracleSetUpdatedClaimResponse) Reset() { *m = MsgOracleSetUpdatedClaimResponse{} } -func (m *MsgOracleSetUpdatedClaimResponse) String() string { return proto.CompactTextString(m) } -func (*MsgOracleSetUpdatedClaimResponse) ProtoMessage() {} -func (*MsgOracleSetUpdatedClaimResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_62b4a7c0d32dd67f, []int{15} -} -func (m *MsgOracleSetUpdatedClaimResponse) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *MsgOracleSetUpdatedClaimResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_MsgOracleSetUpdatedClaimResponse.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil - } -} -func (m *MsgOracleSetUpdatedClaimResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_MsgOracleSetUpdatedClaimResponse.Merge(m, src) -} -func (m *MsgOracleSetUpdatedClaimResponse) XXX_Size() int { - return m.Size() -} -func (m *MsgOracleSetUpdatedClaimResponse) XXX_DiscardUnknown() { - xxx_messageInfo_MsgOracleSetUpdatedClaimResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_MsgOracleSetUpdatedClaimResponse proto.InternalMessageInfo - type MsgSendToFxClaim struct { EventNonce uint64 `protobuf:"varint,1,opt,name=event_nonce,json=eventNonce,proto3" json:"event_nonce,omitempty"` BlockHeight uint64 `protobuf:"varint,2,opt,name=block_height,json=blockHeight,proto3" json:"block_height,omitempty"` @@ -867,7 +795,7 @@ func (m *MsgSendToFxClaim) Reset() { *m = MsgSendToFxClaim{} } func (m *MsgSendToFxClaim) String() string { return proto.CompactTextString(m) } func (*MsgSendToFxClaim) ProtoMessage() {} func (*MsgSendToFxClaim) Descriptor() ([]byte, []int) { - return fileDescriptor_62b4a7c0d32dd67f, []int{16} + return fileDescriptor_62b4a7c0d32dd67f, []int{14} } func (m *MsgSendToFxClaim) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -952,42 +880,6 @@ func (m *MsgSendToFxClaim) GetChainName() string { return "" } -type MsgSendToFxClaimResponse struct { -} - -func (m *MsgSendToFxClaimResponse) Reset() { *m = MsgSendToFxClaimResponse{} } -func (m *MsgSendToFxClaimResponse) String() string { return proto.CompactTextString(m) } -func (*MsgSendToFxClaimResponse) ProtoMessage() {} -func (*MsgSendToFxClaimResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_62b4a7c0d32dd67f, []int{17} -} -func (m *MsgSendToFxClaimResponse) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *MsgSendToFxClaimResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_MsgSendToFxClaimResponse.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil - } -} -func (m *MsgSendToFxClaimResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_MsgSendToFxClaimResponse.Merge(m, src) -} -func (m *MsgSendToFxClaimResponse) XXX_Size() int { - return m.Size() -} -func (m *MsgSendToFxClaimResponse) XXX_DiscardUnknown() { - xxx_messageInfo_MsgSendToFxClaimResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_MsgSendToFxClaimResponse proto.InternalMessageInfo - type MsgBridgeCallClaim struct { ChainName string `protobuf:"bytes,1,opt,name=chain_name,json=chainName,proto3" json:"chain_name,omitempty"` BridgerAddress string `protobuf:"bytes,2,opt,name=bridger_address,json=bridgerAddress,proto3" json:"bridger_address,omitempty"` @@ -1008,7 +900,7 @@ func (m *MsgBridgeCallClaim) Reset() { *m = MsgBridgeCallClaim{} } func (m *MsgBridgeCallClaim) String() string { return proto.CompactTextString(m) } func (*MsgBridgeCallClaim) ProtoMessage() {} func (*MsgBridgeCallClaim) Descriptor() ([]byte, []int) { - return fileDescriptor_62b4a7c0d32dd67f, []int{18} + return fileDescriptor_62b4a7c0d32dd67f, []int{15} } func (m *MsgBridgeCallClaim) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1114,42 +1006,6 @@ func (m *MsgBridgeCallClaim) GetTxOrigin() string { return "" } -type MsgBridgeCallClaimResponse struct { -} - -func (m *MsgBridgeCallClaimResponse) Reset() { *m = MsgBridgeCallClaimResponse{} } -func (m *MsgBridgeCallClaimResponse) String() string { return proto.CompactTextString(m) } -func (*MsgBridgeCallClaimResponse) ProtoMessage() {} -func (*MsgBridgeCallClaimResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_62b4a7c0d32dd67f, []int{19} -} -func (m *MsgBridgeCallClaimResponse) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *MsgBridgeCallClaimResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_MsgBridgeCallClaimResponse.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil - } -} -func (m *MsgBridgeCallClaimResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_MsgBridgeCallClaimResponse.Merge(m, src) -} -func (m *MsgBridgeCallClaimResponse) XXX_Size() int { - return m.Size() -} -func (m *MsgBridgeCallClaimResponse) XXX_DiscardUnknown() { - xxx_messageInfo_MsgBridgeCallClaimResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_MsgBridgeCallClaimResponse proto.InternalMessageInfo - type MsgBridgeCallResultClaim struct { ChainName string `protobuf:"bytes,1,opt,name=chain_name,json=chainName,proto3" json:"chain_name,omitempty"` BridgerAddress string `protobuf:"bytes,2,opt,name=bridger_address,json=bridgerAddress,proto3" json:"bridger_address,omitempty"` @@ -1165,7 +1021,7 @@ func (m *MsgBridgeCallResultClaim) Reset() { *m = MsgBridgeCallResultCla func (m *MsgBridgeCallResultClaim) String() string { return proto.CompactTextString(m) } func (*MsgBridgeCallResultClaim) ProtoMessage() {} func (*MsgBridgeCallResultClaim) Descriptor() ([]byte, []int) { - return fileDescriptor_62b4a7c0d32dd67f, []int{20} + return fileDescriptor_62b4a7c0d32dd67f, []int{16} } func (m *MsgBridgeCallResultClaim) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1250,42 +1106,6 @@ func (m *MsgBridgeCallResultClaim) GetCause() string { return "" } -type MsgBridgeCallResultClaimResponse struct { -} - -func (m *MsgBridgeCallResultClaimResponse) Reset() { *m = MsgBridgeCallResultClaimResponse{} } -func (m *MsgBridgeCallResultClaimResponse) String() string { return proto.CompactTextString(m) } -func (*MsgBridgeCallResultClaimResponse) ProtoMessage() {} -func (*MsgBridgeCallResultClaimResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_62b4a7c0d32dd67f, []int{21} -} -func (m *MsgBridgeCallResultClaimResponse) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *MsgBridgeCallResultClaimResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_MsgBridgeCallResultClaimResponse.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil - } -} -func (m *MsgBridgeCallResultClaimResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_MsgBridgeCallResultClaimResponse.Merge(m, src) -} -func (m *MsgBridgeCallResultClaimResponse) XXX_Size() int { - return m.Size() -} -func (m *MsgBridgeCallResultClaimResponse) XXX_DiscardUnknown() { - xxx_messageInfo_MsgBridgeCallResultClaimResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_MsgBridgeCallResultClaimResponse proto.InternalMessageInfo - type MsgConfirmBatch struct { Nonce uint64 `protobuf:"varint,1,opt,name=nonce,proto3" json:"nonce,omitempty"` TokenContract string `protobuf:"bytes,2,opt,name=token_contract,json=tokenContract,proto3" json:"token_contract,omitempty"` @@ -1299,7 +1119,7 @@ func (m *MsgConfirmBatch) Reset() { *m = MsgConfirmBatch{} } func (m *MsgConfirmBatch) String() string { return proto.CompactTextString(m) } func (*MsgConfirmBatch) ProtoMessage() {} func (*MsgConfirmBatch) Descriptor() ([]byte, []int) { - return fileDescriptor_62b4a7c0d32dd67f, []int{22} + return fileDescriptor_62b4a7c0d32dd67f, []int{17} } func (m *MsgConfirmBatch) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1370,42 +1190,6 @@ func (m *MsgConfirmBatch) GetChainName() string { return "" } -type MsgConfirmBatchResponse struct { -} - -func (m *MsgConfirmBatchResponse) Reset() { *m = MsgConfirmBatchResponse{} } -func (m *MsgConfirmBatchResponse) String() string { return proto.CompactTextString(m) } -func (*MsgConfirmBatchResponse) ProtoMessage() {} -func (*MsgConfirmBatchResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_62b4a7c0d32dd67f, []int{23} -} -func (m *MsgConfirmBatchResponse) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *MsgConfirmBatchResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_MsgConfirmBatchResponse.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil - } -} -func (m *MsgConfirmBatchResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_MsgConfirmBatchResponse.Merge(m, src) -} -func (m *MsgConfirmBatchResponse) XXX_Size() int { - return m.Size() -} -func (m *MsgConfirmBatchResponse) XXX_DiscardUnknown() { - xxx_messageInfo_MsgConfirmBatchResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_MsgConfirmBatchResponse proto.InternalMessageInfo - type MsgSendToExternalClaim struct { EventNonce uint64 `protobuf:"varint,1,opt,name=event_nonce,json=eventNonce,proto3" json:"event_nonce,omitempty"` BlockHeight uint64 `protobuf:"varint,2,opt,name=block_height,json=blockHeight,proto3" json:"block_height,omitempty"` @@ -1419,7 +1203,7 @@ func (m *MsgSendToExternalClaim) Reset() { *m = MsgSendToExternalClaim{} func (m *MsgSendToExternalClaim) String() string { return proto.CompactTextString(m) } func (*MsgSendToExternalClaim) ProtoMessage() {} func (*MsgSendToExternalClaim) Descriptor() ([]byte, []int) { - return fileDescriptor_62b4a7c0d32dd67f, []int{24} + return fileDescriptor_62b4a7c0d32dd67f, []int{18} } func (m *MsgSendToExternalClaim) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1490,42 +1274,6 @@ func (m *MsgSendToExternalClaim) GetChainName() string { return "" } -type MsgSendToExternalClaimResponse struct { -} - -func (m *MsgSendToExternalClaimResponse) Reset() { *m = MsgSendToExternalClaimResponse{} } -func (m *MsgSendToExternalClaimResponse) String() string { return proto.CompactTextString(m) } -func (*MsgSendToExternalClaimResponse) ProtoMessage() {} -func (*MsgSendToExternalClaimResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_62b4a7c0d32dd67f, []int{25} -} -func (m *MsgSendToExternalClaimResponse) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *MsgSendToExternalClaimResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_MsgSendToExternalClaimResponse.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil - } -} -func (m *MsgSendToExternalClaimResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_MsgSendToExternalClaimResponse.Merge(m, src) -} -func (m *MsgSendToExternalClaimResponse) XXX_Size() int { - return m.Size() -} -func (m *MsgSendToExternalClaimResponse) XXX_DiscardUnknown() { - xxx_messageInfo_MsgSendToExternalClaimResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_MsgSendToExternalClaimResponse proto.InternalMessageInfo - type MsgBridgeTokenClaim struct { EventNonce uint64 `protobuf:"varint,1,opt,name=event_nonce,json=eventNonce,proto3" json:"event_nonce,omitempty"` BlockHeight uint64 `protobuf:"varint,2,opt,name=block_height,json=blockHeight,proto3" json:"block_height,omitempty"` @@ -1542,7 +1290,7 @@ func (m *MsgBridgeTokenClaim) Reset() { *m = MsgBridgeTokenClaim{} } func (m *MsgBridgeTokenClaim) String() string { return proto.CompactTextString(m) } func (*MsgBridgeTokenClaim) ProtoMessage() {} func (*MsgBridgeTokenClaim) Descriptor() ([]byte, []int) { - return fileDescriptor_62b4a7c0d32dd67f, []int{26} + return fileDescriptor_62b4a7c0d32dd67f, []int{19} } func (m *MsgBridgeTokenClaim) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1634,42 +1382,6 @@ func (m *MsgBridgeTokenClaim) GetChainName() string { return "" } -type MsgBridgeTokenClaimResponse struct { -} - -func (m *MsgBridgeTokenClaimResponse) Reset() { *m = MsgBridgeTokenClaimResponse{} } -func (m *MsgBridgeTokenClaimResponse) String() string { return proto.CompactTextString(m) } -func (*MsgBridgeTokenClaimResponse) ProtoMessage() {} -func (*MsgBridgeTokenClaimResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_62b4a7c0d32dd67f, []int{27} -} -func (m *MsgBridgeTokenClaimResponse) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *MsgBridgeTokenClaimResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_MsgBridgeTokenClaimResponse.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil - } -} -func (m *MsgBridgeTokenClaimResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_MsgBridgeTokenClaimResponse.Merge(m, src) -} -func (m *MsgBridgeTokenClaimResponse) XXX_Size() int { - return m.Size() -} -func (m *MsgBridgeTokenClaimResponse) XXX_DiscardUnknown() { - xxx_messageInfo_MsgBridgeTokenClaimResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_MsgBridgeTokenClaimResponse proto.InternalMessageInfo - type MsgBridgeCallConfirm struct { ChainName string `protobuf:"bytes,1,opt,name=chain_name,json=chainName,proto3" json:"chain_name,omitempty"` BridgerAddress string `protobuf:"bytes,2,opt,name=bridger_address,json=bridgerAddress,proto3" json:"bridger_address,omitempty"` @@ -1682,7 +1394,7 @@ func (m *MsgBridgeCallConfirm) Reset() { *m = MsgBridgeCallConfirm{} } func (m *MsgBridgeCallConfirm) String() string { return proto.CompactTextString(m) } func (*MsgBridgeCallConfirm) ProtoMessage() {} func (*MsgBridgeCallConfirm) Descriptor() ([]byte, []int) { - return fileDescriptor_62b4a7c0d32dd67f, []int{28} + return fileDescriptor_62b4a7c0d32dd67f, []int{20} } func (m *MsgBridgeCallConfirm) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1746,42 +1458,6 @@ func (m *MsgBridgeCallConfirm) GetSignature() string { return "" } -type MsgBridgeCallConfirmResponse struct { -} - -func (m *MsgBridgeCallConfirmResponse) Reset() { *m = MsgBridgeCallConfirmResponse{} } -func (m *MsgBridgeCallConfirmResponse) String() string { return proto.CompactTextString(m) } -func (*MsgBridgeCallConfirmResponse) ProtoMessage() {} -func (*MsgBridgeCallConfirmResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_62b4a7c0d32dd67f, []int{29} -} -func (m *MsgBridgeCallConfirmResponse) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *MsgBridgeCallConfirmResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_MsgBridgeCallConfirmResponse.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil - } -} -func (m *MsgBridgeCallConfirmResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_MsgBridgeCallConfirmResponse.Merge(m, src) -} -func (m *MsgBridgeCallConfirmResponse) XXX_Size() int { - return m.Size() -} -func (m *MsgBridgeCallConfirmResponse) XXX_DiscardUnknown() { - xxx_messageInfo_MsgBridgeCallConfirmResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_MsgBridgeCallConfirmResponse proto.InternalMessageInfo - type MsgUpdateParams struct { ChainName string `protobuf:"bytes,1,opt,name=chain_name,json=chainName,proto3" json:"chain_name,omitempty"` // authority is the address of the governance account. @@ -1796,7 +1472,7 @@ func (m *MsgUpdateParams) Reset() { *m = MsgUpdateParams{} } func (m *MsgUpdateParams) String() string { return proto.CompactTextString(m) } func (*MsgUpdateParams) ProtoMessage() {} func (*MsgUpdateParams) Descriptor() ([]byte, []int) { - return fileDescriptor_62b4a7c0d32dd67f, []int{30} + return fileDescriptor_62b4a7c0d32dd67f, []int{21} } func (m *MsgUpdateParams) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1853,7 +1529,7 @@ func (m *MsgUpdateParamsResponse) Reset() { *m = MsgUpdateParamsResponse func (m *MsgUpdateParamsResponse) String() string { return proto.CompactTextString(m) } func (*MsgUpdateParamsResponse) ProtoMessage() {} func (*MsgUpdateParamsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_62b4a7c0d32dd67f, []int{31} + return fileDescriptor_62b4a7c0d32dd67f, []int{22} } func (m *MsgUpdateParamsResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1882,25 +1558,25 @@ func (m *MsgUpdateParamsResponse) XXX_DiscardUnknown() { var xxx_messageInfo_MsgUpdateParamsResponse proto.InternalMessageInfo -type MsgIncreaseBridgeFee struct { - ChainName string `protobuf:"bytes,1,opt,name=chain_name,json=chainName,proto3" json:"chain_name,omitempty"` - TransactionId uint64 `protobuf:"varint,2,opt,name=transaction_id,json=transactionId,proto3" json:"transaction_id,omitempty"` - Sender string `protobuf:"bytes,3,opt,name=sender,proto3" json:"sender,omitempty"` - AddBridgeFee types.Coin `protobuf:"bytes,4,opt,name=add_bridge_fee,json=addBridgeFee,proto3" json:"add_bridge_fee"` +type MsgUpdateChainOracles struct { + ChainName string `protobuf:"bytes,1,opt,name=chain_name,json=chainName,proto3" json:"chain_name,omitempty"` + // authority is the address of the governance account. + Authority string `protobuf:"bytes,2,opt,name=authority,proto3" json:"authority,omitempty"` + Oracles []string `protobuf:"bytes,3,rep,name=oracles,proto3" json:"oracles,omitempty"` } -func (m *MsgIncreaseBridgeFee) Reset() { *m = MsgIncreaseBridgeFee{} } -func (m *MsgIncreaseBridgeFee) String() string { return proto.CompactTextString(m) } -func (*MsgIncreaseBridgeFee) ProtoMessage() {} -func (*MsgIncreaseBridgeFee) Descriptor() ([]byte, []int) { - return fileDescriptor_62b4a7c0d32dd67f, []int{32} +func (m *MsgUpdateChainOracles) Reset() { *m = MsgUpdateChainOracles{} } +func (m *MsgUpdateChainOracles) String() string { return proto.CompactTextString(m) } +func (*MsgUpdateChainOracles) ProtoMessage() {} +func (*MsgUpdateChainOracles) Descriptor() ([]byte, []int) { + return fileDescriptor_62b4a7c0d32dd67f, []int{23} } -func (m *MsgIncreaseBridgeFee) XXX_Unmarshal(b []byte) error { +func (m *MsgUpdateChainOracles) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *MsgIncreaseBridgeFee) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *MsgUpdateChainOracles) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_MsgIncreaseBridgeFee.Marshal(b, m, deterministic) + return xxx_messageInfo_MsgUpdateChainOracles.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -1910,151 +1586,47 @@ func (m *MsgIncreaseBridgeFee) XXX_Marshal(b []byte, deterministic bool) ([]byte return b[:n], nil } } -func (m *MsgIncreaseBridgeFee) XXX_Merge(src proto.Message) { - xxx_messageInfo_MsgIncreaseBridgeFee.Merge(m, src) +func (m *MsgUpdateChainOracles) XXX_Merge(src proto.Message) { + xxx_messageInfo_MsgUpdateChainOracles.Merge(m, src) } -func (m *MsgIncreaseBridgeFee) XXX_Size() int { +func (m *MsgUpdateChainOracles) XXX_Size() int { return m.Size() } -func (m *MsgIncreaseBridgeFee) XXX_DiscardUnknown() { - xxx_messageInfo_MsgIncreaseBridgeFee.DiscardUnknown(m) +func (m *MsgUpdateChainOracles) XXX_DiscardUnknown() { + xxx_messageInfo_MsgUpdateChainOracles.DiscardUnknown(m) } -var xxx_messageInfo_MsgIncreaseBridgeFee proto.InternalMessageInfo +var xxx_messageInfo_MsgUpdateChainOracles proto.InternalMessageInfo -func (m *MsgIncreaseBridgeFee) GetChainName() string { +func (m *MsgUpdateChainOracles) GetChainName() string { if m != nil { return m.ChainName } return "" } -func (m *MsgIncreaseBridgeFee) GetTransactionId() uint64 { - if m != nil { - return m.TransactionId - } - return 0 -} - -func (m *MsgIncreaseBridgeFee) GetSender() string { +func (m *MsgUpdateChainOracles) GetAuthority() string { if m != nil { - return m.Sender + return m.Authority } return "" } -func (m *MsgIncreaseBridgeFee) GetAddBridgeFee() types.Coin { +func (m *MsgUpdateChainOracles) GetOracles() []string { if m != nil { - return m.AddBridgeFee + return m.Oracles } - return types.Coin{} + return nil } -type MsgIncreaseBridgeFeeResponse struct { +type MsgUpdateChainOraclesResponse struct { } -func (m *MsgIncreaseBridgeFeeResponse) Reset() { *m = MsgIncreaseBridgeFeeResponse{} } -func (m *MsgIncreaseBridgeFeeResponse) String() string { return proto.CompactTextString(m) } -func (*MsgIncreaseBridgeFeeResponse) ProtoMessage() {} -func (*MsgIncreaseBridgeFeeResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_62b4a7c0d32dd67f, []int{33} -} -func (m *MsgIncreaseBridgeFeeResponse) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *MsgIncreaseBridgeFeeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_MsgIncreaseBridgeFeeResponse.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil - } -} -func (m *MsgIncreaseBridgeFeeResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_MsgIncreaseBridgeFeeResponse.Merge(m, src) -} -func (m *MsgIncreaseBridgeFeeResponse) XXX_Size() int { - return m.Size() -} -func (m *MsgIncreaseBridgeFeeResponse) XXX_DiscardUnknown() { - xxx_messageInfo_MsgIncreaseBridgeFeeResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_MsgIncreaseBridgeFeeResponse proto.InternalMessageInfo - -type MsgUpdateChainOracles struct { - ChainName string `protobuf:"bytes,1,opt,name=chain_name,json=chainName,proto3" json:"chain_name,omitempty"` - // authority is the address of the governance account. - Authority string `protobuf:"bytes,2,opt,name=authority,proto3" json:"authority,omitempty"` - Oracles []string `protobuf:"bytes,3,rep,name=oracles,proto3" json:"oracles,omitempty"` -} - -func (m *MsgUpdateChainOracles) Reset() { *m = MsgUpdateChainOracles{} } -func (m *MsgUpdateChainOracles) String() string { return proto.CompactTextString(m) } -func (*MsgUpdateChainOracles) ProtoMessage() {} -func (*MsgUpdateChainOracles) Descriptor() ([]byte, []int) { - return fileDescriptor_62b4a7c0d32dd67f, []int{34} -} -func (m *MsgUpdateChainOracles) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *MsgUpdateChainOracles) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_MsgUpdateChainOracles.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil - } -} -func (m *MsgUpdateChainOracles) XXX_Merge(src proto.Message) { - xxx_messageInfo_MsgUpdateChainOracles.Merge(m, src) -} -func (m *MsgUpdateChainOracles) XXX_Size() int { - return m.Size() -} -func (m *MsgUpdateChainOracles) XXX_DiscardUnknown() { - xxx_messageInfo_MsgUpdateChainOracles.DiscardUnknown(m) -} - -var xxx_messageInfo_MsgUpdateChainOracles proto.InternalMessageInfo - -func (m *MsgUpdateChainOracles) GetChainName() string { - if m != nil { - return m.ChainName - } - return "" -} - -func (m *MsgUpdateChainOracles) GetAuthority() string { - if m != nil { - return m.Authority - } - return "" -} - -func (m *MsgUpdateChainOracles) GetOracles() []string { - if m != nil { - return m.Oracles - } - return nil -} - -type MsgUpdateChainOraclesResponse struct { -} - -func (m *MsgUpdateChainOraclesResponse) Reset() { *m = MsgUpdateChainOraclesResponse{} } -func (m *MsgUpdateChainOraclesResponse) String() string { return proto.CompactTextString(m) } -func (*MsgUpdateChainOraclesResponse) ProtoMessage() {} -func (*MsgUpdateChainOraclesResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_62b4a7c0d32dd67f, []int{35} +func (m *MsgUpdateChainOraclesResponse) Reset() { *m = MsgUpdateChainOraclesResponse{} } +func (m *MsgUpdateChainOraclesResponse) String() string { return proto.CompactTextString(m) } +func (*MsgUpdateChainOraclesResponse) ProtoMessage() {} +func (*MsgUpdateChainOraclesResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_62b4a7c0d32dd67f, []int{24} } func (m *MsgUpdateChainOraclesResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2098,7 +1670,7 @@ func (m *MsgBridgeCall) Reset() { *m = MsgBridgeCall{} } func (m *MsgBridgeCall) String() string { return proto.CompactTextString(m) } func (*MsgBridgeCall) ProtoMessage() {} func (*MsgBridgeCall) Descriptor() ([]byte, []int) { - return fileDescriptor_62b4a7c0d32dd67f, []int{36} + return fileDescriptor_62b4a7c0d32dd67f, []int{25} } func (m *MsgBridgeCall) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2183,7 +1755,7 @@ func (m *MsgBridgeCallResponse) Reset() { *m = MsgBridgeCallResponse{} } func (m *MsgBridgeCallResponse) String() string { return proto.CompactTextString(m) } func (*MsgBridgeCallResponse) ProtoMessage() {} func (*MsgBridgeCallResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_62b4a7c0d32dd67f, []int{37} + return fileDescriptor_62b4a7c0d32dd67f, []int{26} } func (m *MsgBridgeCallResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2222,7 +1794,7 @@ func (m *MsgClaim) Reset() { *m = MsgClaim{} } func (m *MsgClaim) String() string { return proto.CompactTextString(m) } func (*MsgClaim) ProtoMessage() {} func (*MsgClaim) Descriptor() ([]byte, []int) { - return fileDescriptor_62b4a7c0d32dd67f, []int{38} + return fileDescriptor_62b4a7c0d32dd67f, []int{27} } func (m *MsgClaim) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2279,7 +1851,7 @@ func (m *MsgClaimResponse) Reset() { *m = MsgClaimResponse{} } func (m *MsgClaimResponse) String() string { return proto.CompactTextString(m) } func (*MsgClaimResponse) ProtoMessage() {} func (*MsgClaimResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_62b4a7c0d32dd67f, []int{39} + return fileDescriptor_62b4a7c0d32dd67f, []int{28} } func (m *MsgClaimResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2318,7 +1890,7 @@ func (m *MsgConfirm) Reset() { *m = MsgConfirm{} } func (m *MsgConfirm) String() string { return proto.CompactTextString(m) } func (*MsgConfirm) ProtoMessage() {} func (*MsgConfirm) Descriptor() ([]byte, []int) { - return fileDescriptor_62b4a7c0d32dd67f, []int{40} + return fileDescriptor_62b4a7c0d32dd67f, []int{29} } func (m *MsgConfirm) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2375,7 +1947,7 @@ func (m *MsgConfirmResponse) Reset() { *m = MsgConfirmResponse{} } func (m *MsgConfirmResponse) String() string { return proto.CompactTextString(m) } func (*MsgConfirmResponse) ProtoMessage() {} func (*MsgConfirmResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_62b4a7c0d32dd67f, []int{41} + return fileDescriptor_62b4a7c0d32dd67f, []int{30} } func (m *MsgConfirmResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2418,27 +1990,16 @@ func init() { proto.RegisterType((*MsgWithdrawReward)(nil), "fx.gravity.crosschain.v1.MsgWithdrawReward") proto.RegisterType((*MsgWithdrawRewardResponse)(nil), "fx.gravity.crosschain.v1.MsgWithdrawRewardResponse") proto.RegisterType((*MsgOracleSetConfirm)(nil), "fx.gravity.crosschain.v1.MsgOracleSetConfirm") - proto.RegisterType((*MsgOracleSetConfirmResponse)(nil), "fx.gravity.crosschain.v1.MsgOracleSetConfirmResponse") proto.RegisterType((*MsgOracleSetUpdatedClaim)(nil), "fx.gravity.crosschain.v1.MsgOracleSetUpdatedClaim") - proto.RegisterType((*MsgOracleSetUpdatedClaimResponse)(nil), "fx.gravity.crosschain.v1.MsgOracleSetUpdatedClaimResponse") proto.RegisterType((*MsgSendToFxClaim)(nil), "fx.gravity.crosschain.v1.MsgSendToFxClaim") - proto.RegisterType((*MsgSendToFxClaimResponse)(nil), "fx.gravity.crosschain.v1.MsgSendToFxClaimResponse") proto.RegisterType((*MsgBridgeCallClaim)(nil), "fx.gravity.crosschain.v1.MsgBridgeCallClaim") - proto.RegisterType((*MsgBridgeCallClaimResponse)(nil), "fx.gravity.crosschain.v1.MsgBridgeCallClaimResponse") proto.RegisterType((*MsgBridgeCallResultClaim)(nil), "fx.gravity.crosschain.v1.MsgBridgeCallResultClaim") - proto.RegisterType((*MsgBridgeCallResultClaimResponse)(nil), "fx.gravity.crosschain.v1.MsgBridgeCallResultClaimResponse") proto.RegisterType((*MsgConfirmBatch)(nil), "fx.gravity.crosschain.v1.MsgConfirmBatch") - proto.RegisterType((*MsgConfirmBatchResponse)(nil), "fx.gravity.crosschain.v1.MsgConfirmBatchResponse") proto.RegisterType((*MsgSendToExternalClaim)(nil), "fx.gravity.crosschain.v1.MsgSendToExternalClaim") - proto.RegisterType((*MsgSendToExternalClaimResponse)(nil), "fx.gravity.crosschain.v1.MsgSendToExternalClaimResponse") proto.RegisterType((*MsgBridgeTokenClaim)(nil), "fx.gravity.crosschain.v1.MsgBridgeTokenClaim") - proto.RegisterType((*MsgBridgeTokenClaimResponse)(nil), "fx.gravity.crosschain.v1.MsgBridgeTokenClaimResponse") proto.RegisterType((*MsgBridgeCallConfirm)(nil), "fx.gravity.crosschain.v1.MsgBridgeCallConfirm") - proto.RegisterType((*MsgBridgeCallConfirmResponse)(nil), "fx.gravity.crosschain.v1.MsgBridgeCallConfirmResponse") proto.RegisterType((*MsgUpdateParams)(nil), "fx.gravity.crosschain.v1.MsgUpdateParams") proto.RegisterType((*MsgUpdateParamsResponse)(nil), "fx.gravity.crosschain.v1.MsgUpdateParamsResponse") - proto.RegisterType((*MsgIncreaseBridgeFee)(nil), "fx.gravity.crosschain.v1.MsgIncreaseBridgeFee") - proto.RegisterType((*MsgIncreaseBridgeFeeResponse)(nil), "fx.gravity.crosschain.v1.MsgIncreaseBridgeFeeResponse") proto.RegisterType((*MsgUpdateChainOracles)(nil), "fx.gravity.crosschain.v1.MsgUpdateChainOracles") proto.RegisterType((*MsgUpdateChainOraclesResponse)(nil), "fx.gravity.crosschain.v1.MsgUpdateChainOraclesResponse") proto.RegisterType((*MsgBridgeCall)(nil), "fx.gravity.crosschain.v1.MsgBridgeCall") @@ -2452,139 +2013,131 @@ func init() { func init() { proto.RegisterFile("fx/gravity/crosschain/v1/tx.proto", fileDescriptor_62b4a7c0d32dd67f) } var fileDescriptor_62b4a7c0d32dd67f = []byte{ - // 2102 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x5a, 0xcd, 0x6f, 0x1c, 0x49, - 0x15, 0xf7, 0x7c, 0xdb, 0xcf, 0xdf, 0xbd, 0x4e, 0x32, 0x9e, 0x24, 0x63, 0x67, 0xd8, 0x68, 0x9d, - 0x64, 0x3d, 0x1d, 0x27, 0x4b, 0x02, 0xc3, 0x87, 0x64, 0x9b, 0xac, 0xd6, 0x07, 0x67, 0xd1, 0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 0xc3, 0x17, - 0xf5, 0x99, 0x4f, 0x5e, 0xd4, 0x67, 0xfe, 0xf4, 0xa2, 0x3e, 0xf3, 0x5d, 0x3d, 0x42, 0x5c, 0x8f, - 0x06, 0x84, 0xbf, 0x79, 0x86, 0xfa, 0xd1, 0x70, 0xdb, 0xa0, 0x2e, 0xd6, 0x87, 0xd1, 0xff, 0x0c, - 0xc1, 0x59, 0x6c, 0xb7, 0xcc, 0x49, 0xcb, 0xfd, 0xff, 0x06, 0x00, 0x00, 0xff, 0xff, 0x3e, 0x13, - 0x7b, 0xb1, 0xe9, 0x21, 0x00, 0x00, + // 1983 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x59, 0xcd, 0x6f, 0xdc, 0xc6, + 0x15, 0x17, 0xf7, 0x53, 0x7a, 0xb2, 0xbe, 0x18, 0xd9, 0x5e, 0xad, 0x63, 0x49, 0x66, 0x63, 0x44, + 0xb6, 0x23, 0xd2, 0xb2, 0x53, 0xbb, 0xdd, 0x7e, 0x00, 0x92, 0xea, 0x20, 0x3a, 0xc8, 0x29, 0xd6, + 0x49, 0x8b, 0xf6, 0xb2, 0x98, 0x25, 0x47, 0x5c, 0x42, 0x24, 0x47, 0x25, 0x67, 0x95, 0x15, 0x0a, + 0x14, 0x45, 0xd1, 0x53, 0x2f, 0x0d, 0xd0, 0xfe, 0x11, 0x45, 0x4f, 0x46, 0xa1, 0x6b, 0x51, 0xb4, + 0x97, 0x06, 0x39, 0x05, 0x39, 0xf4, 0xeb, 0x90, 0x16, 0x36, 0x50, 0x03, 0xbd, 0x17, 0x3d, 0x15, + 0x28, 0x38, 0x33, 0xe4, 0x92, 0x5c, 0x72, 0xb9, 0x42, 0xd7, 0x46, 0x2e, 0xf6, 0xce, 0xe3, 0x6f, + 0xe6, 0xbd, 0xf7, 0x7b, 0x33, 0xef, 0xbd, 0x19, 0xc1, 0x8d, 0xa3, 0x81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, + 0xf5, 0x99, 0xef, 0x6b, 0xb1, 0xc6, 0xf5, 0xa8, 0xef, 0xea, 0xd4, 0x22, 0xee, 0x40, 0x3b, 0x1a, + 0x6c, 0xeb, 0xc4, 0xc3, 0xda, 0x20, 0xfe, 0x07, 0x6e, 0xd6, 0xc5, 0x76, 0x6b, 0xac, 0x69, 0xb9, + 0xff, 0xbf, 0x00, 0x00, 0x00, 0xff, 0xff, 0xf0, 0x82, 0xf2, 0x7d, 0xbd, 0x1f, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -2621,6 +2174,7 @@ type MsgClient interface { // UpdateParams defines a governance operation for updating the x/crosschain // module parameters. The authority is hard-coded to the x/gov module account. UpdateParams(ctx context.Context, in *MsgUpdateParams, opts ...grpc.CallOption) (*MsgUpdateParamsResponse, error) + // Deprecated: do not use IncreaseBridgeFee(ctx context.Context, in *MsgIncreaseBridgeFee, opts ...grpc.CallOption) (*MsgIncreaseBridgeFeeResponse, error) UpdateChainOracles(ctx context.Context, in *MsgUpdateChainOracles, opts ...grpc.CallOption) (*MsgUpdateChainOraclesResponse, error) Claim(ctx context.Context, in *MsgClaim, opts ...grpc.CallOption) (*MsgClaimResponse, error) @@ -2821,6 +2375,7 @@ type MsgServer interface { // UpdateParams defines a governance operation for updating the x/crosschain // module parameters. The authority is hard-coded to the x/gov module account. UpdateParams(context.Context, *MsgUpdateParams) (*MsgUpdateParamsResponse, error) + // Deprecated: do not use IncreaseBridgeFee(context.Context, *MsgIncreaseBridgeFee) (*MsgIncreaseBridgeFeeResponse, error) UpdateChainOracles(context.Context, *MsgUpdateChainOracles) (*MsgUpdateChainOraclesResponse, error) Claim(context.Context, *MsgClaim) (*MsgClaimResponse, error) @@ -3766,29 +3321,6 @@ func (m *MsgOracleSetConfirm) MarshalToSizedBuffer(dAtA []byte) (int, error) { return len(dAtA) - i, nil } -func (m *MsgOracleSetConfirmResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *MsgOracleSetConfirmResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *MsgOracleSetConfirmResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - return len(dAtA) - i, nil -} - func (m *MsgOracleSetUpdatedClaim) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) @@ -3855,29 +3387,6 @@ func (m *MsgOracleSetUpdatedClaim) MarshalToSizedBuffer(dAtA []byte) (int, error return len(dAtA) - i, nil } -func (m *MsgOracleSetUpdatedClaimResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *MsgOracleSetUpdatedClaimResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *MsgOracleSetUpdatedClaimResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - return len(dAtA) - i, nil -} - func (m *MsgSendToFxClaim) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) @@ -3963,29 +3472,6 @@ func (m *MsgSendToFxClaim) MarshalToSizedBuffer(dAtA []byte) (int, error) { return len(dAtA) - i, nil } -func (m *MsgSendToFxClaimResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *MsgSendToFxClaimResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *MsgSendToFxClaimResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - return len(dAtA) - i, nil -} - func (m *MsgBridgeCallClaim) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) @@ -4108,29 +3594,6 @@ func (m *MsgBridgeCallClaim) MarshalToSizedBuffer(dAtA []byte) (int, error) { return len(dAtA) - i, nil } -func (m *MsgBridgeCallClaimResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *MsgBridgeCallClaimResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *MsgBridgeCallClaimResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - return len(dAtA) - i, nil -} - func (m *MsgBridgeCallResultClaim) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) @@ -4207,29 +3670,6 @@ func (m *MsgBridgeCallResultClaim) MarshalToSizedBuffer(dAtA []byte) (int, error return len(dAtA) - i, nil } -func (m *MsgBridgeCallResultClaimResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *MsgBridgeCallResultClaimResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *MsgBridgeCallResultClaimResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - return len(dAtA) - i, nil -} - func (m *MsgConfirmBatch) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) @@ -4293,29 +3733,6 @@ func (m *MsgConfirmBatch) MarshalToSizedBuffer(dAtA []byte) (int, error) { return len(dAtA) - i, nil } -func (m *MsgConfirmBatchResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *MsgConfirmBatchResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *MsgConfirmBatchResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - return len(dAtA) - i, nil -} - func (m *MsgSendToExternalClaim) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) @@ -4375,29 +3792,6 @@ func (m *MsgSendToExternalClaim) MarshalToSizedBuffer(dAtA []byte) (int, error) return len(dAtA) - i, nil } -func (m *MsgSendToExternalClaimResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *MsgSendToExternalClaimResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *MsgSendToExternalClaimResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - return len(dAtA) - i, nil -} - func (m *MsgBridgeTokenClaim) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) @@ -4478,29 +3872,6 @@ func (m *MsgBridgeTokenClaim) MarshalToSizedBuffer(dAtA []byte) (int, error) { return len(dAtA) - i, nil } -func (m *MsgBridgeTokenClaimResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *MsgBridgeTokenClaimResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *MsgBridgeTokenClaimResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - return len(dAtA) - i, nil -} - func (m *MsgBridgeCallConfirm) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) @@ -4557,7 +3928,7 @@ func (m *MsgBridgeCallConfirm) MarshalToSizedBuffer(dAtA []byte) (int, error) { return len(dAtA) - i, nil } -func (m *MsgBridgeCallConfirmResponse) Marshal() (dAtA []byte, err error) { +func (m *MsgUpdateParams) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -4567,30 +3938,7 @@ func (m *MsgBridgeCallConfirmResponse) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *MsgBridgeCallConfirmResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *MsgBridgeCallConfirmResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - return len(dAtA) - i, nil -} - -func (m *MsgUpdateParams) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *MsgUpdateParams) MarshalTo(dAtA []byte) (int, error) { +func (m *MsgUpdateParams) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } @@ -4650,81 +3998,6 @@ func (m *MsgUpdateParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) return len(dAtA) - i, nil } -func (m *MsgIncreaseBridgeFee) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *MsgIncreaseBridgeFee) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *MsgIncreaseBridgeFee) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - { - size, err := m.AddBridgeFee.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintTx(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x22 - if len(m.Sender) > 0 { - i -= len(m.Sender) - copy(dAtA[i:], m.Sender) - i = encodeVarintTx(dAtA, i, uint64(len(m.Sender))) - i-- - dAtA[i] = 0x1a - } - if m.TransactionId != 0 { - i = encodeVarintTx(dAtA, i, uint64(m.TransactionId)) - i-- - dAtA[i] = 0x10 - } - if len(m.ChainName) > 0 { - i -= len(m.ChainName) - copy(dAtA[i:], m.ChainName) - i = encodeVarintTx(dAtA, i, uint64(len(m.ChainName))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *MsgIncreaseBridgeFeeResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *MsgIncreaseBridgeFeeResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *MsgIncreaseBridgeFeeResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - return len(dAtA) - i, nil -} - func (m *MsgUpdateChainOracles) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) @@ -5269,15 +4542,6 @@ func (m *MsgOracleSetConfirm) Size() (n int) { return n } -func (m *MsgOracleSetConfirmResponse) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - return n -} - func (m *MsgOracleSetUpdatedClaim) Size() (n int) { if m == nil { return 0 @@ -5310,15 +4574,6 @@ func (m *MsgOracleSetUpdatedClaim) Size() (n int) { return n } -func (m *MsgOracleSetUpdatedClaimResponse) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - return n -} - func (m *MsgSendToFxClaim) Size() (n int) { if m == nil { return 0 @@ -5360,15 +4615,6 @@ func (m *MsgSendToFxClaim) Size() (n int) { return n } -func (m *MsgSendToFxClaimResponse) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - return n -} - func (m *MsgBridgeCallClaim) Size() (n int) { if m == nil { return 0 @@ -5430,15 +4676,6 @@ func (m *MsgBridgeCallClaim) Size() (n int) { return n } -func (m *MsgBridgeCallClaimResponse) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - return n -} - func (m *MsgBridgeCallResultClaim) Size() (n int) { if m == nil { return 0 @@ -5476,15 +4713,6 @@ func (m *MsgBridgeCallResultClaim) Size() (n int) { return n } -func (m *MsgBridgeCallResultClaimResponse) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - return n -} - func (m *MsgConfirmBatch) Size() (n int) { if m == nil { return 0 @@ -5517,15 +4745,6 @@ func (m *MsgConfirmBatch) Size() (n int) { return n } -func (m *MsgConfirmBatchResponse) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - return n -} - func (m *MsgSendToExternalClaim) Size() (n int) { if m == nil { return 0 @@ -5556,15 +4775,6 @@ func (m *MsgSendToExternalClaim) Size() (n int) { return n } -func (m *MsgSendToExternalClaimResponse) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - return n -} - func (m *MsgBridgeTokenClaim) Size() (n int) { if m == nil { return 0 @@ -5607,15 +4817,6 @@ func (m *MsgBridgeTokenClaim) Size() (n int) { return n } -func (m *MsgBridgeTokenClaimResponse) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - return n -} - func (m *MsgBridgeCallConfirm) Size() (n int) { if m == nil { return 0 @@ -5644,15 +4845,6 @@ func (m *MsgBridgeCallConfirm) Size() (n int) { return n } -func (m *MsgBridgeCallConfirmResponse) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - return n -} - func (m *MsgUpdateParams) Size() (n int) { if m == nil { return 0 @@ -5681,37 +4873,6 @@ func (m *MsgUpdateParamsResponse) Size() (n int) { return n } -func (m *MsgIncreaseBridgeFee) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.ChainName) - if l > 0 { - n += 1 + l + sovTx(uint64(l)) - } - if m.TransactionId != 0 { - n += 1 + sovTx(uint64(m.TransactionId)) - } - l = len(m.Sender) - if l > 0 { - n += 1 + l + sovTx(uint64(l)) - } - l = m.AddBridgeFee.Size() - n += 1 + l + sovTx(uint64(l)) - return n -} - -func (m *MsgIncreaseBridgeFeeResponse) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - return n -} - func (m *MsgUpdateChainOracles) Size() (n int) { if m == nil { return 0 @@ -7267,56 +6428,6 @@ func (m *MsgOracleSetConfirm) Unmarshal(dAtA []byte) error { } return nil } -func (m *MsgOracleSetConfirmResponse) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowTx - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: MsgOracleSetConfirmResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: MsgOracleSetConfirmResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - default: - iNdEx = preIndex - skippy, err := skipTx(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthTx - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} func (m *MsgOracleSetUpdatedClaim) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 @@ -7522,7 +6633,7 @@ func (m *MsgOracleSetUpdatedClaim) Unmarshal(dAtA []byte) error { } return nil } -func (m *MsgOracleSetUpdatedClaimResponse) Unmarshal(dAtA []byte) error { +func (m *MsgSendToFxClaim) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -7545,65 +6656,15 @@ func (m *MsgOracleSetUpdatedClaimResponse) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: MsgOracleSetUpdatedClaimResponse: wiretype end group for non-group") + return fmt.Errorf("proto: MsgSendToFxClaim: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: MsgOracleSetUpdatedClaimResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: MsgSendToFxClaim: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { - default: - iNdEx = preIndex - skippy, err := skipTx(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthTx - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *MsgSendToFxClaim) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowTx - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: MsgSendToFxClaim: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: MsgSendToFxClaim: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field EventNonce", wireType) + case 1: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field EventNonce", wireType) } m.EventNonce = 0 for shift := uint(0); ; shift += 7 { @@ -7886,56 +6947,6 @@ func (m *MsgSendToFxClaim) Unmarshal(dAtA []byte) error { } return nil } -func (m *MsgSendToFxClaimResponse) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowTx - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: MsgSendToFxClaimResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: MsgSendToFxClaimResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - default: - iNdEx = preIndex - skippy, err := skipTx(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthTx - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} func (m *MsgBridgeCallClaim) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 @@ -8382,56 +7393,6 @@ func (m *MsgBridgeCallClaim) Unmarshal(dAtA []byte) error { } return nil } -func (m *MsgBridgeCallClaimResponse) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowTx - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: MsgBridgeCallClaimResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: MsgBridgeCallClaimResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - default: - iNdEx = preIndex - skippy, err := skipTx(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthTx - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} func (m *MsgBridgeCallResultClaim) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 @@ -8687,56 +7648,6 @@ func (m *MsgBridgeCallResultClaim) Unmarshal(dAtA []byte) error { } return nil } -func (m *MsgBridgeCallResultClaimResponse) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowTx - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: MsgBridgeCallResultClaimResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: MsgBridgeCallResultClaimResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - default: - iNdEx = preIndex - skippy, err := skipTx(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthTx - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} func (m *MsgConfirmBatch) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 @@ -8966,56 +7877,6 @@ func (m *MsgConfirmBatch) Unmarshal(dAtA []byte) error { } return nil } -func (m *MsgConfirmBatchResponse) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowTx - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: MsgConfirmBatchResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: MsgConfirmBatchResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - default: - iNdEx = preIndex - skippy, err := skipTx(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthTx - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} func (m *MsgSendToExternalClaim) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 @@ -9219,7 +8080,7 @@ func (m *MsgSendToExternalClaim) Unmarshal(dAtA []byte) error { } return nil } -func (m *MsgSendToExternalClaimResponse) Unmarshal(dAtA []byte) error { +func (m *MsgBridgeTokenClaim) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -9242,84 +8103,34 @@ func (m *MsgSendToExternalClaimResponse) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: MsgSendToExternalClaimResponse: wiretype end group for non-group") + return fmt.Errorf("proto: MsgBridgeTokenClaim: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: MsgSendToExternalClaimResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: MsgBridgeTokenClaim: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { - default: - iNdEx = preIndex - skippy, err := skipTx(dAtA[iNdEx:]) - if err != nil { - return err + case 1: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field EventNonce", wireType) } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthTx + m.EventNonce = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.EventNonce |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *MsgBridgeTokenClaim) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowTx - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: MsgBridgeTokenClaim: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: MsgBridgeTokenClaim: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field EventNonce", wireType) - } - m.EventNonce = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowTx - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.EventNonce |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 2: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field BlockHeight", wireType) + case 2: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field BlockHeight", wireType) } m.BlockHeight = 0 for shift := uint(0); ; shift += 7 { @@ -9568,56 +8379,6 @@ func (m *MsgBridgeTokenClaim) Unmarshal(dAtA []byte) error { } return nil } -func (m *MsgBridgeTokenClaimResponse) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowTx - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: MsgBridgeTokenClaimResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: MsgBridgeTokenClaimResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - default: - iNdEx = preIndex - skippy, err := skipTx(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthTx - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} func (m *MsgBridgeCallConfirm) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 @@ -9815,56 +8576,6 @@ func (m *MsgBridgeCallConfirm) Unmarshal(dAtA []byte) error { } return nil } -func (m *MsgBridgeCallConfirmResponse) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowTx - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: MsgBridgeCallConfirmResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: MsgBridgeCallConfirmResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - default: - iNdEx = preIndex - skippy, err := skipTx(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthTx - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} func (m *MsgUpdateParams) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 @@ -10062,222 +8773,6 @@ func (m *MsgUpdateParamsResponse) Unmarshal(dAtA []byte) error { } return nil } -func (m *MsgIncreaseBridgeFee) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowTx - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: MsgIncreaseBridgeFee: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: MsgIncreaseBridgeFee: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ChainName", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowTx - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthTx - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthTx - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.ChainName = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field TransactionId", wireType) - } - m.TransactionId = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowTx - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.TransactionId |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Sender", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowTx - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthTx - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthTx - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Sender = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 4: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field AddBridgeFee", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowTx - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthTx - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthTx - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if err := m.AddBridgeFee.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipTx(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthTx - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *MsgIncreaseBridgeFeeResponse) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowTx - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: MsgIncreaseBridgeFeeResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: MsgIncreaseBridgeFeeResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - default: - iNdEx = preIndex - skippy, err := skipTx(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthTx - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} func (m *MsgUpdateChainOracles) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0