CosmosBridge

package
v1.4.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 15, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const CosmosBridgeABI = "" /* 6122-byte string literal not displayed */

CosmosBridgeABI is the input ABI used to generate the binding from.

Variables

View Source
var CosmosBridgeBin = "" /* 24180-byte string literal not displayed */

CosmosBridgeBin is the compiled bytecode used for deploying new contracts.

Functions

This section is empty.

Types

type CosmosBridge

type CosmosBridge struct {
	CosmosBridgeCaller     // Read-only binding to the contract
	CosmosBridgeTransactor // Write-only binding to the contract
	CosmosBridgeFilterer   // Log filterer for contract events
}

CosmosBridge is an auto generated Go binding around an Ethereum contract.

func DeployCosmosBridge

func DeployCosmosBridge(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *CosmosBridge, error)

DeployCosmosBridge deploys a new Ethereum contract, binding an instance of CosmosBridge to it.

func NewCosmosBridge

func NewCosmosBridge(address common.Address, backend bind.ContractBackend) (*CosmosBridge, error)

NewCosmosBridge creates a new instance of CosmosBridge, bound to a specific deployed contract.

type CosmosBridgeCaller

type CosmosBridgeCaller struct {
	// contains filtered or unexported fields
}

CosmosBridgeCaller is an auto generated read-only Go binding around an Ethereum contract.

func NewCosmosBridgeCaller

func NewCosmosBridgeCaller(address common.Address, caller bind.ContractCaller) (*CosmosBridgeCaller, error)

NewCosmosBridgeCaller creates a new read-only instance of CosmosBridge, bound to a specific deployed contract.

func (*CosmosBridgeCaller) BridgeBank

func (_CosmosBridge *CosmosBridgeCaller) BridgeBank(opts *bind.CallOpts) (common.Address, error)

BridgeBank is a free data retrieval call binding the contract method 0x0e41f373.

Solidity: function bridgeBank() view returns(address)

func (*CosmosBridgeCaller) HasBridgeBank

func (_CosmosBridge *CosmosBridgeCaller) HasBridgeBank(opts *bind.CallOpts) (bool, error)

HasBridgeBank is a free data retrieval call binding the contract method 0x69294a4e.

Solidity: function hasBridgeBank() view returns(bool)

func (*CosmosBridgeCaller) HasOracle

func (_CosmosBridge *CosmosBridgeCaller) HasOracle(opts *bind.CallOpts) (bool, error)

HasOracle is a free data retrieval call binding the contract method 0xfb7831f2.

Solidity: function hasOracle() view returns(bool)

func (*CosmosBridgeCaller) IsProphecyClaimActive

func (_CosmosBridge *CosmosBridgeCaller) IsProphecyClaimActive(opts *bind.CallOpts, _prophecyID *big.Int) (bool, error)

IsProphecyClaimActive is a free data retrieval call binding the contract method 0xd8da69ea.

Solidity: function isProphecyClaimActive(uint256 _prophecyID) view returns(bool)

func (*CosmosBridgeCaller) IsProphecyClaimValidatorActive

func (_CosmosBridge *CosmosBridgeCaller) IsProphecyClaimValidatorActive(opts *bind.CallOpts, _prophecyID *big.Int) (bool, error)

IsProphecyClaimValidatorActive is a free data retrieval call binding the contract method 0x529f3dd2.

Solidity: function isProphecyClaimValidatorActive(uint256 _prophecyID) view returns(bool)

func (*CosmosBridgeCaller) Operator

func (_CosmosBridge *CosmosBridgeCaller) Operator(opts *bind.CallOpts) (common.Address, error)

Operator is a free data retrieval call binding the contract method 0x570ca735.

Solidity: function operator() view returns(address)

func (*CosmosBridgeCaller) Oracle

func (_CosmosBridge *CosmosBridgeCaller) Oracle(opts *bind.CallOpts) (common.Address, error)

Oracle is a free data retrieval call binding the contract method 0x7dc0d1d0.

Solidity: function oracle() view returns(address)

func (*CosmosBridgeCaller) ProphecyClaimCount

func (_CosmosBridge *CosmosBridgeCaller) ProphecyClaimCount(opts *bind.CallOpts) (*big.Int, error)

ProphecyClaimCount is a free data retrieval call binding the contract method 0x8ea5352d.

Solidity: function prophecyClaimCount() view returns(uint256)

func (*CosmosBridgeCaller) ProphecyClaims

func (_CosmosBridge *CosmosBridgeCaller) ProphecyClaims(opts *bind.CallOpts, arg0 *big.Int) (struct {
	ClaimType         uint8
	CosmosSender      []byte
	EthereumReceiver  common.Address
	OriginalValidator common.Address
	TokenAddress      common.Address
	Symbol            string
	Amount            *big.Int
	Status            uint8
}, error)

ProphecyClaims is a free data retrieval call binding the contract method 0xdb4237af.

Solidity: function prophecyClaims(uint256 ) view returns(uint8 claimType, bytes cosmosSender, address ethereumReceiver, address originalValidator, address tokenAddress, string symbol, uint256 amount, uint8 status)

func (*CosmosBridgeCaller) UsedNonce

func (_CosmosBridge *CosmosBridgeCaller) UsedNonce(opts *bind.CallOpts, arg0 *big.Int) (bool, error)

UsedNonce is a free data retrieval call binding the contract method 0x9723fb6d.

Solidity: function usedNonce(uint256 ) view returns(bool)

func (*CosmosBridgeCaller) Valset

func (_CosmosBridge *CosmosBridgeCaller) Valset(opts *bind.CallOpts) (common.Address, error)

Valset is a free data retrieval call binding the contract method 0x7f54af0c.

Solidity: function valset() view returns(address)

type CosmosBridgeCallerRaw

type CosmosBridgeCallerRaw struct {
	Contract *CosmosBridgeCaller // Generic read-only contract binding to access the raw methods on
}

CosmosBridgeCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.

func (*CosmosBridgeCallerRaw) Call

func (_CosmosBridge *CosmosBridgeCallerRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error

Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.

type CosmosBridgeCallerSession

type CosmosBridgeCallerSession struct {
	Contract *CosmosBridgeCaller // Generic contract caller binding to set the session for
	CallOpts bind.CallOpts       // Call options to use throughout this session
}

CosmosBridgeCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.

func (*CosmosBridgeCallerSession) BridgeBank

func (_CosmosBridge *CosmosBridgeCallerSession) BridgeBank() (common.Address, error)

BridgeBank is a free data retrieval call binding the contract method 0x0e41f373.

Solidity: function bridgeBank() view returns(address)

func (*CosmosBridgeCallerSession) HasBridgeBank

func (_CosmosBridge *CosmosBridgeCallerSession) HasBridgeBank() (bool, error)

HasBridgeBank is a free data retrieval call binding the contract method 0x69294a4e.

Solidity: function hasBridgeBank() view returns(bool)

func (*CosmosBridgeCallerSession) HasOracle

func (_CosmosBridge *CosmosBridgeCallerSession) HasOracle() (bool, error)

HasOracle is a free data retrieval call binding the contract method 0xfb7831f2.

Solidity: function hasOracle() view returns(bool)

func (*CosmosBridgeCallerSession) IsProphecyClaimActive

func (_CosmosBridge *CosmosBridgeCallerSession) IsProphecyClaimActive(_prophecyID *big.Int) (bool, error)

IsProphecyClaimActive is a free data retrieval call binding the contract method 0xd8da69ea.

Solidity: function isProphecyClaimActive(uint256 _prophecyID) view returns(bool)

func (*CosmosBridgeCallerSession) IsProphecyClaimValidatorActive

func (_CosmosBridge *CosmosBridgeCallerSession) IsProphecyClaimValidatorActive(_prophecyID *big.Int) (bool, error)

IsProphecyClaimValidatorActive is a free data retrieval call binding the contract method 0x529f3dd2.

Solidity: function isProphecyClaimValidatorActive(uint256 _prophecyID) view returns(bool)

func (*CosmosBridgeCallerSession) Operator

func (_CosmosBridge *CosmosBridgeCallerSession) Operator() (common.Address, error)

Operator is a free data retrieval call binding the contract method 0x570ca735.

Solidity: function operator() view returns(address)

func (*CosmosBridgeCallerSession) Oracle

func (_CosmosBridge *CosmosBridgeCallerSession) Oracle() (common.Address, error)

Oracle is a free data retrieval call binding the contract method 0x7dc0d1d0.

Solidity: function oracle() view returns(address)

func (*CosmosBridgeCallerSession) ProphecyClaimCount

func (_CosmosBridge *CosmosBridgeCallerSession) ProphecyClaimCount() (*big.Int, error)

ProphecyClaimCount is a free data retrieval call binding the contract method 0x8ea5352d.

Solidity: function prophecyClaimCount() view returns(uint256)

func (*CosmosBridgeCallerSession) ProphecyClaims

func (_CosmosBridge *CosmosBridgeCallerSession) ProphecyClaims(arg0 *big.Int) (struct {
	ClaimType         uint8
	CosmosSender      []byte
	EthereumReceiver  common.Address
	OriginalValidator common.Address
	TokenAddress      common.Address
	Symbol            string
	Amount            *big.Int
	Status            uint8
}, error)

ProphecyClaims is a free data retrieval call binding the contract method 0xdb4237af.

Solidity: function prophecyClaims(uint256 ) view returns(uint8 claimType, bytes cosmosSender, address ethereumReceiver, address originalValidator, address tokenAddress, string symbol, uint256 amount, uint8 status)

func (*CosmosBridgeCallerSession) UsedNonce

func (_CosmosBridge *CosmosBridgeCallerSession) UsedNonce(arg0 *big.Int) (bool, error)

UsedNonce is a free data retrieval call binding the contract method 0x9723fb6d.

Solidity: function usedNonce(uint256 ) view returns(bool)

func (*CosmosBridgeCallerSession) Valset

func (_CosmosBridge *CosmosBridgeCallerSession) Valset() (common.Address, error)

Valset is a free data retrieval call binding the contract method 0x7f54af0c.

Solidity: function valset() view returns(address)

type CosmosBridgeFilterer

type CosmosBridgeFilterer struct {
	// contains filtered or unexported fields
}

CosmosBridgeFilterer is an auto generated log filtering Go binding around an Ethereum contract events.

func NewCosmosBridgeFilterer

func NewCosmosBridgeFilterer(address common.Address, filterer bind.ContractFilterer) (*CosmosBridgeFilterer, error)

NewCosmosBridgeFilterer creates a new log filterer instance of CosmosBridge, bound to a specific deployed contract.

func (*CosmosBridgeFilterer) FilterLogBridgeBankSet

func (_CosmosBridge *CosmosBridgeFilterer) FilterLogBridgeBankSet(opts *bind.FilterOpts) (*CosmosBridgeLogBridgeBankSetIterator, error)

FilterLogBridgeBankSet is a free log retrieval operation binding the contract event 0xc8b65043fb196ac032b79a435397d1d14a96b4e9d12e366c3b1f550cb01d2dfa.

Solidity: event LogBridgeBankSet(address _bridgeBank)

func (*CosmosBridgeFilterer) FilterLogNewProphecyClaim

func (_CosmosBridge *CosmosBridgeFilterer) FilterLogNewProphecyClaim(opts *bind.FilterOpts) (*CosmosBridgeLogNewProphecyClaimIterator, error)

FilterLogNewProphecyClaim is a free log retrieval operation binding the contract event 0x4c4b04a2b190e6bb01b6243f150fc76174861acd19cf98841801baaff5262dd8.

Solidity: event LogNewProphecyClaim(uint256 _prophecyID, uint8 _claimType, bytes _cosmosSender, address _ethereumReceiver, address _validatorAddress, address _tokenAddress, string _symbol, uint256 _amount)

func (*CosmosBridgeFilterer) FilterLogOracleSet

func (_CosmosBridge *CosmosBridgeFilterer) FilterLogOracleSet(opts *bind.FilterOpts) (*CosmosBridgeLogOracleSetIterator, error)

FilterLogOracleSet is a free log retrieval operation binding the contract event 0x6efb0434342713e2e9b1501dbebf76b4ed18406ea77ab5d56535cc26dec3adc0.

Solidity: event LogOracleSet(address _oracle)

func (*CosmosBridgeFilterer) FilterLogProphecyCompleted

func (_CosmosBridge *CosmosBridgeFilterer) FilterLogProphecyCompleted(opts *bind.FilterOpts) (*CosmosBridgeLogProphecyCompletedIterator, error)

FilterLogProphecyCompleted is a free log retrieval operation binding the contract event 0x79e7c1c0bd54f11809c3bf6023c242783602d61ceff272c6bba6f8559c24ad0d.

Solidity: event LogProphecyCompleted(uint256 _prophecyID, uint8 _claimType)

func (*CosmosBridgeFilterer) ParseLogBridgeBankSet

func (_CosmosBridge *CosmosBridgeFilterer) ParseLogBridgeBankSet(log types.Log) (*CosmosBridgeLogBridgeBankSet, error)

ParseLogBridgeBankSet is a log parse operation binding the contract event 0xc8b65043fb196ac032b79a435397d1d14a96b4e9d12e366c3b1f550cb01d2dfa.

Solidity: event LogBridgeBankSet(address _bridgeBank)

func (*CosmosBridgeFilterer) ParseLogNewProphecyClaim

func (_CosmosBridge *CosmosBridgeFilterer) ParseLogNewProphecyClaim(log types.Log) (*CosmosBridgeLogNewProphecyClaim, error)

ParseLogNewProphecyClaim is a log parse operation binding the contract event 0x4c4b04a2b190e6bb01b6243f150fc76174861acd19cf98841801baaff5262dd8.

Solidity: event LogNewProphecyClaim(uint256 _prophecyID, uint8 _claimType, bytes _cosmosSender, address _ethereumReceiver, address _validatorAddress, address _tokenAddress, string _symbol, uint256 _amount)

func (*CosmosBridgeFilterer) ParseLogOracleSet

func (_CosmosBridge *CosmosBridgeFilterer) ParseLogOracleSet(log types.Log) (*CosmosBridgeLogOracleSet, error)

ParseLogOracleSet is a log parse operation binding the contract event 0x6efb0434342713e2e9b1501dbebf76b4ed18406ea77ab5d56535cc26dec3adc0.

Solidity: event LogOracleSet(address _oracle)

func (*CosmosBridgeFilterer) ParseLogProphecyCompleted

func (_CosmosBridge *CosmosBridgeFilterer) ParseLogProphecyCompleted(log types.Log) (*CosmosBridgeLogProphecyCompleted, error)

ParseLogProphecyCompleted is a log parse operation binding the contract event 0x79e7c1c0bd54f11809c3bf6023c242783602d61ceff272c6bba6f8559c24ad0d.

Solidity: event LogProphecyCompleted(uint256 _prophecyID, uint8 _claimType)

func (*CosmosBridgeFilterer) WatchLogBridgeBankSet

func (_CosmosBridge *CosmosBridgeFilterer) WatchLogBridgeBankSet(opts *bind.WatchOpts, sink chan<- *CosmosBridgeLogBridgeBankSet) (event.Subscription, error)

WatchLogBridgeBankSet is a free log subscription operation binding the contract event 0xc8b65043fb196ac032b79a435397d1d14a96b4e9d12e366c3b1f550cb01d2dfa.

Solidity: event LogBridgeBankSet(address _bridgeBank)

func (*CosmosBridgeFilterer) WatchLogNewProphecyClaim

func (_CosmosBridge *CosmosBridgeFilterer) WatchLogNewProphecyClaim(opts *bind.WatchOpts, sink chan<- *CosmosBridgeLogNewProphecyClaim) (event.Subscription, error)

WatchLogNewProphecyClaim is a free log subscription operation binding the contract event 0x4c4b04a2b190e6bb01b6243f150fc76174861acd19cf98841801baaff5262dd8.

Solidity: event LogNewProphecyClaim(uint256 _prophecyID, uint8 _claimType, bytes _cosmosSender, address _ethereumReceiver, address _validatorAddress, address _tokenAddress, string _symbol, uint256 _amount)

func (*CosmosBridgeFilterer) WatchLogOracleSet

func (_CosmosBridge *CosmosBridgeFilterer) WatchLogOracleSet(opts *bind.WatchOpts, sink chan<- *CosmosBridgeLogOracleSet) (event.Subscription, error)

WatchLogOracleSet is a free log subscription operation binding the contract event 0x6efb0434342713e2e9b1501dbebf76b4ed18406ea77ab5d56535cc26dec3adc0.

Solidity: event LogOracleSet(address _oracle)

func (*CosmosBridgeFilterer) WatchLogProphecyCompleted

func (_CosmosBridge *CosmosBridgeFilterer) WatchLogProphecyCompleted(opts *bind.WatchOpts, sink chan<- *CosmosBridgeLogProphecyCompleted) (event.Subscription, error)

WatchLogProphecyCompleted is a free log subscription operation binding the contract event 0x79e7c1c0bd54f11809c3bf6023c242783602d61ceff272c6bba6f8559c24ad0d.

Solidity: event LogProphecyCompleted(uint256 _prophecyID, uint8 _claimType)

type CosmosBridgeLogBridgeBankSet

type CosmosBridgeLogBridgeBankSet struct {
	BridgeBank common.Address
	Raw        types.Log // Blockchain specific contextual infos
}

CosmosBridgeLogBridgeBankSet represents a LogBridgeBankSet event raised by the CosmosBridge contract.

type CosmosBridgeLogBridgeBankSetIterator

type CosmosBridgeLogBridgeBankSetIterator struct {
	Event *CosmosBridgeLogBridgeBankSet // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

CosmosBridgeLogBridgeBankSetIterator is returned from FilterLogBridgeBankSet and is used to iterate over the raw logs and unpacked data for LogBridgeBankSet events raised by the CosmosBridge contract.

func (*CosmosBridgeLogBridgeBankSetIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*CosmosBridgeLogBridgeBankSetIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*CosmosBridgeLogBridgeBankSetIterator) Next

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.

type CosmosBridgeLogNewProphecyClaim

type CosmosBridgeLogNewProphecyClaim struct {
	ProphecyID       *big.Int
	ClaimType        uint8
	CosmosSender     []byte
	EthereumReceiver common.Address
	ValidatorAddress common.Address
	TokenAddress     common.Address
	Symbol           string
	Amount           *big.Int
	Raw              types.Log // Blockchain specific contextual infos
}

CosmosBridgeLogNewProphecyClaim represents a LogNewProphecyClaim event raised by the CosmosBridge contract.

type CosmosBridgeLogNewProphecyClaimIterator

type CosmosBridgeLogNewProphecyClaimIterator struct {
	Event *CosmosBridgeLogNewProphecyClaim // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

CosmosBridgeLogNewProphecyClaimIterator is returned from FilterLogNewProphecyClaim and is used to iterate over the raw logs and unpacked data for LogNewProphecyClaim events raised by the CosmosBridge contract.

func (*CosmosBridgeLogNewProphecyClaimIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*CosmosBridgeLogNewProphecyClaimIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*CosmosBridgeLogNewProphecyClaimIterator) Next

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.

type CosmosBridgeLogOracleSet

type CosmosBridgeLogOracleSet struct {
	Oracle common.Address
	Raw    types.Log // Blockchain specific contextual infos
}

CosmosBridgeLogOracleSet represents a LogOracleSet event raised by the CosmosBridge contract.

type CosmosBridgeLogOracleSetIterator

type CosmosBridgeLogOracleSetIterator struct {
	Event *CosmosBridgeLogOracleSet // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

CosmosBridgeLogOracleSetIterator is returned from FilterLogOracleSet and is used to iterate over the raw logs and unpacked data for LogOracleSet events raised by the CosmosBridge contract.

func (*CosmosBridgeLogOracleSetIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*CosmosBridgeLogOracleSetIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*CosmosBridgeLogOracleSetIterator) Next

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.

type CosmosBridgeLogProphecyCompleted

type CosmosBridgeLogProphecyCompleted struct {
	ProphecyID *big.Int
	ClaimType  uint8
	Raw        types.Log // Blockchain specific contextual infos
}

CosmosBridgeLogProphecyCompleted represents a LogProphecyCompleted event raised by the CosmosBridge contract.

type CosmosBridgeLogProphecyCompletedIterator

type CosmosBridgeLogProphecyCompletedIterator struct {
	Event *CosmosBridgeLogProphecyCompleted // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

CosmosBridgeLogProphecyCompletedIterator is returned from FilterLogProphecyCompleted and is used to iterate over the raw logs and unpacked data for LogProphecyCompleted events raised by the CosmosBridge contract.

func (*CosmosBridgeLogProphecyCompletedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*CosmosBridgeLogProphecyCompletedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*CosmosBridgeLogProphecyCompletedIterator) Next

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.

type CosmosBridgeRaw

type CosmosBridgeRaw struct {
	Contract *CosmosBridge // Generic contract binding to access the raw methods on
}

CosmosBridgeRaw is an auto generated low-level Go binding around an Ethereum contract.

func (*CosmosBridgeRaw) Call

func (_CosmosBridge *CosmosBridgeRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error

Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.

func (*CosmosBridgeRaw) Transact

func (_CosmosBridge *CosmosBridgeRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*CosmosBridgeRaw) Transfer

func (_CosmosBridge *CosmosBridgeRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.

type CosmosBridgeSession

type CosmosBridgeSession struct {
	Contract     *CosmosBridge     // Generic contract binding to set the session for
	CallOpts     bind.CallOpts     // Call options to use throughout this session
	TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session
}

CosmosBridgeSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.

func (*CosmosBridgeSession) BridgeBank

func (_CosmosBridge *CosmosBridgeSession) BridgeBank() (common.Address, error)

BridgeBank is a free data retrieval call binding the contract method 0x0e41f373.

Solidity: function bridgeBank() view returns(address)

func (*CosmosBridgeSession) HasBridgeBank

func (_CosmosBridge *CosmosBridgeSession) HasBridgeBank() (bool, error)

HasBridgeBank is a free data retrieval call binding the contract method 0x69294a4e.

Solidity: function hasBridgeBank() view returns(bool)

func (*CosmosBridgeSession) HasOracle

func (_CosmosBridge *CosmosBridgeSession) HasOracle() (bool, error)

HasOracle is a free data retrieval call binding the contract method 0xfb7831f2.

Solidity: function hasOracle() view returns(bool)

func (*CosmosBridgeSession) Initialize

func (_CosmosBridge *CosmosBridgeSession) Initialize(_operator common.Address, _valset common.Address) (*types.Transaction, error)

Initialize is a paid mutator transaction binding the contract method 0x485cc955.

Solidity: function initialize(address _operator, address _valset) returns()

func (*CosmosBridgeSession) IsProphecyClaimActive

func (_CosmosBridge *CosmosBridgeSession) IsProphecyClaimActive(_prophecyID *big.Int) (bool, error)

IsProphecyClaimActive is a free data retrieval call binding the contract method 0xd8da69ea.

Solidity: function isProphecyClaimActive(uint256 _prophecyID) view returns(bool)

func (*CosmosBridgeSession) IsProphecyClaimValidatorActive

func (_CosmosBridge *CosmosBridgeSession) IsProphecyClaimValidatorActive(_prophecyID *big.Int) (bool, error)

IsProphecyClaimValidatorActive is a free data retrieval call binding the contract method 0x529f3dd2.

Solidity: function isProphecyClaimValidatorActive(uint256 _prophecyID) view returns(bool)

func (*CosmosBridgeSession) NewProphecyClaim

func (_CosmosBridge *CosmosBridgeSession) NewProphecyClaim(_claimType uint8, _cosmosSender []byte, _cosmosSenderSequence *big.Int, _ethereumReceiver common.Address, _symbol string, _amount *big.Int) (*types.Transaction, error)

NewProphecyClaim is a paid mutator transaction binding the contract method 0x5d4c66a3.

Solidity: function newProphecyClaim(uint8 _claimType, bytes _cosmosSender, uint256 _cosmosSenderSequence, address _ethereumReceiver, string _symbol, uint256 _amount) returns()

func (*CosmosBridgeSession) Operator

func (_CosmosBridge *CosmosBridgeSession) Operator() (common.Address, error)

Operator is a free data retrieval call binding the contract method 0x570ca735.

Solidity: function operator() view returns(address)

func (*CosmosBridgeSession) Oracle

func (_CosmosBridge *CosmosBridgeSession) Oracle() (common.Address, error)

Oracle is a free data retrieval call binding the contract method 0x7dc0d1d0.

Solidity: function oracle() view returns(address)

func (*CosmosBridgeSession) ProphecyClaimCount

func (_CosmosBridge *CosmosBridgeSession) ProphecyClaimCount() (*big.Int, error)

ProphecyClaimCount is a free data retrieval call binding the contract method 0x8ea5352d.

Solidity: function prophecyClaimCount() view returns(uint256)

func (*CosmosBridgeSession) ProphecyClaims

func (_CosmosBridge *CosmosBridgeSession) ProphecyClaims(arg0 *big.Int) (struct {
	ClaimType         uint8
	CosmosSender      []byte
	EthereumReceiver  common.Address
	OriginalValidator common.Address
	TokenAddress      common.Address
	Symbol            string
	Amount            *big.Int
	Status            uint8
}, error)

ProphecyClaims is a free data retrieval call binding the contract method 0xdb4237af.

Solidity: function prophecyClaims(uint256 ) view returns(uint8 claimType, bytes cosmosSender, address ethereumReceiver, address originalValidator, address tokenAddress, string symbol, uint256 amount, uint8 status)

func (*CosmosBridgeSession) SetBridgeBank

func (_CosmosBridge *CosmosBridgeSession) SetBridgeBank(_bridgeBank common.Address) (*types.Transaction, error)

SetBridgeBank is a paid mutator transaction binding the contract method 0x814c92c3.

Solidity: function setBridgeBank(address _bridgeBank) returns()

func (*CosmosBridgeSession) SetOracle

func (_CosmosBridge *CosmosBridgeSession) SetOracle(_oracle common.Address) (*types.Transaction, error)

SetOracle is a paid mutator transaction binding the contract method 0x7adbf973.

Solidity: function setOracle(address _oracle) returns()

func (*CosmosBridgeSession) UsedNonce

func (_CosmosBridge *CosmosBridgeSession) UsedNonce(arg0 *big.Int) (bool, error)

UsedNonce is a free data retrieval call binding the contract method 0x9723fb6d.

Solidity: function usedNonce(uint256 ) view returns(bool)

func (*CosmosBridgeSession) Valset

func (_CosmosBridge *CosmosBridgeSession) Valset() (common.Address, error)

Valset is a free data retrieval call binding the contract method 0x7f54af0c.

Solidity: function valset() view returns(address)

type CosmosBridgeTransactor

type CosmosBridgeTransactor struct {
	// contains filtered or unexported fields
}

CosmosBridgeTransactor is an auto generated write-only Go binding around an Ethereum contract.

func NewCosmosBridgeTransactor

func NewCosmosBridgeTransactor(address common.Address, transactor bind.ContractTransactor) (*CosmosBridgeTransactor, error)

NewCosmosBridgeTransactor creates a new write-only instance of CosmosBridge, bound to a specific deployed contract.

func (*CosmosBridgeTransactor) Initialize

func (_CosmosBridge *CosmosBridgeTransactor) Initialize(opts *bind.TransactOpts, _operator common.Address, _valset common.Address) (*types.Transaction, error)

Initialize is a paid mutator transaction binding the contract method 0x485cc955.

Solidity: function initialize(address _operator, address _valset) returns()

func (*CosmosBridgeTransactor) NewProphecyClaim

func (_CosmosBridge *CosmosBridgeTransactor) NewProphecyClaim(opts *bind.TransactOpts, _claimType uint8, _cosmosSender []byte, _cosmosSenderSequence *big.Int, _ethereumReceiver common.Address, _symbol string, _amount *big.Int) (*types.Transaction, error)

NewProphecyClaim is a paid mutator transaction binding the contract method 0x5d4c66a3.

Solidity: function newProphecyClaim(uint8 _claimType, bytes _cosmosSender, uint256 _cosmosSenderSequence, address _ethereumReceiver, string _symbol, uint256 _amount) returns()

func (*CosmosBridgeTransactor) SetBridgeBank

func (_CosmosBridge *CosmosBridgeTransactor) SetBridgeBank(opts *bind.TransactOpts, _bridgeBank common.Address) (*types.Transaction, error)

SetBridgeBank is a paid mutator transaction binding the contract method 0x814c92c3.

Solidity: function setBridgeBank(address _bridgeBank) returns()

func (*CosmosBridgeTransactor) SetOracle

func (_CosmosBridge *CosmosBridgeTransactor) SetOracle(opts *bind.TransactOpts, _oracle common.Address) (*types.Transaction, error)

SetOracle is a paid mutator transaction binding the contract method 0x7adbf973.

Solidity: function setOracle(address _oracle) returns()

type CosmosBridgeTransactorRaw

type CosmosBridgeTransactorRaw struct {
	Contract *CosmosBridgeTransactor // Generic write-only contract binding to access the raw methods on
}

CosmosBridgeTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.

func (*CosmosBridgeTransactorRaw) Transact

func (_CosmosBridge *CosmosBridgeTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*CosmosBridgeTransactorRaw) Transfer

func (_CosmosBridge *CosmosBridgeTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.

type CosmosBridgeTransactorSession

type CosmosBridgeTransactorSession struct {
	Contract     *CosmosBridgeTransactor // Generic contract transactor binding to set the session for
	TransactOpts bind.TransactOpts       // Transaction auth options to use throughout this session
}

CosmosBridgeTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.

func (*CosmosBridgeTransactorSession) Initialize

func (_CosmosBridge *CosmosBridgeTransactorSession) Initialize(_operator common.Address, _valset common.Address) (*types.Transaction, error)

Initialize is a paid mutator transaction binding the contract method 0x485cc955.

Solidity: function initialize(address _operator, address _valset) returns()

func (*CosmosBridgeTransactorSession) NewProphecyClaim

func (_CosmosBridge *CosmosBridgeTransactorSession) NewProphecyClaim(_claimType uint8, _cosmosSender []byte, _cosmosSenderSequence *big.Int, _ethereumReceiver common.Address, _symbol string, _amount *big.Int) (*types.Transaction, error)

NewProphecyClaim is a paid mutator transaction binding the contract method 0x5d4c66a3.

Solidity: function newProphecyClaim(uint8 _claimType, bytes _cosmosSender, uint256 _cosmosSenderSequence, address _ethereumReceiver, string _symbol, uint256 _amount) returns()

func (*CosmosBridgeTransactorSession) SetBridgeBank

func (_CosmosBridge *CosmosBridgeTransactorSession) SetBridgeBank(_bridgeBank common.Address) (*types.Transaction, error)

SetBridgeBank is a paid mutator transaction binding the contract method 0x814c92c3.

Solidity: function setBridgeBank(address _bridgeBank) returns()

func (*CosmosBridgeTransactorSession) SetOracle

func (_CosmosBridge *CosmosBridgeTransactorSession) SetOracle(_oracle common.Address) (*types.Transaction, error)

SetOracle is a paid mutator transaction binding the contract method 0x7adbf973.

Solidity: function setOracle(address _oracle) returns()

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL