proxy_contracts

package
v1.0.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const AccessControlABI = "" /* 3107-byte string literal not displayed */

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

View Source
const AddressABI = "[]"

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

View Source
const ContextABI = "[]"

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

View Source
const ECDSAABI = "[]"

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

View Source
const EnumerableSetABI = "[]"

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

View Source
const IERC20ABI = "" /* 2426-byte string literal not displayed */

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

View Source
const IMintBurnABI = "" /* 501-byte string literal not displayed */

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

View Source
const IUniswapV2Router01ABI = "" /* 10706-byte string literal not displayed */

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

View Source
const InterchainSwapABI = "" /* 8858-byte string literal not displayed */

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

View Source
const OwnableABI = "" /* 753-byte string literal not displayed */

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

View Source
const ProxyABI = "" /* 5395-byte string literal not displayed */

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

View Source
const SafeDecimalMathABI = "" /* 1019-byte string literal not displayed */

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

View Source
const SafeERC20ABI = "[]"

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

View Source
const SafeMathABI = "[]"

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

Variables

View Source
var AccessControlFuncSigs = map[string]string{
	"a217fddf": "DEFAULT_ADMIN_ROLE()",
	"248a9ca3": "getRoleAdmin(bytes32)",
	"9010d07c": "getRoleMember(bytes32,uint256)",
	"ca15c873": "getRoleMemberCount(bytes32)",
	"2f2ff15d": "grantRole(bytes32,address)",
	"91d14854": "hasRole(bytes32,address)",
	"36568abe": "renounceRole(bytes32,address)",
	"d547741f": "revokeRole(bytes32,address)",
}

AccessControlFuncSigs maps the 4-byte function signature to its string representation.

View Source
var AddressBin = "" /* 244-byte string literal not displayed */

AddressBin is the compiled bytecode used for deploying new contracts.

View Source
var ECDSABin = "" /* 244-byte string literal not displayed */

ECDSABin is the compiled bytecode used for deploying new contracts.

View Source
var EnumerableSetBin = "" /* 244-byte string literal not displayed */

EnumerableSetBin is the compiled bytecode used for deploying new contracts.

View Source
var IERC20FuncSigs = map[string]string{
	"dd62ed3e": "allowance(address,address)",
	"095ea7b3": "approve(address,uint256)",
	"70a08231": "balanceOf(address)",
	"18160ddd": "totalSupply()",
	"a9059cbb": "transfer(address,uint256)",
	"23b872dd": "transferFrom(address,address,uint256)",
}

IERC20FuncSigs maps the 4-byte function signature to its string representation.

View Source
var IMintBurnFuncSigs = map[string]string{
	"9dc29fac": "burn(address,uint256)",
	"40c10f19": "mint(address,uint256)",
}

IMintBurnFuncSigs maps the 4-byte function signature to its string representation.

View Source
var IUniswapV2Router01FuncSigs = map[string]string{
	"ad5c4648": "WETH()",
	"e8e33700": "addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256)",
	"f305d719": "addLiquidityETH(address,uint256,uint256,uint256,address,uint256)",
	"c45a0155": "factory()",
	"85f8c259": "getAmountIn(uint256,uint256,uint256)",
	"054d50d4": "getAmountOut(uint256,uint256,uint256)",
	"1f00ca74": "getAmountsIn(uint256,address[])",
	"d06ca61f": "getAmountsOut(uint256,address[])",
	"ad615dec": "quote(uint256,uint256,uint256)",
	"baa2abde": "removeLiquidity(address,address,uint256,uint256,uint256,address,uint256)",
	"02751cec": "removeLiquidityETH(address,uint256,uint256,uint256,address,uint256)",
	"ded9382a": "removeLiquidityETHWithPermit(address,uint256,uint256,uint256,address,uint256,bool,uint8,bytes32,bytes32)",
	"2195995c": "removeLiquidityWithPermit(address,address,uint256,uint256,uint256,address,uint256,bool,uint8,bytes32,bytes32)",
	"fb3bdb41": "swapETHForExactTokens(uint256,address[],address,uint256)",
	"7ff36ab5": "swapExactETHForTokens(uint256,address[],address,uint256)",
	"18cbafe5": "swapExactTokensForETH(uint256,uint256,address[],address,uint256)",
	"38ed1739": "swapExactTokensForTokens(uint256,uint256,address[],address,uint256)",
	"4a25d94a": "swapTokensForExactETH(uint256,uint256,address[],address,uint256)",
	"8803dbee": "swapTokensForExactTokens(uint256,uint256,address[],address,uint256)",
}

IUniswapV2Router01FuncSigs maps the 4-byte function signature to its string representation.

View Source
var InterchainSwapBin = "" /* 13428-byte string literal not displayed */

InterchainSwapBin is the compiled bytecode used for deploying new contracts.

View Source
var InterchainSwapFuncSigs = map[string]string{
	"a217fddf": "DEFAULT_ADMIN_ROLE()",
	"fced6ada": "PIER_ROLE()",
	"8f9a259a": "addSupportToken(address,address,address)",
	"5fda09da": "addSupportTokens(address[],address[],address[])",
	"3d5a6eb4": "app2bxhToken(address)",
	"3ed00217": "appToken2Pier(address)",
	"95942c47": "appchainIndex(address)",
	"b8ce670d": "burn(address,uint256,address)",
	"df248d22": "bxh2appToken(address)",
	"248a9ca3": "getRoleAdmin(bytes32)",
	"9010d07c": "getRoleMember(bytes32,uint256)",
	"ca15c873": "getRoleMemberCount(bytes32)",
	"2f2ff15d": "grantRole(bytes32,address)",
	"91d14854": "hasRole(bytes32,address)",
	"ce4d5f7d": "index2Height(address,uint256)",
	"ca8efd75": "mint(address,address,address,address,uint256,string,uint256)",
	"055d822c": "mintAmount(address)",
	"b98ec482": "relayIndex(address)",
	"e2769cfa": "removeSupportToken(address)",
	"0daff621": "removeSupportTokens(address[])",
	"36568abe": "renounceRole(bytes32,address)",
	"d547741f": "revokeRole(bytes32,address)",
	"10c27402": "txMinted(string)",
}

InterchainSwapFuncSigs maps the 4-byte function signature to its string representation.

View Source
var OwnableFuncSigs = map[string]string{
	"8da5cb5b": "owner()",
	"715018a6": "renounceOwnership()",
	"f2fde38b": "transferOwnership(address)",
}

OwnableFuncSigs maps the 4-byte function signature to its string representation.

View Source
var ProxyBin = "" /* 9198-byte string literal not displayed */

ProxyBin is the compiled bytecode used for deploying new contracts.

View Source
var ProxyFuncSigs = map[string]string{
	"a217fddf": "DEFAULT_ADMIN_ROLE()",
	"3ce901ff": "_dexAddr()",
	"c3e4317d": "_interchainAddr()",
	"248a9ca3": "getRoleAdmin(bytes32)",
	"9010d07c": "getRoleMember(bytes32,uint256)",
	"ca15c873": "getRoleMemberCount(bytes32)",
	"2f2ff15d": "grantRole(bytes32,address)",
	"91d14854": "hasRole(bytes32,address)",
	"96f963b4": "index2Height(uint256)",
	"95bc3bd0": "lockAmount(address)",
	"ca3f8a7b": "proxy(address,address,address,address,uint256,string,uint256,address,address)",
	"36568abe": "renounceRole(bytes32,address)",
	"d547741f": "revokeRole(bytes32,address)",
	"2a4f1621": "supportToken(address)",
	"967145af": "txUnlocked(string)",
}

ProxyFuncSigs maps the 4-byte function signature to its string representation.

View Source
var SafeDecimalMathBin = "" /* 682-byte string literal not displayed */

SafeDecimalMathBin is the compiled bytecode used for deploying new contracts.

View Source
var SafeDecimalMathFuncSigs = map[string]string{
	"864029e7": "PRECISE_UNIT()",
	"9d8e2177": "UNIT()",
	"313ce567": "decimals()",
	"def4419d": "highPrecisionDecimals()",
	"d5e5e6e6": "preciseUnit()",
	"907af6c0": "unit()",
}

SafeDecimalMathFuncSigs maps the 4-byte function signature to its string representation.

View Source
var SafeERC20Bin = "" /* 244-byte string literal not displayed */

SafeERC20Bin is the compiled bytecode used for deploying new contracts.

View Source
var SafeMathBin = "" /* 244-byte string literal not displayed */

SafeMathBin is the compiled bytecode used for deploying new contracts.

Functions

This section is empty.

Types

type AccessControl

type AccessControl struct {
	AccessControlCaller     // Read-only binding to the contract
	AccessControlTransactor // Write-only binding to the contract
	AccessControlFilterer   // Log filterer for contract events
}

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

func NewAccessControl

func NewAccessControl(address common.Address, backend bind.ContractBackend) (*AccessControl, error)

NewAccessControl creates a new instance of AccessControl, bound to a specific deployed contract.

type AccessControlCaller

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

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

func NewAccessControlCaller

func NewAccessControlCaller(address common.Address, caller bind.ContractCaller) (*AccessControlCaller, error)

NewAccessControlCaller creates a new read-only instance of AccessControl, bound to a specific deployed contract.

func (*AccessControlCaller) DEFAULTADMINROLE

func (_AccessControl *AccessControlCaller) DEFAULTADMINROLE(opts *bind.CallOpts) ([32]byte, error)

DEFAULTADMINROLE is a free data retrieval call binding the contract method 0xa217fddf.

Solidity: function DEFAULT_ADMIN_ROLE() view returns(bytes32)

func (*AccessControlCaller) GetRoleAdmin

func (_AccessControl *AccessControlCaller) GetRoleAdmin(opts *bind.CallOpts, role [32]byte) ([32]byte, error)

GetRoleAdmin is a free data retrieval call binding the contract method 0x248a9ca3.

Solidity: function getRoleAdmin(bytes32 role) view returns(bytes32)

func (*AccessControlCaller) GetRoleMember

func (_AccessControl *AccessControlCaller) GetRoleMember(opts *bind.CallOpts, role [32]byte, index *big.Int) (common.Address, error)

GetRoleMember is a free data retrieval call binding the contract method 0x9010d07c.

Solidity: function getRoleMember(bytes32 role, uint256 index) view returns(address)

func (*AccessControlCaller) GetRoleMemberCount

func (_AccessControl *AccessControlCaller) GetRoleMemberCount(opts *bind.CallOpts, role [32]byte) (*big.Int, error)

GetRoleMemberCount is a free data retrieval call binding the contract method 0xca15c873.

Solidity: function getRoleMemberCount(bytes32 role) view returns(uint256)

func (*AccessControlCaller) HasRole

func (_AccessControl *AccessControlCaller) HasRole(opts *bind.CallOpts, role [32]byte, account common.Address) (bool, error)

HasRole is a free data retrieval call binding the contract method 0x91d14854.

Solidity: function hasRole(bytes32 role, address account) view returns(bool)

type AccessControlCallerRaw

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

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

func (*AccessControlCallerRaw) Call

func (_AccessControl *AccessControlCallerRaw) 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 AccessControlCallerSession

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

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

func (*AccessControlCallerSession) DEFAULTADMINROLE

func (_AccessControl *AccessControlCallerSession) DEFAULTADMINROLE() ([32]byte, error)

DEFAULTADMINROLE is a free data retrieval call binding the contract method 0xa217fddf.

Solidity: function DEFAULT_ADMIN_ROLE() view returns(bytes32)

func (*AccessControlCallerSession) GetRoleAdmin

func (_AccessControl *AccessControlCallerSession) GetRoleAdmin(role [32]byte) ([32]byte, error)

GetRoleAdmin is a free data retrieval call binding the contract method 0x248a9ca3.

Solidity: function getRoleAdmin(bytes32 role) view returns(bytes32)

func (*AccessControlCallerSession) GetRoleMember

func (_AccessControl *AccessControlCallerSession) GetRoleMember(role [32]byte, index *big.Int) (common.Address, error)

GetRoleMember is a free data retrieval call binding the contract method 0x9010d07c.

Solidity: function getRoleMember(bytes32 role, uint256 index) view returns(address)

func (*AccessControlCallerSession) GetRoleMemberCount

func (_AccessControl *AccessControlCallerSession) GetRoleMemberCount(role [32]byte) (*big.Int, error)

GetRoleMemberCount is a free data retrieval call binding the contract method 0xca15c873.

Solidity: function getRoleMemberCount(bytes32 role) view returns(uint256)

func (*AccessControlCallerSession) HasRole

func (_AccessControl *AccessControlCallerSession) HasRole(role [32]byte, account common.Address) (bool, error)

HasRole is a free data retrieval call binding the contract method 0x91d14854.

Solidity: function hasRole(bytes32 role, address account) view returns(bool)

type AccessControlFilterer

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

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

func NewAccessControlFilterer

func NewAccessControlFilterer(address common.Address, filterer bind.ContractFilterer) (*AccessControlFilterer, error)

NewAccessControlFilterer creates a new log filterer instance of AccessControl, bound to a specific deployed contract.

func (*AccessControlFilterer) FilterRoleAdminChanged

func (_AccessControl *AccessControlFilterer) FilterRoleAdminChanged(opts *bind.FilterOpts, role [][32]byte, previousAdminRole [][32]byte, newAdminRole [][32]byte) (*AccessControlRoleAdminChangedIterator, error)

FilterRoleAdminChanged is a free log retrieval operation binding the contract event 0xbd79b86ffe0ab8e8776151514217cd7cacd52c909f66475c3af44e129f0b00ff.

Solidity: event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole)

func (*AccessControlFilterer) FilterRoleGranted

func (_AccessControl *AccessControlFilterer) FilterRoleGranted(opts *bind.FilterOpts, role [][32]byte, account []common.Address, sender []common.Address) (*AccessControlRoleGrantedIterator, error)

FilterRoleGranted is a free log retrieval operation binding the contract event 0x2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d.

Solidity: event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender)

func (*AccessControlFilterer) FilterRoleRevoked

func (_AccessControl *AccessControlFilterer) FilterRoleRevoked(opts *bind.FilterOpts, role [][32]byte, account []common.Address, sender []common.Address) (*AccessControlRoleRevokedIterator, error)

FilterRoleRevoked is a free log retrieval operation binding the contract event 0xf6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b.

Solidity: event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender)

func (*AccessControlFilterer) ParseRoleAdminChanged

func (_AccessControl *AccessControlFilterer) ParseRoleAdminChanged(log types.Log) (*AccessControlRoleAdminChanged, error)

ParseRoleAdminChanged is a log parse operation binding the contract event 0xbd79b86ffe0ab8e8776151514217cd7cacd52c909f66475c3af44e129f0b00ff.

Solidity: event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole)

func (*AccessControlFilterer) ParseRoleGranted

func (_AccessControl *AccessControlFilterer) ParseRoleGranted(log types.Log) (*AccessControlRoleGranted, error)

ParseRoleGranted is a log parse operation binding the contract event 0x2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d.

Solidity: event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender)

func (*AccessControlFilterer) ParseRoleRevoked

func (_AccessControl *AccessControlFilterer) ParseRoleRevoked(log types.Log) (*AccessControlRoleRevoked, error)

ParseRoleRevoked is a log parse operation binding the contract event 0xf6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b.

Solidity: event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender)

func (*AccessControlFilterer) WatchRoleAdminChanged

func (_AccessControl *AccessControlFilterer) WatchRoleAdminChanged(opts *bind.WatchOpts, sink chan<- *AccessControlRoleAdminChanged, role [][32]byte, previousAdminRole [][32]byte, newAdminRole [][32]byte) (event.Subscription, error)

WatchRoleAdminChanged is a free log subscription operation binding the contract event 0xbd79b86ffe0ab8e8776151514217cd7cacd52c909f66475c3af44e129f0b00ff.

Solidity: event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole)

func (*AccessControlFilterer) WatchRoleGranted

func (_AccessControl *AccessControlFilterer) WatchRoleGranted(opts *bind.WatchOpts, sink chan<- *AccessControlRoleGranted, role [][32]byte, account []common.Address, sender []common.Address) (event.Subscription, error)

WatchRoleGranted is a free log subscription operation binding the contract event 0x2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d.

Solidity: event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender)

func (*AccessControlFilterer) WatchRoleRevoked

func (_AccessControl *AccessControlFilterer) WatchRoleRevoked(opts *bind.WatchOpts, sink chan<- *AccessControlRoleRevoked, role [][32]byte, account []common.Address, sender []common.Address) (event.Subscription, error)

WatchRoleRevoked is a free log subscription operation binding the contract event 0xf6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b.

Solidity: event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender)

type AccessControlRaw

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

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

func (*AccessControlRaw) Call

func (_AccessControl *AccessControlRaw) 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 (*AccessControlRaw) Transact

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

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

func (*AccessControlRaw) Transfer

func (_AccessControl *AccessControlRaw) 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 AccessControlRoleAdminChanged

type AccessControlRoleAdminChanged struct {
	Role              [32]byte
	PreviousAdminRole [32]byte
	NewAdminRole      [32]byte
	Raw               types.Log // Blockchain specific contextual infos
}

AccessControlRoleAdminChanged represents a RoleAdminChanged event raised by the AccessControl contract.

type AccessControlRoleAdminChangedIterator

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

AccessControlRoleAdminChangedIterator is returned from FilterRoleAdminChanged and is used to iterate over the raw logs and unpacked data for RoleAdminChanged events raised by the AccessControl contract.

func (*AccessControlRoleAdminChangedIterator) Close

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

func (*AccessControlRoleAdminChangedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*AccessControlRoleAdminChangedIterator) 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 AccessControlRoleGranted

type AccessControlRoleGranted struct {
	Role    [32]byte
	Account common.Address
	Sender  common.Address
	Raw     types.Log // Blockchain specific contextual infos
}

AccessControlRoleGranted represents a RoleGranted event raised by the AccessControl contract.

type AccessControlRoleGrantedIterator

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

AccessControlRoleGrantedIterator is returned from FilterRoleGranted and is used to iterate over the raw logs and unpacked data for RoleGranted events raised by the AccessControl contract.

func (*AccessControlRoleGrantedIterator) Close

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

func (*AccessControlRoleGrantedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*AccessControlRoleGrantedIterator) 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 AccessControlRoleRevoked

type AccessControlRoleRevoked struct {
	Role    [32]byte
	Account common.Address
	Sender  common.Address
	Raw     types.Log // Blockchain specific contextual infos
}

AccessControlRoleRevoked represents a RoleRevoked event raised by the AccessControl contract.

type AccessControlRoleRevokedIterator

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

AccessControlRoleRevokedIterator is returned from FilterRoleRevoked and is used to iterate over the raw logs and unpacked data for RoleRevoked events raised by the AccessControl contract.

func (*AccessControlRoleRevokedIterator) Close

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

func (*AccessControlRoleRevokedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*AccessControlRoleRevokedIterator) 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 AccessControlSession

type AccessControlSession struct {
	Contract     *AccessControl    // 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
}

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

func (*AccessControlSession) DEFAULTADMINROLE

func (_AccessControl *AccessControlSession) DEFAULTADMINROLE() ([32]byte, error)

DEFAULTADMINROLE is a free data retrieval call binding the contract method 0xa217fddf.

Solidity: function DEFAULT_ADMIN_ROLE() view returns(bytes32)

func (*AccessControlSession) GetRoleAdmin

func (_AccessControl *AccessControlSession) GetRoleAdmin(role [32]byte) ([32]byte, error)

GetRoleAdmin is a free data retrieval call binding the contract method 0x248a9ca3.

Solidity: function getRoleAdmin(bytes32 role) view returns(bytes32)

func (*AccessControlSession) GetRoleMember

func (_AccessControl *AccessControlSession) GetRoleMember(role [32]byte, index *big.Int) (common.Address, error)

GetRoleMember is a free data retrieval call binding the contract method 0x9010d07c.

Solidity: function getRoleMember(bytes32 role, uint256 index) view returns(address)

func (*AccessControlSession) GetRoleMemberCount

func (_AccessControl *AccessControlSession) GetRoleMemberCount(role [32]byte) (*big.Int, error)

GetRoleMemberCount is a free data retrieval call binding the contract method 0xca15c873.

Solidity: function getRoleMemberCount(bytes32 role) view returns(uint256)

func (*AccessControlSession) GrantRole

func (_AccessControl *AccessControlSession) GrantRole(role [32]byte, account common.Address) (*types.Transaction, error)

GrantRole is a paid mutator transaction binding the contract method 0x2f2ff15d.

Solidity: function grantRole(bytes32 role, address account) returns()

func (*AccessControlSession) HasRole

func (_AccessControl *AccessControlSession) HasRole(role [32]byte, account common.Address) (bool, error)

HasRole is a free data retrieval call binding the contract method 0x91d14854.

Solidity: function hasRole(bytes32 role, address account) view returns(bool)

func (*AccessControlSession) RenounceRole

func (_AccessControl *AccessControlSession) RenounceRole(role [32]byte, account common.Address) (*types.Transaction, error)

RenounceRole is a paid mutator transaction binding the contract method 0x36568abe.

Solidity: function renounceRole(bytes32 role, address account) returns()

func (*AccessControlSession) RevokeRole

func (_AccessControl *AccessControlSession) RevokeRole(role [32]byte, account common.Address) (*types.Transaction, error)

RevokeRole is a paid mutator transaction binding the contract method 0xd547741f.

Solidity: function revokeRole(bytes32 role, address account) returns()

type AccessControlTransactor

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

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

func NewAccessControlTransactor

func NewAccessControlTransactor(address common.Address, transactor bind.ContractTransactor) (*AccessControlTransactor, error)

NewAccessControlTransactor creates a new write-only instance of AccessControl, bound to a specific deployed contract.

func (*AccessControlTransactor) GrantRole

func (_AccessControl *AccessControlTransactor) GrantRole(opts *bind.TransactOpts, role [32]byte, account common.Address) (*types.Transaction, error)

GrantRole is a paid mutator transaction binding the contract method 0x2f2ff15d.

Solidity: function grantRole(bytes32 role, address account) returns()

func (*AccessControlTransactor) RenounceRole

func (_AccessControl *AccessControlTransactor) RenounceRole(opts *bind.TransactOpts, role [32]byte, account common.Address) (*types.Transaction, error)

RenounceRole is a paid mutator transaction binding the contract method 0x36568abe.

Solidity: function renounceRole(bytes32 role, address account) returns()

func (*AccessControlTransactor) RevokeRole

func (_AccessControl *AccessControlTransactor) RevokeRole(opts *bind.TransactOpts, role [32]byte, account common.Address) (*types.Transaction, error)

RevokeRole is a paid mutator transaction binding the contract method 0xd547741f.

Solidity: function revokeRole(bytes32 role, address account) returns()

type AccessControlTransactorRaw

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

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

func (*AccessControlTransactorRaw) Transact

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

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

func (*AccessControlTransactorRaw) Transfer

func (_AccessControl *AccessControlTransactorRaw) 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 AccessControlTransactorSession

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

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

func (*AccessControlTransactorSession) GrantRole

func (_AccessControl *AccessControlTransactorSession) GrantRole(role [32]byte, account common.Address) (*types.Transaction, error)

GrantRole is a paid mutator transaction binding the contract method 0x2f2ff15d.

Solidity: function grantRole(bytes32 role, address account) returns()

func (*AccessControlTransactorSession) RenounceRole

func (_AccessControl *AccessControlTransactorSession) RenounceRole(role [32]byte, account common.Address) (*types.Transaction, error)

RenounceRole is a paid mutator transaction binding the contract method 0x36568abe.

Solidity: function renounceRole(bytes32 role, address account) returns()

func (*AccessControlTransactorSession) RevokeRole

func (_AccessControl *AccessControlTransactorSession) RevokeRole(role [32]byte, account common.Address) (*types.Transaction, error)

RevokeRole is a paid mutator transaction binding the contract method 0xd547741f.

Solidity: function revokeRole(bytes32 role, address account) returns()

type Address

type Address struct {
	AddressCaller     // Read-only binding to the contract
	AddressTransactor // Write-only binding to the contract
	AddressFilterer   // Log filterer for contract events
}

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

func DeployAddress

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

DeployAddress deploys a new Ethereum contract, binding an instance of Address to it.

func NewAddress

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

NewAddress creates a new instance of Address, bound to a specific deployed contract.

type AddressCaller

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

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

func NewAddressCaller

func NewAddressCaller(address common.Address, caller bind.ContractCaller) (*AddressCaller, error)

NewAddressCaller creates a new read-only instance of Address, bound to a specific deployed contract.

type AddressCallerRaw

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

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

func (*AddressCallerRaw) Call

func (_Address *AddressCallerRaw) 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 AddressCallerSession

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

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

type AddressFilterer

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

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

func NewAddressFilterer

func NewAddressFilterer(address common.Address, filterer bind.ContractFilterer) (*AddressFilterer, error)

NewAddressFilterer creates a new log filterer instance of Address, bound to a specific deployed contract.

type AddressRaw

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

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

func (*AddressRaw) Call

func (_Address *AddressRaw) 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 (*AddressRaw) Transact

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

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

func (*AddressRaw) Transfer

func (_Address *AddressRaw) 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 AddressSession

type AddressSession struct {
	Contract     *Address          // 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
}

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

type AddressTransactor

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

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

func NewAddressTransactor

func NewAddressTransactor(address common.Address, transactor bind.ContractTransactor) (*AddressTransactor, error)

NewAddressTransactor creates a new write-only instance of Address, bound to a specific deployed contract.

type AddressTransactorRaw

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

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

func (*AddressTransactorRaw) Transact

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

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

func (*AddressTransactorRaw) Transfer

func (_Address *AddressTransactorRaw) 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 AddressTransactorSession

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

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

type Context

type Context struct {
	ContextCaller     // Read-only binding to the contract
	ContextTransactor // Write-only binding to the contract
	ContextFilterer   // Log filterer for contract events
}

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

func NewContext

func NewContext(address common.Address, backend bind.ContractBackend) (*Context, error)

NewContext creates a new instance of Context, bound to a specific deployed contract.

type ContextCaller

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

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

func NewContextCaller

func NewContextCaller(address common.Address, caller bind.ContractCaller) (*ContextCaller, error)

NewContextCaller creates a new read-only instance of Context, bound to a specific deployed contract.

type ContextCallerRaw

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

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

func (*ContextCallerRaw) Call

func (_Context *ContextCallerRaw) 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 ContextCallerSession

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

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

type ContextFilterer

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

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

func NewContextFilterer

func NewContextFilterer(address common.Address, filterer bind.ContractFilterer) (*ContextFilterer, error)

NewContextFilterer creates a new log filterer instance of Context, bound to a specific deployed contract.

type ContextRaw

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

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

func (*ContextRaw) Call

func (_Context *ContextRaw) 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 (*ContextRaw) Transact

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

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

func (*ContextRaw) Transfer

func (_Context *ContextRaw) 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 ContextSession

type ContextSession struct {
	Contract     *Context          // 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
}

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

type ContextTransactor

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

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

func NewContextTransactor

func NewContextTransactor(address common.Address, transactor bind.ContractTransactor) (*ContextTransactor, error)

NewContextTransactor creates a new write-only instance of Context, bound to a specific deployed contract.

type ContextTransactorRaw

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

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

func (*ContextTransactorRaw) Transact

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

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

func (*ContextTransactorRaw) Transfer

func (_Context *ContextTransactorRaw) 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 ContextTransactorSession

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

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

type ECDSA

type ECDSA struct {
	ECDSACaller     // Read-only binding to the contract
	ECDSATransactor // Write-only binding to the contract
	ECDSAFilterer   // Log filterer for contract events
}

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

func DeployECDSA

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

DeployECDSA deploys a new Ethereum contract, binding an instance of ECDSA to it.

func NewECDSA

func NewECDSA(address common.Address, backend bind.ContractBackend) (*ECDSA, error)

NewECDSA creates a new instance of ECDSA, bound to a specific deployed contract.

type ECDSACaller

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

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

func NewECDSACaller

func NewECDSACaller(address common.Address, caller bind.ContractCaller) (*ECDSACaller, error)

NewECDSACaller creates a new read-only instance of ECDSA, bound to a specific deployed contract.

type ECDSACallerRaw

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

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

func (*ECDSACallerRaw) Call

func (_ECDSA *ECDSACallerRaw) 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 ECDSACallerSession

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

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

type ECDSAFilterer

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

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

func NewECDSAFilterer

func NewECDSAFilterer(address common.Address, filterer bind.ContractFilterer) (*ECDSAFilterer, error)

NewECDSAFilterer creates a new log filterer instance of ECDSA, bound to a specific deployed contract.

type ECDSARaw

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

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

func (*ECDSARaw) Call

func (_ECDSA *ECDSARaw) 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 (*ECDSARaw) Transact

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

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

func (*ECDSARaw) Transfer

func (_ECDSA *ECDSARaw) 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 ECDSASession

type ECDSASession struct {
	Contract     *ECDSA            // 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
}

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

type ECDSATransactor

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

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

func NewECDSATransactor

func NewECDSATransactor(address common.Address, transactor bind.ContractTransactor) (*ECDSATransactor, error)

NewECDSATransactor creates a new write-only instance of ECDSA, bound to a specific deployed contract.

type ECDSATransactorRaw

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

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

func (*ECDSATransactorRaw) Transact

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

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

func (*ECDSATransactorRaw) Transfer

func (_ECDSA *ECDSATransactorRaw) 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 ECDSATransactorSession

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

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

type EnumerableSet

type EnumerableSet struct {
	EnumerableSetCaller     // Read-only binding to the contract
	EnumerableSetTransactor // Write-only binding to the contract
	EnumerableSetFilterer   // Log filterer for contract events
}

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

func DeployEnumerableSet

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

DeployEnumerableSet deploys a new Ethereum contract, binding an instance of EnumerableSet to it.

func NewEnumerableSet

func NewEnumerableSet(address common.Address, backend bind.ContractBackend) (*EnumerableSet, error)

NewEnumerableSet creates a new instance of EnumerableSet, bound to a specific deployed contract.

type EnumerableSetCaller

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

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

func NewEnumerableSetCaller

func NewEnumerableSetCaller(address common.Address, caller bind.ContractCaller) (*EnumerableSetCaller, error)

NewEnumerableSetCaller creates a new read-only instance of EnumerableSet, bound to a specific deployed contract.

type EnumerableSetCallerRaw

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

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

func (*EnumerableSetCallerRaw) Call

func (_EnumerableSet *EnumerableSetCallerRaw) 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 EnumerableSetCallerSession

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

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

type EnumerableSetFilterer

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

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

func NewEnumerableSetFilterer

func NewEnumerableSetFilterer(address common.Address, filterer bind.ContractFilterer) (*EnumerableSetFilterer, error)

NewEnumerableSetFilterer creates a new log filterer instance of EnumerableSet, bound to a specific deployed contract.

type EnumerableSetRaw

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

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

func (*EnumerableSetRaw) Call

func (_EnumerableSet *EnumerableSetRaw) 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 (*EnumerableSetRaw) Transact

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

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

func (*EnumerableSetRaw) Transfer

func (_EnumerableSet *EnumerableSetRaw) 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 EnumerableSetSession

type EnumerableSetSession struct {
	Contract     *EnumerableSet    // 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
}

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

type EnumerableSetTransactor

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

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

func NewEnumerableSetTransactor

func NewEnumerableSetTransactor(address common.Address, transactor bind.ContractTransactor) (*EnumerableSetTransactor, error)

NewEnumerableSetTransactor creates a new write-only instance of EnumerableSet, bound to a specific deployed contract.

type EnumerableSetTransactorRaw

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

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

func (*EnumerableSetTransactorRaw) Transact

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

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

func (*EnumerableSetTransactorRaw) Transfer

func (_EnumerableSet *EnumerableSetTransactorRaw) 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 EnumerableSetTransactorSession

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

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

type IERC20

type IERC20 struct {
	IERC20Caller     // Read-only binding to the contract
	IERC20Transactor // Write-only binding to the contract
	IERC20Filterer   // Log filterer for contract events
}

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

func NewIERC20

func NewIERC20(address common.Address, backend bind.ContractBackend) (*IERC20, error)

NewIERC20 creates a new instance of IERC20, bound to a specific deployed contract.

type IERC20Approval

type IERC20Approval struct {
	Owner   common.Address
	Spender common.Address
	Value   *big.Int
	Raw     types.Log // Blockchain specific contextual infos
}

IERC20Approval represents a Approval event raised by the IERC20 contract.

type IERC20ApprovalIterator

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

IERC20ApprovalIterator is returned from FilterApproval and is used to iterate over the raw logs and unpacked data for Approval events raised by the IERC20 contract.

func (*IERC20ApprovalIterator) Close

func (it *IERC20ApprovalIterator) Close() error

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

func (*IERC20ApprovalIterator) Error

func (it *IERC20ApprovalIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*IERC20ApprovalIterator) Next

func (it *IERC20ApprovalIterator) Next() bool

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 IERC20Caller

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

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

func NewIERC20Caller

func NewIERC20Caller(address common.Address, caller bind.ContractCaller) (*IERC20Caller, error)

NewIERC20Caller creates a new read-only instance of IERC20, bound to a specific deployed contract.

func (*IERC20Caller) Allowance

func (_IERC20 *IERC20Caller) Allowance(opts *bind.CallOpts, owner common.Address, spender common.Address) (*big.Int, error)

Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.

Solidity: function allowance(address owner, address spender) view returns(uint256)

func (*IERC20Caller) BalanceOf

func (_IERC20 *IERC20Caller) BalanceOf(opts *bind.CallOpts, account common.Address) (*big.Int, error)

BalanceOf is a free data retrieval call binding the contract method 0x70a08231.

Solidity: function balanceOf(address account) view returns(uint256)

func (*IERC20Caller) TotalSupply

func (_IERC20 *IERC20Caller) TotalSupply(opts *bind.CallOpts) (*big.Int, error)

TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.

Solidity: function totalSupply() view returns(uint256)

type IERC20CallerRaw

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

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

func (*IERC20CallerRaw) Call

func (_IERC20 *IERC20CallerRaw) 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 IERC20CallerSession

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

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

func (*IERC20CallerSession) Allowance

func (_IERC20 *IERC20CallerSession) Allowance(owner common.Address, spender common.Address) (*big.Int, error)

Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.

Solidity: function allowance(address owner, address spender) view returns(uint256)

func (*IERC20CallerSession) BalanceOf

func (_IERC20 *IERC20CallerSession) BalanceOf(account common.Address) (*big.Int, error)

BalanceOf is a free data retrieval call binding the contract method 0x70a08231.

Solidity: function balanceOf(address account) view returns(uint256)

func (*IERC20CallerSession) TotalSupply

func (_IERC20 *IERC20CallerSession) TotalSupply() (*big.Int, error)

TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.

Solidity: function totalSupply() view returns(uint256)

type IERC20Filterer

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

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

func NewIERC20Filterer

func NewIERC20Filterer(address common.Address, filterer bind.ContractFilterer) (*IERC20Filterer, error)

NewIERC20Filterer creates a new log filterer instance of IERC20, bound to a specific deployed contract.

func (*IERC20Filterer) FilterApproval

func (_IERC20 *IERC20Filterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*IERC20ApprovalIterator, error)

FilterApproval is a free log retrieval operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.

Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)

func (*IERC20Filterer) FilterTransfer

func (_IERC20 *IERC20Filterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*IERC20TransferIterator, error)

FilterTransfer is a free log retrieval operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.

Solidity: event Transfer(address indexed from, address indexed to, uint256 value)

func (*IERC20Filterer) ParseApproval

func (_IERC20 *IERC20Filterer) ParseApproval(log types.Log) (*IERC20Approval, error)

ParseApproval is a log parse operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.

Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)

func (*IERC20Filterer) ParseTransfer

func (_IERC20 *IERC20Filterer) ParseTransfer(log types.Log) (*IERC20Transfer, error)

ParseTransfer is a log parse operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.

Solidity: event Transfer(address indexed from, address indexed to, uint256 value)

func (*IERC20Filterer) WatchApproval

func (_IERC20 *IERC20Filterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *IERC20Approval, owner []common.Address, spender []common.Address) (event.Subscription, error)

WatchApproval is a free log subscription operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.

Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)

func (*IERC20Filterer) WatchTransfer

func (_IERC20 *IERC20Filterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *IERC20Transfer, from []common.Address, to []common.Address) (event.Subscription, error)

WatchTransfer is a free log subscription operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.

Solidity: event Transfer(address indexed from, address indexed to, uint256 value)

type IERC20Raw

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

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

func (*IERC20Raw) Call

func (_IERC20 *IERC20Raw) 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 (*IERC20Raw) Transact

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

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

func (*IERC20Raw) Transfer

func (_IERC20 *IERC20Raw) 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 IERC20Session

type IERC20Session struct {
	Contract     *IERC20           // 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
}

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

func (*IERC20Session) Allowance

func (_IERC20 *IERC20Session) Allowance(owner common.Address, spender common.Address) (*big.Int, error)

Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.

Solidity: function allowance(address owner, address spender) view returns(uint256)

func (*IERC20Session) Approve

func (_IERC20 *IERC20Session) Approve(spender common.Address, amount *big.Int) (*types.Transaction, error)

Approve is a paid mutator transaction binding the contract method 0x095ea7b3.

Solidity: function approve(address spender, uint256 amount) returns(bool)

func (*IERC20Session) BalanceOf

func (_IERC20 *IERC20Session) BalanceOf(account common.Address) (*big.Int, error)

BalanceOf is a free data retrieval call binding the contract method 0x70a08231.

Solidity: function balanceOf(address account) view returns(uint256)

func (*IERC20Session) TotalSupply

func (_IERC20 *IERC20Session) TotalSupply() (*big.Int, error)

TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.

Solidity: function totalSupply() view returns(uint256)

func (*IERC20Session) Transfer

func (_IERC20 *IERC20Session) Transfer(recipient common.Address, amount *big.Int) (*types.Transaction, error)

Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.

Solidity: function transfer(address recipient, uint256 amount) returns(bool)

func (*IERC20Session) TransferFrom

func (_IERC20 *IERC20Session) TransferFrom(sender common.Address, recipient common.Address, amount *big.Int) (*types.Transaction, error)

TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.

Solidity: function transferFrom(address sender, address recipient, uint256 amount) returns(bool)

type IERC20Transactor

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

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

func NewIERC20Transactor

func NewIERC20Transactor(address common.Address, transactor bind.ContractTransactor) (*IERC20Transactor, error)

NewIERC20Transactor creates a new write-only instance of IERC20, bound to a specific deployed contract.

func (*IERC20Transactor) Approve

func (_IERC20 *IERC20Transactor) Approve(opts *bind.TransactOpts, spender common.Address, amount *big.Int) (*types.Transaction, error)

Approve is a paid mutator transaction binding the contract method 0x095ea7b3.

Solidity: function approve(address spender, uint256 amount) returns(bool)

func (*IERC20Transactor) Transfer

func (_IERC20 *IERC20Transactor) Transfer(opts *bind.TransactOpts, recipient common.Address, amount *big.Int) (*types.Transaction, error)

Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.

Solidity: function transfer(address recipient, uint256 amount) returns(bool)

func (*IERC20Transactor) TransferFrom

func (_IERC20 *IERC20Transactor) TransferFrom(opts *bind.TransactOpts, sender common.Address, recipient common.Address, amount *big.Int) (*types.Transaction, error)

TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.

Solidity: function transferFrom(address sender, address recipient, uint256 amount) returns(bool)

type IERC20TransactorRaw

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

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

func (*IERC20TransactorRaw) Transact

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

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

func (*IERC20TransactorRaw) Transfer

func (_IERC20 *IERC20TransactorRaw) 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 IERC20TransactorSession

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

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

func (*IERC20TransactorSession) Approve

func (_IERC20 *IERC20TransactorSession) Approve(spender common.Address, amount *big.Int) (*types.Transaction, error)

Approve is a paid mutator transaction binding the contract method 0x095ea7b3.

Solidity: function approve(address spender, uint256 amount) returns(bool)

func (*IERC20TransactorSession) Transfer

func (_IERC20 *IERC20TransactorSession) Transfer(recipient common.Address, amount *big.Int) (*types.Transaction, error)

Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.

Solidity: function transfer(address recipient, uint256 amount) returns(bool)

func (*IERC20TransactorSession) TransferFrom

func (_IERC20 *IERC20TransactorSession) TransferFrom(sender common.Address, recipient common.Address, amount *big.Int) (*types.Transaction, error)

TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.

Solidity: function transferFrom(address sender, address recipient, uint256 amount) returns(bool)

type IERC20Transfer

type IERC20Transfer struct {
	From  common.Address
	To    common.Address
	Value *big.Int
	Raw   types.Log // Blockchain specific contextual infos
}

IERC20Transfer represents a Transfer event raised by the IERC20 contract.

type IERC20TransferIterator

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

IERC20TransferIterator is returned from FilterTransfer and is used to iterate over the raw logs and unpacked data for Transfer events raised by the IERC20 contract.

func (*IERC20TransferIterator) Close

func (it *IERC20TransferIterator) Close() error

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

func (*IERC20TransferIterator) Error

func (it *IERC20TransferIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*IERC20TransferIterator) Next

func (it *IERC20TransferIterator) Next() bool

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 IMintBurn

type IMintBurn struct {
	IMintBurnCaller     // Read-only binding to the contract
	IMintBurnTransactor // Write-only binding to the contract
	IMintBurnFilterer   // Log filterer for contract events
}

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

func NewIMintBurn

func NewIMintBurn(address common.Address, backend bind.ContractBackend) (*IMintBurn, error)

NewIMintBurn creates a new instance of IMintBurn, bound to a specific deployed contract.

type IMintBurnCaller

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

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

func NewIMintBurnCaller

func NewIMintBurnCaller(address common.Address, caller bind.ContractCaller) (*IMintBurnCaller, error)

NewIMintBurnCaller creates a new read-only instance of IMintBurn, bound to a specific deployed contract.

type IMintBurnCallerRaw

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

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

func (*IMintBurnCallerRaw) Call

func (_IMintBurn *IMintBurnCallerRaw) 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 IMintBurnCallerSession

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

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

type IMintBurnFilterer

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

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

func NewIMintBurnFilterer

func NewIMintBurnFilterer(address common.Address, filterer bind.ContractFilterer) (*IMintBurnFilterer, error)

NewIMintBurnFilterer creates a new log filterer instance of IMintBurn, bound to a specific deployed contract.

type IMintBurnRaw

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

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

func (*IMintBurnRaw) Call

func (_IMintBurn *IMintBurnRaw) 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 (*IMintBurnRaw) Transact

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

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

func (*IMintBurnRaw) Transfer

func (_IMintBurn *IMintBurnRaw) 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 IMintBurnSession

type IMintBurnSession struct {
	Contract     *IMintBurn        // 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
}

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

func (*IMintBurnSession) Burn

func (_IMintBurn *IMintBurnSession) Burn(account common.Address, amount *big.Int) (*types.Transaction, error)

Burn is a paid mutator transaction binding the contract method 0x9dc29fac.

Solidity: function burn(address account, uint256 amount) returns()

func (*IMintBurnSession) Mint

func (_IMintBurn *IMintBurnSession) Mint(account common.Address, amount *big.Int) (*types.Transaction, error)

Mint is a paid mutator transaction binding the contract method 0x40c10f19.

Solidity: function mint(address account, uint256 amount) returns()

type IMintBurnTransactor

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

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

func NewIMintBurnTransactor

func NewIMintBurnTransactor(address common.Address, transactor bind.ContractTransactor) (*IMintBurnTransactor, error)

NewIMintBurnTransactor creates a new write-only instance of IMintBurn, bound to a specific deployed contract.

func (*IMintBurnTransactor) Burn

func (_IMintBurn *IMintBurnTransactor) Burn(opts *bind.TransactOpts, account common.Address, amount *big.Int) (*types.Transaction, error)

Burn is a paid mutator transaction binding the contract method 0x9dc29fac.

Solidity: function burn(address account, uint256 amount) returns()

func (*IMintBurnTransactor) Mint

func (_IMintBurn *IMintBurnTransactor) Mint(opts *bind.TransactOpts, account common.Address, amount *big.Int) (*types.Transaction, error)

Mint is a paid mutator transaction binding the contract method 0x40c10f19.

Solidity: function mint(address account, uint256 amount) returns()

type IMintBurnTransactorRaw

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

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

func (*IMintBurnTransactorRaw) Transact

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

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

func (*IMintBurnTransactorRaw) Transfer

func (_IMintBurn *IMintBurnTransactorRaw) 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 IMintBurnTransactorSession

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

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

func (*IMintBurnTransactorSession) Burn

func (_IMintBurn *IMintBurnTransactorSession) Burn(account common.Address, amount *big.Int) (*types.Transaction, error)

Burn is a paid mutator transaction binding the contract method 0x9dc29fac.

Solidity: function burn(address account, uint256 amount) returns()

func (*IMintBurnTransactorSession) Mint

func (_IMintBurn *IMintBurnTransactorSession) Mint(account common.Address, amount *big.Int) (*types.Transaction, error)

Mint is a paid mutator transaction binding the contract method 0x40c10f19.

Solidity: function mint(address account, uint256 amount) returns()

type IUniswapV2Router01

type IUniswapV2Router01 struct {
	IUniswapV2Router01Caller     // Read-only binding to the contract
	IUniswapV2Router01Transactor // Write-only binding to the contract
	IUniswapV2Router01Filterer   // Log filterer for contract events
}

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

func NewIUniswapV2Router01

func NewIUniswapV2Router01(address common.Address, backend bind.ContractBackend) (*IUniswapV2Router01, error)

NewIUniswapV2Router01 creates a new instance of IUniswapV2Router01, bound to a specific deployed contract.

type IUniswapV2Router01Caller

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

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

func NewIUniswapV2Router01Caller

func NewIUniswapV2Router01Caller(address common.Address, caller bind.ContractCaller) (*IUniswapV2Router01Caller, error)

NewIUniswapV2Router01Caller creates a new read-only instance of IUniswapV2Router01, bound to a specific deployed contract.

func (*IUniswapV2Router01Caller) Factory

func (_IUniswapV2Router01 *IUniswapV2Router01Caller) Factory(opts *bind.CallOpts) (common.Address, error)

Factory is a free data retrieval call binding the contract method 0xc45a0155.

Solidity: function factory() pure returns(address)

func (*IUniswapV2Router01Caller) GetAmountIn

func (_IUniswapV2Router01 *IUniswapV2Router01Caller) GetAmountIn(opts *bind.CallOpts, amountOut *big.Int, reserveIn *big.Int, reserveOut *big.Int) (*big.Int, error)

GetAmountIn is a free data retrieval call binding the contract method 0x85f8c259.

Solidity: function getAmountIn(uint256 amountOut, uint256 reserveIn, uint256 reserveOut) pure returns(uint256 amountIn)

func (*IUniswapV2Router01Caller) GetAmountOut

func (_IUniswapV2Router01 *IUniswapV2Router01Caller) GetAmountOut(opts *bind.CallOpts, amountIn *big.Int, reserveIn *big.Int, reserveOut *big.Int) (*big.Int, error)

GetAmountOut is a free data retrieval call binding the contract method 0x054d50d4.

Solidity: function getAmountOut(uint256 amountIn, uint256 reserveIn, uint256 reserveOut) pure returns(uint256 amountOut)

func (*IUniswapV2Router01Caller) GetAmountsIn

func (_IUniswapV2Router01 *IUniswapV2Router01Caller) GetAmountsIn(opts *bind.CallOpts, amountOut *big.Int, path []common.Address) ([]*big.Int, error)

GetAmountsIn is a free data retrieval call binding the contract method 0x1f00ca74.

Solidity: function getAmountsIn(uint256 amountOut, address[] path) view returns(uint256[] amounts)

func (*IUniswapV2Router01Caller) GetAmountsOut

func (_IUniswapV2Router01 *IUniswapV2Router01Caller) GetAmountsOut(opts *bind.CallOpts, amountIn *big.Int, path []common.Address) ([]*big.Int, error)

GetAmountsOut is a free data retrieval call binding the contract method 0xd06ca61f.

Solidity: function getAmountsOut(uint256 amountIn, address[] path) view returns(uint256[] amounts)

func (*IUniswapV2Router01Caller) Quote

func (_IUniswapV2Router01 *IUniswapV2Router01Caller) Quote(opts *bind.CallOpts, amountA *big.Int, reserveA *big.Int, reserveB *big.Int) (*big.Int, error)

Quote is a free data retrieval call binding the contract method 0xad615dec.

Solidity: function quote(uint256 amountA, uint256 reserveA, uint256 reserveB) pure returns(uint256 amountB)

func (*IUniswapV2Router01Caller) WETH

func (_IUniswapV2Router01 *IUniswapV2Router01Caller) WETH(opts *bind.CallOpts) (common.Address, error)

WETH is a free data retrieval call binding the contract method 0xad5c4648.

Solidity: function WETH() pure returns(address)

type IUniswapV2Router01CallerRaw

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

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

func (*IUniswapV2Router01CallerRaw) Call

func (_IUniswapV2Router01 *IUniswapV2Router01CallerRaw) 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 IUniswapV2Router01CallerSession

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

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

func (*IUniswapV2Router01CallerSession) Factory

func (_IUniswapV2Router01 *IUniswapV2Router01CallerSession) Factory() (common.Address, error)

Factory is a free data retrieval call binding the contract method 0xc45a0155.

Solidity: function factory() pure returns(address)

func (*IUniswapV2Router01CallerSession) GetAmountIn

func (_IUniswapV2Router01 *IUniswapV2Router01CallerSession) GetAmountIn(amountOut *big.Int, reserveIn *big.Int, reserveOut *big.Int) (*big.Int, error)

GetAmountIn is a free data retrieval call binding the contract method 0x85f8c259.

Solidity: function getAmountIn(uint256 amountOut, uint256 reserveIn, uint256 reserveOut) pure returns(uint256 amountIn)

func (*IUniswapV2Router01CallerSession) GetAmountOut

func (_IUniswapV2Router01 *IUniswapV2Router01CallerSession) GetAmountOut(amountIn *big.Int, reserveIn *big.Int, reserveOut *big.Int) (*big.Int, error)

GetAmountOut is a free data retrieval call binding the contract method 0x054d50d4.

Solidity: function getAmountOut(uint256 amountIn, uint256 reserveIn, uint256 reserveOut) pure returns(uint256 amountOut)

func (*IUniswapV2Router01CallerSession) GetAmountsIn

func (_IUniswapV2Router01 *IUniswapV2Router01CallerSession) GetAmountsIn(amountOut *big.Int, path []common.Address) ([]*big.Int, error)

GetAmountsIn is a free data retrieval call binding the contract method 0x1f00ca74.

Solidity: function getAmountsIn(uint256 amountOut, address[] path) view returns(uint256[] amounts)

func (*IUniswapV2Router01CallerSession) GetAmountsOut

func (_IUniswapV2Router01 *IUniswapV2Router01CallerSession) GetAmountsOut(amountIn *big.Int, path []common.Address) ([]*big.Int, error)

GetAmountsOut is a free data retrieval call binding the contract method 0xd06ca61f.

Solidity: function getAmountsOut(uint256 amountIn, address[] path) view returns(uint256[] amounts)

func (*IUniswapV2Router01CallerSession) Quote

func (_IUniswapV2Router01 *IUniswapV2Router01CallerSession) Quote(amountA *big.Int, reserveA *big.Int, reserveB *big.Int) (*big.Int, error)

Quote is a free data retrieval call binding the contract method 0xad615dec.

Solidity: function quote(uint256 amountA, uint256 reserveA, uint256 reserveB) pure returns(uint256 amountB)

func (*IUniswapV2Router01CallerSession) WETH

func (_IUniswapV2Router01 *IUniswapV2Router01CallerSession) WETH() (common.Address, error)

WETH is a free data retrieval call binding the contract method 0xad5c4648.

Solidity: function WETH() pure returns(address)

type IUniswapV2Router01Filterer

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

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

func NewIUniswapV2Router01Filterer

func NewIUniswapV2Router01Filterer(address common.Address, filterer bind.ContractFilterer) (*IUniswapV2Router01Filterer, error)

NewIUniswapV2Router01Filterer creates a new log filterer instance of IUniswapV2Router01, bound to a specific deployed contract.

type IUniswapV2Router01Raw

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

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

func (*IUniswapV2Router01Raw) Call

func (_IUniswapV2Router01 *IUniswapV2Router01Raw) 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 (*IUniswapV2Router01Raw) Transact

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

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

func (*IUniswapV2Router01Raw) Transfer

func (_IUniswapV2Router01 *IUniswapV2Router01Raw) 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 IUniswapV2Router01Session

type IUniswapV2Router01Session struct {
	Contract     *IUniswapV2Router01 // 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
}

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

func (*IUniswapV2Router01Session) AddLiquidity

func (_IUniswapV2Router01 *IUniswapV2Router01Session) AddLiquidity(tokenA common.Address, tokenB common.Address, amountADesired *big.Int, amountBDesired *big.Int, amountAMin *big.Int, amountBMin *big.Int, to common.Address, deadline *big.Int) (*types.Transaction, error)

AddLiquidity is a paid mutator transaction binding the contract method 0xe8e33700.

Solidity: function addLiquidity(address tokenA, address tokenB, uint256 amountADesired, uint256 amountBDesired, uint256 amountAMin, uint256 amountBMin, address to, uint256 deadline) returns(uint256 amountA, uint256 amountB, uint256 liquidity)

func (*IUniswapV2Router01Session) AddLiquidityETH

func (_IUniswapV2Router01 *IUniswapV2Router01Session) AddLiquidityETH(token common.Address, amountTokenDesired *big.Int, amountTokenMin *big.Int, amountETHMin *big.Int, to common.Address, deadline *big.Int) (*types.Transaction, error)

AddLiquidityETH is a paid mutator transaction binding the contract method 0xf305d719.

Solidity: function addLiquidityETH(address token, uint256 amountTokenDesired, uint256 amountTokenMin, uint256 amountETHMin, address to, uint256 deadline) payable returns(uint256 amountToken, uint256 amountETH, uint256 liquidity)

func (*IUniswapV2Router01Session) Factory

func (_IUniswapV2Router01 *IUniswapV2Router01Session) Factory() (common.Address, error)

Factory is a free data retrieval call binding the contract method 0xc45a0155.

Solidity: function factory() pure returns(address)

func (*IUniswapV2Router01Session) GetAmountIn

func (_IUniswapV2Router01 *IUniswapV2Router01Session) GetAmountIn(amountOut *big.Int, reserveIn *big.Int, reserveOut *big.Int) (*big.Int, error)

GetAmountIn is a free data retrieval call binding the contract method 0x85f8c259.

Solidity: function getAmountIn(uint256 amountOut, uint256 reserveIn, uint256 reserveOut) pure returns(uint256 amountIn)

func (*IUniswapV2Router01Session) GetAmountOut

func (_IUniswapV2Router01 *IUniswapV2Router01Session) GetAmountOut(amountIn *big.Int, reserveIn *big.Int, reserveOut *big.Int) (*big.Int, error)

GetAmountOut is a free data retrieval call binding the contract method 0x054d50d4.

Solidity: function getAmountOut(uint256 amountIn, uint256 reserveIn, uint256 reserveOut) pure returns(uint256 amountOut)

func (*IUniswapV2Router01Session) GetAmountsIn

func (_IUniswapV2Router01 *IUniswapV2Router01Session) GetAmountsIn(amountOut *big.Int, path []common.Address) ([]*big.Int, error)

GetAmountsIn is a free data retrieval call binding the contract method 0x1f00ca74.

Solidity: function getAmountsIn(uint256 amountOut, address[] path) view returns(uint256[] amounts)

func (*IUniswapV2Router01Session) GetAmountsOut

func (_IUniswapV2Router01 *IUniswapV2Router01Session) GetAmountsOut(amountIn *big.Int, path []common.Address) ([]*big.Int, error)

GetAmountsOut is a free data retrieval call binding the contract method 0xd06ca61f.

Solidity: function getAmountsOut(uint256 amountIn, address[] path) view returns(uint256[] amounts)

func (*IUniswapV2Router01Session) Quote

func (_IUniswapV2Router01 *IUniswapV2Router01Session) Quote(amountA *big.Int, reserveA *big.Int, reserveB *big.Int) (*big.Int, error)

Quote is a free data retrieval call binding the contract method 0xad615dec.

Solidity: function quote(uint256 amountA, uint256 reserveA, uint256 reserveB) pure returns(uint256 amountB)

func (*IUniswapV2Router01Session) RemoveLiquidity

func (_IUniswapV2Router01 *IUniswapV2Router01Session) RemoveLiquidity(tokenA common.Address, tokenB common.Address, liquidity *big.Int, amountAMin *big.Int, amountBMin *big.Int, to common.Address, deadline *big.Int) (*types.Transaction, error)

RemoveLiquidity is a paid mutator transaction binding the contract method 0xbaa2abde.

Solidity: function removeLiquidity(address tokenA, address tokenB, uint256 liquidity, uint256 amountAMin, uint256 amountBMin, address to, uint256 deadline) returns(uint256 amountA, uint256 amountB)

func (*IUniswapV2Router01Session) RemoveLiquidityETH

func (_IUniswapV2Router01 *IUniswapV2Router01Session) RemoveLiquidityETH(token common.Address, liquidity *big.Int, amountTokenMin *big.Int, amountETHMin *big.Int, to common.Address, deadline *big.Int) (*types.Transaction, error)

RemoveLiquidityETH is a paid mutator transaction binding the contract method 0x02751cec.

Solidity: function removeLiquidityETH(address token, uint256 liquidity, uint256 amountTokenMin, uint256 amountETHMin, address to, uint256 deadline) returns(uint256 amountToken, uint256 amountETH)

func (*IUniswapV2Router01Session) RemoveLiquidityETHWithPermit

func (_IUniswapV2Router01 *IUniswapV2Router01Session) RemoveLiquidityETHWithPermit(token common.Address, liquidity *big.Int, amountTokenMin *big.Int, amountETHMin *big.Int, to common.Address, deadline *big.Int, approveMax bool, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)

RemoveLiquidityETHWithPermit is a paid mutator transaction binding the contract method 0xded9382a.

Solidity: function removeLiquidityETHWithPermit(address token, uint256 liquidity, uint256 amountTokenMin, uint256 amountETHMin, address to, uint256 deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s) returns(uint256 amountToken, uint256 amountETH)

func (*IUniswapV2Router01Session) RemoveLiquidityWithPermit

func (_IUniswapV2Router01 *IUniswapV2Router01Session) RemoveLiquidityWithPermit(tokenA common.Address, tokenB common.Address, liquidity *big.Int, amountAMin *big.Int, amountBMin *big.Int, to common.Address, deadline *big.Int, approveMax bool, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)

RemoveLiquidityWithPermit is a paid mutator transaction binding the contract method 0x2195995c.

Solidity: function removeLiquidityWithPermit(address tokenA, address tokenB, uint256 liquidity, uint256 amountAMin, uint256 amountBMin, address to, uint256 deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s) returns(uint256 amountA, uint256 amountB)

func (*IUniswapV2Router01Session) SwapETHForExactTokens

func (_IUniswapV2Router01 *IUniswapV2Router01Session) SwapETHForExactTokens(amountOut *big.Int, path []common.Address, to common.Address, deadline *big.Int) (*types.Transaction, error)

SwapETHForExactTokens is a paid mutator transaction binding the contract method 0xfb3bdb41.

Solidity: function swapETHForExactTokens(uint256 amountOut, address[] path, address to, uint256 deadline) payable returns(uint256[] amounts)

func (*IUniswapV2Router01Session) SwapExactETHForTokens

func (_IUniswapV2Router01 *IUniswapV2Router01Session) SwapExactETHForTokens(amountOutMin *big.Int, path []common.Address, to common.Address, deadline *big.Int) (*types.Transaction, error)

SwapExactETHForTokens is a paid mutator transaction binding the contract method 0x7ff36ab5.

Solidity: function swapExactETHForTokens(uint256 amountOutMin, address[] path, address to, uint256 deadline) payable returns(uint256[] amounts)

func (*IUniswapV2Router01Session) SwapExactTokensForETH

func (_IUniswapV2Router01 *IUniswapV2Router01Session) SwapExactTokensForETH(amountIn *big.Int, amountOutMin *big.Int, path []common.Address, to common.Address, deadline *big.Int) (*types.Transaction, error)

SwapExactTokensForETH is a paid mutator transaction binding the contract method 0x18cbafe5.

Solidity: function swapExactTokensForETH(uint256 amountIn, uint256 amountOutMin, address[] path, address to, uint256 deadline) returns(uint256[] amounts)

func (*IUniswapV2Router01Session) SwapExactTokensForTokens

func (_IUniswapV2Router01 *IUniswapV2Router01Session) SwapExactTokensForTokens(amountIn *big.Int, amountOutMin *big.Int, path []common.Address, to common.Address, deadline *big.Int) (*types.Transaction, error)

SwapExactTokensForTokens is a paid mutator transaction binding the contract method 0x38ed1739.

Solidity: function swapExactTokensForTokens(uint256 amountIn, uint256 amountOutMin, address[] path, address to, uint256 deadline) returns(uint256[] amounts)

func (*IUniswapV2Router01Session) SwapTokensForExactETH

func (_IUniswapV2Router01 *IUniswapV2Router01Session) SwapTokensForExactETH(amountOut *big.Int, amountInMax *big.Int, path []common.Address, to common.Address, deadline *big.Int) (*types.Transaction, error)

SwapTokensForExactETH is a paid mutator transaction binding the contract method 0x4a25d94a.

Solidity: function swapTokensForExactETH(uint256 amountOut, uint256 amountInMax, address[] path, address to, uint256 deadline) returns(uint256[] amounts)

func (*IUniswapV2Router01Session) SwapTokensForExactTokens

func (_IUniswapV2Router01 *IUniswapV2Router01Session) SwapTokensForExactTokens(amountOut *big.Int, amountInMax *big.Int, path []common.Address, to common.Address, deadline *big.Int) (*types.Transaction, error)

SwapTokensForExactTokens is a paid mutator transaction binding the contract method 0x8803dbee.

Solidity: function swapTokensForExactTokens(uint256 amountOut, uint256 amountInMax, address[] path, address to, uint256 deadline) returns(uint256[] amounts)

func (*IUniswapV2Router01Session) WETH

func (_IUniswapV2Router01 *IUniswapV2Router01Session) WETH() (common.Address, error)

WETH is a free data retrieval call binding the contract method 0xad5c4648.

Solidity: function WETH() pure returns(address)

type IUniswapV2Router01Transactor

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

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

func NewIUniswapV2Router01Transactor

func NewIUniswapV2Router01Transactor(address common.Address, transactor bind.ContractTransactor) (*IUniswapV2Router01Transactor, error)

NewIUniswapV2Router01Transactor creates a new write-only instance of IUniswapV2Router01, bound to a specific deployed contract.

func (*IUniswapV2Router01Transactor) AddLiquidity

func (_IUniswapV2Router01 *IUniswapV2Router01Transactor) AddLiquidity(opts *bind.TransactOpts, tokenA common.Address, tokenB common.Address, amountADesired *big.Int, amountBDesired *big.Int, amountAMin *big.Int, amountBMin *big.Int, to common.Address, deadline *big.Int) (*types.Transaction, error)

AddLiquidity is a paid mutator transaction binding the contract method 0xe8e33700.

Solidity: function addLiquidity(address tokenA, address tokenB, uint256 amountADesired, uint256 amountBDesired, uint256 amountAMin, uint256 amountBMin, address to, uint256 deadline) returns(uint256 amountA, uint256 amountB, uint256 liquidity)

func (*IUniswapV2Router01Transactor) AddLiquidityETH

func (_IUniswapV2Router01 *IUniswapV2Router01Transactor) AddLiquidityETH(opts *bind.TransactOpts, token common.Address, amountTokenDesired *big.Int, amountTokenMin *big.Int, amountETHMin *big.Int, to common.Address, deadline *big.Int) (*types.Transaction, error)

AddLiquidityETH is a paid mutator transaction binding the contract method 0xf305d719.

Solidity: function addLiquidityETH(address token, uint256 amountTokenDesired, uint256 amountTokenMin, uint256 amountETHMin, address to, uint256 deadline) payable returns(uint256 amountToken, uint256 amountETH, uint256 liquidity)

func (*IUniswapV2Router01Transactor) RemoveLiquidity

func (_IUniswapV2Router01 *IUniswapV2Router01Transactor) RemoveLiquidity(opts *bind.TransactOpts, tokenA common.Address, tokenB common.Address, liquidity *big.Int, amountAMin *big.Int, amountBMin *big.Int, to common.Address, deadline *big.Int) (*types.Transaction, error)

RemoveLiquidity is a paid mutator transaction binding the contract method 0xbaa2abde.

Solidity: function removeLiquidity(address tokenA, address tokenB, uint256 liquidity, uint256 amountAMin, uint256 amountBMin, address to, uint256 deadline) returns(uint256 amountA, uint256 amountB)

func (*IUniswapV2Router01Transactor) RemoveLiquidityETH

func (_IUniswapV2Router01 *IUniswapV2Router01Transactor) RemoveLiquidityETH(opts *bind.TransactOpts, token common.Address, liquidity *big.Int, amountTokenMin *big.Int, amountETHMin *big.Int, to common.Address, deadline *big.Int) (*types.Transaction, error)

RemoveLiquidityETH is a paid mutator transaction binding the contract method 0x02751cec.

Solidity: function removeLiquidityETH(address token, uint256 liquidity, uint256 amountTokenMin, uint256 amountETHMin, address to, uint256 deadline) returns(uint256 amountToken, uint256 amountETH)

func (*IUniswapV2Router01Transactor) RemoveLiquidityETHWithPermit

func (_IUniswapV2Router01 *IUniswapV2Router01Transactor) RemoveLiquidityETHWithPermit(opts *bind.TransactOpts, token common.Address, liquidity *big.Int, amountTokenMin *big.Int, amountETHMin *big.Int, to common.Address, deadline *big.Int, approveMax bool, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)

RemoveLiquidityETHWithPermit is a paid mutator transaction binding the contract method 0xded9382a.

Solidity: function removeLiquidityETHWithPermit(address token, uint256 liquidity, uint256 amountTokenMin, uint256 amountETHMin, address to, uint256 deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s) returns(uint256 amountToken, uint256 amountETH)

func (*IUniswapV2Router01Transactor) RemoveLiquidityWithPermit

func (_IUniswapV2Router01 *IUniswapV2Router01Transactor) RemoveLiquidityWithPermit(opts *bind.TransactOpts, tokenA common.Address, tokenB common.Address, liquidity *big.Int, amountAMin *big.Int, amountBMin *big.Int, to common.Address, deadline *big.Int, approveMax bool, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)

RemoveLiquidityWithPermit is a paid mutator transaction binding the contract method 0x2195995c.

Solidity: function removeLiquidityWithPermit(address tokenA, address tokenB, uint256 liquidity, uint256 amountAMin, uint256 amountBMin, address to, uint256 deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s) returns(uint256 amountA, uint256 amountB)

func (*IUniswapV2Router01Transactor) SwapETHForExactTokens

func (_IUniswapV2Router01 *IUniswapV2Router01Transactor) SwapETHForExactTokens(opts *bind.TransactOpts, amountOut *big.Int, path []common.Address, to common.Address, deadline *big.Int) (*types.Transaction, error)

SwapETHForExactTokens is a paid mutator transaction binding the contract method 0xfb3bdb41.

Solidity: function swapETHForExactTokens(uint256 amountOut, address[] path, address to, uint256 deadline) payable returns(uint256[] amounts)

func (*IUniswapV2Router01Transactor) SwapExactETHForTokens

func (_IUniswapV2Router01 *IUniswapV2Router01Transactor) SwapExactETHForTokens(opts *bind.TransactOpts, amountOutMin *big.Int, path []common.Address, to common.Address, deadline *big.Int) (*types.Transaction, error)

SwapExactETHForTokens is a paid mutator transaction binding the contract method 0x7ff36ab5.

Solidity: function swapExactETHForTokens(uint256 amountOutMin, address[] path, address to, uint256 deadline) payable returns(uint256[] amounts)

func (*IUniswapV2Router01Transactor) SwapExactTokensForETH

func (_IUniswapV2Router01 *IUniswapV2Router01Transactor) SwapExactTokensForETH(opts *bind.TransactOpts, amountIn *big.Int, amountOutMin *big.Int, path []common.Address, to common.Address, deadline *big.Int) (*types.Transaction, error)

SwapExactTokensForETH is a paid mutator transaction binding the contract method 0x18cbafe5.

Solidity: function swapExactTokensForETH(uint256 amountIn, uint256 amountOutMin, address[] path, address to, uint256 deadline) returns(uint256[] amounts)

func (*IUniswapV2Router01Transactor) SwapExactTokensForTokens

func (_IUniswapV2Router01 *IUniswapV2Router01Transactor) SwapExactTokensForTokens(opts *bind.TransactOpts, amountIn *big.Int, amountOutMin *big.Int, path []common.Address, to common.Address, deadline *big.Int) (*types.Transaction, error)

SwapExactTokensForTokens is a paid mutator transaction binding the contract method 0x38ed1739.

Solidity: function swapExactTokensForTokens(uint256 amountIn, uint256 amountOutMin, address[] path, address to, uint256 deadline) returns(uint256[] amounts)

func (*IUniswapV2Router01Transactor) SwapTokensForExactETH

func (_IUniswapV2Router01 *IUniswapV2Router01Transactor) SwapTokensForExactETH(opts *bind.TransactOpts, amountOut *big.Int, amountInMax *big.Int, path []common.Address, to common.Address, deadline *big.Int) (*types.Transaction, error)

SwapTokensForExactETH is a paid mutator transaction binding the contract method 0x4a25d94a.

Solidity: function swapTokensForExactETH(uint256 amountOut, uint256 amountInMax, address[] path, address to, uint256 deadline) returns(uint256[] amounts)

func (*IUniswapV2Router01Transactor) SwapTokensForExactTokens

func (_IUniswapV2Router01 *IUniswapV2Router01Transactor) SwapTokensForExactTokens(opts *bind.TransactOpts, amountOut *big.Int, amountInMax *big.Int, path []common.Address, to common.Address, deadline *big.Int) (*types.Transaction, error)

SwapTokensForExactTokens is a paid mutator transaction binding the contract method 0x8803dbee.

Solidity: function swapTokensForExactTokens(uint256 amountOut, uint256 amountInMax, address[] path, address to, uint256 deadline) returns(uint256[] amounts)

type IUniswapV2Router01TransactorRaw

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

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

func (*IUniswapV2Router01TransactorRaw) Transact

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

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

func (*IUniswapV2Router01TransactorRaw) Transfer

func (_IUniswapV2Router01 *IUniswapV2Router01TransactorRaw) 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 IUniswapV2Router01TransactorSession

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

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

func (*IUniswapV2Router01TransactorSession) AddLiquidity

func (_IUniswapV2Router01 *IUniswapV2Router01TransactorSession) AddLiquidity(tokenA common.Address, tokenB common.Address, amountADesired *big.Int, amountBDesired *big.Int, amountAMin *big.Int, amountBMin *big.Int, to common.Address, deadline *big.Int) (*types.Transaction, error)

AddLiquidity is a paid mutator transaction binding the contract method 0xe8e33700.

Solidity: function addLiquidity(address tokenA, address tokenB, uint256 amountADesired, uint256 amountBDesired, uint256 amountAMin, uint256 amountBMin, address to, uint256 deadline) returns(uint256 amountA, uint256 amountB, uint256 liquidity)

func (*IUniswapV2Router01TransactorSession) AddLiquidityETH

func (_IUniswapV2Router01 *IUniswapV2Router01TransactorSession) AddLiquidityETH(token common.Address, amountTokenDesired *big.Int, amountTokenMin *big.Int, amountETHMin *big.Int, to common.Address, deadline *big.Int) (*types.Transaction, error)

AddLiquidityETH is a paid mutator transaction binding the contract method 0xf305d719.

Solidity: function addLiquidityETH(address token, uint256 amountTokenDesired, uint256 amountTokenMin, uint256 amountETHMin, address to, uint256 deadline) payable returns(uint256 amountToken, uint256 amountETH, uint256 liquidity)

func (*IUniswapV2Router01TransactorSession) RemoveLiquidity

func (_IUniswapV2Router01 *IUniswapV2Router01TransactorSession) RemoveLiquidity(tokenA common.Address, tokenB common.Address, liquidity *big.Int, amountAMin *big.Int, amountBMin *big.Int, to common.Address, deadline *big.Int) (*types.Transaction, error)

RemoveLiquidity is a paid mutator transaction binding the contract method 0xbaa2abde.

Solidity: function removeLiquidity(address tokenA, address tokenB, uint256 liquidity, uint256 amountAMin, uint256 amountBMin, address to, uint256 deadline) returns(uint256 amountA, uint256 amountB)

func (*IUniswapV2Router01TransactorSession) RemoveLiquidityETH

func (_IUniswapV2Router01 *IUniswapV2Router01TransactorSession) RemoveLiquidityETH(token common.Address, liquidity *big.Int, amountTokenMin *big.Int, amountETHMin *big.Int, to common.Address, deadline *big.Int) (*types.Transaction, error)

RemoveLiquidityETH is a paid mutator transaction binding the contract method 0x02751cec.

Solidity: function removeLiquidityETH(address token, uint256 liquidity, uint256 amountTokenMin, uint256 amountETHMin, address to, uint256 deadline) returns(uint256 amountToken, uint256 amountETH)

func (*IUniswapV2Router01TransactorSession) RemoveLiquidityETHWithPermit

func (_IUniswapV2Router01 *IUniswapV2Router01TransactorSession) RemoveLiquidityETHWithPermit(token common.Address, liquidity *big.Int, amountTokenMin *big.Int, amountETHMin *big.Int, to common.Address, deadline *big.Int, approveMax bool, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)

RemoveLiquidityETHWithPermit is a paid mutator transaction binding the contract method 0xded9382a.

Solidity: function removeLiquidityETHWithPermit(address token, uint256 liquidity, uint256 amountTokenMin, uint256 amountETHMin, address to, uint256 deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s) returns(uint256 amountToken, uint256 amountETH)

func (*IUniswapV2Router01TransactorSession) RemoveLiquidityWithPermit

func (_IUniswapV2Router01 *IUniswapV2Router01TransactorSession) RemoveLiquidityWithPermit(tokenA common.Address, tokenB common.Address, liquidity *big.Int, amountAMin *big.Int, amountBMin *big.Int, to common.Address, deadline *big.Int, approveMax bool, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)

RemoveLiquidityWithPermit is a paid mutator transaction binding the contract method 0x2195995c.

Solidity: function removeLiquidityWithPermit(address tokenA, address tokenB, uint256 liquidity, uint256 amountAMin, uint256 amountBMin, address to, uint256 deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s) returns(uint256 amountA, uint256 amountB)

func (*IUniswapV2Router01TransactorSession) SwapETHForExactTokens

func (_IUniswapV2Router01 *IUniswapV2Router01TransactorSession) SwapETHForExactTokens(amountOut *big.Int, path []common.Address, to common.Address, deadline *big.Int) (*types.Transaction, error)

SwapETHForExactTokens is a paid mutator transaction binding the contract method 0xfb3bdb41.

Solidity: function swapETHForExactTokens(uint256 amountOut, address[] path, address to, uint256 deadline) payable returns(uint256[] amounts)

func (*IUniswapV2Router01TransactorSession) SwapExactETHForTokens

func (_IUniswapV2Router01 *IUniswapV2Router01TransactorSession) SwapExactETHForTokens(amountOutMin *big.Int, path []common.Address, to common.Address, deadline *big.Int) (*types.Transaction, error)

SwapExactETHForTokens is a paid mutator transaction binding the contract method 0x7ff36ab5.

Solidity: function swapExactETHForTokens(uint256 amountOutMin, address[] path, address to, uint256 deadline) payable returns(uint256[] amounts)

func (*IUniswapV2Router01TransactorSession) SwapExactTokensForETH

func (_IUniswapV2Router01 *IUniswapV2Router01TransactorSession) SwapExactTokensForETH(amountIn *big.Int, amountOutMin *big.Int, path []common.Address, to common.Address, deadline *big.Int) (*types.Transaction, error)

SwapExactTokensForETH is a paid mutator transaction binding the contract method 0x18cbafe5.

Solidity: function swapExactTokensForETH(uint256 amountIn, uint256 amountOutMin, address[] path, address to, uint256 deadline) returns(uint256[] amounts)

func (*IUniswapV2Router01TransactorSession) SwapExactTokensForTokens

func (_IUniswapV2Router01 *IUniswapV2Router01TransactorSession) SwapExactTokensForTokens(amountIn *big.Int, amountOutMin *big.Int, path []common.Address, to common.Address, deadline *big.Int) (*types.Transaction, error)

SwapExactTokensForTokens is a paid mutator transaction binding the contract method 0x38ed1739.

Solidity: function swapExactTokensForTokens(uint256 amountIn, uint256 amountOutMin, address[] path, address to, uint256 deadline) returns(uint256[] amounts)

func (*IUniswapV2Router01TransactorSession) SwapTokensForExactETH

func (_IUniswapV2Router01 *IUniswapV2Router01TransactorSession) SwapTokensForExactETH(amountOut *big.Int, amountInMax *big.Int, path []common.Address, to common.Address, deadline *big.Int) (*types.Transaction, error)

SwapTokensForExactETH is a paid mutator transaction binding the contract method 0x4a25d94a.

Solidity: function swapTokensForExactETH(uint256 amountOut, uint256 amountInMax, address[] path, address to, uint256 deadline) returns(uint256[] amounts)

func (*IUniswapV2Router01TransactorSession) SwapTokensForExactTokens

func (_IUniswapV2Router01 *IUniswapV2Router01TransactorSession) SwapTokensForExactTokens(amountOut *big.Int, amountInMax *big.Int, path []common.Address, to common.Address, deadline *big.Int) (*types.Transaction, error)

SwapTokensForExactTokens is a paid mutator transaction binding the contract method 0x8803dbee.

Solidity: function swapTokensForExactTokens(uint256 amountOut, uint256 amountInMax, address[] path, address to, uint256 deadline) returns(uint256[] amounts)

type InterchainSwap

type InterchainSwap struct {
	InterchainSwapCaller     // Read-only binding to the contract
	InterchainSwapTransactor // Write-only binding to the contract
	InterchainSwapFilterer   // Log filterer for contract events
}

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

func DeployInterchainSwap

func DeployInterchainSwap(auth *bind.TransactOpts, backend bind.ContractBackend, _piers []common.Address) (common.Address, *types.Transaction, *InterchainSwap, error)

DeployInterchainSwap deploys a new Ethereum contract, binding an instance of InterchainSwap to it.

func NewInterchainSwap

func NewInterchainSwap(address common.Address, backend bind.ContractBackend) (*InterchainSwap, error)

NewInterchainSwap creates a new instance of InterchainSwap, bound to a specific deployed contract.

type InterchainSwapBurn

type InterchainSwapBurn struct {
	Pier       common.Address
	AppToken   common.Address
	RelayToken common.Address
	Burner     common.Address
	Recipient  common.Address
	Amount     *big.Int
	RelayIndex *big.Int
	Raw        types.Log // Blockchain specific contextual infos
}

InterchainSwapBurn represents a Burn event raised by the InterchainSwap contract.

type InterchainSwapBurnIterator

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

InterchainSwapBurnIterator is returned from FilterBurn and is used to iterate over the raw logs and unpacked data for Burn events raised by the InterchainSwap contract.

func (*InterchainSwapBurnIterator) Close

func (it *InterchainSwapBurnIterator) Close() error

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

func (*InterchainSwapBurnIterator) Error

func (it *InterchainSwapBurnIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*InterchainSwapBurnIterator) Next

func (it *InterchainSwapBurnIterator) Next() bool

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 InterchainSwapCaller

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

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

func NewInterchainSwapCaller

func NewInterchainSwapCaller(address common.Address, caller bind.ContractCaller) (*InterchainSwapCaller, error)

NewInterchainSwapCaller creates a new read-only instance of InterchainSwap, bound to a specific deployed contract.

func (*InterchainSwapCaller) App2bxhToken

func (_InterchainSwap *InterchainSwapCaller) App2bxhToken(opts *bind.CallOpts, arg0 common.Address) (common.Address, error)

App2bxhToken is a free data retrieval call binding the contract method 0x3d5a6eb4.

Solidity: function app2bxhToken(address ) view returns(address)

func (*InterchainSwapCaller) AppToken2Pier

func (_InterchainSwap *InterchainSwapCaller) AppToken2Pier(opts *bind.CallOpts, arg0 common.Address) (common.Address, error)

AppToken2Pier is a free data retrieval call binding the contract method 0x3ed00217.

Solidity: function appToken2Pier(address ) view returns(address)

func (*InterchainSwapCaller) AppchainIndex

func (_InterchainSwap *InterchainSwapCaller) AppchainIndex(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)

AppchainIndex is a free data retrieval call binding the contract method 0x95942c47.

Solidity: function appchainIndex(address ) view returns(uint256)

func (*InterchainSwapCaller) Bxh2appToken

func (_InterchainSwap *InterchainSwapCaller) Bxh2appToken(opts *bind.CallOpts, arg0 common.Address) (common.Address, error)

Bxh2appToken is a free data retrieval call binding the contract method 0xdf248d22.

Solidity: function bxh2appToken(address ) view returns(address)

func (*InterchainSwapCaller) DEFAULTADMINROLE

func (_InterchainSwap *InterchainSwapCaller) DEFAULTADMINROLE(opts *bind.CallOpts) ([32]byte, error)

DEFAULTADMINROLE is a free data retrieval call binding the contract method 0xa217fddf.

Solidity: function DEFAULT_ADMIN_ROLE() view returns(bytes32)

func (*InterchainSwapCaller) GetRoleAdmin

func (_InterchainSwap *InterchainSwapCaller) GetRoleAdmin(opts *bind.CallOpts, role [32]byte) ([32]byte, error)

GetRoleAdmin is a free data retrieval call binding the contract method 0x248a9ca3.

Solidity: function getRoleAdmin(bytes32 role) view returns(bytes32)

func (*InterchainSwapCaller) GetRoleMember

func (_InterchainSwap *InterchainSwapCaller) GetRoleMember(opts *bind.CallOpts, role [32]byte, index *big.Int) (common.Address, error)

GetRoleMember is a free data retrieval call binding the contract method 0x9010d07c.

Solidity: function getRoleMember(bytes32 role, uint256 index) view returns(address)

func (*InterchainSwapCaller) GetRoleMemberCount

func (_InterchainSwap *InterchainSwapCaller) GetRoleMemberCount(opts *bind.CallOpts, role [32]byte) (*big.Int, error)

GetRoleMemberCount is a free data retrieval call binding the contract method 0xca15c873.

Solidity: function getRoleMemberCount(bytes32 role) view returns(uint256)

func (*InterchainSwapCaller) HasRole

func (_InterchainSwap *InterchainSwapCaller) HasRole(opts *bind.CallOpts, role [32]byte, account common.Address) (bool, error)

HasRole is a free data retrieval call binding the contract method 0x91d14854.

Solidity: function hasRole(bytes32 role, address account) view returns(bool)

func (*InterchainSwapCaller) Index2Height

func (_InterchainSwap *InterchainSwapCaller) Index2Height(opts *bind.CallOpts, arg0 common.Address, arg1 *big.Int) (*big.Int, error)

Index2Height is a free data retrieval call binding the contract method 0xce4d5f7d.

Solidity: function index2Height(address , uint256 ) view returns(uint256)

func (*InterchainSwapCaller) MintAmount

func (_InterchainSwap *InterchainSwapCaller) MintAmount(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)

MintAmount is a free data retrieval call binding the contract method 0x055d822c.

Solidity: function mintAmount(address ) view returns(uint256)

func (*InterchainSwapCaller) PIERROLE

func (_InterchainSwap *InterchainSwapCaller) PIERROLE(opts *bind.CallOpts) ([32]byte, error)

PIERROLE is a free data retrieval call binding the contract method 0xfced6ada.

Solidity: function PIER_ROLE() view returns(bytes32)

func (*InterchainSwapCaller) RelayIndex

func (_InterchainSwap *InterchainSwapCaller) RelayIndex(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)

RelayIndex is a free data retrieval call binding the contract method 0xb98ec482.

Solidity: function relayIndex(address ) view returns(uint256)

func (*InterchainSwapCaller) TxMinted

func (_InterchainSwap *InterchainSwapCaller) TxMinted(opts *bind.CallOpts, arg0 string) (bool, error)

TxMinted is a free data retrieval call binding the contract method 0x10c27402.

Solidity: function txMinted(string ) view returns(bool)

type InterchainSwapCallerRaw

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

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

func (*InterchainSwapCallerRaw) Call

func (_InterchainSwap *InterchainSwapCallerRaw) 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 InterchainSwapCallerSession

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

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

func (*InterchainSwapCallerSession) App2bxhToken

func (_InterchainSwap *InterchainSwapCallerSession) App2bxhToken(arg0 common.Address) (common.Address, error)

App2bxhToken is a free data retrieval call binding the contract method 0x3d5a6eb4.

Solidity: function app2bxhToken(address ) view returns(address)

func (*InterchainSwapCallerSession) AppToken2Pier

func (_InterchainSwap *InterchainSwapCallerSession) AppToken2Pier(arg0 common.Address) (common.Address, error)

AppToken2Pier is a free data retrieval call binding the contract method 0x3ed00217.

Solidity: function appToken2Pier(address ) view returns(address)

func (*InterchainSwapCallerSession) AppchainIndex

func (_InterchainSwap *InterchainSwapCallerSession) AppchainIndex(arg0 common.Address) (*big.Int, error)

AppchainIndex is a free data retrieval call binding the contract method 0x95942c47.

Solidity: function appchainIndex(address ) view returns(uint256)

func (*InterchainSwapCallerSession) Bxh2appToken

func (_InterchainSwap *InterchainSwapCallerSession) Bxh2appToken(arg0 common.Address) (common.Address, error)

Bxh2appToken is a free data retrieval call binding the contract method 0xdf248d22.

Solidity: function bxh2appToken(address ) view returns(address)

func (*InterchainSwapCallerSession) DEFAULTADMINROLE

func (_InterchainSwap *InterchainSwapCallerSession) DEFAULTADMINROLE() ([32]byte, error)

DEFAULTADMINROLE is a free data retrieval call binding the contract method 0xa217fddf.

Solidity: function DEFAULT_ADMIN_ROLE() view returns(bytes32)

func (*InterchainSwapCallerSession) GetRoleAdmin

func (_InterchainSwap *InterchainSwapCallerSession) GetRoleAdmin(role [32]byte) ([32]byte, error)

GetRoleAdmin is a free data retrieval call binding the contract method 0x248a9ca3.

Solidity: function getRoleAdmin(bytes32 role) view returns(bytes32)

func (*InterchainSwapCallerSession) GetRoleMember

func (_InterchainSwap *InterchainSwapCallerSession) GetRoleMember(role [32]byte, index *big.Int) (common.Address, error)

GetRoleMember is a free data retrieval call binding the contract method 0x9010d07c.

Solidity: function getRoleMember(bytes32 role, uint256 index) view returns(address)

func (*InterchainSwapCallerSession) GetRoleMemberCount

func (_InterchainSwap *InterchainSwapCallerSession) GetRoleMemberCount(role [32]byte) (*big.Int, error)

GetRoleMemberCount is a free data retrieval call binding the contract method 0xca15c873.

Solidity: function getRoleMemberCount(bytes32 role) view returns(uint256)

func (*InterchainSwapCallerSession) HasRole

func (_InterchainSwap *InterchainSwapCallerSession) HasRole(role [32]byte, account common.Address) (bool, error)

HasRole is a free data retrieval call binding the contract method 0x91d14854.

Solidity: function hasRole(bytes32 role, address account) view returns(bool)

func (*InterchainSwapCallerSession) Index2Height

func (_InterchainSwap *InterchainSwapCallerSession) Index2Height(arg0 common.Address, arg1 *big.Int) (*big.Int, error)

Index2Height is a free data retrieval call binding the contract method 0xce4d5f7d.

Solidity: function index2Height(address , uint256 ) view returns(uint256)

func (*InterchainSwapCallerSession) MintAmount

func (_InterchainSwap *InterchainSwapCallerSession) MintAmount(arg0 common.Address) (*big.Int, error)

MintAmount is a free data retrieval call binding the contract method 0x055d822c.

Solidity: function mintAmount(address ) view returns(uint256)

func (*InterchainSwapCallerSession) PIERROLE

func (_InterchainSwap *InterchainSwapCallerSession) PIERROLE() ([32]byte, error)

PIERROLE is a free data retrieval call binding the contract method 0xfced6ada.

Solidity: function PIER_ROLE() view returns(bytes32)

func (*InterchainSwapCallerSession) RelayIndex

func (_InterchainSwap *InterchainSwapCallerSession) RelayIndex(arg0 common.Address) (*big.Int, error)

RelayIndex is a free data retrieval call binding the contract method 0xb98ec482.

Solidity: function relayIndex(address ) view returns(uint256)

func (*InterchainSwapCallerSession) TxMinted

func (_InterchainSwap *InterchainSwapCallerSession) TxMinted(arg0 string) (bool, error)

TxMinted is a free data retrieval call binding the contract method 0x10c27402.

Solidity: function txMinted(string ) view returns(bool)

type InterchainSwapFilterer

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

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

func NewInterchainSwapFilterer

func NewInterchainSwapFilterer(address common.Address, filterer bind.ContractFilterer) (*InterchainSwapFilterer, error)

NewInterchainSwapFilterer creates a new log filterer instance of InterchainSwap, bound to a specific deployed contract.

func (*InterchainSwapFilterer) FilterBurn

func (_InterchainSwap *InterchainSwapFilterer) FilterBurn(opts *bind.FilterOpts) (*InterchainSwapBurnIterator, error)

FilterBurn is a free log retrieval operation binding the contract event 0xb7a8782f380afb95ac33dae17748e201558c33dd8fdb7f2976dded68a9a57fce.

Solidity: event Burn(address pier, address appToken, address relayToken, address burner, address recipient, uint256 amount, uint256 relayIndex)

func (*InterchainSwapFilterer) FilterMint

func (_InterchainSwap *InterchainSwapFilterer) FilterMint(opts *bind.FilterOpts) (*InterchainSwapMintIterator, error)

FilterMint is a free log retrieval operation binding the contract event 0x719d9ed5b4a376c7a386b65ea2d152ec6adc4e971b1283ebad4ec6d8395c343a.

Solidity: event Mint(address appToken, address relayToken, address from, address recipient, uint256 amount, string txid, uint256 appchainIndex)

func (*InterchainSwapFilterer) FilterRoleAdminChanged

func (_InterchainSwap *InterchainSwapFilterer) FilterRoleAdminChanged(opts *bind.FilterOpts, role [][32]byte, previousAdminRole [][32]byte, newAdminRole [][32]byte) (*InterchainSwapRoleAdminChangedIterator, error)

FilterRoleAdminChanged is a free log retrieval operation binding the contract event 0xbd79b86ffe0ab8e8776151514217cd7cacd52c909f66475c3af44e129f0b00ff.

Solidity: event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole)

func (*InterchainSwapFilterer) FilterRoleGranted

func (_InterchainSwap *InterchainSwapFilterer) FilterRoleGranted(opts *bind.FilterOpts, role [][32]byte, account []common.Address, sender []common.Address) (*InterchainSwapRoleGrantedIterator, error)

FilterRoleGranted is a free log retrieval operation binding the contract event 0x2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d.

Solidity: event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender)

func (*InterchainSwapFilterer) FilterRoleRevoked

func (_InterchainSwap *InterchainSwapFilterer) FilterRoleRevoked(opts *bind.FilterOpts, role [][32]byte, account []common.Address, sender []common.Address) (*InterchainSwapRoleRevokedIterator, error)

FilterRoleRevoked is a free log retrieval operation binding the contract event 0xf6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b.

Solidity: event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender)

func (*InterchainSwapFilterer) ParseBurn

func (_InterchainSwap *InterchainSwapFilterer) ParseBurn(log types.Log) (*InterchainSwapBurn, error)

ParseBurn is a log parse operation binding the contract event 0xb7a8782f380afb95ac33dae17748e201558c33dd8fdb7f2976dded68a9a57fce.

Solidity: event Burn(address pier, address appToken, address relayToken, address burner, address recipient, uint256 amount, uint256 relayIndex)

func (*InterchainSwapFilterer) ParseMint

func (_InterchainSwap *InterchainSwapFilterer) ParseMint(log types.Log) (*InterchainSwapMint, error)

ParseMint is a log parse operation binding the contract event 0x719d9ed5b4a376c7a386b65ea2d152ec6adc4e971b1283ebad4ec6d8395c343a.

Solidity: event Mint(address appToken, address relayToken, address from, address recipient, uint256 amount, string txid, uint256 appchainIndex)

func (*InterchainSwapFilterer) ParseRoleAdminChanged

func (_InterchainSwap *InterchainSwapFilterer) ParseRoleAdminChanged(log types.Log) (*InterchainSwapRoleAdminChanged, error)

ParseRoleAdminChanged is a log parse operation binding the contract event 0xbd79b86ffe0ab8e8776151514217cd7cacd52c909f66475c3af44e129f0b00ff.

Solidity: event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole)

func (*InterchainSwapFilterer) ParseRoleGranted

func (_InterchainSwap *InterchainSwapFilterer) ParseRoleGranted(log types.Log) (*InterchainSwapRoleGranted, error)

ParseRoleGranted is a log parse operation binding the contract event 0x2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d.

Solidity: event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender)

func (*InterchainSwapFilterer) ParseRoleRevoked

func (_InterchainSwap *InterchainSwapFilterer) ParseRoleRevoked(log types.Log) (*InterchainSwapRoleRevoked, error)

ParseRoleRevoked is a log parse operation binding the contract event 0xf6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b.

Solidity: event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender)

func (*InterchainSwapFilterer) WatchBurn

func (_InterchainSwap *InterchainSwapFilterer) WatchBurn(opts *bind.WatchOpts, sink chan<- *InterchainSwapBurn) (event.Subscription, error)

WatchBurn is a free log subscription operation binding the contract event 0xb7a8782f380afb95ac33dae17748e201558c33dd8fdb7f2976dded68a9a57fce.

Solidity: event Burn(address pier, address appToken, address relayToken, address burner, address recipient, uint256 amount, uint256 relayIndex)

func (*InterchainSwapFilterer) WatchMint

func (_InterchainSwap *InterchainSwapFilterer) WatchMint(opts *bind.WatchOpts, sink chan<- *InterchainSwapMint) (event.Subscription, error)

WatchMint is a free log subscription operation binding the contract event 0x719d9ed5b4a376c7a386b65ea2d152ec6adc4e971b1283ebad4ec6d8395c343a.

Solidity: event Mint(address appToken, address relayToken, address from, address recipient, uint256 amount, string txid, uint256 appchainIndex)

func (*InterchainSwapFilterer) WatchRoleAdminChanged

func (_InterchainSwap *InterchainSwapFilterer) WatchRoleAdminChanged(opts *bind.WatchOpts, sink chan<- *InterchainSwapRoleAdminChanged, role [][32]byte, previousAdminRole [][32]byte, newAdminRole [][32]byte) (event.Subscription, error)

WatchRoleAdminChanged is a free log subscription operation binding the contract event 0xbd79b86ffe0ab8e8776151514217cd7cacd52c909f66475c3af44e129f0b00ff.

Solidity: event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole)

func (*InterchainSwapFilterer) WatchRoleGranted

func (_InterchainSwap *InterchainSwapFilterer) WatchRoleGranted(opts *bind.WatchOpts, sink chan<- *InterchainSwapRoleGranted, role [][32]byte, account []common.Address, sender []common.Address) (event.Subscription, error)

WatchRoleGranted is a free log subscription operation binding the contract event 0x2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d.

Solidity: event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender)

func (*InterchainSwapFilterer) WatchRoleRevoked

func (_InterchainSwap *InterchainSwapFilterer) WatchRoleRevoked(opts *bind.WatchOpts, sink chan<- *InterchainSwapRoleRevoked, role [][32]byte, account []common.Address, sender []common.Address) (event.Subscription, error)

WatchRoleRevoked is a free log subscription operation binding the contract event 0xf6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b.

Solidity: event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender)

type InterchainSwapMint

type InterchainSwapMint struct {
	AppToken      common.Address
	RelayToken    common.Address
	From          common.Address
	Recipient     common.Address
	Amount        *big.Int
	Txid          string
	AppchainIndex *big.Int
	Raw           types.Log // Blockchain specific contextual infos
}

InterchainSwapMint represents a Mint event raised by the InterchainSwap contract.

type InterchainSwapMintIterator

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

InterchainSwapMintIterator is returned from FilterMint and is used to iterate over the raw logs and unpacked data for Mint events raised by the InterchainSwap contract.

func (*InterchainSwapMintIterator) Close

func (it *InterchainSwapMintIterator) Close() error

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

func (*InterchainSwapMintIterator) Error

func (it *InterchainSwapMintIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*InterchainSwapMintIterator) Next

func (it *InterchainSwapMintIterator) Next() bool

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 InterchainSwapRaw

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

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

func (*InterchainSwapRaw) Call

func (_InterchainSwap *InterchainSwapRaw) 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 (*InterchainSwapRaw) Transact

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

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

func (*InterchainSwapRaw) Transfer

func (_InterchainSwap *InterchainSwapRaw) 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 InterchainSwapRoleAdminChanged

type InterchainSwapRoleAdminChanged struct {
	Role              [32]byte
	PreviousAdminRole [32]byte
	NewAdminRole      [32]byte
	Raw               types.Log // Blockchain specific contextual infos
}

InterchainSwapRoleAdminChanged represents a RoleAdminChanged event raised by the InterchainSwap contract.

type InterchainSwapRoleAdminChangedIterator

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

InterchainSwapRoleAdminChangedIterator is returned from FilterRoleAdminChanged and is used to iterate over the raw logs and unpacked data for RoleAdminChanged events raised by the InterchainSwap contract.

func (*InterchainSwapRoleAdminChangedIterator) Close

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

func (*InterchainSwapRoleAdminChangedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*InterchainSwapRoleAdminChangedIterator) 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 InterchainSwapRoleGranted

type InterchainSwapRoleGranted struct {
	Role    [32]byte
	Account common.Address
	Sender  common.Address
	Raw     types.Log // Blockchain specific contextual infos
}

InterchainSwapRoleGranted represents a RoleGranted event raised by the InterchainSwap contract.

type InterchainSwapRoleGrantedIterator

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

InterchainSwapRoleGrantedIterator is returned from FilterRoleGranted and is used to iterate over the raw logs and unpacked data for RoleGranted events raised by the InterchainSwap contract.

func (*InterchainSwapRoleGrantedIterator) Close

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

func (*InterchainSwapRoleGrantedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*InterchainSwapRoleGrantedIterator) 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 InterchainSwapRoleRevoked

type InterchainSwapRoleRevoked struct {
	Role    [32]byte
	Account common.Address
	Sender  common.Address
	Raw     types.Log // Blockchain specific contextual infos
}

InterchainSwapRoleRevoked represents a RoleRevoked event raised by the InterchainSwap contract.

type InterchainSwapRoleRevokedIterator

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

InterchainSwapRoleRevokedIterator is returned from FilterRoleRevoked and is used to iterate over the raw logs and unpacked data for RoleRevoked events raised by the InterchainSwap contract.

func (*InterchainSwapRoleRevokedIterator) Close

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

func (*InterchainSwapRoleRevokedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*InterchainSwapRoleRevokedIterator) 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 InterchainSwapSession

type InterchainSwapSession struct {
	Contract     *InterchainSwap   // 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
}

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

func (*InterchainSwapSession) AddSupportToken

func (_InterchainSwap *InterchainSwapSession) AddSupportToken(pierId common.Address, appTokenAddr common.Address, relayTokenAddr common.Address) (*types.Transaction, error)

AddSupportToken is a paid mutator transaction binding the contract method 0x8f9a259a.

Solidity: function addSupportToken(address pierId, address appTokenAddr, address relayTokenAddr) returns()

func (*InterchainSwapSession) AddSupportTokens

func (_InterchainSwap *InterchainSwapSession) AddSupportTokens(pierIds []common.Address, appTokenAddrs []common.Address, relayTokenAddrs []common.Address) (*types.Transaction, error)

AddSupportTokens is a paid mutator transaction binding the contract method 0x5fda09da.

Solidity: function addSupportTokens(address[] pierIds, address[] appTokenAddrs, address[] relayTokenAddrs) returns()

func (*InterchainSwapSession) App2bxhToken

func (_InterchainSwap *InterchainSwapSession) App2bxhToken(arg0 common.Address) (common.Address, error)

App2bxhToken is a free data retrieval call binding the contract method 0x3d5a6eb4.

Solidity: function app2bxhToken(address ) view returns(address)

func (*InterchainSwapSession) AppToken2Pier

func (_InterchainSwap *InterchainSwapSession) AppToken2Pier(arg0 common.Address) (common.Address, error)

AppToken2Pier is a free data retrieval call binding the contract method 0x3ed00217.

Solidity: function appToken2Pier(address ) view returns(address)

func (*InterchainSwapSession) AppchainIndex

func (_InterchainSwap *InterchainSwapSession) AppchainIndex(arg0 common.Address) (*big.Int, error)

AppchainIndex is a free data retrieval call binding the contract method 0x95942c47.

Solidity: function appchainIndex(address ) view returns(uint256)

func (*InterchainSwapSession) Burn

func (_InterchainSwap *InterchainSwapSession) Burn(relayToken common.Address, amount *big.Int, recipient common.Address) (*types.Transaction, error)

Burn is a paid mutator transaction binding the contract method 0xb8ce670d.

Solidity: function burn(address relayToken, uint256 amount, address recipient) returns()

func (*InterchainSwapSession) Bxh2appToken

func (_InterchainSwap *InterchainSwapSession) Bxh2appToken(arg0 common.Address) (common.Address, error)

Bxh2appToken is a free data retrieval call binding the contract method 0xdf248d22.

Solidity: function bxh2appToken(address ) view returns(address)

func (*InterchainSwapSession) DEFAULTADMINROLE

func (_InterchainSwap *InterchainSwapSession) DEFAULTADMINROLE() ([32]byte, error)

DEFAULTADMINROLE is a free data retrieval call binding the contract method 0xa217fddf.

Solidity: function DEFAULT_ADMIN_ROLE() view returns(bytes32)

func (*InterchainSwapSession) GetRoleAdmin

func (_InterchainSwap *InterchainSwapSession) GetRoleAdmin(role [32]byte) ([32]byte, error)

GetRoleAdmin is a free data retrieval call binding the contract method 0x248a9ca3.

Solidity: function getRoleAdmin(bytes32 role) view returns(bytes32)

func (*InterchainSwapSession) GetRoleMember

func (_InterchainSwap *InterchainSwapSession) GetRoleMember(role [32]byte, index *big.Int) (common.Address, error)

GetRoleMember is a free data retrieval call binding the contract method 0x9010d07c.

Solidity: function getRoleMember(bytes32 role, uint256 index) view returns(address)

func (*InterchainSwapSession) GetRoleMemberCount

func (_InterchainSwap *InterchainSwapSession) GetRoleMemberCount(role [32]byte) (*big.Int, error)

GetRoleMemberCount is a free data retrieval call binding the contract method 0xca15c873.

Solidity: function getRoleMemberCount(bytes32 role) view returns(uint256)

func (*InterchainSwapSession) GrantRole

func (_InterchainSwap *InterchainSwapSession) GrantRole(role [32]byte, account common.Address) (*types.Transaction, error)

GrantRole is a paid mutator transaction binding the contract method 0x2f2ff15d.

Solidity: function grantRole(bytes32 role, address account) returns()

func (*InterchainSwapSession) HasRole

func (_InterchainSwap *InterchainSwapSession) HasRole(role [32]byte, account common.Address) (bool, error)

HasRole is a free data retrieval call binding the contract method 0x91d14854.

Solidity: function hasRole(bytes32 role, address account) view returns(bool)

func (*InterchainSwapSession) Index2Height

func (_InterchainSwap *InterchainSwapSession) Index2Height(arg0 common.Address, arg1 *big.Int) (*big.Int, error)

Index2Height is a free data retrieval call binding the contract method 0xce4d5f7d.

Solidity: function index2Height(address , uint256 ) view returns(uint256)

func (*InterchainSwapSession) Mint

func (_InterchainSwap *InterchainSwapSession) Mint(appToken common.Address, relayToken common.Address, from common.Address, recipient common.Address, amount *big.Int, _txid string, _appchainIndex *big.Int) (*types.Transaction, error)

Mint is a paid mutator transaction binding the contract method 0xca8efd75.

Solidity: function mint(address appToken, address relayToken, address from, address recipient, uint256 amount, string _txid, uint256 _appchainIndex) returns()

func (*InterchainSwapSession) MintAmount

func (_InterchainSwap *InterchainSwapSession) MintAmount(arg0 common.Address) (*big.Int, error)

MintAmount is a free data retrieval call binding the contract method 0x055d822c.

Solidity: function mintAmount(address ) view returns(uint256)

func (*InterchainSwapSession) PIERROLE

func (_InterchainSwap *InterchainSwapSession) PIERROLE() ([32]byte, error)

PIERROLE is a free data retrieval call binding the contract method 0xfced6ada.

Solidity: function PIER_ROLE() view returns(bytes32)

func (*InterchainSwapSession) RelayIndex

func (_InterchainSwap *InterchainSwapSession) RelayIndex(arg0 common.Address) (*big.Int, error)

RelayIndex is a free data retrieval call binding the contract method 0xb98ec482.

Solidity: function relayIndex(address ) view returns(uint256)

func (*InterchainSwapSession) RemoveSupportToken

func (_InterchainSwap *InterchainSwapSession) RemoveSupportToken(appTokenAddr common.Address) (*types.Transaction, error)

RemoveSupportToken is a paid mutator transaction binding the contract method 0xe2769cfa.

Solidity: function removeSupportToken(address appTokenAddr) returns()

func (*InterchainSwapSession) RemoveSupportTokens

func (_InterchainSwap *InterchainSwapSession) RemoveSupportTokens(addrs []common.Address) (*types.Transaction, error)

RemoveSupportTokens is a paid mutator transaction binding the contract method 0x0daff621.

Solidity: function removeSupportTokens(address[] addrs) returns()

func (*InterchainSwapSession) RenounceRole

func (_InterchainSwap *InterchainSwapSession) RenounceRole(role [32]byte, account common.Address) (*types.Transaction, error)

RenounceRole is a paid mutator transaction binding the contract method 0x36568abe.

Solidity: function renounceRole(bytes32 role, address account) returns()

func (*InterchainSwapSession) RevokeRole

func (_InterchainSwap *InterchainSwapSession) RevokeRole(role [32]byte, account common.Address) (*types.Transaction, error)

RevokeRole is a paid mutator transaction binding the contract method 0xd547741f.

Solidity: function revokeRole(bytes32 role, address account) returns()

func (*InterchainSwapSession) TxMinted

func (_InterchainSwap *InterchainSwapSession) TxMinted(arg0 string) (bool, error)

TxMinted is a free data retrieval call binding the contract method 0x10c27402.

Solidity: function txMinted(string ) view returns(bool)

type InterchainSwapTransactor

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

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

func NewInterchainSwapTransactor

func NewInterchainSwapTransactor(address common.Address, transactor bind.ContractTransactor) (*InterchainSwapTransactor, error)

NewInterchainSwapTransactor creates a new write-only instance of InterchainSwap, bound to a specific deployed contract.

func (*InterchainSwapTransactor) AddSupportToken

func (_InterchainSwap *InterchainSwapTransactor) AddSupportToken(opts *bind.TransactOpts, pierId common.Address, appTokenAddr common.Address, relayTokenAddr common.Address) (*types.Transaction, error)

AddSupportToken is a paid mutator transaction binding the contract method 0x8f9a259a.

Solidity: function addSupportToken(address pierId, address appTokenAddr, address relayTokenAddr) returns()

func (*InterchainSwapTransactor) AddSupportTokens

func (_InterchainSwap *InterchainSwapTransactor) AddSupportTokens(opts *bind.TransactOpts, pierIds []common.Address, appTokenAddrs []common.Address, relayTokenAddrs []common.Address) (*types.Transaction, error)

AddSupportTokens is a paid mutator transaction binding the contract method 0x5fda09da.

Solidity: function addSupportTokens(address[] pierIds, address[] appTokenAddrs, address[] relayTokenAddrs) returns()

func (*InterchainSwapTransactor) Burn

func (_InterchainSwap *InterchainSwapTransactor) Burn(opts *bind.TransactOpts, relayToken common.Address, amount *big.Int, recipient common.Address) (*types.Transaction, error)

Burn is a paid mutator transaction binding the contract method 0xb8ce670d.

Solidity: function burn(address relayToken, uint256 amount, address recipient) returns()

func (*InterchainSwapTransactor) GrantRole

func (_InterchainSwap *InterchainSwapTransactor) GrantRole(opts *bind.TransactOpts, role [32]byte, account common.Address) (*types.Transaction, error)

GrantRole is a paid mutator transaction binding the contract method 0x2f2ff15d.

Solidity: function grantRole(bytes32 role, address account) returns()

func (*InterchainSwapTransactor) Mint

func (_InterchainSwap *InterchainSwapTransactor) Mint(opts *bind.TransactOpts, appToken common.Address, relayToken common.Address, from common.Address, recipient common.Address, amount *big.Int, _txid string, _appchainIndex *big.Int) (*types.Transaction, error)

Mint is a paid mutator transaction binding the contract method 0xca8efd75.

Solidity: function mint(address appToken, address relayToken, address from, address recipient, uint256 amount, string _txid, uint256 _appchainIndex) returns()

func (*InterchainSwapTransactor) RemoveSupportToken

func (_InterchainSwap *InterchainSwapTransactor) RemoveSupportToken(opts *bind.TransactOpts, appTokenAddr common.Address) (*types.Transaction, error)

RemoveSupportToken is a paid mutator transaction binding the contract method 0xe2769cfa.

Solidity: function removeSupportToken(address appTokenAddr) returns()

func (*InterchainSwapTransactor) RemoveSupportTokens

func (_InterchainSwap *InterchainSwapTransactor) RemoveSupportTokens(opts *bind.TransactOpts, addrs []common.Address) (*types.Transaction, error)

RemoveSupportTokens is a paid mutator transaction binding the contract method 0x0daff621.

Solidity: function removeSupportTokens(address[] addrs) returns()

func (*InterchainSwapTransactor) RenounceRole

func (_InterchainSwap *InterchainSwapTransactor) RenounceRole(opts *bind.TransactOpts, role [32]byte, account common.Address) (*types.Transaction, error)

RenounceRole is a paid mutator transaction binding the contract method 0x36568abe.

Solidity: function renounceRole(bytes32 role, address account) returns()

func (*InterchainSwapTransactor) RevokeRole

func (_InterchainSwap *InterchainSwapTransactor) RevokeRole(opts *bind.TransactOpts, role [32]byte, account common.Address) (*types.Transaction, error)

RevokeRole is a paid mutator transaction binding the contract method 0xd547741f.

Solidity: function revokeRole(bytes32 role, address account) returns()

type InterchainSwapTransactorRaw

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

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

func (*InterchainSwapTransactorRaw) Transact

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

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

func (*InterchainSwapTransactorRaw) Transfer

func (_InterchainSwap *InterchainSwapTransactorRaw) 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 InterchainSwapTransactorSession

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

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

func (*InterchainSwapTransactorSession) AddSupportToken

func (_InterchainSwap *InterchainSwapTransactorSession) AddSupportToken(pierId common.Address, appTokenAddr common.Address, relayTokenAddr common.Address) (*types.Transaction, error)

AddSupportToken is a paid mutator transaction binding the contract method 0x8f9a259a.

Solidity: function addSupportToken(address pierId, address appTokenAddr, address relayTokenAddr) returns()

func (*InterchainSwapTransactorSession) AddSupportTokens

func (_InterchainSwap *InterchainSwapTransactorSession) AddSupportTokens(pierIds []common.Address, appTokenAddrs []common.Address, relayTokenAddrs []common.Address) (*types.Transaction, error)

AddSupportTokens is a paid mutator transaction binding the contract method 0x5fda09da.

Solidity: function addSupportTokens(address[] pierIds, address[] appTokenAddrs, address[] relayTokenAddrs) returns()

func (*InterchainSwapTransactorSession) Burn

func (_InterchainSwap *InterchainSwapTransactorSession) Burn(relayToken common.Address, amount *big.Int, recipient common.Address) (*types.Transaction, error)

Burn is a paid mutator transaction binding the contract method 0xb8ce670d.

Solidity: function burn(address relayToken, uint256 amount, address recipient) returns()

func (*InterchainSwapTransactorSession) GrantRole

func (_InterchainSwap *InterchainSwapTransactorSession) GrantRole(role [32]byte, account common.Address) (*types.Transaction, error)

GrantRole is a paid mutator transaction binding the contract method 0x2f2ff15d.

Solidity: function grantRole(bytes32 role, address account) returns()

func (*InterchainSwapTransactorSession) Mint

func (_InterchainSwap *InterchainSwapTransactorSession) Mint(appToken common.Address, relayToken common.Address, from common.Address, recipient common.Address, amount *big.Int, _txid string, _appchainIndex *big.Int) (*types.Transaction, error)

Mint is a paid mutator transaction binding the contract method 0xca8efd75.

Solidity: function mint(address appToken, address relayToken, address from, address recipient, uint256 amount, string _txid, uint256 _appchainIndex) returns()

func (*InterchainSwapTransactorSession) RemoveSupportToken

func (_InterchainSwap *InterchainSwapTransactorSession) RemoveSupportToken(appTokenAddr common.Address) (*types.Transaction, error)

RemoveSupportToken is a paid mutator transaction binding the contract method 0xe2769cfa.

Solidity: function removeSupportToken(address appTokenAddr) returns()

func (*InterchainSwapTransactorSession) RemoveSupportTokens

func (_InterchainSwap *InterchainSwapTransactorSession) RemoveSupportTokens(addrs []common.Address) (*types.Transaction, error)

RemoveSupportTokens is a paid mutator transaction binding the contract method 0x0daff621.

Solidity: function removeSupportTokens(address[] addrs) returns()

func (*InterchainSwapTransactorSession) RenounceRole

func (_InterchainSwap *InterchainSwapTransactorSession) RenounceRole(role [32]byte, account common.Address) (*types.Transaction, error)

RenounceRole is a paid mutator transaction binding the contract method 0x36568abe.

Solidity: function renounceRole(bytes32 role, address account) returns()

func (*InterchainSwapTransactorSession) RevokeRole

func (_InterchainSwap *InterchainSwapTransactorSession) RevokeRole(role [32]byte, account common.Address) (*types.Transaction, error)

RevokeRole is a paid mutator transaction binding the contract method 0xd547741f.

Solidity: function revokeRole(bytes32 role, address account) returns()

type Ownable

type Ownable struct {
	OwnableCaller     // Read-only binding to the contract
	OwnableTransactor // Write-only binding to the contract
	OwnableFilterer   // Log filterer for contract events
}

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

func NewOwnable

func NewOwnable(address common.Address, backend bind.ContractBackend) (*Ownable, error)

NewOwnable creates a new instance of Ownable, bound to a specific deployed contract.

type OwnableCaller

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

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

func NewOwnableCaller

func NewOwnableCaller(address common.Address, caller bind.ContractCaller) (*OwnableCaller, error)

NewOwnableCaller creates a new read-only instance of Ownable, bound to a specific deployed contract.

func (*OwnableCaller) Owner

func (_Ownable *OwnableCaller) Owner(opts *bind.CallOpts) (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() view returns(address)

type OwnableCallerRaw

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

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

func (*OwnableCallerRaw) Call

func (_Ownable *OwnableCallerRaw) 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 OwnableCallerSession

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

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

func (*OwnableCallerSession) Owner

func (_Ownable *OwnableCallerSession) Owner() (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() view returns(address)

type OwnableFilterer

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

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

func NewOwnableFilterer

func NewOwnableFilterer(address common.Address, filterer bind.ContractFilterer) (*OwnableFilterer, error)

NewOwnableFilterer creates a new log filterer instance of Ownable, bound to a specific deployed contract.

func (*OwnableFilterer) FilterOwnershipTransferred

func (_Ownable *OwnableFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*OwnableOwnershipTransferredIterator, error)

FilterOwnershipTransferred is a free log retrieval operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

func (*OwnableFilterer) ParseOwnershipTransferred

func (_Ownable *OwnableFilterer) ParseOwnershipTransferred(log types.Log) (*OwnableOwnershipTransferred, error)

ParseOwnershipTransferred is a log parse operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

func (*OwnableFilterer) WatchOwnershipTransferred

func (_Ownable *OwnableFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *OwnableOwnershipTransferred, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error)

WatchOwnershipTransferred is a free log subscription operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

type OwnableOwnershipTransferred

type OwnableOwnershipTransferred struct {
	PreviousOwner common.Address
	NewOwner      common.Address
	Raw           types.Log // Blockchain specific contextual infos
}

OwnableOwnershipTransferred represents a OwnershipTransferred event raised by the Ownable contract.

type OwnableOwnershipTransferredIterator

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

OwnableOwnershipTransferredIterator is returned from FilterOwnershipTransferred and is used to iterate over the raw logs and unpacked data for OwnershipTransferred events raised by the Ownable contract.

func (*OwnableOwnershipTransferredIterator) Close

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

func (*OwnableOwnershipTransferredIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*OwnableOwnershipTransferredIterator) 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 OwnableRaw

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

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

func (*OwnableRaw) Call

func (_Ownable *OwnableRaw) 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 (*OwnableRaw) Transact

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

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

func (*OwnableRaw) Transfer

func (_Ownable *OwnableRaw) 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 OwnableSession

type OwnableSession struct {
	Contract     *Ownable          // 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
}

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

func (*OwnableSession) Owner

func (_Ownable *OwnableSession) Owner() (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() view returns(address)

func (*OwnableSession) RenounceOwnership

func (_Ownable *OwnableSession) RenounceOwnership() (*types.Transaction, error)

RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.

Solidity: function renounceOwnership() returns()

func (*OwnableSession) TransferOwnership

func (_Ownable *OwnableSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)

TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.

Solidity: function transferOwnership(address newOwner) returns()

type OwnableTransactor

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

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

func NewOwnableTransactor

func NewOwnableTransactor(address common.Address, transactor bind.ContractTransactor) (*OwnableTransactor, error)

NewOwnableTransactor creates a new write-only instance of Ownable, bound to a specific deployed contract.

func (*OwnableTransactor) RenounceOwnership

func (_Ownable *OwnableTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)

RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.

Solidity: function renounceOwnership() returns()

func (*OwnableTransactor) TransferOwnership

func (_Ownable *OwnableTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)

TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.

Solidity: function transferOwnership(address newOwner) returns()

type OwnableTransactorRaw

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

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

func (*OwnableTransactorRaw) Transact

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

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

func (*OwnableTransactorRaw) Transfer

func (_Ownable *OwnableTransactorRaw) 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 OwnableTransactorSession

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

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

func (*OwnableTransactorSession) RenounceOwnership

func (_Ownable *OwnableTransactorSession) RenounceOwnership() (*types.Transaction, error)

RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.

Solidity: function renounceOwnership() returns()

func (*OwnableTransactorSession) TransferOwnership

func (_Ownable *OwnableTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)

TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.

Solidity: function transferOwnership(address newOwner) returns()

type Proxy

type Proxy struct {
	ProxyCaller     // Read-only binding to the contract
	ProxyTransactor // Write-only binding to the contract
	ProxyFilterer   // Log filterer for contract events
}

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

func DeployProxy

func DeployProxy(auth *bind.TransactOpts, backend bind.ContractBackend, interchainAddr common.Address, dexAddr common.Address) (common.Address, *types.Transaction, *Proxy, error)

DeployProxy deploys a new Ethereum contract, binding an instance of Proxy to it.

func NewProxy

func NewProxy(address common.Address, backend bind.ContractBackend) (*Proxy, error)

NewProxy creates a new instance of Proxy, bound to a specific deployed contract.

type ProxyCaller

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

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

func NewProxyCaller

func NewProxyCaller(address common.Address, caller bind.ContractCaller) (*ProxyCaller, error)

NewProxyCaller creates a new read-only instance of Proxy, bound to a specific deployed contract.

func (*ProxyCaller) DEFAULTADMINROLE

func (_Proxy *ProxyCaller) DEFAULTADMINROLE(opts *bind.CallOpts) ([32]byte, error)

DEFAULTADMINROLE is a free data retrieval call binding the contract method 0xa217fddf.

Solidity: function DEFAULT_ADMIN_ROLE() view returns(bytes32)

func (*ProxyCaller) DexAddr

func (_Proxy *ProxyCaller) DexAddr(opts *bind.CallOpts) (common.Address, error)

DexAddr is a free data retrieval call binding the contract method 0x3ce901ff.

Solidity: function _dexAddr() view returns(address)

func (*ProxyCaller) GetRoleAdmin

func (_Proxy *ProxyCaller) GetRoleAdmin(opts *bind.CallOpts, role [32]byte) ([32]byte, error)

GetRoleAdmin is a free data retrieval call binding the contract method 0x248a9ca3.

Solidity: function getRoleAdmin(bytes32 role) view returns(bytes32)

func (*ProxyCaller) GetRoleMember

func (_Proxy *ProxyCaller) GetRoleMember(opts *bind.CallOpts, role [32]byte, index *big.Int) (common.Address, error)

GetRoleMember is a free data retrieval call binding the contract method 0x9010d07c.

Solidity: function getRoleMember(bytes32 role, uint256 index) view returns(address)

func (*ProxyCaller) GetRoleMemberCount

func (_Proxy *ProxyCaller) GetRoleMemberCount(opts *bind.CallOpts, role [32]byte) (*big.Int, error)

GetRoleMemberCount is a free data retrieval call binding the contract method 0xca15c873.

Solidity: function getRoleMemberCount(bytes32 role) view returns(uint256)

func (*ProxyCaller) HasRole

func (_Proxy *ProxyCaller) HasRole(opts *bind.CallOpts, role [32]byte, account common.Address) (bool, error)

HasRole is a free data retrieval call binding the contract method 0x91d14854.

Solidity: function hasRole(bytes32 role, address account) view returns(bool)

func (*ProxyCaller) Index2Height

func (_Proxy *ProxyCaller) Index2Height(opts *bind.CallOpts, arg0 *big.Int) (*big.Int, error)

Index2Height is a free data retrieval call binding the contract method 0x96f963b4.

Solidity: function index2Height(uint256 ) view returns(uint256)

func (*ProxyCaller) InterchainAddr

func (_Proxy *ProxyCaller) InterchainAddr(opts *bind.CallOpts) (common.Address, error)

InterchainAddr is a free data retrieval call binding the contract method 0xc3e4317d.

Solidity: function _interchainAddr() view returns(address)

func (*ProxyCaller) LockAmount

func (_Proxy *ProxyCaller) LockAmount(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)

LockAmount is a free data retrieval call binding the contract method 0x95bc3bd0.

Solidity: function lockAmount(address ) view returns(uint256)

func (*ProxyCaller) SupportToken

func (_Proxy *ProxyCaller) SupportToken(opts *bind.CallOpts, arg0 common.Address) (common.Address, error)

SupportToken is a free data retrieval call binding the contract method 0x2a4f1621.

Solidity: function supportToken(address ) view returns(address)

func (*ProxyCaller) TxUnlocked

func (_Proxy *ProxyCaller) TxUnlocked(opts *bind.CallOpts, arg0 string) (bool, error)

TxUnlocked is a free data retrieval call binding the contract method 0x967145af.

Solidity: function txUnlocked(string ) view returns(bool)

type ProxyCallerRaw

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

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

func (*ProxyCallerRaw) Call

func (_Proxy *ProxyCallerRaw) 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 ProxyCallerSession

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

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

func (*ProxyCallerSession) DEFAULTADMINROLE

func (_Proxy *ProxyCallerSession) DEFAULTADMINROLE() ([32]byte, error)

DEFAULTADMINROLE is a free data retrieval call binding the contract method 0xa217fddf.

Solidity: function DEFAULT_ADMIN_ROLE() view returns(bytes32)

func (*ProxyCallerSession) DexAddr

func (_Proxy *ProxyCallerSession) DexAddr() (common.Address, error)

DexAddr is a free data retrieval call binding the contract method 0x3ce901ff.

Solidity: function _dexAddr() view returns(address)

func (*ProxyCallerSession) GetRoleAdmin

func (_Proxy *ProxyCallerSession) GetRoleAdmin(role [32]byte) ([32]byte, error)

GetRoleAdmin is a free data retrieval call binding the contract method 0x248a9ca3.

Solidity: function getRoleAdmin(bytes32 role) view returns(bytes32)

func (*ProxyCallerSession) GetRoleMember

func (_Proxy *ProxyCallerSession) GetRoleMember(role [32]byte, index *big.Int) (common.Address, error)

GetRoleMember is a free data retrieval call binding the contract method 0x9010d07c.

Solidity: function getRoleMember(bytes32 role, uint256 index) view returns(address)

func (*ProxyCallerSession) GetRoleMemberCount

func (_Proxy *ProxyCallerSession) GetRoleMemberCount(role [32]byte) (*big.Int, error)

GetRoleMemberCount is a free data retrieval call binding the contract method 0xca15c873.

Solidity: function getRoleMemberCount(bytes32 role) view returns(uint256)

func (*ProxyCallerSession) HasRole

func (_Proxy *ProxyCallerSession) HasRole(role [32]byte, account common.Address) (bool, error)

HasRole is a free data retrieval call binding the contract method 0x91d14854.

Solidity: function hasRole(bytes32 role, address account) view returns(bool)

func (*ProxyCallerSession) Index2Height

func (_Proxy *ProxyCallerSession) Index2Height(arg0 *big.Int) (*big.Int, error)

Index2Height is a free data retrieval call binding the contract method 0x96f963b4.

Solidity: function index2Height(uint256 ) view returns(uint256)

func (*ProxyCallerSession) InterchainAddr

func (_Proxy *ProxyCallerSession) InterchainAddr() (common.Address, error)

InterchainAddr is a free data retrieval call binding the contract method 0xc3e4317d.

Solidity: function _interchainAddr() view returns(address)

func (*ProxyCallerSession) LockAmount

func (_Proxy *ProxyCallerSession) LockAmount(arg0 common.Address) (*big.Int, error)

LockAmount is a free data retrieval call binding the contract method 0x95bc3bd0.

Solidity: function lockAmount(address ) view returns(uint256)

func (*ProxyCallerSession) SupportToken

func (_Proxy *ProxyCallerSession) SupportToken(arg0 common.Address) (common.Address, error)

SupportToken is a free data retrieval call binding the contract method 0x2a4f1621.

Solidity: function supportToken(address ) view returns(address)

func (*ProxyCallerSession) TxUnlocked

func (_Proxy *ProxyCallerSession) TxUnlocked(arg0 string) (bool, error)

TxUnlocked is a free data retrieval call binding the contract method 0x967145af.

Solidity: function txUnlocked(string ) view returns(bool)

type ProxyFilterer

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

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

func NewProxyFilterer

func NewProxyFilterer(address common.Address, filterer bind.ContractFilterer) (*ProxyFilterer, error)

NewProxyFilterer creates a new log filterer instance of Proxy, bound to a specific deployed contract.

func (*ProxyFilterer) FilterRoleAdminChanged

func (_Proxy *ProxyFilterer) FilterRoleAdminChanged(opts *bind.FilterOpts, role [][32]byte, previousAdminRole [][32]byte, newAdminRole [][32]byte) (*ProxyRoleAdminChangedIterator, error)

FilterRoleAdminChanged is a free log retrieval operation binding the contract event 0xbd79b86ffe0ab8e8776151514217cd7cacd52c909f66475c3af44e129f0b00ff.

Solidity: event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole)

func (*ProxyFilterer) FilterRoleGranted

func (_Proxy *ProxyFilterer) FilterRoleGranted(opts *bind.FilterOpts, role [][32]byte, account []common.Address, sender []common.Address) (*ProxyRoleGrantedIterator, error)

FilterRoleGranted is a free log retrieval operation binding the contract event 0x2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d.

Solidity: event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender)

func (*ProxyFilterer) FilterRoleRevoked

func (_Proxy *ProxyFilterer) FilterRoleRevoked(opts *bind.FilterOpts, role [][32]byte, account []common.Address, sender []common.Address) (*ProxyRoleRevokedIterator, error)

FilterRoleRevoked is a free log retrieval operation binding the contract event 0xf6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b.

Solidity: event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender)

func (*ProxyFilterer) ParseRoleAdminChanged

func (_Proxy *ProxyFilterer) ParseRoleAdminChanged(log types.Log) (*ProxyRoleAdminChanged, error)

ParseRoleAdminChanged is a log parse operation binding the contract event 0xbd79b86ffe0ab8e8776151514217cd7cacd52c909f66475c3af44e129f0b00ff.

Solidity: event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole)

func (*ProxyFilterer) ParseRoleGranted

func (_Proxy *ProxyFilterer) ParseRoleGranted(log types.Log) (*ProxyRoleGranted, error)

ParseRoleGranted is a log parse operation binding the contract event 0x2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d.

Solidity: event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender)

func (*ProxyFilterer) ParseRoleRevoked

func (_Proxy *ProxyFilterer) ParseRoleRevoked(log types.Log) (*ProxyRoleRevoked, error)

ParseRoleRevoked is a log parse operation binding the contract event 0xf6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b.

Solidity: event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender)

func (*ProxyFilterer) WatchRoleAdminChanged

func (_Proxy *ProxyFilterer) WatchRoleAdminChanged(opts *bind.WatchOpts, sink chan<- *ProxyRoleAdminChanged, role [][32]byte, previousAdminRole [][32]byte, newAdminRole [][32]byte) (event.Subscription, error)

WatchRoleAdminChanged is a free log subscription operation binding the contract event 0xbd79b86ffe0ab8e8776151514217cd7cacd52c909f66475c3af44e129f0b00ff.

Solidity: event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole)

func (*ProxyFilterer) WatchRoleGranted

func (_Proxy *ProxyFilterer) WatchRoleGranted(opts *bind.WatchOpts, sink chan<- *ProxyRoleGranted, role [][32]byte, account []common.Address, sender []common.Address) (event.Subscription, error)

WatchRoleGranted is a free log subscription operation binding the contract event 0x2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d.

Solidity: event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender)

func (*ProxyFilterer) WatchRoleRevoked

func (_Proxy *ProxyFilterer) WatchRoleRevoked(opts *bind.WatchOpts, sink chan<- *ProxyRoleRevoked, role [][32]byte, account []common.Address, sender []common.Address) (event.Subscription, error)

WatchRoleRevoked is a free log subscription operation binding the contract event 0xf6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b.

Solidity: event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender)

type ProxyRaw

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

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

func (*ProxyRaw) Call

func (_Proxy *ProxyRaw) 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 (*ProxyRaw) Transact

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

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

func (*ProxyRaw) Transfer

func (_Proxy *ProxyRaw) 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 ProxyRoleAdminChanged

type ProxyRoleAdminChanged struct {
	Role              [32]byte
	PreviousAdminRole [32]byte
	NewAdminRole      [32]byte
	Raw               types.Log // Blockchain specific contextual infos
}

ProxyRoleAdminChanged represents a RoleAdminChanged event raised by the Proxy contract.

type ProxyRoleAdminChangedIterator

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

ProxyRoleAdminChangedIterator is returned from FilterRoleAdminChanged and is used to iterate over the raw logs and unpacked data for RoleAdminChanged events raised by the Proxy contract.

func (*ProxyRoleAdminChangedIterator) Close

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

func (*ProxyRoleAdminChangedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ProxyRoleAdminChangedIterator) 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 ProxyRoleGranted

type ProxyRoleGranted struct {
	Role    [32]byte
	Account common.Address
	Sender  common.Address
	Raw     types.Log // Blockchain specific contextual infos
}

ProxyRoleGranted represents a RoleGranted event raised by the Proxy contract.

type ProxyRoleGrantedIterator

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

ProxyRoleGrantedIterator is returned from FilterRoleGranted and is used to iterate over the raw logs and unpacked data for RoleGranted events raised by the Proxy contract.

func (*ProxyRoleGrantedIterator) Close

func (it *ProxyRoleGrantedIterator) Close() error

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

func (*ProxyRoleGrantedIterator) Error

func (it *ProxyRoleGrantedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*ProxyRoleGrantedIterator) Next

func (it *ProxyRoleGrantedIterator) Next() bool

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 ProxyRoleRevoked

type ProxyRoleRevoked struct {
	Role    [32]byte
	Account common.Address
	Sender  common.Address
	Raw     types.Log // Blockchain specific contextual infos
}

ProxyRoleRevoked represents a RoleRevoked event raised by the Proxy contract.

type ProxyRoleRevokedIterator

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

ProxyRoleRevokedIterator is returned from FilterRoleRevoked and is used to iterate over the raw logs and unpacked data for RoleRevoked events raised by the Proxy contract.

func (*ProxyRoleRevokedIterator) Close

func (it *ProxyRoleRevokedIterator) Close() error

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

func (*ProxyRoleRevokedIterator) Error

func (it *ProxyRoleRevokedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*ProxyRoleRevokedIterator) Next

func (it *ProxyRoleRevokedIterator) Next() bool

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 ProxySession

type ProxySession struct {
	Contract     *Proxy            // 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
}

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

func (*ProxySession) DEFAULTADMINROLE

func (_Proxy *ProxySession) DEFAULTADMINROLE() ([32]byte, error)

DEFAULTADMINROLE is a free data retrieval call binding the contract method 0xa217fddf.

Solidity: function DEFAULT_ADMIN_ROLE() view returns(bytes32)

func (*ProxySession) DexAddr

func (_Proxy *ProxySession) DexAddr() (common.Address, error)

DexAddr is a free data retrieval call binding the contract method 0x3ce901ff.

Solidity: function _dexAddr() view returns(address)

func (*ProxySession) GetRoleAdmin

func (_Proxy *ProxySession) GetRoleAdmin(role [32]byte) ([32]byte, error)

GetRoleAdmin is a free data retrieval call binding the contract method 0x248a9ca3.

Solidity: function getRoleAdmin(bytes32 role) view returns(bytes32)

func (*ProxySession) GetRoleMember

func (_Proxy *ProxySession) GetRoleMember(role [32]byte, index *big.Int) (common.Address, error)

GetRoleMember is a free data retrieval call binding the contract method 0x9010d07c.

Solidity: function getRoleMember(bytes32 role, uint256 index) view returns(address)

func (*ProxySession) GetRoleMemberCount

func (_Proxy *ProxySession) GetRoleMemberCount(role [32]byte) (*big.Int, error)

GetRoleMemberCount is a free data retrieval call binding the contract method 0xca15c873.

Solidity: function getRoleMemberCount(bytes32 role) view returns(uint256)

func (*ProxySession) GrantRole

func (_Proxy *ProxySession) GrantRole(role [32]byte, account common.Address) (*types.Transaction, error)

GrantRole is a paid mutator transaction binding the contract method 0x2f2ff15d.

Solidity: function grantRole(bytes32 role, address account) returns()

func (*ProxySession) HasRole

func (_Proxy *ProxySession) HasRole(role [32]byte, account common.Address) (bool, error)

HasRole is a free data retrieval call binding the contract method 0x91d14854.

Solidity: function hasRole(bytes32 role, address account) view returns(bool)

func (*ProxySession) Index2Height

func (_Proxy *ProxySession) Index2Height(arg0 *big.Int) (*big.Int, error)

Index2Height is a free data retrieval call binding the contract method 0x96f963b4.

Solidity: function index2Height(uint256 ) view returns(uint256)

func (*ProxySession) InterchainAddr

func (_Proxy *ProxySession) InterchainAddr() (common.Address, error)

InterchainAddr is a free data retrieval call binding the contract method 0xc3e4317d.

Solidity: function _interchainAddr() view returns(address)

func (*ProxySession) LockAmount

func (_Proxy *ProxySession) LockAmount(arg0 common.Address) (*big.Int, error)

LockAmount is a free data retrieval call binding the contract method 0x95bc3bd0.

Solidity: function lockAmount(address ) view returns(uint256)

func (*ProxySession) Proxy

func (_Proxy *ProxySession) Proxy(appToken common.Address, relayToken common.Address, from common.Address, recipient common.Address, amount *big.Int, _txid string, _appchainIndex *big.Int, dstChainId common.Address, dstContract common.Address) (*types.Transaction, error)

Proxy is a paid mutator transaction binding the contract method 0xca3f8a7b.

Solidity: function proxy(address appToken, address relayToken, address from, address recipient, uint256 amount, string _txid, uint256 _appchainIndex, address dstChainId, address dstContract) returns()

func (*ProxySession) RenounceRole

func (_Proxy *ProxySession) RenounceRole(role [32]byte, account common.Address) (*types.Transaction, error)

RenounceRole is a paid mutator transaction binding the contract method 0x36568abe.

Solidity: function renounceRole(bytes32 role, address account) returns()

func (*ProxySession) RevokeRole

func (_Proxy *ProxySession) RevokeRole(role [32]byte, account common.Address) (*types.Transaction, error)

RevokeRole is a paid mutator transaction binding the contract method 0xd547741f.

Solidity: function revokeRole(bytes32 role, address account) returns()

func (*ProxySession) SupportToken

func (_Proxy *ProxySession) SupportToken(arg0 common.Address) (common.Address, error)

SupportToken is a free data retrieval call binding the contract method 0x2a4f1621.

Solidity: function supportToken(address ) view returns(address)

func (*ProxySession) TxUnlocked

func (_Proxy *ProxySession) TxUnlocked(arg0 string) (bool, error)

TxUnlocked is a free data retrieval call binding the contract method 0x967145af.

Solidity: function txUnlocked(string ) view returns(bool)

type ProxyTransactor

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

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

func NewProxyTransactor

func NewProxyTransactor(address common.Address, transactor bind.ContractTransactor) (*ProxyTransactor, error)

NewProxyTransactor creates a new write-only instance of Proxy, bound to a specific deployed contract.

func (*ProxyTransactor) GrantRole

func (_Proxy *ProxyTransactor) GrantRole(opts *bind.TransactOpts, role [32]byte, account common.Address) (*types.Transaction, error)

GrantRole is a paid mutator transaction binding the contract method 0x2f2ff15d.

Solidity: function grantRole(bytes32 role, address account) returns()

func (*ProxyTransactor) Proxy

func (_Proxy *ProxyTransactor) Proxy(opts *bind.TransactOpts, appToken common.Address, relayToken common.Address, from common.Address, recipient common.Address, amount *big.Int, _txid string, _appchainIndex *big.Int, dstChainId common.Address, dstContract common.Address) (*types.Transaction, error)

Proxy is a paid mutator transaction binding the contract method 0xca3f8a7b.

Solidity: function proxy(address appToken, address relayToken, address from, address recipient, uint256 amount, string _txid, uint256 _appchainIndex, address dstChainId, address dstContract) returns()

func (*ProxyTransactor) RenounceRole

func (_Proxy *ProxyTransactor) RenounceRole(opts *bind.TransactOpts, role [32]byte, account common.Address) (*types.Transaction, error)

RenounceRole is a paid mutator transaction binding the contract method 0x36568abe.

Solidity: function renounceRole(bytes32 role, address account) returns()

func (*ProxyTransactor) RevokeRole

func (_Proxy *ProxyTransactor) RevokeRole(opts *bind.TransactOpts, role [32]byte, account common.Address) (*types.Transaction, error)

RevokeRole is a paid mutator transaction binding the contract method 0xd547741f.

Solidity: function revokeRole(bytes32 role, address account) returns()

type ProxyTransactorRaw

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

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

func (*ProxyTransactorRaw) Transact

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

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

func (*ProxyTransactorRaw) Transfer

func (_Proxy *ProxyTransactorRaw) 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 ProxyTransactorSession

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

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

func (*ProxyTransactorSession) GrantRole

func (_Proxy *ProxyTransactorSession) GrantRole(role [32]byte, account common.Address) (*types.Transaction, error)

GrantRole is a paid mutator transaction binding the contract method 0x2f2ff15d.

Solidity: function grantRole(bytes32 role, address account) returns()

func (*ProxyTransactorSession) Proxy

func (_Proxy *ProxyTransactorSession) Proxy(appToken common.Address, relayToken common.Address, from common.Address, recipient common.Address, amount *big.Int, _txid string, _appchainIndex *big.Int, dstChainId common.Address, dstContract common.Address) (*types.Transaction, error)

Proxy is a paid mutator transaction binding the contract method 0xca3f8a7b.

Solidity: function proxy(address appToken, address relayToken, address from, address recipient, uint256 amount, string _txid, uint256 _appchainIndex, address dstChainId, address dstContract) returns()

func (*ProxyTransactorSession) RenounceRole

func (_Proxy *ProxyTransactorSession) RenounceRole(role [32]byte, account common.Address) (*types.Transaction, error)

RenounceRole is a paid mutator transaction binding the contract method 0x36568abe.

Solidity: function renounceRole(bytes32 role, address account) returns()

func (*ProxyTransactorSession) RevokeRole

func (_Proxy *ProxyTransactorSession) RevokeRole(role [32]byte, account common.Address) (*types.Transaction, error)

RevokeRole is a paid mutator transaction binding the contract method 0xd547741f.

Solidity: function revokeRole(bytes32 role, address account) returns()

type SafeDecimalMath

type SafeDecimalMath struct {
	SafeDecimalMathCaller     // Read-only binding to the contract
	SafeDecimalMathTransactor // Write-only binding to the contract
	SafeDecimalMathFilterer   // Log filterer for contract events
}

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

func DeploySafeDecimalMath

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

DeploySafeDecimalMath deploys a new Ethereum contract, binding an instance of SafeDecimalMath to it.

func NewSafeDecimalMath

func NewSafeDecimalMath(address common.Address, backend bind.ContractBackend) (*SafeDecimalMath, error)

NewSafeDecimalMath creates a new instance of SafeDecimalMath, bound to a specific deployed contract.

type SafeDecimalMathCaller

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

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

func NewSafeDecimalMathCaller

func NewSafeDecimalMathCaller(address common.Address, caller bind.ContractCaller) (*SafeDecimalMathCaller, error)

NewSafeDecimalMathCaller creates a new read-only instance of SafeDecimalMath, bound to a specific deployed contract.

func (*SafeDecimalMathCaller) Decimals

func (_SafeDecimalMath *SafeDecimalMathCaller) Decimals(opts *bind.CallOpts) (uint8, error)

Decimals is a free data retrieval call binding the contract method 0x313ce567.

Solidity: function decimals() view returns(uint8)

func (*SafeDecimalMathCaller) HighPrecisionDecimals

func (_SafeDecimalMath *SafeDecimalMathCaller) HighPrecisionDecimals(opts *bind.CallOpts) (uint8, error)

HighPrecisionDecimals is a free data retrieval call binding the contract method 0xdef4419d.

Solidity: function highPrecisionDecimals() view returns(uint8)

func (*SafeDecimalMathCaller) PRECISEUNIT

func (_SafeDecimalMath *SafeDecimalMathCaller) PRECISEUNIT(opts *bind.CallOpts) (*big.Int, error)

PRECISEUNIT is a free data retrieval call binding the contract method 0x864029e7.

Solidity: function PRECISE_UNIT() view returns(uint256)

func (*SafeDecimalMathCaller) PreciseUnit

func (_SafeDecimalMath *SafeDecimalMathCaller) PreciseUnit(opts *bind.CallOpts) (*big.Int, error)

PreciseUnit is a free data retrieval call binding the contract method 0xd5e5e6e6.

Solidity: function preciseUnit() pure returns(uint256)

func (*SafeDecimalMathCaller) UNIT

func (_SafeDecimalMath *SafeDecimalMathCaller) UNIT(opts *bind.CallOpts) (*big.Int, error)

UNIT is a free data retrieval call binding the contract method 0x9d8e2177.

Solidity: function UNIT() view returns(uint256)

func (*SafeDecimalMathCaller) Unit

func (_SafeDecimalMath *SafeDecimalMathCaller) Unit(opts *bind.CallOpts) (*big.Int, error)

Unit is a free data retrieval call binding the contract method 0x907af6c0.

Solidity: function unit() pure returns(uint256)

type SafeDecimalMathCallerRaw

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

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

func (*SafeDecimalMathCallerRaw) Call

func (_SafeDecimalMath *SafeDecimalMathCallerRaw) 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 SafeDecimalMathCallerSession

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

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

func (*SafeDecimalMathCallerSession) Decimals

func (_SafeDecimalMath *SafeDecimalMathCallerSession) Decimals() (uint8, error)

Decimals is a free data retrieval call binding the contract method 0x313ce567.

Solidity: function decimals() view returns(uint8)

func (*SafeDecimalMathCallerSession) HighPrecisionDecimals

func (_SafeDecimalMath *SafeDecimalMathCallerSession) HighPrecisionDecimals() (uint8, error)

HighPrecisionDecimals is a free data retrieval call binding the contract method 0xdef4419d.

Solidity: function highPrecisionDecimals() view returns(uint8)

func (*SafeDecimalMathCallerSession) PRECISEUNIT

func (_SafeDecimalMath *SafeDecimalMathCallerSession) PRECISEUNIT() (*big.Int, error)

PRECISEUNIT is a free data retrieval call binding the contract method 0x864029e7.

Solidity: function PRECISE_UNIT() view returns(uint256)

func (*SafeDecimalMathCallerSession) PreciseUnit

func (_SafeDecimalMath *SafeDecimalMathCallerSession) PreciseUnit() (*big.Int, error)

PreciseUnit is a free data retrieval call binding the contract method 0xd5e5e6e6.

Solidity: function preciseUnit() pure returns(uint256)

func (*SafeDecimalMathCallerSession) UNIT

func (_SafeDecimalMath *SafeDecimalMathCallerSession) UNIT() (*big.Int, error)

UNIT is a free data retrieval call binding the contract method 0x9d8e2177.

Solidity: function UNIT() view returns(uint256)

func (*SafeDecimalMathCallerSession) Unit

func (_SafeDecimalMath *SafeDecimalMathCallerSession) Unit() (*big.Int, error)

Unit is a free data retrieval call binding the contract method 0x907af6c0.

Solidity: function unit() pure returns(uint256)

type SafeDecimalMathFilterer

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

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

func NewSafeDecimalMathFilterer

func NewSafeDecimalMathFilterer(address common.Address, filterer bind.ContractFilterer) (*SafeDecimalMathFilterer, error)

NewSafeDecimalMathFilterer creates a new log filterer instance of SafeDecimalMath, bound to a specific deployed contract.

type SafeDecimalMathRaw

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

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

func (*SafeDecimalMathRaw) Call

func (_SafeDecimalMath *SafeDecimalMathRaw) 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 (*SafeDecimalMathRaw) Transact

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

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

func (*SafeDecimalMathRaw) Transfer

func (_SafeDecimalMath *SafeDecimalMathRaw) 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 SafeDecimalMathSession

type SafeDecimalMathSession struct {
	Contract     *SafeDecimalMath  // 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
}

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

func (*SafeDecimalMathSession) Decimals

func (_SafeDecimalMath *SafeDecimalMathSession) Decimals() (uint8, error)

Decimals is a free data retrieval call binding the contract method 0x313ce567.

Solidity: function decimals() view returns(uint8)

func (*SafeDecimalMathSession) HighPrecisionDecimals

func (_SafeDecimalMath *SafeDecimalMathSession) HighPrecisionDecimals() (uint8, error)

HighPrecisionDecimals is a free data retrieval call binding the contract method 0xdef4419d.

Solidity: function highPrecisionDecimals() view returns(uint8)

func (*SafeDecimalMathSession) PRECISEUNIT

func (_SafeDecimalMath *SafeDecimalMathSession) PRECISEUNIT() (*big.Int, error)

PRECISEUNIT is a free data retrieval call binding the contract method 0x864029e7.

Solidity: function PRECISE_UNIT() view returns(uint256)

func (*SafeDecimalMathSession) PreciseUnit

func (_SafeDecimalMath *SafeDecimalMathSession) PreciseUnit() (*big.Int, error)

PreciseUnit is a free data retrieval call binding the contract method 0xd5e5e6e6.

Solidity: function preciseUnit() pure returns(uint256)

func (*SafeDecimalMathSession) UNIT

func (_SafeDecimalMath *SafeDecimalMathSession) UNIT() (*big.Int, error)

UNIT is a free data retrieval call binding the contract method 0x9d8e2177.

Solidity: function UNIT() view returns(uint256)

func (*SafeDecimalMathSession) Unit

func (_SafeDecimalMath *SafeDecimalMathSession) Unit() (*big.Int, error)

Unit is a free data retrieval call binding the contract method 0x907af6c0.

Solidity: function unit() pure returns(uint256)

type SafeDecimalMathTransactor

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

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

func NewSafeDecimalMathTransactor

func NewSafeDecimalMathTransactor(address common.Address, transactor bind.ContractTransactor) (*SafeDecimalMathTransactor, error)

NewSafeDecimalMathTransactor creates a new write-only instance of SafeDecimalMath, bound to a specific deployed contract.

type SafeDecimalMathTransactorRaw

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

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

func (*SafeDecimalMathTransactorRaw) Transact

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

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

func (*SafeDecimalMathTransactorRaw) Transfer

func (_SafeDecimalMath *SafeDecimalMathTransactorRaw) 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 SafeDecimalMathTransactorSession

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

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

type SafeERC20

type SafeERC20 struct {
	SafeERC20Caller     // Read-only binding to the contract
	SafeERC20Transactor // Write-only binding to the contract
	SafeERC20Filterer   // Log filterer for contract events
}

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

func DeploySafeERC20

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

DeploySafeERC20 deploys a new Ethereum contract, binding an instance of SafeERC20 to it.

func NewSafeERC20

func NewSafeERC20(address common.Address, backend bind.ContractBackend) (*SafeERC20, error)

NewSafeERC20 creates a new instance of SafeERC20, bound to a specific deployed contract.

type SafeERC20Caller

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

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

func NewSafeERC20Caller

func NewSafeERC20Caller(address common.Address, caller bind.ContractCaller) (*SafeERC20Caller, error)

NewSafeERC20Caller creates a new read-only instance of SafeERC20, bound to a specific deployed contract.

type SafeERC20CallerRaw

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

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

func (*SafeERC20CallerRaw) Call

func (_SafeERC20 *SafeERC20CallerRaw) 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 SafeERC20CallerSession

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

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

type SafeERC20Filterer

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

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

func NewSafeERC20Filterer

func NewSafeERC20Filterer(address common.Address, filterer bind.ContractFilterer) (*SafeERC20Filterer, error)

NewSafeERC20Filterer creates a new log filterer instance of SafeERC20, bound to a specific deployed contract.

type SafeERC20Raw

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

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

func (*SafeERC20Raw) Call

func (_SafeERC20 *SafeERC20Raw) 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 (*SafeERC20Raw) Transact

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

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

func (*SafeERC20Raw) Transfer

func (_SafeERC20 *SafeERC20Raw) 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 SafeERC20Session

type SafeERC20Session struct {
	Contract     *SafeERC20        // 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
}

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

type SafeERC20Transactor

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

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

func NewSafeERC20Transactor

func NewSafeERC20Transactor(address common.Address, transactor bind.ContractTransactor) (*SafeERC20Transactor, error)

NewSafeERC20Transactor creates a new write-only instance of SafeERC20, bound to a specific deployed contract.

type SafeERC20TransactorRaw

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

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

func (*SafeERC20TransactorRaw) Transact

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

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

func (*SafeERC20TransactorRaw) Transfer

func (_SafeERC20 *SafeERC20TransactorRaw) 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 SafeERC20TransactorSession

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

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

type SafeMath

type SafeMath struct {
	SafeMathCaller     // Read-only binding to the contract
	SafeMathTransactor // Write-only binding to the contract
	SafeMathFilterer   // Log filterer for contract events
}

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

func DeploySafeMath

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

DeploySafeMath deploys a new Ethereum contract, binding an instance of SafeMath to it.

func NewSafeMath

func NewSafeMath(address common.Address, backend bind.ContractBackend) (*SafeMath, error)

NewSafeMath creates a new instance of SafeMath, bound to a specific deployed contract.

type SafeMathCaller

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

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

func NewSafeMathCaller

func NewSafeMathCaller(address common.Address, caller bind.ContractCaller) (*SafeMathCaller, error)

NewSafeMathCaller creates a new read-only instance of SafeMath, bound to a specific deployed contract.

type SafeMathCallerRaw

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

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

func (*SafeMathCallerRaw) Call

func (_SafeMath *SafeMathCallerRaw) 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 SafeMathCallerSession

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

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

type SafeMathFilterer

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

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

func NewSafeMathFilterer

func NewSafeMathFilterer(address common.Address, filterer bind.ContractFilterer) (*SafeMathFilterer, error)

NewSafeMathFilterer creates a new log filterer instance of SafeMath, bound to a specific deployed contract.

type SafeMathRaw

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

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

func (*SafeMathRaw) Call

func (_SafeMath *SafeMathRaw) 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 (*SafeMathRaw) Transact

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

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

func (*SafeMathRaw) Transfer

func (_SafeMath *SafeMathRaw) 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 SafeMathSession

type SafeMathSession struct {
	Contract     *SafeMath         // 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
}

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

type SafeMathTransactor

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

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

func NewSafeMathTransactor

func NewSafeMathTransactor(address common.Address, transactor bind.ContractTransactor) (*SafeMathTransactor, error)

NewSafeMathTransactor creates a new write-only instance of SafeMath, bound to a specific deployed contract.

type SafeMathTransactorRaw

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

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

func (*SafeMathTransactorRaw) Transact

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

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

func (*SafeMathTransactorRaw) Transfer

func (_SafeMath *SafeMathTransactorRaw) 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 SafeMathTransactorSession

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

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

Jump to

Keyboard shortcuts

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