Documentation ¶
Index ¶
- Constants
- type ETGate
- type ETGateCaller
- func (_ETGate *ETGateCaller) Bytes20IsZero(opts *bind.CallOpts, arr [20]byte) (bool, error)
- func (_ETGate *ETGateCaller) ChainState(opts *bind.CallOpts) (struct{ ... }, error)
- func (_ETGate *ETGateCaller) Delay(opts *bind.CallOpts) (*big.Int, error)
- func (_ETGate *ETGateCaller) GetDeposited(opts *bind.CallOpts, k1 []byte, k2 common.Address) (*big.Int, error)
- func (_ETGate *ETGateCaller) GetUpdated(opts *bind.CallOpts, k *big.Int) (*big.Int, error)
- func (_ETGate *ETGateCaller) GetUsed(opts *bind.CallOpts, k []byte) (bool, error)
- func (_ETGate *ETGateCaller) IsUpdated(opts *bind.CallOpts, appHash [20]byte) (bool, error)
- func (_ETGate *ETGateCaller) IsValidator(opts *bind.CallOpts, addr common.Address) (bool, error)
- func (_ETGate *ETGateCaller) LastWithdraw(opts *bind.CallOpts) (*big.Int, error)
- func (_ETGate *ETGateCaller) NewEthAddr(opts *bind.CallOpts, pubkey []byte) (common.Address, error)
- func (_ETGate *ETGateCaller) SenderIsValidator(opts *bind.CallOpts) (bool, error)
- func (_ETGate *ETGateCaller) ToBytes(opts *bind.CallOpts, a common.Address) ([]byte, error)
- func (_ETGate *ETGateCaller) ToKey(opts *bind.CallOpts, chain []byte, seq []byte) ([]byte, error)
- func (_ETGate *ETGateCaller) Withdrawable(opts *bind.CallOpts, height *big.Int, to common.Address, value uint64, ...) (bool, error)
- type ETGateCallerRaw
- type ETGateCallerSession
- func (_ETGate *ETGateCallerSession) Bytes20IsZero(arr [20]byte) (bool, error)
- func (_ETGate *ETGateCallerSession) ChainState() (struct{ ... }, error)
- func (_ETGate *ETGateCallerSession) Delay() (*big.Int, error)
- func (_ETGate *ETGateCallerSession) GetDeposited(k1 []byte, k2 common.Address) (*big.Int, error)
- func (_ETGate *ETGateCallerSession) GetUpdated(k *big.Int) (*big.Int, error)
- func (_ETGate *ETGateCallerSession) GetUsed(k []byte) (bool, error)
- func (_ETGate *ETGateCallerSession) IsUpdated(appHash [20]byte) (bool, error)
- func (_ETGate *ETGateCallerSession) IsValidator(addr common.Address) (bool, error)
- func (_ETGate *ETGateCallerSession) LastWithdraw() (*big.Int, error)
- func (_ETGate *ETGateCallerSession) NewEthAddr(pubkey []byte) (common.Address, error)
- func (_ETGate *ETGateCallerSession) SenderIsValidator() (bool, error)
- func (_ETGate *ETGateCallerSession) ToBytes(a common.Address) ([]byte, error)
- func (_ETGate *ETGateCallerSession) ToKey(chain []byte, seq []byte) ([]byte, error)
- func (_ETGate *ETGateCallerSession) Withdrawable(height *big.Int, to common.Address, value uint64, token common.Address, ...) (bool, error)
- type ETGateRaw
- func (_ETGate *ETGateRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error
- func (_ETGate *ETGateRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_ETGate *ETGateRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type ETGateSession
- func (_ETGate *ETGateSession) Bytes20IsZero(arr [20]byte) (bool, error)
- func (_ETGate *ETGateSession) ChainState() (struct{ ... }, error)
- func (_ETGate *ETGateSession) Delay() (*big.Int, error)
- func (_ETGate *ETGateSession) Deposit(to common.Address, value uint64, token common.Address, chain []byte) (*types.Transaction, error)
- func (_ETGate *ETGateSession) DepositEther(to common.Address, value uint64, chain []byte) (*types.Transaction, error)
- func (_ETGate *ETGateSession) GetDeposited(k1 []byte, k2 common.Address) (*big.Int, error)
- func (_ETGate *ETGateSession) GetUpdated(k *big.Int) (*big.Int, error)
- func (_ETGate *ETGateSession) GetUsed(k []byte) (bool, error)
- func (_ETGate *ETGateSession) IsUpdated(appHash [20]byte) (bool, error)
- func (_ETGate *ETGateSession) IsValidator(addr common.Address) (bool, error)
- func (_ETGate *ETGateSession) LastWithdraw() (*big.Int, error)
- func (_ETGate *ETGateSession) NewEthAddr(pubkey []byte) (common.Address, error)
- func (_ETGate *ETGateSession) SenderIsValidator() (bool, error)
- func (_ETGate *ETGateSession) ToBytes(a common.Address) ([]byte, error)
- func (_ETGate *ETGateSession) ToKey(chain []byte, seq []byte) ([]byte, error)
- func (_ETGate *ETGateSession) ToVal(to common.Address, value uint64, token common.Address) (*types.Transaction, error)
- func (_ETGate *ETGateSession) Update(_chainID string, _height *big.Int, _timeHash [20]byte, _numTxs *big.Int, ...) (*types.Transaction, error)
- func (_ETGate *ETGateSession) VerifyRaw(iavlProofLeafHash [20]byte, iavlProofInnerHeight []int8, ...) (*types.Transaction, error)
- func (_ETGate *ETGateSession) Withdraw(height *big.Int, to common.Address, value uint64, token common.Address, ...) (*types.Transaction, error)
- func (_ETGate *ETGateSession) Withdrawable(height *big.Int, to common.Address, value uint64, token common.Address, ...) (bool, error)
- func (_ETGate *ETGateSession) WriteUvarint(i uint64) (*types.Transaction, error)
- type ETGateTransactor
- func (_ETGate *ETGateTransactor) Deposit(opts *bind.TransactOpts, to common.Address, value uint64, token common.Address, ...) (*types.Transaction, error)
- func (_ETGate *ETGateTransactor) DepositEther(opts *bind.TransactOpts, to common.Address, value uint64, chain []byte) (*types.Transaction, error)
- func (_ETGate *ETGateTransactor) ToVal(opts *bind.TransactOpts, to common.Address, value uint64, token common.Address) (*types.Transaction, error)
- func (_ETGate *ETGateTransactor) Update(opts *bind.TransactOpts, _chainID string, _height *big.Int, _timeHash [20]byte, ...) (*types.Transaction, error)
- func (_ETGate *ETGateTransactor) VerifyRaw(opts *bind.TransactOpts, iavlProofLeafHash [20]byte, ...) (*types.Transaction, error)
- func (_ETGate *ETGateTransactor) Withdraw(opts *bind.TransactOpts, height *big.Int, to common.Address, value uint64, ...) (*types.Transaction, error)
- func (_ETGate *ETGateTransactor) WriteUvarint(opts *bind.TransactOpts, i uint64) (*types.Transaction, error)
- type ETGateTransactorRaw
- type ETGateTransactorSession
- func (_ETGate *ETGateTransactorSession) Deposit(to common.Address, value uint64, token common.Address, chain []byte) (*types.Transaction, error)
- func (_ETGate *ETGateTransactorSession) DepositEther(to common.Address, value uint64, chain []byte) (*types.Transaction, error)
- func (_ETGate *ETGateTransactorSession) ToVal(to common.Address, value uint64, token common.Address) (*types.Transaction, error)
- func (_ETGate *ETGateTransactorSession) Update(_chainID string, _height *big.Int, _timeHash [20]byte, _numTxs *big.Int, ...) (*types.Transaction, error)
- func (_ETGate *ETGateTransactorSession) VerifyRaw(iavlProofLeafHash [20]byte, iavlProofInnerHeight []int8, ...) (*types.Transaction, error)
- func (_ETGate *ETGateTransactorSession) Withdraw(height *big.Int, to common.Address, value uint64, token common.Address, ...) (*types.Transaction, error)
- func (_ETGate *ETGateTransactorSession) WriteUvarint(i uint64) (*types.Transaction, error)
Constants ¶
const ETGateABI = "" /* 7126-byte string literal not displayed */
ETGateABI is the input ABI used to generate the binding from.
const ETGateBin = `` /* 28768-byte string literal not displayed */
ETGateBin is the compiled bytecode used for deploying new contracts.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ETGate ¶
type ETGate struct { ETGateCaller // Read-only binding to the contract ETGateTransactor // Write-only binding to the contract }
ETGate is an auto generated Go binding around an Ethereum contract.
func DeployETGate ¶
func DeployETGate(auth *bind.TransactOpts, backend bind.ContractBackend, _chainID string, _pubkey []byte, _votingPower []*big.Int) (common.Address, *types.Transaction, *ETGate, error)
DeployETGate deploys a new Ethereum contract, binding an instance of ETGate to it.
type ETGateCaller ¶
type ETGateCaller struct {
// contains filtered or unexported fields
}
ETGateCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewETGateCaller ¶
func NewETGateCaller(address common.Address, caller bind.ContractCaller) (*ETGateCaller, error)
NewETGateCaller creates a new read-only instance of ETGate, bound to a specific deployed contract.
func (*ETGateCaller) Bytes20IsZero ¶
Bytes20IsZero is a free data retrieval call binding the contract method 0xf6fff505.
Solidity: function bytes20IsZero(arr bytes20) constant returns(bool)
func (*ETGateCaller) ChainState ¶
func (_ETGate *ETGateCaller) ChainState(opts *bind.CallOpts) (struct { ChainID string LastBlockHeight *big.Int TotalVotingPower *big.Int }, error)
ChainState is a free data retrieval call binding the contract method 0x4535e1c0.
Solidity: function chainState() constant returns(chainID string, lastBlockHeight uint256, totalVotingPower uint256)
func (*ETGateCaller) Delay ¶
Delay is a free data retrieval call binding the contract method 0x6a42b8f8.
Solidity: function delay() constant returns(uint256)
func (*ETGateCaller) GetDeposited ¶
func (_ETGate *ETGateCaller) GetDeposited(opts *bind.CallOpts, k1 []byte, k2 common.Address) (*big.Int, error)
GetDeposited is a free data retrieval call binding the contract method 0x76ede4f8.
Solidity: function getDeposited(k1 bytes, k2 address) constant returns(uint256)
func (*ETGateCaller) GetUpdated ¶
GetUpdated is a free data retrieval call binding the contract method 0x4ce6ee9d.
Solidity: function getUpdated(k uint256) constant returns(uint256)
func (*ETGateCaller) GetUsed ¶
GetUsed is a free data retrieval call binding the contract method 0x7fd43a68.
Solidity: function getUsed(k bytes) constant returns(bool)
func (*ETGateCaller) IsUpdated ¶
IsUpdated is a free data retrieval call binding the contract method 0x372bc9a4.
Solidity: function isUpdated(appHash bytes20) constant returns(bool)
func (*ETGateCaller) IsValidator ¶
IsValidator is a free data retrieval call binding the contract method 0xfacd743b.
Solidity: function isValidator(addr address) constant returns(bool)
func (*ETGateCaller) LastWithdraw ¶
LastWithdraw is a free data retrieval call binding the contract method 0xb52eea74.
Solidity: function lastWithdraw() constant returns(uint256)
func (*ETGateCaller) NewEthAddr ¶
NewEthAddr is a free data retrieval call binding the contract method 0x61e586fa.
Solidity: function newEthAddr(pubkey bytes) constant returns(address)
func (*ETGateCaller) SenderIsValidator ¶
func (_ETGate *ETGateCaller) SenderIsValidator(opts *bind.CallOpts) (bool, error)
SenderIsValidator is a free data retrieval call binding the contract method 0xf6d07f89.
Solidity: function senderIsValidator() constant returns(bool)
func (*ETGateCaller) ToBytes ¶
ToBytes is a free data retrieval call binding the contract method 0x593b79fe.
Solidity: function toBytes(a address) constant returns(b bytes)
func (*ETGateCaller) ToKey ¶
ToKey is a free data retrieval call binding the contract method 0x0c44ec81.
Solidity: function toKey(chain bytes, seq bytes) constant returns(bytes)
func (*ETGateCaller) Withdrawable ¶
func (_ETGate *ETGateCaller) Withdrawable(opts *bind.CallOpts, height *big.Int, to common.Address, value uint64, token common.Address, chain []byte, seq *big.Int) (bool, error)
Withdrawable is a free data retrieval call binding the contract method 0x2b07f190.
Solidity: function withdrawable(height uint256, to address, value uint64, token address, chain bytes, seq uint256) constant returns(bool)
type ETGateCallerRaw ¶
type ETGateCallerRaw struct {
Contract *ETGateCaller // Generic read-only contract binding to access the raw methods on
}
ETGateCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*ETGateCallerRaw) Call ¶
func (_ETGate *ETGateCallerRaw) 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 ETGateCallerSession ¶
type ETGateCallerSession struct { Contract *ETGateCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
ETGateCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*ETGateCallerSession) Bytes20IsZero ¶
func (_ETGate *ETGateCallerSession) Bytes20IsZero(arr [20]byte) (bool, error)
Bytes20IsZero is a free data retrieval call binding the contract method 0xf6fff505.
Solidity: function bytes20IsZero(arr bytes20) constant returns(bool)
func (*ETGateCallerSession) ChainState ¶
func (_ETGate *ETGateCallerSession) ChainState() (struct { ChainID string LastBlockHeight *big.Int TotalVotingPower *big.Int }, error)
ChainState is a free data retrieval call binding the contract method 0x4535e1c0.
Solidity: function chainState() constant returns(chainID string, lastBlockHeight uint256, totalVotingPower uint256)
func (*ETGateCallerSession) Delay ¶
func (_ETGate *ETGateCallerSession) Delay() (*big.Int, error)
Delay is a free data retrieval call binding the contract method 0x6a42b8f8.
Solidity: function delay() constant returns(uint256)
func (*ETGateCallerSession) GetDeposited ¶
GetDeposited is a free data retrieval call binding the contract method 0x76ede4f8.
Solidity: function getDeposited(k1 bytes, k2 address) constant returns(uint256)
func (*ETGateCallerSession) GetUpdated ¶
GetUpdated is a free data retrieval call binding the contract method 0x4ce6ee9d.
Solidity: function getUpdated(k uint256) constant returns(uint256)
func (*ETGateCallerSession) GetUsed ¶
func (_ETGate *ETGateCallerSession) GetUsed(k []byte) (bool, error)
GetUsed is a free data retrieval call binding the contract method 0x7fd43a68.
Solidity: function getUsed(k bytes) constant returns(bool)
func (*ETGateCallerSession) IsUpdated ¶
func (_ETGate *ETGateCallerSession) IsUpdated(appHash [20]byte) (bool, error)
IsUpdated is a free data retrieval call binding the contract method 0x372bc9a4.
Solidity: function isUpdated(appHash bytes20) constant returns(bool)
func (*ETGateCallerSession) IsValidator ¶
func (_ETGate *ETGateCallerSession) IsValidator(addr common.Address) (bool, error)
IsValidator is a free data retrieval call binding the contract method 0xfacd743b.
Solidity: function isValidator(addr address) constant returns(bool)
func (*ETGateCallerSession) LastWithdraw ¶
func (_ETGate *ETGateCallerSession) LastWithdraw() (*big.Int, error)
LastWithdraw is a free data retrieval call binding the contract method 0xb52eea74.
Solidity: function lastWithdraw() constant returns(uint256)
func (*ETGateCallerSession) NewEthAddr ¶
func (_ETGate *ETGateCallerSession) NewEthAddr(pubkey []byte) (common.Address, error)
NewEthAddr is a free data retrieval call binding the contract method 0x61e586fa.
Solidity: function newEthAddr(pubkey bytes) constant returns(address)
func (*ETGateCallerSession) SenderIsValidator ¶
func (_ETGate *ETGateCallerSession) SenderIsValidator() (bool, error)
SenderIsValidator is a free data retrieval call binding the contract method 0xf6d07f89.
Solidity: function senderIsValidator() constant returns(bool)
func (*ETGateCallerSession) ToBytes ¶
func (_ETGate *ETGateCallerSession) ToBytes(a common.Address) ([]byte, error)
ToBytes is a free data retrieval call binding the contract method 0x593b79fe.
Solidity: function toBytes(a address) constant returns(b bytes)
func (*ETGateCallerSession) ToKey ¶
func (_ETGate *ETGateCallerSession) ToKey(chain []byte, seq []byte) ([]byte, error)
ToKey is a free data retrieval call binding the contract method 0x0c44ec81.
Solidity: function toKey(chain bytes, seq bytes) constant returns(bytes)
func (*ETGateCallerSession) Withdrawable ¶
func (_ETGate *ETGateCallerSession) Withdrawable(height *big.Int, to common.Address, value uint64, token common.Address, chain []byte, seq *big.Int) (bool, error)
Withdrawable is a free data retrieval call binding the contract method 0x2b07f190.
Solidity: function withdrawable(height uint256, to address, value uint64, token address, chain bytes, seq uint256) constant returns(bool)
type ETGateRaw ¶
type ETGateRaw struct {
Contract *ETGate // Generic contract binding to access the raw methods on
}
ETGateRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*ETGateRaw) Call ¶
func (_ETGate *ETGateRaw) 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 (*ETGateRaw) Transact ¶
func (_ETGate *ETGateRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*ETGateRaw) Transfer ¶
func (_ETGate *ETGateRaw) 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 ETGateSession ¶
type ETGateSession struct { Contract *ETGate // 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 }
ETGateSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*ETGateSession) Bytes20IsZero ¶
func (_ETGate *ETGateSession) Bytes20IsZero(arr [20]byte) (bool, error)
Bytes20IsZero is a free data retrieval call binding the contract method 0xf6fff505.
Solidity: function bytes20IsZero(arr bytes20) constant returns(bool)
func (*ETGateSession) ChainState ¶
func (_ETGate *ETGateSession) ChainState() (struct { ChainID string LastBlockHeight *big.Int TotalVotingPower *big.Int }, error)
ChainState is a free data retrieval call binding the contract method 0x4535e1c0.
Solidity: function chainState() constant returns(chainID string, lastBlockHeight uint256, totalVotingPower uint256)
func (*ETGateSession) Delay ¶
func (_ETGate *ETGateSession) Delay() (*big.Int, error)
Delay is a free data retrieval call binding the contract method 0x6a42b8f8.
Solidity: function delay() constant returns(uint256)
func (*ETGateSession) Deposit ¶
func (_ETGate *ETGateSession) Deposit(to common.Address, value uint64, token common.Address, chain []byte) (*types.Transaction, error)
Deposit is a paid mutator transaction binding the contract method 0x9039bb4f.
Solidity: function deposit(to address, value uint64, token address, chain bytes) returns()
func (*ETGateSession) DepositEther ¶
func (_ETGate *ETGateSession) DepositEther(to common.Address, value uint64, chain []byte) (*types.Transaction, error)
DepositEther is a paid mutator transaction binding the contract method 0x5f39fba3.
Solidity: function depositEther(to address, value uint64, chain bytes) returns()
func (*ETGateSession) GetDeposited ¶
GetDeposited is a free data retrieval call binding the contract method 0x76ede4f8.
Solidity: function getDeposited(k1 bytes, k2 address) constant returns(uint256)
func (*ETGateSession) GetUpdated ¶
GetUpdated is a free data retrieval call binding the contract method 0x4ce6ee9d.
Solidity: function getUpdated(k uint256) constant returns(uint256)
func (*ETGateSession) GetUsed ¶
func (_ETGate *ETGateSession) GetUsed(k []byte) (bool, error)
GetUsed is a free data retrieval call binding the contract method 0x7fd43a68.
Solidity: function getUsed(k bytes) constant returns(bool)
func (*ETGateSession) IsUpdated ¶
func (_ETGate *ETGateSession) IsUpdated(appHash [20]byte) (bool, error)
IsUpdated is a free data retrieval call binding the contract method 0x372bc9a4.
Solidity: function isUpdated(appHash bytes20) constant returns(bool)
func (*ETGateSession) IsValidator ¶
func (_ETGate *ETGateSession) IsValidator(addr common.Address) (bool, error)
IsValidator is a free data retrieval call binding the contract method 0xfacd743b.
Solidity: function isValidator(addr address) constant returns(bool)
func (*ETGateSession) LastWithdraw ¶
func (_ETGate *ETGateSession) LastWithdraw() (*big.Int, error)
LastWithdraw is a free data retrieval call binding the contract method 0xb52eea74.
Solidity: function lastWithdraw() constant returns(uint256)
func (*ETGateSession) NewEthAddr ¶
func (_ETGate *ETGateSession) NewEthAddr(pubkey []byte) (common.Address, error)
NewEthAddr is a free data retrieval call binding the contract method 0x61e586fa.
Solidity: function newEthAddr(pubkey bytes) constant returns(address)
func (*ETGateSession) SenderIsValidator ¶
func (_ETGate *ETGateSession) SenderIsValidator() (bool, error)
SenderIsValidator is a free data retrieval call binding the contract method 0xf6d07f89.
Solidity: function senderIsValidator() constant returns(bool)
func (*ETGateSession) ToBytes ¶
func (_ETGate *ETGateSession) ToBytes(a common.Address) ([]byte, error)
ToBytes is a free data retrieval call binding the contract method 0x593b79fe.
Solidity: function toBytes(a address) constant returns(b bytes)
func (*ETGateSession) ToKey ¶
func (_ETGate *ETGateSession) ToKey(chain []byte, seq []byte) ([]byte, error)
ToKey is a free data retrieval call binding the contract method 0x0c44ec81.
Solidity: function toKey(chain bytes, seq bytes) constant returns(bytes)
func (*ETGateSession) ToVal ¶
func (_ETGate *ETGateSession) ToVal(to common.Address, value uint64, token common.Address) (*types.Transaction, error)
ToVal is a paid mutator transaction binding the contract method 0xe2c229ea.
Solidity: function toVal(to address, value uint64, token address) returns(bytes)
func (*ETGateSession) Update ¶
func (_ETGate *ETGateSession) Update(_chainID string, _height *big.Int, _timeHash [20]byte, _numTxs *big.Int, _blockIDHash [20]byte, _blockIDPartSetHeaderTotal *big.Int, _blockIDPartSetHeaderHash [20]byte, _lastCommitHash [20]byte, _dataHash [20]byte, _validatorsHash [20]byte, _appHash [20]byte) (*types.Transaction, error)
Update is a paid mutator transaction binding the contract method 0x43c4d499.
Solidity: function update(_chainID string, _height uint256, _timeHash bytes20, _numTxs uint256, _blockIDHash bytes20, _blockIDPartSetHeaderTotal uint256, _blockIDPartSetHeaderHash bytes20, _lastCommitHash bytes20, _dataHash bytes20, _validatorsHash bytes20, _appHash bytes20) returns()
func (*ETGateSession) VerifyRaw ¶
func (_ETGate *ETGateSession) VerifyRaw(iavlProofLeafHash [20]byte, iavlProofInnerHeight []int8, iavlProofInnerSize []*big.Int, iavlProofInnerLeft [][20]byte, iavlProofInnerRight [][20]byte, iavlProofRootHash [20]byte, key []byte, value []byte, root [20]byte) (*types.Transaction, error)
VerifyRaw is a paid mutator transaction binding the contract method 0x01bfd99c.
Solidity: function verifyRaw(iavlProofLeafHash bytes20, iavlProofInnerHeight int8[], iavlProofInnerSize int256[], iavlProofInnerLeft bytes20[], iavlProofInnerRight bytes20[], iavlProofRootHash bytes20, key bytes, value bytes, root bytes20) returns()
func (*ETGateSession) Withdraw ¶
func (_ETGate *ETGateSession) Withdraw(height *big.Int, to common.Address, value uint64, token common.Address, chain []byte, seq *big.Int) (*types.Transaction, error)
Withdraw is a paid mutator transaction binding the contract method 0xfe4fa2bb.
Solidity: function withdraw(height uint256, to address, value uint64, token address, chain bytes, seq uint256) returns()
func (*ETGateSession) Withdrawable ¶
func (_ETGate *ETGateSession) Withdrawable(height *big.Int, to common.Address, value uint64, token common.Address, chain []byte, seq *big.Int) (bool, error)
Withdrawable is a free data retrieval call binding the contract method 0x2b07f190.
Solidity: function withdrawable(height uint256, to address, value uint64, token address, chain bytes, seq uint256) constant returns(bool)
func (*ETGateSession) WriteUvarint ¶
func (_ETGate *ETGateSession) WriteUvarint(i uint64) (*types.Transaction, error)
WriteUvarint is a paid mutator transaction binding the contract method 0xd852de9a.
Solidity: function writeUvarint(i uint64) returns(bytes)
type ETGateTransactor ¶
type ETGateTransactor struct {
// contains filtered or unexported fields
}
ETGateTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewETGateTransactor ¶
func NewETGateTransactor(address common.Address, transactor bind.ContractTransactor) (*ETGateTransactor, error)
NewETGateTransactor creates a new write-only instance of ETGate, bound to a specific deployed contract.
func (*ETGateTransactor) Deposit ¶
func (_ETGate *ETGateTransactor) Deposit(opts *bind.TransactOpts, to common.Address, value uint64, token common.Address, chain []byte) (*types.Transaction, error)
Deposit is a paid mutator transaction binding the contract method 0x9039bb4f.
Solidity: function deposit(to address, value uint64, token address, chain bytes) returns()
func (*ETGateTransactor) DepositEther ¶
func (_ETGate *ETGateTransactor) DepositEther(opts *bind.TransactOpts, to common.Address, value uint64, chain []byte) (*types.Transaction, error)
DepositEther is a paid mutator transaction binding the contract method 0x5f39fba3.
Solidity: function depositEther(to address, value uint64, chain bytes) returns()
func (*ETGateTransactor) ToVal ¶
func (_ETGate *ETGateTransactor) ToVal(opts *bind.TransactOpts, to common.Address, value uint64, token common.Address) (*types.Transaction, error)
ToVal is a paid mutator transaction binding the contract method 0xe2c229ea.
Solidity: function toVal(to address, value uint64, token address) returns(bytes)
func (*ETGateTransactor) Update ¶
func (_ETGate *ETGateTransactor) Update(opts *bind.TransactOpts, _chainID string, _height *big.Int, _timeHash [20]byte, _numTxs *big.Int, _blockIDHash [20]byte, _blockIDPartSetHeaderTotal *big.Int, _blockIDPartSetHeaderHash [20]byte, _lastCommitHash [20]byte, _dataHash [20]byte, _validatorsHash [20]byte, _appHash [20]byte) (*types.Transaction, error)
Update is a paid mutator transaction binding the contract method 0x43c4d499.
Solidity: function update(_chainID string, _height uint256, _timeHash bytes20, _numTxs uint256, _blockIDHash bytes20, _blockIDPartSetHeaderTotal uint256, _blockIDPartSetHeaderHash bytes20, _lastCommitHash bytes20, _dataHash bytes20, _validatorsHash bytes20, _appHash bytes20) returns()
func (*ETGateTransactor) VerifyRaw ¶
func (_ETGate *ETGateTransactor) VerifyRaw(opts *bind.TransactOpts, iavlProofLeafHash [20]byte, iavlProofInnerHeight []int8, iavlProofInnerSize []*big.Int, iavlProofInnerLeft [][20]byte, iavlProofInnerRight [][20]byte, iavlProofRootHash [20]byte, key []byte, value []byte, root [20]byte) (*types.Transaction, error)
VerifyRaw is a paid mutator transaction binding the contract method 0x01bfd99c.
Solidity: function verifyRaw(iavlProofLeafHash bytes20, iavlProofInnerHeight int8[], iavlProofInnerSize int256[], iavlProofInnerLeft bytes20[], iavlProofInnerRight bytes20[], iavlProofRootHash bytes20, key bytes, value bytes, root bytes20) returns()
func (*ETGateTransactor) Withdraw ¶
func (_ETGate *ETGateTransactor) Withdraw(opts *bind.TransactOpts, height *big.Int, to common.Address, value uint64, token common.Address, chain []byte, seq *big.Int) (*types.Transaction, error)
Withdraw is a paid mutator transaction binding the contract method 0xfe4fa2bb.
Solidity: function withdraw(height uint256, to address, value uint64, token address, chain bytes, seq uint256) returns()
func (*ETGateTransactor) WriteUvarint ¶
func (_ETGate *ETGateTransactor) WriteUvarint(opts *bind.TransactOpts, i uint64) (*types.Transaction, error)
WriteUvarint is a paid mutator transaction binding the contract method 0xd852de9a.
Solidity: function writeUvarint(i uint64) returns(bytes)
type ETGateTransactorRaw ¶
type ETGateTransactorRaw struct {
Contract *ETGateTransactor // Generic write-only contract binding to access the raw methods on
}
ETGateTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*ETGateTransactorRaw) Transact ¶
func (_ETGate *ETGateTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*ETGateTransactorRaw) Transfer ¶
func (_ETGate *ETGateTransactorRaw) 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 ETGateTransactorSession ¶
type ETGateTransactorSession struct { Contract *ETGateTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
ETGateTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*ETGateTransactorSession) Deposit ¶
func (_ETGate *ETGateTransactorSession) Deposit(to common.Address, value uint64, token common.Address, chain []byte) (*types.Transaction, error)
Deposit is a paid mutator transaction binding the contract method 0x9039bb4f.
Solidity: function deposit(to address, value uint64, token address, chain bytes) returns()
func (*ETGateTransactorSession) DepositEther ¶
func (_ETGate *ETGateTransactorSession) DepositEther(to common.Address, value uint64, chain []byte) (*types.Transaction, error)
DepositEther is a paid mutator transaction binding the contract method 0x5f39fba3.
Solidity: function depositEther(to address, value uint64, chain bytes) returns()
func (*ETGateTransactorSession) ToVal ¶
func (_ETGate *ETGateTransactorSession) ToVal(to common.Address, value uint64, token common.Address) (*types.Transaction, error)
ToVal is a paid mutator transaction binding the contract method 0xe2c229ea.
Solidity: function toVal(to address, value uint64, token address) returns(bytes)
func (*ETGateTransactorSession) Update ¶
func (_ETGate *ETGateTransactorSession) Update(_chainID string, _height *big.Int, _timeHash [20]byte, _numTxs *big.Int, _blockIDHash [20]byte, _blockIDPartSetHeaderTotal *big.Int, _blockIDPartSetHeaderHash [20]byte, _lastCommitHash [20]byte, _dataHash [20]byte, _validatorsHash [20]byte, _appHash [20]byte) (*types.Transaction, error)
Update is a paid mutator transaction binding the contract method 0x43c4d499.
Solidity: function update(_chainID string, _height uint256, _timeHash bytes20, _numTxs uint256, _blockIDHash bytes20, _blockIDPartSetHeaderTotal uint256, _blockIDPartSetHeaderHash bytes20, _lastCommitHash bytes20, _dataHash bytes20, _validatorsHash bytes20, _appHash bytes20) returns()
func (*ETGateTransactorSession) VerifyRaw ¶
func (_ETGate *ETGateTransactorSession) VerifyRaw(iavlProofLeafHash [20]byte, iavlProofInnerHeight []int8, iavlProofInnerSize []*big.Int, iavlProofInnerLeft [][20]byte, iavlProofInnerRight [][20]byte, iavlProofRootHash [20]byte, key []byte, value []byte, root [20]byte) (*types.Transaction, error)
VerifyRaw is a paid mutator transaction binding the contract method 0x01bfd99c.
Solidity: function verifyRaw(iavlProofLeafHash bytes20, iavlProofInnerHeight int8[], iavlProofInnerSize int256[], iavlProofInnerLeft bytes20[], iavlProofInnerRight bytes20[], iavlProofRootHash bytes20, key bytes, value bytes, root bytes20) returns()
func (*ETGateTransactorSession) Withdraw ¶
func (_ETGate *ETGateTransactorSession) Withdraw(height *big.Int, to common.Address, value uint64, token common.Address, chain []byte, seq *big.Int) (*types.Transaction, error)
Withdraw is a paid mutator transaction binding the contract method 0xfe4fa2bb.
Solidity: function withdraw(height uint256, to address, value uint64, token address, chain bytes, seq uint256) returns()
func (*ETGateTransactorSession) WriteUvarint ¶
func (_ETGate *ETGateTransactorSession) WriteUvarint(i uint64) (*types.Transaction, error)
WriteUvarint is a paid mutator transaction binding the contract method 0xd852de9a.
Solidity: function writeUvarint(i uint64) returns(bytes)