IBridge

package
v0.0.0-...-e30b66f Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2021 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const IBridgeABI = "" /* 1165-byte string literal not displayed */

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

Variables

This section is empty.

Functions

This section is empty.

Types

type IBridge

type IBridge struct {
	IBridgeCaller     // Read-only binding to the contract
	IBridgeTransactor // Write-only binding to the contract
	IBridgeFilterer   // Log filterer for contract events
}

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

func NewIBridge

func NewIBridge(address common.Address, backend bind.ContractBackend) (*IBridge, error)

NewIBridge creates a new instance of IBridge, bound to a specific deployed contract.

type IBridgeCaller

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

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

func NewIBridgeCaller

func NewIBridgeCaller(address common.Address, caller bind.ContractCaller) (*IBridgeCaller, error)

NewIBridgeCaller creates a new read-only instance of IBridge, bound to a specific deployed contract.

func (*IBridgeCaller) MinCrossAmount

func (_IBridge *IBridgeCaller) MinCrossAmount(opts *bind.CallOpts, resourceId [32]byte) (*big.Int, error)

MinCrossAmount is a free data retrieval call binding the contract method 0xfca08900.

Solidity: function minCrossAmount(bytes32 resourceId) view returns(uint256)

func (*IBridgeCaller) ResourceIDToLimit

func (_IBridge *IBridgeCaller) ResourceIDToLimit(opts *bind.CallOpts, resourceId [32]byte) (struct {
	MinAmount *big.Int
	MaxAmount *big.Int
}, error)

ResourceIDToLimit is a free data retrieval call binding the contract method 0xfa6bbe47.

Solidity: function resourceIDToLimit(bytes32 resourceId) view returns(uint256 minAmount, uint256 maxAmount)

type IBridgeCallerRaw

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

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

func (*IBridgeCallerRaw) Call

func (_IBridge *IBridgeCallerRaw) 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 IBridgeCallerSession

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

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

func (*IBridgeCallerSession) MinCrossAmount

func (_IBridge *IBridgeCallerSession) MinCrossAmount(resourceId [32]byte) (*big.Int, error)

MinCrossAmount is a free data retrieval call binding the contract method 0xfca08900.

Solidity: function minCrossAmount(bytes32 resourceId) view returns(uint256)

func (*IBridgeCallerSession) ResourceIDToLimit

func (_IBridge *IBridgeCallerSession) ResourceIDToLimit(resourceId [32]byte) (struct {
	MinAmount *big.Int
	MaxAmount *big.Int
}, error)

ResourceIDToLimit is a free data retrieval call binding the contract method 0xfa6bbe47.

Solidity: function resourceIDToLimit(bytes32 resourceId) view returns(uint256 minAmount, uint256 maxAmount)

type IBridgeFilterer

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

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

func NewIBridgeFilterer

func NewIBridgeFilterer(address common.Address, filterer bind.ContractFilterer) (*IBridgeFilterer, error)

NewIBridgeFilterer creates a new log filterer instance of IBridge, bound to a specific deployed contract.

type IBridgeRaw

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

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

func (*IBridgeRaw) Call

func (_IBridge *IBridgeRaw) 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 (*IBridgeRaw) Transact

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

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

func (*IBridgeRaw) Transfer

func (_IBridge *IBridgeRaw) 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 IBridgeSession

type IBridgeSession struct {
	Contract     *IBridge          // 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
}

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

func (*IBridgeSession) ChainID

func (_IBridge *IBridgeSession) ChainID() (*types.Transaction, error)

ChainID is a paid mutator transaction binding the contract method 0xbeab7131.

Solidity: function _chainID() returns(uint8)

func (*IBridgeSession) DepositFT

func (_IBridge *IBridgeSession) DepositFT(destinationChainID uint8, resourceID [32]byte, recipient []byte, amount *big.Int) (*types.Transaction, error)

DepositFT is a paid mutator transaction binding the contract method 0x1ca2388d.

Solidity: function depositFT(uint8 destinationChainID, bytes32 resourceID, bytes recipient, uint256 amount) payable returns()

func (*IBridgeSession) MinCrossAmount

func (_IBridge *IBridgeSession) MinCrossAmount(resourceId [32]byte) (*big.Int, error)

MinCrossAmount is a free data retrieval call binding the contract method 0xfca08900.

Solidity: function minCrossAmount(bytes32 resourceId) view returns(uint256)

func (*IBridgeSession) ResourceIDToLimit

func (_IBridge *IBridgeSession) ResourceIDToLimit(resourceId [32]byte) (struct {
	MinAmount *big.Int
	MaxAmount *big.Int
}, error)

ResourceIDToLimit is a free data retrieval call binding the contract method 0xfa6bbe47.

Solidity: function resourceIDToLimit(bytes32 resourceId) view returns(uint256 minAmount, uint256 maxAmount)

type IBridgeTransactor

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

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

func NewIBridgeTransactor

func NewIBridgeTransactor(address common.Address, transactor bind.ContractTransactor) (*IBridgeTransactor, error)

NewIBridgeTransactor creates a new write-only instance of IBridge, bound to a specific deployed contract.

func (*IBridgeTransactor) ChainID

func (_IBridge *IBridgeTransactor) ChainID(opts *bind.TransactOpts) (*types.Transaction, error)

ChainID is a paid mutator transaction binding the contract method 0xbeab7131.

Solidity: function _chainID() returns(uint8)

func (*IBridgeTransactor) DepositFT

func (_IBridge *IBridgeTransactor) DepositFT(opts *bind.TransactOpts, destinationChainID uint8, resourceID [32]byte, recipient []byte, amount *big.Int) (*types.Transaction, error)

DepositFT is a paid mutator transaction binding the contract method 0x1ca2388d.

Solidity: function depositFT(uint8 destinationChainID, bytes32 resourceID, bytes recipient, uint256 amount) payable returns()

type IBridgeTransactorRaw

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

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

func (*IBridgeTransactorRaw) Transact

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

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

func (*IBridgeTransactorRaw) Transfer

func (_IBridge *IBridgeTransactorRaw) 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 IBridgeTransactorSession

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

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

func (*IBridgeTransactorSession) ChainID

func (_IBridge *IBridgeTransactorSession) ChainID() (*types.Transaction, error)

ChainID is a paid mutator transaction binding the contract method 0xbeab7131.

Solidity: function _chainID() returns(uint8)

func (*IBridgeTransactorSession) DepositFT

func (_IBridge *IBridgeTransactorSession) DepositFT(destinationChainID uint8, resourceID [32]byte, recipient []byte, amount *big.Int) (*types.Transaction, error)

DepositFT is a paid mutator transaction binding the contract method 0x1ca2388d.

Solidity: function depositFT(uint8 destinationChainID, bytes32 resourceID, bytes recipient, uint256 amount) payable returns()

Jump to

Keyboard shortcuts

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