Documentation ¶
Index ¶
- Variables
- type ERC20FixedSupply
- type ERC20FixedSupplyApproval
- type ERC20FixedSupplyApprovalIterator
- type ERC20FixedSupplyCaller
- func (_ERC20FixedSupply *ERC20FixedSupplyCaller) Allowance(opts *bind.CallOpts, owner common.Address, spender common.Address) (*big.Int, error)
- func (_ERC20FixedSupply *ERC20FixedSupplyCaller) BalanceOf(opts *bind.CallOpts, account common.Address) (*big.Int, error)
- func (_ERC20FixedSupply *ERC20FixedSupplyCaller) Decimals(opts *bind.CallOpts) (uint8, error)
- func (_ERC20FixedSupply *ERC20FixedSupplyCaller) Name(opts *bind.CallOpts) (string, error)
- func (_ERC20FixedSupply *ERC20FixedSupplyCaller) Symbol(opts *bind.CallOpts) (string, error)
- func (_ERC20FixedSupply *ERC20FixedSupplyCaller) TotalSupply(opts *bind.CallOpts) (*big.Int, error)
- type ERC20FixedSupplyCallerRaw
- type ERC20FixedSupplyCallerSession
- func (_ERC20FixedSupply *ERC20FixedSupplyCallerSession) Allowance(owner common.Address, spender common.Address) (*big.Int, error)
- func (_ERC20FixedSupply *ERC20FixedSupplyCallerSession) BalanceOf(account common.Address) (*big.Int, error)
- func (_ERC20FixedSupply *ERC20FixedSupplyCallerSession) Decimals() (uint8, error)
- func (_ERC20FixedSupply *ERC20FixedSupplyCallerSession) Name() (string, error)
- func (_ERC20FixedSupply *ERC20FixedSupplyCallerSession) Symbol() (string, error)
- func (_ERC20FixedSupply *ERC20FixedSupplyCallerSession) TotalSupply() (*big.Int, error)
- type ERC20FixedSupplyFilterer
- func (_ERC20FixedSupply *ERC20FixedSupplyFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*ERC20FixedSupplyApprovalIterator, error)
- func (_ERC20FixedSupply *ERC20FixedSupplyFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*ERC20FixedSupplyTransferIterator, error)
- func (_ERC20FixedSupply *ERC20FixedSupplyFilterer) ParseApproval(log types.Log) (*ERC20FixedSupplyApproval, error)
- func (_ERC20FixedSupply *ERC20FixedSupplyFilterer) ParseTransfer(log types.Log) (*ERC20FixedSupplyTransfer, error)
- func (_ERC20FixedSupply *ERC20FixedSupplyFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *ERC20FixedSupplyApproval, ...) (event.Subscription, error)
- func (_ERC20FixedSupply *ERC20FixedSupplyFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *ERC20FixedSupplyTransfer, ...) (event.Subscription, error)
- type ERC20FixedSupplyRaw
- func (_ERC20FixedSupply *ERC20FixedSupplyRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_ERC20FixedSupply *ERC20FixedSupplyRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_ERC20FixedSupply *ERC20FixedSupplyRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type ERC20FixedSupplySession
- func (_ERC20FixedSupply *ERC20FixedSupplySession) Allowance(owner common.Address, spender common.Address) (*big.Int, error)
- func (_ERC20FixedSupply *ERC20FixedSupplySession) Approve(spender common.Address, amount *big.Int) (*types.Transaction, error)
- func (_ERC20FixedSupply *ERC20FixedSupplySession) BalanceOf(account common.Address) (*big.Int, error)
- func (_ERC20FixedSupply *ERC20FixedSupplySession) Burn(amount *big.Int) (*types.Transaction, error)
- func (_ERC20FixedSupply *ERC20FixedSupplySession) BurnFrom(account common.Address, amount *big.Int) (*types.Transaction, error)
- func (_ERC20FixedSupply *ERC20FixedSupplySession) Decimals() (uint8, error)
- func (_ERC20FixedSupply *ERC20FixedSupplySession) DecreaseAllowance(spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)
- func (_ERC20FixedSupply *ERC20FixedSupplySession) IncreaseAllowance(spender common.Address, addedValue *big.Int) (*types.Transaction, error)
- func (_ERC20FixedSupply *ERC20FixedSupplySession) Name() (string, error)
- func (_ERC20FixedSupply *ERC20FixedSupplySession) Symbol() (string, error)
- func (_ERC20FixedSupply *ERC20FixedSupplySession) TotalSupply() (*big.Int, error)
- func (_ERC20FixedSupply *ERC20FixedSupplySession) Transfer(recipient common.Address, amount *big.Int) (*types.Transaction, error)
- func (_ERC20FixedSupply *ERC20FixedSupplySession) TransferFrom(sender common.Address, recipient common.Address, amount *big.Int) (*types.Transaction, error)
- type ERC20FixedSupplyTransactor
- func (_ERC20FixedSupply *ERC20FixedSupplyTransactor) Approve(opts *bind.TransactOpts, spender common.Address, amount *big.Int) (*types.Transaction, error)
- func (_ERC20FixedSupply *ERC20FixedSupplyTransactor) Burn(opts *bind.TransactOpts, amount *big.Int) (*types.Transaction, error)
- func (_ERC20FixedSupply *ERC20FixedSupplyTransactor) BurnFrom(opts *bind.TransactOpts, account common.Address, amount *big.Int) (*types.Transaction, error)
- func (_ERC20FixedSupply *ERC20FixedSupplyTransactor) DecreaseAllowance(opts *bind.TransactOpts, spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)
- func (_ERC20FixedSupply *ERC20FixedSupplyTransactor) IncreaseAllowance(opts *bind.TransactOpts, spender common.Address, addedValue *big.Int) (*types.Transaction, error)
- func (_ERC20FixedSupply *ERC20FixedSupplyTransactor) Transfer(opts *bind.TransactOpts, recipient common.Address, amount *big.Int) (*types.Transaction, error)
- func (_ERC20FixedSupply *ERC20FixedSupplyTransactor) TransferFrom(opts *bind.TransactOpts, sender common.Address, recipient common.Address, ...) (*types.Transaction, error)
- type ERC20FixedSupplyTransactorRaw
- type ERC20FixedSupplyTransactorSession
- func (_ERC20FixedSupply *ERC20FixedSupplyTransactorSession) Approve(spender common.Address, amount *big.Int) (*types.Transaction, error)
- func (_ERC20FixedSupply *ERC20FixedSupplyTransactorSession) Burn(amount *big.Int) (*types.Transaction, error)
- func (_ERC20FixedSupply *ERC20FixedSupplyTransactorSession) BurnFrom(account common.Address, amount *big.Int) (*types.Transaction, error)
- func (_ERC20FixedSupply *ERC20FixedSupplyTransactorSession) DecreaseAllowance(spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)
- func (_ERC20FixedSupply *ERC20FixedSupplyTransactorSession) IncreaseAllowance(spender common.Address, addedValue *big.Int) (*types.Transaction, error)
- func (_ERC20FixedSupply *ERC20FixedSupplyTransactorSession) Transfer(recipient common.Address, amount *big.Int) (*types.Transaction, error)
- func (_ERC20FixedSupply *ERC20FixedSupplyTransactorSession) TransferFrom(sender common.Address, recipient common.Address, amount *big.Int) (*types.Transaction, error)
- type ERC20FixedSupplyTransfer
- type ERC20FixedSupplyTransferIterator
- type ERC20MinterPauser
- type ERC20MinterPauserApproval
- type ERC20MinterPauserApprovalIterator
- type ERC20MinterPauserCaller
- func (_ERC20MinterPauser *ERC20MinterPauserCaller) Allowance(opts *bind.CallOpts, owner common.Address, spender common.Address) (*big.Int, error)
- func (_ERC20MinterPauser *ERC20MinterPauserCaller) BalanceOf(opts *bind.CallOpts, account common.Address) (*big.Int, error)
- func (_ERC20MinterPauser *ERC20MinterPauserCaller) DEFAULTADMINROLE(opts *bind.CallOpts) ([32]byte, error)
- func (_ERC20MinterPauser *ERC20MinterPauserCaller) Decimals(opts *bind.CallOpts) (uint8, error)
- func (_ERC20MinterPauser *ERC20MinterPauserCaller) GetRoleAdmin(opts *bind.CallOpts, role [32]byte) ([32]byte, error)
- func (_ERC20MinterPauser *ERC20MinterPauserCaller) GetRoleMember(opts *bind.CallOpts, role [32]byte, index *big.Int) (common.Address, error)
- func (_ERC20MinterPauser *ERC20MinterPauserCaller) GetRoleMemberCount(opts *bind.CallOpts, role [32]byte) (*big.Int, error)
- func (_ERC20MinterPauser *ERC20MinterPauserCaller) HasRole(opts *bind.CallOpts, role [32]byte, account common.Address) (bool, error)
- func (_ERC20MinterPauser *ERC20MinterPauserCaller) MINTERROLE(opts *bind.CallOpts) ([32]byte, error)
- func (_ERC20MinterPauser *ERC20MinterPauserCaller) Name(opts *bind.CallOpts) (string, error)
- func (_ERC20MinterPauser *ERC20MinterPauserCaller) PAUSERROLE(opts *bind.CallOpts) ([32]byte, error)
- func (_ERC20MinterPauser *ERC20MinterPauserCaller) Paused(opts *bind.CallOpts) (bool, error)
- func (_ERC20MinterPauser *ERC20MinterPauserCaller) SupportsInterface(opts *bind.CallOpts, interfaceId [4]byte) (bool, error)
- func (_ERC20MinterPauser *ERC20MinterPauserCaller) Symbol(opts *bind.CallOpts) (string, error)
- func (_ERC20MinterPauser *ERC20MinterPauserCaller) TotalSupply(opts *bind.CallOpts) (*big.Int, error)
- type ERC20MinterPauserCallerRaw
- type ERC20MinterPauserCallerSession
- func (_ERC20MinterPauser *ERC20MinterPauserCallerSession) Allowance(owner common.Address, spender common.Address) (*big.Int, error)
- func (_ERC20MinterPauser *ERC20MinterPauserCallerSession) BalanceOf(account common.Address) (*big.Int, error)
- func (_ERC20MinterPauser *ERC20MinterPauserCallerSession) DEFAULTADMINROLE() ([32]byte, error)
- func (_ERC20MinterPauser *ERC20MinterPauserCallerSession) Decimals() (uint8, error)
- func (_ERC20MinterPauser *ERC20MinterPauserCallerSession) GetRoleAdmin(role [32]byte) ([32]byte, error)
- func (_ERC20MinterPauser *ERC20MinterPauserCallerSession) GetRoleMember(role [32]byte, index *big.Int) (common.Address, error)
- func (_ERC20MinterPauser *ERC20MinterPauserCallerSession) GetRoleMemberCount(role [32]byte) (*big.Int, error)
- func (_ERC20MinterPauser *ERC20MinterPauserCallerSession) HasRole(role [32]byte, account common.Address) (bool, error)
- func (_ERC20MinterPauser *ERC20MinterPauserCallerSession) MINTERROLE() ([32]byte, error)
- func (_ERC20MinterPauser *ERC20MinterPauserCallerSession) Name() (string, error)
- func (_ERC20MinterPauser *ERC20MinterPauserCallerSession) PAUSERROLE() ([32]byte, error)
- func (_ERC20MinterPauser *ERC20MinterPauserCallerSession) Paused() (bool, error)
- func (_ERC20MinterPauser *ERC20MinterPauserCallerSession) SupportsInterface(interfaceId [4]byte) (bool, error)
- func (_ERC20MinterPauser *ERC20MinterPauserCallerSession) Symbol() (string, error)
- func (_ERC20MinterPauser *ERC20MinterPauserCallerSession) TotalSupply() (*big.Int, error)
- type ERC20MinterPauserFilterer
- func (_ERC20MinterPauser *ERC20MinterPauserFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*ERC20MinterPauserApprovalIterator, error)
- func (_ERC20MinterPauser *ERC20MinterPauserFilterer) FilterPaused(opts *bind.FilterOpts) (*ERC20MinterPauserPausedIterator, error)
- func (_ERC20MinterPauser *ERC20MinterPauserFilterer) FilterRoleAdminChanged(opts *bind.FilterOpts, role [][32]byte, previousAdminRole [][32]byte, ...) (*ERC20MinterPauserRoleAdminChangedIterator, error)
- func (_ERC20MinterPauser *ERC20MinterPauserFilterer) FilterRoleGranted(opts *bind.FilterOpts, role [][32]byte, account []common.Address, ...) (*ERC20MinterPauserRoleGrantedIterator, error)
- func (_ERC20MinterPauser *ERC20MinterPauserFilterer) FilterRoleRevoked(opts *bind.FilterOpts, role [][32]byte, account []common.Address, ...) (*ERC20MinterPauserRoleRevokedIterator, error)
- func (_ERC20MinterPauser *ERC20MinterPauserFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*ERC20MinterPauserTransferIterator, error)
- func (_ERC20MinterPauser *ERC20MinterPauserFilterer) FilterUnpaused(opts *bind.FilterOpts) (*ERC20MinterPauserUnpausedIterator, error)
- func (_ERC20MinterPauser *ERC20MinterPauserFilterer) ParseApproval(log types.Log) (*ERC20MinterPauserApproval, error)
- func (_ERC20MinterPauser *ERC20MinterPauserFilterer) ParsePaused(log types.Log) (*ERC20MinterPauserPaused, error)
- func (_ERC20MinterPauser *ERC20MinterPauserFilterer) ParseRoleAdminChanged(log types.Log) (*ERC20MinterPauserRoleAdminChanged, error)
- func (_ERC20MinterPauser *ERC20MinterPauserFilterer) ParseRoleGranted(log types.Log) (*ERC20MinterPauserRoleGranted, error)
- func (_ERC20MinterPauser *ERC20MinterPauserFilterer) ParseRoleRevoked(log types.Log) (*ERC20MinterPauserRoleRevoked, error)
- func (_ERC20MinterPauser *ERC20MinterPauserFilterer) ParseTransfer(log types.Log) (*ERC20MinterPauserTransfer, error)
- func (_ERC20MinterPauser *ERC20MinterPauserFilterer) ParseUnpaused(log types.Log) (*ERC20MinterPauserUnpaused, error)
- func (_ERC20MinterPauser *ERC20MinterPauserFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *ERC20MinterPauserApproval, ...) (event.Subscription, error)
- func (_ERC20MinterPauser *ERC20MinterPauserFilterer) WatchPaused(opts *bind.WatchOpts, sink chan<- *ERC20MinterPauserPaused) (event.Subscription, error)
- func (_ERC20MinterPauser *ERC20MinterPauserFilterer) WatchRoleAdminChanged(opts *bind.WatchOpts, sink chan<- *ERC20MinterPauserRoleAdminChanged, ...) (event.Subscription, error)
- func (_ERC20MinterPauser *ERC20MinterPauserFilterer) WatchRoleGranted(opts *bind.WatchOpts, sink chan<- *ERC20MinterPauserRoleGranted, ...) (event.Subscription, error)
- func (_ERC20MinterPauser *ERC20MinterPauserFilterer) WatchRoleRevoked(opts *bind.WatchOpts, sink chan<- *ERC20MinterPauserRoleRevoked, ...) (event.Subscription, error)
- func (_ERC20MinterPauser *ERC20MinterPauserFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *ERC20MinterPauserTransfer, ...) (event.Subscription, error)
- func (_ERC20MinterPauser *ERC20MinterPauserFilterer) WatchUnpaused(opts *bind.WatchOpts, sink chan<- *ERC20MinterPauserUnpaused) (event.Subscription, error)
- type ERC20MinterPauserPaused
- type ERC20MinterPauserPausedIterator
- type ERC20MinterPauserRaw
- func (_ERC20MinterPauser *ERC20MinterPauserRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_ERC20MinterPauser *ERC20MinterPauserRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_ERC20MinterPauser *ERC20MinterPauserRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type ERC20MinterPauserRoleAdminChanged
- type ERC20MinterPauserRoleAdminChangedIterator
- type ERC20MinterPauserRoleGranted
- type ERC20MinterPauserRoleGrantedIterator
- type ERC20MinterPauserRoleRevoked
- type ERC20MinterPauserRoleRevokedIterator
- type ERC20MinterPauserSession
- func (_ERC20MinterPauser *ERC20MinterPauserSession) Allowance(owner common.Address, spender common.Address) (*big.Int, error)
- func (_ERC20MinterPauser *ERC20MinterPauserSession) Approve(spender common.Address, amount *big.Int) (*types.Transaction, error)
- func (_ERC20MinterPauser *ERC20MinterPauserSession) BalanceOf(account common.Address) (*big.Int, error)
- func (_ERC20MinterPauser *ERC20MinterPauserSession) Burn(amount *big.Int) (*types.Transaction, error)
- func (_ERC20MinterPauser *ERC20MinterPauserSession) BurnFrom(account common.Address, amount *big.Int) (*types.Transaction, error)
- func (_ERC20MinterPauser *ERC20MinterPauserSession) DEFAULTADMINROLE() ([32]byte, error)
- func (_ERC20MinterPauser *ERC20MinterPauserSession) Decimals() (uint8, error)
- func (_ERC20MinterPauser *ERC20MinterPauserSession) DecreaseAllowance(spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)
- func (_ERC20MinterPauser *ERC20MinterPauserSession) GetRoleAdmin(role [32]byte) ([32]byte, error)
- func (_ERC20MinterPauser *ERC20MinterPauserSession) GetRoleMember(role [32]byte, index *big.Int) (common.Address, error)
- func (_ERC20MinterPauser *ERC20MinterPauserSession) GetRoleMemberCount(role [32]byte) (*big.Int, error)
- func (_ERC20MinterPauser *ERC20MinterPauserSession) GrantRole(role [32]byte, account common.Address) (*types.Transaction, error)
- func (_ERC20MinterPauser *ERC20MinterPauserSession) HasRole(role [32]byte, account common.Address) (bool, error)
- func (_ERC20MinterPauser *ERC20MinterPauserSession) IncreaseAllowance(spender common.Address, addedValue *big.Int) (*types.Transaction, error)
- func (_ERC20MinterPauser *ERC20MinterPauserSession) MINTERROLE() ([32]byte, error)
- func (_ERC20MinterPauser *ERC20MinterPauserSession) Mint(to common.Address, amount *big.Int) (*types.Transaction, error)
- func (_ERC20MinterPauser *ERC20MinterPauserSession) Name() (string, error)
- func (_ERC20MinterPauser *ERC20MinterPauserSession) PAUSERROLE() ([32]byte, error)
- func (_ERC20MinterPauser *ERC20MinterPauserSession) Pause() (*types.Transaction, error)
- func (_ERC20MinterPauser *ERC20MinterPauserSession) Paused() (bool, error)
- func (_ERC20MinterPauser *ERC20MinterPauserSession) RenounceRole(role [32]byte, account common.Address) (*types.Transaction, error)
- func (_ERC20MinterPauser *ERC20MinterPauserSession) RevokeRole(role [32]byte, account common.Address) (*types.Transaction, error)
- func (_ERC20MinterPauser *ERC20MinterPauserSession) SupportsInterface(interfaceId [4]byte) (bool, error)
- func (_ERC20MinterPauser *ERC20MinterPauserSession) Symbol() (string, error)
- func (_ERC20MinterPauser *ERC20MinterPauserSession) TotalSupply() (*big.Int, error)
- func (_ERC20MinterPauser *ERC20MinterPauserSession) Transfer(recipient common.Address, amount *big.Int) (*types.Transaction, error)
- func (_ERC20MinterPauser *ERC20MinterPauserSession) TransferFrom(sender common.Address, recipient common.Address, amount *big.Int) (*types.Transaction, error)
- func (_ERC20MinterPauser *ERC20MinterPauserSession) Unpause() (*types.Transaction, error)
- type ERC20MinterPauserTransactor
- func (_ERC20MinterPauser *ERC20MinterPauserTransactor) Approve(opts *bind.TransactOpts, spender common.Address, amount *big.Int) (*types.Transaction, error)
- func (_ERC20MinterPauser *ERC20MinterPauserTransactor) Burn(opts *bind.TransactOpts, amount *big.Int) (*types.Transaction, error)
- func (_ERC20MinterPauser *ERC20MinterPauserTransactor) BurnFrom(opts *bind.TransactOpts, account common.Address, amount *big.Int) (*types.Transaction, error)
- func (_ERC20MinterPauser *ERC20MinterPauserTransactor) DecreaseAllowance(opts *bind.TransactOpts, spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)
- func (_ERC20MinterPauser *ERC20MinterPauserTransactor) GrantRole(opts *bind.TransactOpts, role [32]byte, account common.Address) (*types.Transaction, error)
- func (_ERC20MinterPauser *ERC20MinterPauserTransactor) IncreaseAllowance(opts *bind.TransactOpts, spender common.Address, addedValue *big.Int) (*types.Transaction, error)
- func (_ERC20MinterPauser *ERC20MinterPauserTransactor) Mint(opts *bind.TransactOpts, to common.Address, amount *big.Int) (*types.Transaction, error)
- func (_ERC20MinterPauser *ERC20MinterPauserTransactor) Pause(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_ERC20MinterPauser *ERC20MinterPauserTransactor) RenounceRole(opts *bind.TransactOpts, role [32]byte, account common.Address) (*types.Transaction, error)
- func (_ERC20MinterPauser *ERC20MinterPauserTransactor) RevokeRole(opts *bind.TransactOpts, role [32]byte, account common.Address) (*types.Transaction, error)
- func (_ERC20MinterPauser *ERC20MinterPauserTransactor) Transfer(opts *bind.TransactOpts, recipient common.Address, amount *big.Int) (*types.Transaction, error)
- func (_ERC20MinterPauser *ERC20MinterPauserTransactor) TransferFrom(opts *bind.TransactOpts, sender common.Address, recipient common.Address, ...) (*types.Transaction, error)
- func (_ERC20MinterPauser *ERC20MinterPauserTransactor) Unpause(opts *bind.TransactOpts) (*types.Transaction, error)
- type ERC20MinterPauserTransactorRaw
- type ERC20MinterPauserTransactorSession
- func (_ERC20MinterPauser *ERC20MinterPauserTransactorSession) Approve(spender common.Address, amount *big.Int) (*types.Transaction, error)
- func (_ERC20MinterPauser *ERC20MinterPauserTransactorSession) Burn(amount *big.Int) (*types.Transaction, error)
- func (_ERC20MinterPauser *ERC20MinterPauserTransactorSession) BurnFrom(account common.Address, amount *big.Int) (*types.Transaction, error)
- func (_ERC20MinterPauser *ERC20MinterPauserTransactorSession) DecreaseAllowance(spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)
- func (_ERC20MinterPauser *ERC20MinterPauserTransactorSession) GrantRole(role [32]byte, account common.Address) (*types.Transaction, error)
- func (_ERC20MinterPauser *ERC20MinterPauserTransactorSession) IncreaseAllowance(spender common.Address, addedValue *big.Int) (*types.Transaction, error)
- func (_ERC20MinterPauser *ERC20MinterPauserTransactorSession) Mint(to common.Address, amount *big.Int) (*types.Transaction, error)
- func (_ERC20MinterPauser *ERC20MinterPauserTransactorSession) Pause() (*types.Transaction, error)
- func (_ERC20MinterPauser *ERC20MinterPauserTransactorSession) RenounceRole(role [32]byte, account common.Address) (*types.Transaction, error)
- func (_ERC20MinterPauser *ERC20MinterPauserTransactorSession) RevokeRole(role [32]byte, account common.Address) (*types.Transaction, error)
- func (_ERC20MinterPauser *ERC20MinterPauserTransactorSession) Transfer(recipient common.Address, amount *big.Int) (*types.Transaction, error)
- func (_ERC20MinterPauser *ERC20MinterPauserTransactorSession) TransferFrom(sender common.Address, recipient common.Address, amount *big.Int) (*types.Transaction, error)
- func (_ERC20MinterPauser *ERC20MinterPauserTransactorSession) Unpause() (*types.Transaction, error)
- type ERC20MinterPauserTransfer
- type ERC20MinterPauserTransferIterator
- type ERC20MinterPauserUnpaused
- type ERC20MinterPauserUnpausedIterator
- type GpactERC20Bridge
- type GpactERC20BridgeApprovedRootBcId
- type GpactERC20BridgeApprovedRootBcIdIterator
- type GpactERC20BridgeCaller
- func (_GpactERC20Bridge *GpactERC20BridgeCaller) DEFAULTADMINROLE(opts *bind.CallOpts) ([32]byte, error)
- func (_GpactERC20Bridge *GpactERC20BridgeCaller) GetBcIdTokenMaping(opts *bind.CallOpts, _bcId *big.Int, _tokenContract common.Address) (common.Address, error)
- func (_GpactERC20Bridge *GpactERC20BridgeCaller) GetRemoteErc20BridgeContract(opts *bind.CallOpts, _bcId *big.Int) (common.Address, error)
- func (_GpactERC20Bridge *GpactERC20BridgeCaller) GetRoleAdmin(opts *bind.CallOpts, role [32]byte) ([32]byte, error)
- func (_GpactERC20Bridge *GpactERC20BridgeCaller) HasRole(opts *bind.CallOpts, role [32]byte, account common.Address) (bool, error)
- func (_GpactERC20Bridge *GpactERC20BridgeCaller) IsBcIdTokenAllowed(opts *bind.CallOpts, _bcId *big.Int, _tokenContract common.Address) (bool, error)
- func (_GpactERC20Bridge *GpactERC20BridgeCaller) MAPPINGROLE(opts *bind.CallOpts) ([32]byte, error)
- func (_GpactERC20Bridge *GpactERC20BridgeCaller) PAUSERROLE(opts *bind.CallOpts) ([32]byte, error)
- func (_GpactERC20Bridge *GpactERC20BridgeCaller) Paused(opts *bind.CallOpts) (bool, error)
- func (_GpactERC20Bridge *GpactERC20BridgeCaller) SupportsInterface(opts *bind.CallOpts, interfaceId [4]byte) (bool, error)
- func (_GpactERC20Bridge *GpactERC20BridgeCaller) TokenContractConfiguration(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)
- type GpactERC20BridgeCallerRaw
- type GpactERC20BridgeCallerSession
- func (_GpactERC20Bridge *GpactERC20BridgeCallerSession) DEFAULTADMINROLE() ([32]byte, error)
- func (_GpactERC20Bridge *GpactERC20BridgeCallerSession) GetBcIdTokenMaping(_bcId *big.Int, _tokenContract common.Address) (common.Address, error)
- func (_GpactERC20Bridge *GpactERC20BridgeCallerSession) GetRemoteErc20BridgeContract(_bcId *big.Int) (common.Address, error)
- func (_GpactERC20Bridge *GpactERC20BridgeCallerSession) GetRoleAdmin(role [32]byte) ([32]byte, error)
- func (_GpactERC20Bridge *GpactERC20BridgeCallerSession) HasRole(role [32]byte, account common.Address) (bool, error)
- func (_GpactERC20Bridge *GpactERC20BridgeCallerSession) IsBcIdTokenAllowed(_bcId *big.Int, _tokenContract common.Address) (bool, error)
- func (_GpactERC20Bridge *GpactERC20BridgeCallerSession) MAPPINGROLE() ([32]byte, error)
- func (_GpactERC20Bridge *GpactERC20BridgeCallerSession) PAUSERROLE() ([32]byte, error)
- func (_GpactERC20Bridge *GpactERC20BridgeCallerSession) Paused() (bool, error)
- func (_GpactERC20Bridge *GpactERC20BridgeCallerSession) SupportsInterface(interfaceId [4]byte) (bool, error)
- func (_GpactERC20Bridge *GpactERC20BridgeCallerSession) TokenContractConfiguration(arg0 common.Address) (*big.Int, error)
- type GpactERC20BridgeFilterer
- func (_GpactERC20Bridge *GpactERC20BridgeFilterer) FilterApprovedRootBcId(opts *bind.FilterOpts) (*GpactERC20BridgeApprovedRootBcIdIterator, error)
- func (_GpactERC20Bridge *GpactERC20BridgeFilterer) FilterPaused(opts *bind.FilterOpts) (*GpactERC20BridgePausedIterator, error)
- func (_GpactERC20Bridge *GpactERC20BridgeFilterer) FilterReceivedFrom(opts *bind.FilterOpts) (*GpactERC20BridgeReceivedFromIterator, error)
- func (_GpactERC20Bridge *GpactERC20BridgeFilterer) FilterRoleAdminChanged(opts *bind.FilterOpts, role [][32]byte, previousAdminRole [][32]byte, ...) (*GpactERC20BridgeRoleAdminChangedIterator, error)
- func (_GpactERC20Bridge *GpactERC20BridgeFilterer) FilterRoleGranted(opts *bind.FilterOpts, role [][32]byte, account []common.Address, ...) (*GpactERC20BridgeRoleGrantedIterator, error)
- func (_GpactERC20Bridge *GpactERC20BridgeFilterer) FilterRoleRevoked(opts *bind.FilterOpts, role [][32]byte, account []common.Address, ...) (*GpactERC20BridgeRoleRevokedIterator, error)
- func (_GpactERC20Bridge *GpactERC20BridgeFilterer) FilterTokenContractAddressMappingChanged(opts *bind.FilterOpts) (*GpactERC20BridgeTokenContractAddressMappingChangedIterator, error)
- func (_GpactERC20Bridge *GpactERC20BridgeFilterer) FilterTokenContractConfig(opts *bind.FilterOpts) (*GpactERC20BridgeTokenContractConfigIterator, error)
- func (_GpactERC20Bridge *GpactERC20BridgeFilterer) FilterTransferTo(opts *bind.FilterOpts) (*GpactERC20BridgeTransferToIterator, error)
- func (_GpactERC20Bridge *GpactERC20BridgeFilterer) FilterUnpaused(opts *bind.FilterOpts) (*GpactERC20BridgeUnpausedIterator, error)
- func (_GpactERC20Bridge *GpactERC20BridgeFilterer) ParseApprovedRootBcId(log types.Log) (*GpactERC20BridgeApprovedRootBcId, error)
- func (_GpactERC20Bridge *GpactERC20BridgeFilterer) ParsePaused(log types.Log) (*GpactERC20BridgePaused, error)
- func (_GpactERC20Bridge *GpactERC20BridgeFilterer) ParseReceivedFrom(log types.Log) (*GpactERC20BridgeReceivedFrom, error)
- func (_GpactERC20Bridge *GpactERC20BridgeFilterer) ParseRoleAdminChanged(log types.Log) (*GpactERC20BridgeRoleAdminChanged, error)
- func (_GpactERC20Bridge *GpactERC20BridgeFilterer) ParseRoleGranted(log types.Log) (*GpactERC20BridgeRoleGranted, error)
- func (_GpactERC20Bridge *GpactERC20BridgeFilterer) ParseRoleRevoked(log types.Log) (*GpactERC20BridgeRoleRevoked, error)
- func (_GpactERC20Bridge *GpactERC20BridgeFilterer) ParseTokenContractAddressMappingChanged(log types.Log) (*GpactERC20BridgeTokenContractAddressMappingChanged, error)
- func (_GpactERC20Bridge *GpactERC20BridgeFilterer) ParseTokenContractConfig(log types.Log) (*GpactERC20BridgeTokenContractConfig, error)
- func (_GpactERC20Bridge *GpactERC20BridgeFilterer) ParseTransferTo(log types.Log) (*GpactERC20BridgeTransferTo, error)
- func (_GpactERC20Bridge *GpactERC20BridgeFilterer) ParseUnpaused(log types.Log) (*GpactERC20BridgeUnpaused, error)
- func (_GpactERC20Bridge *GpactERC20BridgeFilterer) WatchApprovedRootBcId(opts *bind.WatchOpts, sink chan<- *GpactERC20BridgeApprovedRootBcId) (event.Subscription, error)
- func (_GpactERC20Bridge *GpactERC20BridgeFilterer) WatchPaused(opts *bind.WatchOpts, sink chan<- *GpactERC20BridgePaused) (event.Subscription, error)
- func (_GpactERC20Bridge *GpactERC20BridgeFilterer) WatchReceivedFrom(opts *bind.WatchOpts, sink chan<- *GpactERC20BridgeReceivedFrom) (event.Subscription, error)
- func (_GpactERC20Bridge *GpactERC20BridgeFilterer) WatchRoleAdminChanged(opts *bind.WatchOpts, sink chan<- *GpactERC20BridgeRoleAdminChanged, ...) (event.Subscription, error)
- func (_GpactERC20Bridge *GpactERC20BridgeFilterer) WatchRoleGranted(opts *bind.WatchOpts, sink chan<- *GpactERC20BridgeRoleGranted, ...) (event.Subscription, error)
- func (_GpactERC20Bridge *GpactERC20BridgeFilterer) WatchRoleRevoked(opts *bind.WatchOpts, sink chan<- *GpactERC20BridgeRoleRevoked, ...) (event.Subscription, error)
- func (_GpactERC20Bridge *GpactERC20BridgeFilterer) WatchTokenContractAddressMappingChanged(opts *bind.WatchOpts, ...) (event.Subscription, error)
- func (_GpactERC20Bridge *GpactERC20BridgeFilterer) WatchTokenContractConfig(opts *bind.WatchOpts, sink chan<- *GpactERC20BridgeTokenContractConfig) (event.Subscription, error)
- func (_GpactERC20Bridge *GpactERC20BridgeFilterer) WatchTransferTo(opts *bind.WatchOpts, sink chan<- *GpactERC20BridgeTransferTo) (event.Subscription, error)
- func (_GpactERC20Bridge *GpactERC20BridgeFilterer) WatchUnpaused(opts *bind.WatchOpts, sink chan<- *GpactERC20BridgeUnpaused) (event.Subscription, error)
- type GpactERC20BridgePaused
- type GpactERC20BridgePausedIterator
- type GpactERC20BridgeRaw
- func (_GpactERC20Bridge *GpactERC20BridgeRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_GpactERC20Bridge *GpactERC20BridgeRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_GpactERC20Bridge *GpactERC20BridgeRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type GpactERC20BridgeReceivedFrom
- type GpactERC20BridgeReceivedFromIterator
- type GpactERC20BridgeRoleAdminChanged
- type GpactERC20BridgeRoleAdminChangedIterator
- type GpactERC20BridgeRoleGranted
- type GpactERC20BridgeRoleGrantedIterator
- type GpactERC20BridgeRoleRevoked
- type GpactERC20BridgeRoleRevokedIterator
- type GpactERC20BridgeSession
- func (_GpactERC20Bridge *GpactERC20BridgeSession) AddApprovedRootBcId(_bcId *big.Int) (*types.Transaction, error)
- func (_GpactERC20Bridge *GpactERC20BridgeSession) AddContractFirstMapping(_thisBcTokenContract common.Address, _otherBcId *big.Int, ...) (*types.Transaction, error)
- func (_GpactERC20Bridge *GpactERC20BridgeSession) AddRemoteERC20Bridge(_otherBcId *big.Int, _otherErc20Bridge common.Address) (*types.Transaction, error)
- func (_GpactERC20Bridge *GpactERC20BridgeSession) ChangeContractMapping(_thisBcTokenContract common.Address, _otherBcId *big.Int, ...) (*types.Transaction, error)
- func (_GpactERC20Bridge *GpactERC20BridgeSession) DEFAULTADMINROLE() ([32]byte, error)
- func (_GpactERC20Bridge *GpactERC20BridgeSession) GetBcIdTokenMaping(_bcId *big.Int, _tokenContract common.Address) (common.Address, error)
- func (_GpactERC20Bridge *GpactERC20BridgeSession) GetRemoteErc20BridgeContract(_bcId *big.Int) (common.Address, error)
- func (_GpactERC20Bridge *GpactERC20BridgeSession) GetRoleAdmin(role [32]byte) ([32]byte, error)
- func (_GpactERC20Bridge *GpactERC20BridgeSession) GrantRole(role [32]byte, account common.Address) (*types.Transaction, error)
- func (_GpactERC20Bridge *GpactERC20BridgeSession) HasRole(role [32]byte, account common.Address) (bool, error)
- func (_GpactERC20Bridge *GpactERC20BridgeSession) IsBcIdTokenAllowed(_bcId *big.Int, _tokenContract common.Address) (bool, error)
- func (_GpactERC20Bridge *GpactERC20BridgeSession) MAPPINGROLE() ([32]byte, error)
- func (_GpactERC20Bridge *GpactERC20BridgeSession) PAUSERROLE() ([32]byte, error)
- func (_GpactERC20Bridge *GpactERC20BridgeSession) Pause() (*types.Transaction, error)
- func (_GpactERC20Bridge *GpactERC20BridgeSession) Paused() (bool, error)
- func (_GpactERC20Bridge *GpactERC20BridgeSession) ReceiveFromOtherBlockchain(_destTokenContract common.Address, _recipient common.Address, _amount *big.Int) (*types.Transaction, error)
- func (_GpactERC20Bridge *GpactERC20BridgeSession) RemoveApprovedRootBcId(_bcId *big.Int) (*types.Transaction, error)
- func (_GpactERC20Bridge *GpactERC20BridgeSession) RenounceRole(role [32]byte, account common.Address) (*types.Transaction, error)
- func (_GpactERC20Bridge *GpactERC20BridgeSession) RevokeRole(role [32]byte, account common.Address) (*types.Transaction, error)
- func (_GpactERC20Bridge *GpactERC20BridgeSession) SetTokenConfig(_thisBcTokenContract common.Address, _thisBcMassC bool) (*types.Transaction, error)
- func (_GpactERC20Bridge *GpactERC20BridgeSession) SupportsInterface(interfaceId [4]byte) (bool, error)
- func (_GpactERC20Bridge *GpactERC20BridgeSession) TokenContractConfiguration(arg0 common.Address) (*big.Int, error)
- func (_GpactERC20Bridge *GpactERC20BridgeSession) TransferFromAccountToOtherBlockchain(_sender common.Address, _destBcId *big.Int, _srcTokenContract common.Address, ...) (*types.Transaction, error)
- func (_GpactERC20Bridge *GpactERC20BridgeSession) TransferToOtherBlockchain(_destBcId *big.Int, _srcTokenContract common.Address, ...) (*types.Transaction, error)
- func (_GpactERC20Bridge *GpactERC20BridgeSession) Unpause() (*types.Transaction, error)
- type GpactERC20BridgeTokenContractAddressMappingChanged
- type GpactERC20BridgeTokenContractAddressMappingChangedIterator
- type GpactERC20BridgeTokenContractConfig
- type GpactERC20BridgeTokenContractConfigIterator
- type GpactERC20BridgeTransactor
- func (_GpactERC20Bridge *GpactERC20BridgeTransactor) AddApprovedRootBcId(opts *bind.TransactOpts, _bcId *big.Int) (*types.Transaction, error)
- func (_GpactERC20Bridge *GpactERC20BridgeTransactor) AddContractFirstMapping(opts *bind.TransactOpts, _thisBcTokenContract common.Address, ...) (*types.Transaction, error)
- func (_GpactERC20Bridge *GpactERC20BridgeTransactor) AddRemoteERC20Bridge(opts *bind.TransactOpts, _otherBcId *big.Int, _otherErc20Bridge common.Address) (*types.Transaction, error)
- func (_GpactERC20Bridge *GpactERC20BridgeTransactor) ChangeContractMapping(opts *bind.TransactOpts, _thisBcTokenContract common.Address, ...) (*types.Transaction, error)
- func (_GpactERC20Bridge *GpactERC20BridgeTransactor) GrantRole(opts *bind.TransactOpts, role [32]byte, account common.Address) (*types.Transaction, error)
- func (_GpactERC20Bridge *GpactERC20BridgeTransactor) Pause(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_GpactERC20Bridge *GpactERC20BridgeTransactor) ReceiveFromOtherBlockchain(opts *bind.TransactOpts, _destTokenContract common.Address, ...) (*types.Transaction, error)
- func (_GpactERC20Bridge *GpactERC20BridgeTransactor) RemoveApprovedRootBcId(opts *bind.TransactOpts, _bcId *big.Int) (*types.Transaction, error)
- func (_GpactERC20Bridge *GpactERC20BridgeTransactor) RenounceRole(opts *bind.TransactOpts, role [32]byte, account common.Address) (*types.Transaction, error)
- func (_GpactERC20Bridge *GpactERC20BridgeTransactor) RevokeRole(opts *bind.TransactOpts, role [32]byte, account common.Address) (*types.Transaction, error)
- func (_GpactERC20Bridge *GpactERC20BridgeTransactor) SetTokenConfig(opts *bind.TransactOpts, _thisBcTokenContract common.Address, ...) (*types.Transaction, error)
- func (_GpactERC20Bridge *GpactERC20BridgeTransactor) TransferFromAccountToOtherBlockchain(opts *bind.TransactOpts, _sender common.Address, _destBcId *big.Int, ...) (*types.Transaction, error)
- func (_GpactERC20Bridge *GpactERC20BridgeTransactor) TransferToOtherBlockchain(opts *bind.TransactOpts, _destBcId *big.Int, _srcTokenContract common.Address, ...) (*types.Transaction, error)
- func (_GpactERC20Bridge *GpactERC20BridgeTransactor) Unpause(opts *bind.TransactOpts) (*types.Transaction, error)
- type GpactERC20BridgeTransactorRaw
- type GpactERC20BridgeTransactorSession
- func (_GpactERC20Bridge *GpactERC20BridgeTransactorSession) AddApprovedRootBcId(_bcId *big.Int) (*types.Transaction, error)
- func (_GpactERC20Bridge *GpactERC20BridgeTransactorSession) AddContractFirstMapping(_thisBcTokenContract common.Address, _otherBcId *big.Int, ...) (*types.Transaction, error)
- func (_GpactERC20Bridge *GpactERC20BridgeTransactorSession) AddRemoteERC20Bridge(_otherBcId *big.Int, _otherErc20Bridge common.Address) (*types.Transaction, error)
- func (_GpactERC20Bridge *GpactERC20BridgeTransactorSession) ChangeContractMapping(_thisBcTokenContract common.Address, _otherBcId *big.Int, ...) (*types.Transaction, error)
- func (_GpactERC20Bridge *GpactERC20BridgeTransactorSession) GrantRole(role [32]byte, account common.Address) (*types.Transaction, error)
- func (_GpactERC20Bridge *GpactERC20BridgeTransactorSession) Pause() (*types.Transaction, error)
- func (_GpactERC20Bridge *GpactERC20BridgeTransactorSession) ReceiveFromOtherBlockchain(_destTokenContract common.Address, _recipient common.Address, _amount *big.Int) (*types.Transaction, error)
- func (_GpactERC20Bridge *GpactERC20BridgeTransactorSession) RemoveApprovedRootBcId(_bcId *big.Int) (*types.Transaction, error)
- func (_GpactERC20Bridge *GpactERC20BridgeTransactorSession) RenounceRole(role [32]byte, account common.Address) (*types.Transaction, error)
- func (_GpactERC20Bridge *GpactERC20BridgeTransactorSession) RevokeRole(role [32]byte, account common.Address) (*types.Transaction, error)
- func (_GpactERC20Bridge *GpactERC20BridgeTransactorSession) SetTokenConfig(_thisBcTokenContract common.Address, _thisBcMassC bool) (*types.Transaction, error)
- func (_GpactERC20Bridge *GpactERC20BridgeTransactorSession) TransferFromAccountToOtherBlockchain(_sender common.Address, _destBcId *big.Int, _srcTokenContract common.Address, ...) (*types.Transaction, error)
- func (_GpactERC20Bridge *GpactERC20BridgeTransactorSession) TransferToOtherBlockchain(_destBcId *big.Int, _srcTokenContract common.Address, ...) (*types.Transaction, error)
- func (_GpactERC20Bridge *GpactERC20BridgeTransactorSession) Unpause() (*types.Transaction, error)
- type GpactERC20BridgeTransferTo
- type GpactERC20BridgeTransferToIterator
- type GpactERC20BridgeUnpaused
- type GpactERC20BridgeUnpausedIterator
- type Hotel
- type HotelCaller
- func (_Hotel *HotelCaller) GetBookingInformation(opts *bind.CallOpts, _uniqueId *big.Int) (struct{ ... }, error)
- func (_Hotel *HotelCaller) GetBookings(opts *bind.CallOpts, _date *big.Int) ([]common.Address, error)
- func (_Hotel *HotelCaller) GetNumberRoomsAvailable(opts *bind.CallOpts, _date *big.Int) (*big.Int, error)
- func (_Hotel *HotelCaller) IsLocked(opts *bind.CallOpts, _key *big.Int) (bool, error)
- type HotelCallerRaw
- type HotelCallerSession
- func (_Hotel *HotelCallerSession) GetBookingInformation(_uniqueId *big.Int) (struct{ ... }, error)
- func (_Hotel *HotelCallerSession) GetBookings(_date *big.Int) ([]common.Address, error)
- func (_Hotel *HotelCallerSession) GetNumberRoomsAvailable(_date *big.Int) (*big.Int, error)
- func (_Hotel *HotelCallerSession) IsLocked(_key *big.Int) (bool, error)
- type HotelFilterer
- type HotelRaw
- func (_Hotel *HotelRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_Hotel *HotelRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_Hotel *HotelRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type HotelSession
- func (_Hotel *HotelSession) AddApprovedTravelAgency(_blockchainId *big.Int, _travelAgencyContract common.Address, ...) (*types.Transaction, error)
- func (_Hotel *HotelSession) AddRooms(_roomRate *big.Int, _numberOfRooms *big.Int) (*types.Transaction, error)
- func (_Hotel *HotelSession) BookRoom(_date *big.Int, _uniqueId *big.Int, _maxAmountToPay *big.Int) (*types.Transaction, error)
- func (_Hotel *HotelSession) Finalise(_commit bool, _crossRootTxId [32]byte) (*types.Transaction, error)
- func (_Hotel *HotelSession) GetBookingInformation(_uniqueId *big.Int) (struct{ ... }, error)
- func (_Hotel *HotelSession) GetBookings(_date *big.Int) ([]common.Address, error)
- func (_Hotel *HotelSession) GetNumberRoomsAvailable(_date *big.Int) (*big.Int, error)
- func (_Hotel *HotelSession) IsLocked(_key *big.Int) (bool, error)
- type HotelTransactor
- func (_Hotel *HotelTransactor) AddApprovedTravelAgency(opts *bind.TransactOpts, _blockchainId *big.Int, ...) (*types.Transaction, error)
- func (_Hotel *HotelTransactor) AddRooms(opts *bind.TransactOpts, _roomRate *big.Int, _numberOfRooms *big.Int) (*types.Transaction, error)
- func (_Hotel *HotelTransactor) BookRoom(opts *bind.TransactOpts, _date *big.Int, _uniqueId *big.Int, ...) (*types.Transaction, error)
- func (_Hotel *HotelTransactor) Finalise(opts *bind.TransactOpts, _commit bool, _crossRootTxId [32]byte) (*types.Transaction, error)
- type HotelTransactorRaw
- type HotelTransactorSession
- func (_Hotel *HotelTransactorSession) AddApprovedTravelAgency(_blockchainId *big.Int, _travelAgencyContract common.Address, ...) (*types.Transaction, error)
- func (_Hotel *HotelTransactorSession) AddRooms(_roomRate *big.Int, _numberOfRooms *big.Int) (*types.Transaction, error)
- func (_Hotel *HotelTransactorSession) BookRoom(_date *big.Int, _uniqueId *big.Int, _maxAmountToPay *big.Int) (*types.Transaction, error)
- func (_Hotel *HotelTransactorSession) Finalise(_commit bool, _crossRootTxId [32]byte) (*types.Transaction, error)
- type LockableERC20FixedSupply
- func DeployLockableERC20FixedSupply(auth *bind.TransactOpts, backend bind.ContractBackend, _name string, ...) (common.Address, *types.Transaction, *LockableERC20FixedSupply, error)
- func NewLockableERC20FixedSupply(address common.Address, backend bind.ContractBackend) (*LockableERC20FixedSupply, error)
- type LockableERC20FixedSupplyApproval
- type LockableERC20FixedSupplyApprovalDecrease
- type LockableERC20FixedSupplyApprovalDecreaseIterator
- type LockableERC20FixedSupplyApprovalIncrease
- type LockableERC20FixedSupplyApprovalIncreaseIterator
- type LockableERC20FixedSupplyApprovalIterator
- type LockableERC20FixedSupplyCaller
- func (_LockableERC20FixedSupply *LockableERC20FixedSupplyCaller) AccountPallelizationFactor(opts *bind.CallOpts) (*big.Int, error)
- func (_LockableERC20FixedSupply *LockableERC20FixedSupplyCaller) Allowance(opts *bind.CallOpts, owner common.Address, spender common.Address) (*big.Int, error)
- func (_LockableERC20FixedSupply *LockableERC20FixedSupplyCaller) AllowanceMax(opts *bind.CallOpts, owner common.Address, spender common.Address) (*big.Int, error)
- func (_LockableERC20FixedSupply *LockableERC20FixedSupplyCaller) AllowanceMin(opts *bind.CallOpts, owner common.Address, spender common.Address) (*big.Int, error)
- func (_LockableERC20FixedSupply *LockableERC20FixedSupplyCaller) AllowanceProvisional(opts *bind.CallOpts, owner common.Address, spender common.Address) (*big.Int, error)
- func (_LockableERC20FixedSupply *LockableERC20FixedSupplyCaller) BalanceOf(opts *bind.CallOpts, account common.Address) (*big.Int, error)
- func (_LockableERC20FixedSupply *LockableERC20FixedSupplyCaller) BalanceOfMin(opts *bind.CallOpts, account common.Address) (*big.Int, error)
- func (_LockableERC20FixedSupply *LockableERC20FixedSupplyCaller) BalanceOfProvisional(opts *bind.CallOpts, account common.Address) (*big.Int, error)
- func (_LockableERC20FixedSupply *LockableERC20FixedSupplyCaller) Decimals(opts *bind.CallOpts) (uint8, error)
- func (_LockableERC20FixedSupply *LockableERC20FixedSupplyCaller) Erc20PallelizationFactor(opts *bind.CallOpts) (*big.Int, error)
- func (_LockableERC20FixedSupply *LockableERC20FixedSupplyCaller) IsLocked(opts *bind.CallOpts, _key *big.Int) (bool, error)
- func (_LockableERC20FixedSupply *LockableERC20FixedSupplyCaller) Name(opts *bind.CallOpts) (string, error)
- func (_LockableERC20FixedSupply *LockableERC20FixedSupplyCaller) Owner(opts *bind.CallOpts) (common.Address, error)
- func (_LockableERC20FixedSupply *LockableERC20FixedSupplyCaller) Symbol(opts *bind.CallOpts) (string, error)
- func (_LockableERC20FixedSupply *LockableERC20FixedSupplyCaller) TotalSupply(opts *bind.CallOpts) (*big.Int, error)
- func (_LockableERC20FixedSupply *LockableERC20FixedSupplyCaller) TotalSupplyMax(opts *bind.CallOpts) (*big.Int, error)
- func (_LockableERC20FixedSupply *LockableERC20FixedSupplyCaller) TotalSupplyMin(opts *bind.CallOpts) (*big.Int, error)
- func (_LockableERC20FixedSupply *LockableERC20FixedSupplyCaller) TotalSupplyProvisional(opts *bind.CallOpts) (*big.Int, error)
- type LockableERC20FixedSupplyCallerRaw
- type LockableERC20FixedSupplyCallerSession
- func (_LockableERC20FixedSupply *LockableERC20FixedSupplyCallerSession) AccountPallelizationFactor() (*big.Int, error)
- func (_LockableERC20FixedSupply *LockableERC20FixedSupplyCallerSession) Allowance(owner common.Address, spender common.Address) (*big.Int, error)
- func (_LockableERC20FixedSupply *LockableERC20FixedSupplyCallerSession) AllowanceMax(owner common.Address, spender common.Address) (*big.Int, error)
- func (_LockableERC20FixedSupply *LockableERC20FixedSupplyCallerSession) AllowanceMin(owner common.Address, spender common.Address) (*big.Int, error)
- func (_LockableERC20FixedSupply *LockableERC20FixedSupplyCallerSession) AllowanceProvisional(owner common.Address, spender common.Address) (*big.Int, error)
- func (_LockableERC20FixedSupply *LockableERC20FixedSupplyCallerSession) BalanceOf(account common.Address) (*big.Int, error)
- func (_LockableERC20FixedSupply *LockableERC20FixedSupplyCallerSession) BalanceOfMin(account common.Address) (*big.Int, error)
- func (_LockableERC20FixedSupply *LockableERC20FixedSupplyCallerSession) BalanceOfProvisional(account common.Address) (*big.Int, error)
- func (_LockableERC20FixedSupply *LockableERC20FixedSupplyCallerSession) Decimals() (uint8, error)
- func (_LockableERC20FixedSupply *LockableERC20FixedSupplyCallerSession) Erc20PallelizationFactor() (*big.Int, error)
- func (_LockableERC20FixedSupply *LockableERC20FixedSupplyCallerSession) IsLocked(_key *big.Int) (bool, error)
- func (_LockableERC20FixedSupply *LockableERC20FixedSupplyCallerSession) Name() (string, error)
- func (_LockableERC20FixedSupply *LockableERC20FixedSupplyCallerSession) Owner() (common.Address, error)
- func (_LockableERC20FixedSupply *LockableERC20FixedSupplyCallerSession) Symbol() (string, error)
- func (_LockableERC20FixedSupply *LockableERC20FixedSupplyCallerSession) TotalSupply() (*big.Int, error)
- func (_LockableERC20FixedSupply *LockableERC20FixedSupplyCallerSession) TotalSupplyMax() (*big.Int, error)
- func (_LockableERC20FixedSupply *LockableERC20FixedSupplyCallerSession) TotalSupplyMin() (*big.Int, error)
- func (_LockableERC20FixedSupply *LockableERC20FixedSupplyCallerSession) TotalSupplyProvisional() (*big.Int, error)
- type LockableERC20FixedSupplyFilterer
- func (_LockableERC20FixedSupply *LockableERC20FixedSupplyFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*LockableERC20FixedSupplyApprovalIterator, error)
- func (_LockableERC20FixedSupply *LockableERC20FixedSupplyFilterer) FilterApprovalDecrease(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*LockableERC20FixedSupplyApprovalDecreaseIterator, error)
- func (_LockableERC20FixedSupply *LockableERC20FixedSupplyFilterer) FilterApprovalIncrease(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*LockableERC20FixedSupplyApprovalIncreaseIterator, error)
- func (_LockableERC20FixedSupply *LockableERC20FixedSupplyFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, ...) (*LockableERC20FixedSupplyOwnershipTransferredIterator, error)
- func (_LockableERC20FixedSupply *LockableERC20FixedSupplyFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*LockableERC20FixedSupplyTransferIterator, error)
- func (_LockableERC20FixedSupply *LockableERC20FixedSupplyFilterer) FilterTrustedBridge(opts *bind.FilterOpts) (*LockableERC20FixedSupplyTrustedBridgeIterator, error)
- func (_LockableERC20FixedSupply *LockableERC20FixedSupplyFilterer) ParseApproval(log types.Log) (*LockableERC20FixedSupplyApproval, error)
- func (_LockableERC20FixedSupply *LockableERC20FixedSupplyFilterer) ParseApprovalDecrease(log types.Log) (*LockableERC20FixedSupplyApprovalDecrease, error)
- func (_LockableERC20FixedSupply *LockableERC20FixedSupplyFilterer) ParseApprovalIncrease(log types.Log) (*LockableERC20FixedSupplyApprovalIncrease, error)
- func (_LockableERC20FixedSupply *LockableERC20FixedSupplyFilterer) ParseOwnershipTransferred(log types.Log) (*LockableERC20FixedSupplyOwnershipTransferred, error)
- func (_LockableERC20FixedSupply *LockableERC20FixedSupplyFilterer) ParseTransfer(log types.Log) (*LockableERC20FixedSupplyTransfer, error)
- func (_LockableERC20FixedSupply *LockableERC20FixedSupplyFilterer) ParseTrustedBridge(log types.Log) (*LockableERC20FixedSupplyTrustedBridge, error)
- func (_LockableERC20FixedSupply *LockableERC20FixedSupplyFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *LockableERC20FixedSupplyApproval, ...) (event.Subscription, error)
- func (_LockableERC20FixedSupply *LockableERC20FixedSupplyFilterer) WatchApprovalDecrease(opts *bind.WatchOpts, sink chan<- *LockableERC20FixedSupplyApprovalDecrease, ...) (event.Subscription, error)
- func (_LockableERC20FixedSupply *LockableERC20FixedSupplyFilterer) WatchApprovalIncrease(opts *bind.WatchOpts, sink chan<- *LockableERC20FixedSupplyApprovalIncrease, ...) (event.Subscription, error)
- func (_LockableERC20FixedSupply *LockableERC20FixedSupplyFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, ...) (event.Subscription, error)
- func (_LockableERC20FixedSupply *LockableERC20FixedSupplyFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *LockableERC20FixedSupplyTransfer, ...) (event.Subscription, error)
- func (_LockableERC20FixedSupply *LockableERC20FixedSupplyFilterer) WatchTrustedBridge(opts *bind.WatchOpts, sink chan<- *LockableERC20FixedSupplyTrustedBridge) (event.Subscription, error)
- type LockableERC20FixedSupplyOwnershipTransferred
- type LockableERC20FixedSupplyOwnershipTransferredIterator
- type LockableERC20FixedSupplyRaw
- func (_LockableERC20FixedSupply *LockableERC20FixedSupplyRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_LockableERC20FixedSupply *LockableERC20FixedSupplyRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_LockableERC20FixedSupply *LockableERC20FixedSupplyRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type LockableERC20FixedSupplySession
- func (_LockableERC20FixedSupply *LockableERC20FixedSupplySession) AccountPallelizationFactor() (*big.Int, error)
- func (_LockableERC20FixedSupply *LockableERC20FixedSupplySession) AddTrustedBridge(bridge common.Address) (*types.Transaction, error)
- func (_LockableERC20FixedSupply *LockableERC20FixedSupplySession) Allowance(owner common.Address, spender common.Address) (*big.Int, error)
- func (_LockableERC20FixedSupply *LockableERC20FixedSupplySession) AllowanceMax(owner common.Address, spender common.Address) (*big.Int, error)
- func (_LockableERC20FixedSupply *LockableERC20FixedSupplySession) AllowanceMin(owner common.Address, spender common.Address) (*big.Int, error)
- func (_LockableERC20FixedSupply *LockableERC20FixedSupplySession) AllowanceProvisional(owner common.Address, spender common.Address) (*big.Int, error)
- func (_LockableERC20FixedSupply *LockableERC20FixedSupplySession) Approve(spender common.Address, amount *big.Int) (*types.Transaction, error)
- func (_LockableERC20FixedSupply *LockableERC20FixedSupplySession) BalanceOf(account common.Address) (*big.Int, error)
- func (_LockableERC20FixedSupply *LockableERC20FixedSupplySession) BalanceOfMin(account common.Address) (*big.Int, error)
- func (_LockableERC20FixedSupply *LockableERC20FixedSupplySession) BalanceOfProvisional(account common.Address) (*big.Int, error)
- func (_LockableERC20FixedSupply *LockableERC20FixedSupplySession) Burn(amount *big.Int) (*types.Transaction, error)
- func (_LockableERC20FixedSupply *LockableERC20FixedSupplySession) BurnFrom(account common.Address, amount *big.Int) (*types.Transaction, error)
- func (_LockableERC20FixedSupply *LockableERC20FixedSupplySession) BurnFromAccount(spender common.Address, sender common.Address, amount *big.Int) (*types.Transaction, error)
- func (_LockableERC20FixedSupply *LockableERC20FixedSupplySession) BurnFromInternal(burner common.Address, account common.Address, amount *big.Int) (*types.Transaction, error)
- func (_LockableERC20FixedSupply *LockableERC20FixedSupplySession) Decimals() (uint8, error)
- func (_LockableERC20FixedSupply *LockableERC20FixedSupplySession) DecreaseAllowance(spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)
- func (_LockableERC20FixedSupply *LockableERC20FixedSupplySession) Erc20PallelizationFactor() (*big.Int, error)
- func (_LockableERC20FixedSupply *LockableERC20FixedSupplySession) Finalise(_commit bool, _crossRootTxId [32]byte) (*types.Transaction, error)
- func (_LockableERC20FixedSupply *LockableERC20FixedSupplySession) IncreaseAccountParallelizartionFactor(amount *big.Int) (*types.Transaction, error)
- func (_LockableERC20FixedSupply *LockableERC20FixedSupplySession) IncreaseAllowance(spender common.Address, addedValue *big.Int) (*types.Transaction, error)
- func (_LockableERC20FixedSupply *LockableERC20FixedSupplySession) IncreaseERC20ParallelizartionFactor(amount *big.Int) (*types.Transaction, error)
- func (_LockableERC20FixedSupply *LockableERC20FixedSupplySession) IsLocked(_key *big.Int) (bool, error)
- func (_LockableERC20FixedSupply *LockableERC20FixedSupplySession) Name() (string, error)
- func (_LockableERC20FixedSupply *LockableERC20FixedSupplySession) Owner() (common.Address, error)
- func (_LockableERC20FixedSupply *LockableERC20FixedSupplySession) RemoveTrustedBridge(bridge common.Address) (*types.Transaction, error)
- func (_LockableERC20FixedSupply *LockableERC20FixedSupplySession) RenounceOwnership() (*types.Transaction, error)
- func (_LockableERC20FixedSupply *LockableERC20FixedSupplySession) Symbol() (string, error)
- func (_LockableERC20FixedSupply *LockableERC20FixedSupplySession) TotalSupply() (*big.Int, error)
- func (_LockableERC20FixedSupply *LockableERC20FixedSupplySession) TotalSupplyMax() (*big.Int, error)
- func (_LockableERC20FixedSupply *LockableERC20FixedSupplySession) TotalSupplyMin() (*big.Int, error)
- func (_LockableERC20FixedSupply *LockableERC20FixedSupplySession) TotalSupplyProvisional() (*big.Int, error)
- func (_LockableERC20FixedSupply *LockableERC20FixedSupplySession) Transfer(recipient common.Address, amount *big.Int) (*types.Transaction, error)
- func (_LockableERC20FixedSupply *LockableERC20FixedSupplySession) TransferFrom(sender common.Address, recipient common.Address, amount *big.Int) (*types.Transaction, error)
- func (_LockableERC20FixedSupply *LockableERC20FixedSupplySession) TransferFromAccount(spender common.Address, sender common.Address, recipient common.Address, ...) (*types.Transaction, error)
- func (_LockableERC20FixedSupply *LockableERC20FixedSupplySession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
- type LockableERC20FixedSupplyTransactor
- func (_LockableERC20FixedSupply *LockableERC20FixedSupplyTransactor) AddTrustedBridge(opts *bind.TransactOpts, bridge common.Address) (*types.Transaction, error)
- func (_LockableERC20FixedSupply *LockableERC20FixedSupplyTransactor) Approve(opts *bind.TransactOpts, spender common.Address, amount *big.Int) (*types.Transaction, error)
- func (_LockableERC20FixedSupply *LockableERC20FixedSupplyTransactor) Burn(opts *bind.TransactOpts, amount *big.Int) (*types.Transaction, error)
- func (_LockableERC20FixedSupply *LockableERC20FixedSupplyTransactor) BurnFrom(opts *bind.TransactOpts, account common.Address, amount *big.Int) (*types.Transaction, error)
- func (_LockableERC20FixedSupply *LockableERC20FixedSupplyTransactor) BurnFromAccount(opts *bind.TransactOpts, spender common.Address, sender common.Address, ...) (*types.Transaction, error)
- func (_LockableERC20FixedSupply *LockableERC20FixedSupplyTransactor) BurnFromInternal(opts *bind.TransactOpts, burner common.Address, account common.Address, ...) (*types.Transaction, error)
- func (_LockableERC20FixedSupply *LockableERC20FixedSupplyTransactor) DecreaseAllowance(opts *bind.TransactOpts, spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)
- func (_LockableERC20FixedSupply *LockableERC20FixedSupplyTransactor) Finalise(opts *bind.TransactOpts, _commit bool, _crossRootTxId [32]byte) (*types.Transaction, error)
- func (_LockableERC20FixedSupply *LockableERC20FixedSupplyTransactor) IncreaseAccountParallelizartionFactor(opts *bind.TransactOpts, amount *big.Int) (*types.Transaction, error)
- func (_LockableERC20FixedSupply *LockableERC20FixedSupplyTransactor) IncreaseAllowance(opts *bind.TransactOpts, spender common.Address, addedValue *big.Int) (*types.Transaction, error)
- func (_LockableERC20FixedSupply *LockableERC20FixedSupplyTransactor) IncreaseERC20ParallelizartionFactor(opts *bind.TransactOpts, amount *big.Int) (*types.Transaction, error)
- func (_LockableERC20FixedSupply *LockableERC20FixedSupplyTransactor) RemoveTrustedBridge(opts *bind.TransactOpts, bridge common.Address) (*types.Transaction, error)
- func (_LockableERC20FixedSupply *LockableERC20FixedSupplyTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_LockableERC20FixedSupply *LockableERC20FixedSupplyTransactor) Transfer(opts *bind.TransactOpts, recipient common.Address, amount *big.Int) (*types.Transaction, error)
- func (_LockableERC20FixedSupply *LockableERC20FixedSupplyTransactor) TransferFrom(opts *bind.TransactOpts, sender common.Address, recipient common.Address, ...) (*types.Transaction, error)
- func (_LockableERC20FixedSupply *LockableERC20FixedSupplyTransactor) TransferFromAccount(opts *bind.TransactOpts, spender common.Address, sender common.Address, ...) (*types.Transaction, error)
- func (_LockableERC20FixedSupply *LockableERC20FixedSupplyTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)
- type LockableERC20FixedSupplyTransactorRaw
- func (_LockableERC20FixedSupply *LockableERC20FixedSupplyTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_LockableERC20FixedSupply *LockableERC20FixedSupplyTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type LockableERC20FixedSupplyTransactorSession
- func (_LockableERC20FixedSupply *LockableERC20FixedSupplyTransactorSession) AddTrustedBridge(bridge common.Address) (*types.Transaction, error)
- func (_LockableERC20FixedSupply *LockableERC20FixedSupplyTransactorSession) Approve(spender common.Address, amount *big.Int) (*types.Transaction, error)
- func (_LockableERC20FixedSupply *LockableERC20FixedSupplyTransactorSession) Burn(amount *big.Int) (*types.Transaction, error)
- func (_LockableERC20FixedSupply *LockableERC20FixedSupplyTransactorSession) BurnFrom(account common.Address, amount *big.Int) (*types.Transaction, error)
- func (_LockableERC20FixedSupply *LockableERC20FixedSupplyTransactorSession) BurnFromAccount(spender common.Address, sender common.Address, amount *big.Int) (*types.Transaction, error)
- func (_LockableERC20FixedSupply *LockableERC20FixedSupplyTransactorSession) BurnFromInternal(burner common.Address, account common.Address, amount *big.Int) (*types.Transaction, error)
- func (_LockableERC20FixedSupply *LockableERC20FixedSupplyTransactorSession) DecreaseAllowance(spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)
- func (_LockableERC20FixedSupply *LockableERC20FixedSupplyTransactorSession) Finalise(_commit bool, _crossRootTxId [32]byte) (*types.Transaction, error)
- func (_LockableERC20FixedSupply *LockableERC20FixedSupplyTransactorSession) IncreaseAccountParallelizartionFactor(amount *big.Int) (*types.Transaction, error)
- func (_LockableERC20FixedSupply *LockableERC20FixedSupplyTransactorSession) IncreaseAllowance(spender common.Address, addedValue *big.Int) (*types.Transaction, error)
- func (_LockableERC20FixedSupply *LockableERC20FixedSupplyTransactorSession) IncreaseERC20ParallelizartionFactor(amount *big.Int) (*types.Transaction, error)
- func (_LockableERC20FixedSupply *LockableERC20FixedSupplyTransactorSession) RemoveTrustedBridge(bridge common.Address) (*types.Transaction, error)
- func (_LockableERC20FixedSupply *LockableERC20FixedSupplyTransactorSession) RenounceOwnership() (*types.Transaction, error)
- func (_LockableERC20FixedSupply *LockableERC20FixedSupplyTransactorSession) Transfer(recipient common.Address, amount *big.Int) (*types.Transaction, error)
- func (_LockableERC20FixedSupply *LockableERC20FixedSupplyTransactorSession) TransferFrom(sender common.Address, recipient common.Address, amount *big.Int) (*types.Transaction, error)
- func (_LockableERC20FixedSupply *LockableERC20FixedSupplyTransactorSession) TransferFromAccount(spender common.Address, sender common.Address, recipient common.Address, ...) (*types.Transaction, error)
- func (_LockableERC20FixedSupply *LockableERC20FixedSupplyTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
- type LockableERC20FixedSupplyTransfer
- type LockableERC20FixedSupplyTransferIterator
- type LockableERC20FixedSupplyTrustedBridge
- type LockableERC20FixedSupplyTrustedBridgeIterator
- type SfcERC20Bridge
- type SfcERC20BridgeAdminTransfer
- type SfcERC20BridgeAdminTransferIterator
- type SfcERC20BridgeCaller
- func (_SfcERC20Bridge *SfcERC20BridgeCaller) ADMINTRANSFERROLE(opts *bind.CallOpts) ([32]byte, error)
- func (_SfcERC20Bridge *SfcERC20BridgeCaller) DEFAULTADMINROLE(opts *bind.CallOpts) ([32]byte, error)
- func (_SfcERC20Bridge *SfcERC20BridgeCaller) GetBcIdTokenMaping(opts *bind.CallOpts, _bcId *big.Int, _tokenContract common.Address) (common.Address, error)
- func (_SfcERC20Bridge *SfcERC20BridgeCaller) GetRemoteErc20BridgeContract(opts *bind.CallOpts, _bcId *big.Int) (common.Address, error)
- func (_SfcERC20Bridge *SfcERC20BridgeCaller) GetRoleAdmin(opts *bind.CallOpts, role [32]byte) ([32]byte, error)
- func (_SfcERC20Bridge *SfcERC20BridgeCaller) HasRole(opts *bind.CallOpts, role [32]byte, account common.Address) (bool, error)
- func (_SfcERC20Bridge *SfcERC20BridgeCaller) IsBcIdTokenAllowed(opts *bind.CallOpts, _bcId *big.Int, _tokenContract common.Address) (bool, error)
- func (_SfcERC20Bridge *SfcERC20BridgeCaller) MAPPINGROLE(opts *bind.CallOpts) ([32]byte, error)
- func (_SfcERC20Bridge *SfcERC20BridgeCaller) PAUSERROLE(opts *bind.CallOpts) ([32]byte, error)
- func (_SfcERC20Bridge *SfcERC20BridgeCaller) Paused(opts *bind.CallOpts) (bool, error)
- func (_SfcERC20Bridge *SfcERC20BridgeCaller) SupportsInterface(opts *bind.CallOpts, interfaceId [4]byte) (bool, error)
- func (_SfcERC20Bridge *SfcERC20BridgeCaller) TokenContractConfiguration(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)
- type SfcERC20BridgeCallerRaw
- type SfcERC20BridgeCallerSession
- func (_SfcERC20Bridge *SfcERC20BridgeCallerSession) ADMINTRANSFERROLE() ([32]byte, error)
- func (_SfcERC20Bridge *SfcERC20BridgeCallerSession) DEFAULTADMINROLE() ([32]byte, error)
- func (_SfcERC20Bridge *SfcERC20BridgeCallerSession) GetBcIdTokenMaping(_bcId *big.Int, _tokenContract common.Address) (common.Address, error)
- func (_SfcERC20Bridge *SfcERC20BridgeCallerSession) GetRemoteErc20BridgeContract(_bcId *big.Int) (common.Address, error)
- func (_SfcERC20Bridge *SfcERC20BridgeCallerSession) GetRoleAdmin(role [32]byte) ([32]byte, error)
- func (_SfcERC20Bridge *SfcERC20BridgeCallerSession) HasRole(role [32]byte, account common.Address) (bool, error)
- func (_SfcERC20Bridge *SfcERC20BridgeCallerSession) IsBcIdTokenAllowed(_bcId *big.Int, _tokenContract common.Address) (bool, error)
- func (_SfcERC20Bridge *SfcERC20BridgeCallerSession) MAPPINGROLE() ([32]byte, error)
- func (_SfcERC20Bridge *SfcERC20BridgeCallerSession) PAUSERROLE() ([32]byte, error)
- func (_SfcERC20Bridge *SfcERC20BridgeCallerSession) Paused() (bool, error)
- func (_SfcERC20Bridge *SfcERC20BridgeCallerSession) SupportsInterface(interfaceId [4]byte) (bool, error)
- func (_SfcERC20Bridge *SfcERC20BridgeCallerSession) TokenContractConfiguration(arg0 common.Address) (*big.Int, error)
- type SfcERC20BridgeFilterer
- func (_SfcERC20Bridge *SfcERC20BridgeFilterer) FilterAdminTransfer(opts *bind.FilterOpts) (*SfcERC20BridgeAdminTransferIterator, error)
- func (_SfcERC20Bridge *SfcERC20BridgeFilterer) FilterPaused(opts *bind.FilterOpts) (*SfcERC20BridgePausedIterator, error)
- func (_SfcERC20Bridge *SfcERC20BridgeFilterer) FilterReceivedFrom(opts *bind.FilterOpts) (*SfcERC20BridgeReceivedFromIterator, error)
- func (_SfcERC20Bridge *SfcERC20BridgeFilterer) FilterRoleAdminChanged(opts *bind.FilterOpts, role [][32]byte, previousAdminRole [][32]byte, ...) (*SfcERC20BridgeRoleAdminChangedIterator, error)
- func (_SfcERC20Bridge *SfcERC20BridgeFilterer) FilterRoleGranted(opts *bind.FilterOpts, role [][32]byte, account []common.Address, ...) (*SfcERC20BridgeRoleGrantedIterator, error)
- func (_SfcERC20Bridge *SfcERC20BridgeFilterer) FilterRoleRevoked(opts *bind.FilterOpts, role [][32]byte, account []common.Address, ...) (*SfcERC20BridgeRoleRevokedIterator, error)
- func (_SfcERC20Bridge *SfcERC20BridgeFilterer) FilterTokenContractAddressMappingChanged(opts *bind.FilterOpts) (*SfcERC20BridgeTokenContractAddressMappingChangedIterator, error)
- func (_SfcERC20Bridge *SfcERC20BridgeFilterer) FilterTokenContractConfig(opts *bind.FilterOpts) (*SfcERC20BridgeTokenContractConfigIterator, error)
- func (_SfcERC20Bridge *SfcERC20BridgeFilterer) FilterTransferTo(opts *bind.FilterOpts) (*SfcERC20BridgeTransferToIterator, error)
- func (_SfcERC20Bridge *SfcERC20BridgeFilterer) FilterUnpaused(opts *bind.FilterOpts) (*SfcERC20BridgeUnpausedIterator, error)
- func (_SfcERC20Bridge *SfcERC20BridgeFilterer) ParseAdminTransfer(log types.Log) (*SfcERC20BridgeAdminTransfer, error)
- func (_SfcERC20Bridge *SfcERC20BridgeFilterer) ParsePaused(log types.Log) (*SfcERC20BridgePaused, error)
- func (_SfcERC20Bridge *SfcERC20BridgeFilterer) ParseReceivedFrom(log types.Log) (*SfcERC20BridgeReceivedFrom, error)
- func (_SfcERC20Bridge *SfcERC20BridgeFilterer) ParseRoleAdminChanged(log types.Log) (*SfcERC20BridgeRoleAdminChanged, error)
- func (_SfcERC20Bridge *SfcERC20BridgeFilterer) ParseRoleGranted(log types.Log) (*SfcERC20BridgeRoleGranted, error)
- func (_SfcERC20Bridge *SfcERC20BridgeFilterer) ParseRoleRevoked(log types.Log) (*SfcERC20BridgeRoleRevoked, error)
- func (_SfcERC20Bridge *SfcERC20BridgeFilterer) ParseTokenContractAddressMappingChanged(log types.Log) (*SfcERC20BridgeTokenContractAddressMappingChanged, error)
- func (_SfcERC20Bridge *SfcERC20BridgeFilterer) ParseTokenContractConfig(log types.Log) (*SfcERC20BridgeTokenContractConfig, error)
- func (_SfcERC20Bridge *SfcERC20BridgeFilterer) ParseTransferTo(log types.Log) (*SfcERC20BridgeTransferTo, error)
- func (_SfcERC20Bridge *SfcERC20BridgeFilterer) ParseUnpaused(log types.Log) (*SfcERC20BridgeUnpaused, error)
- func (_SfcERC20Bridge *SfcERC20BridgeFilterer) WatchAdminTransfer(opts *bind.WatchOpts, sink chan<- *SfcERC20BridgeAdminTransfer) (event.Subscription, error)
- func (_SfcERC20Bridge *SfcERC20BridgeFilterer) WatchPaused(opts *bind.WatchOpts, sink chan<- *SfcERC20BridgePaused) (event.Subscription, error)
- func (_SfcERC20Bridge *SfcERC20BridgeFilterer) WatchReceivedFrom(opts *bind.WatchOpts, sink chan<- *SfcERC20BridgeReceivedFrom) (event.Subscription, error)
- func (_SfcERC20Bridge *SfcERC20BridgeFilterer) WatchRoleAdminChanged(opts *bind.WatchOpts, sink chan<- *SfcERC20BridgeRoleAdminChanged, ...) (event.Subscription, error)
- func (_SfcERC20Bridge *SfcERC20BridgeFilterer) WatchRoleGranted(opts *bind.WatchOpts, sink chan<- *SfcERC20BridgeRoleGranted, role [][32]byte, ...) (event.Subscription, error)
- func (_SfcERC20Bridge *SfcERC20BridgeFilterer) WatchRoleRevoked(opts *bind.WatchOpts, sink chan<- *SfcERC20BridgeRoleRevoked, role [][32]byte, ...) (event.Subscription, error)
- func (_SfcERC20Bridge *SfcERC20BridgeFilterer) WatchTokenContractAddressMappingChanged(opts *bind.WatchOpts, ...) (event.Subscription, error)
- func (_SfcERC20Bridge *SfcERC20BridgeFilterer) WatchTokenContractConfig(opts *bind.WatchOpts, sink chan<- *SfcERC20BridgeTokenContractConfig) (event.Subscription, error)
- func (_SfcERC20Bridge *SfcERC20BridgeFilterer) WatchTransferTo(opts *bind.WatchOpts, sink chan<- *SfcERC20BridgeTransferTo) (event.Subscription, error)
- func (_SfcERC20Bridge *SfcERC20BridgeFilterer) WatchUnpaused(opts *bind.WatchOpts, sink chan<- *SfcERC20BridgeUnpaused) (event.Subscription, error)
- type SfcERC20BridgePaused
- type SfcERC20BridgePausedIterator
- type SfcERC20BridgeRaw
- func (_SfcERC20Bridge *SfcERC20BridgeRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_SfcERC20Bridge *SfcERC20BridgeRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_SfcERC20Bridge *SfcERC20BridgeRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type SfcERC20BridgeReceivedFrom
- type SfcERC20BridgeReceivedFromIterator
- type SfcERC20BridgeRoleAdminChanged
- type SfcERC20BridgeRoleAdminChangedIterator
- type SfcERC20BridgeRoleGranted
- type SfcERC20BridgeRoleGrantedIterator
- type SfcERC20BridgeRoleRevoked
- type SfcERC20BridgeRoleRevokedIterator
- type SfcERC20BridgeSession
- func (_SfcERC20Bridge *SfcERC20BridgeSession) ADMINTRANSFERROLE() ([32]byte, error)
- func (_SfcERC20Bridge *SfcERC20BridgeSession) AddContractFirstMapping(_thisBcTokenContract common.Address, _otherBcId *big.Int, ...) (*types.Transaction, error)
- func (_SfcERC20Bridge *SfcERC20BridgeSession) AdminTransfer(_erc20Contract common.Address, _recipient common.Address, _amount *big.Int) (*types.Transaction, error)
- func (_SfcERC20Bridge *SfcERC20BridgeSession) ChangeBlockchainMapping(_otherBcId *big.Int, _otherErc20Bridge common.Address) (*types.Transaction, error)
- func (_SfcERC20Bridge *SfcERC20BridgeSession) ChangeContractMapping(_thisBcTokenContract common.Address, _otherBcId *big.Int, ...) (*types.Transaction, error)
- func (_SfcERC20Bridge *SfcERC20BridgeSession) DEFAULTADMINROLE() ([32]byte, error)
- func (_SfcERC20Bridge *SfcERC20BridgeSession) GetBcIdTokenMaping(_bcId *big.Int, _tokenContract common.Address) (common.Address, error)
- func (_SfcERC20Bridge *SfcERC20BridgeSession) GetRemoteErc20BridgeContract(_bcId *big.Int) (common.Address, error)
- func (_SfcERC20Bridge *SfcERC20BridgeSession) GetRoleAdmin(role [32]byte) ([32]byte, error)
- func (_SfcERC20Bridge *SfcERC20BridgeSession) GrantRole(role [32]byte, account common.Address) (*types.Transaction, error)
- func (_SfcERC20Bridge *SfcERC20BridgeSession) HasRole(role [32]byte, account common.Address) (bool, error)
- func (_SfcERC20Bridge *SfcERC20BridgeSession) IsBcIdTokenAllowed(_bcId *big.Int, _tokenContract common.Address) (bool, error)
- func (_SfcERC20Bridge *SfcERC20BridgeSession) MAPPINGROLE() ([32]byte, error)
- func (_SfcERC20Bridge *SfcERC20BridgeSession) PAUSERROLE() ([32]byte, error)
- func (_SfcERC20Bridge *SfcERC20BridgeSession) Pause() (*types.Transaction, error)
- func (_SfcERC20Bridge *SfcERC20BridgeSession) Paused() (bool, error)
- func (_SfcERC20Bridge *SfcERC20BridgeSession) ReceiveFromOtherBlockchain(_destTokenContract common.Address, _recipient common.Address, _amount *big.Int) (*types.Transaction, error)
- func (_SfcERC20Bridge *SfcERC20BridgeSession) RenounceRole(role [32]byte, account common.Address) (*types.Transaction, error)
- func (_SfcERC20Bridge *SfcERC20BridgeSession) RevokeRole(role [32]byte, account common.Address) (*types.Transaction, error)
- func (_SfcERC20Bridge *SfcERC20BridgeSession) SetTokenConfig(_thisBcTokenContract common.Address, _thisBcMassC bool) (*types.Transaction, error)
- func (_SfcERC20Bridge *SfcERC20BridgeSession) SupportsInterface(interfaceId [4]byte) (bool, error)
- func (_SfcERC20Bridge *SfcERC20BridgeSession) TokenContractConfiguration(arg0 common.Address) (*big.Int, error)
- func (_SfcERC20Bridge *SfcERC20BridgeSession) TransferToOtherBlockchain(_destBcId *big.Int, _srcTokenContract common.Address, ...) (*types.Transaction, error)
- func (_SfcERC20Bridge *SfcERC20BridgeSession) Unpause() (*types.Transaction, error)
- type SfcERC20BridgeTokenContractAddressMappingChanged
- type SfcERC20BridgeTokenContractAddressMappingChangedIterator
- type SfcERC20BridgeTokenContractConfig
- type SfcERC20BridgeTokenContractConfigIterator
- type SfcERC20BridgeTransactor
- func (_SfcERC20Bridge *SfcERC20BridgeTransactor) AddContractFirstMapping(opts *bind.TransactOpts, _thisBcTokenContract common.Address, ...) (*types.Transaction, error)
- func (_SfcERC20Bridge *SfcERC20BridgeTransactor) AdminTransfer(opts *bind.TransactOpts, _erc20Contract common.Address, ...) (*types.Transaction, error)
- func (_SfcERC20Bridge *SfcERC20BridgeTransactor) ChangeBlockchainMapping(opts *bind.TransactOpts, _otherBcId *big.Int, _otherErc20Bridge common.Address) (*types.Transaction, error)
- func (_SfcERC20Bridge *SfcERC20BridgeTransactor) ChangeContractMapping(opts *bind.TransactOpts, _thisBcTokenContract common.Address, ...) (*types.Transaction, error)
- func (_SfcERC20Bridge *SfcERC20BridgeTransactor) GrantRole(opts *bind.TransactOpts, role [32]byte, account common.Address) (*types.Transaction, error)
- func (_SfcERC20Bridge *SfcERC20BridgeTransactor) Pause(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_SfcERC20Bridge *SfcERC20BridgeTransactor) ReceiveFromOtherBlockchain(opts *bind.TransactOpts, _destTokenContract common.Address, ...) (*types.Transaction, error)
- func (_SfcERC20Bridge *SfcERC20BridgeTransactor) RenounceRole(opts *bind.TransactOpts, role [32]byte, account common.Address) (*types.Transaction, error)
- func (_SfcERC20Bridge *SfcERC20BridgeTransactor) RevokeRole(opts *bind.TransactOpts, role [32]byte, account common.Address) (*types.Transaction, error)
- func (_SfcERC20Bridge *SfcERC20BridgeTransactor) SetTokenConfig(opts *bind.TransactOpts, _thisBcTokenContract common.Address, ...) (*types.Transaction, error)
- func (_SfcERC20Bridge *SfcERC20BridgeTransactor) TransferToOtherBlockchain(opts *bind.TransactOpts, _destBcId *big.Int, _srcTokenContract common.Address, ...) (*types.Transaction, error)
- func (_SfcERC20Bridge *SfcERC20BridgeTransactor) Unpause(opts *bind.TransactOpts) (*types.Transaction, error)
- type SfcERC20BridgeTransactorRaw
- type SfcERC20BridgeTransactorSession
- func (_SfcERC20Bridge *SfcERC20BridgeTransactorSession) AddContractFirstMapping(_thisBcTokenContract common.Address, _otherBcId *big.Int, ...) (*types.Transaction, error)
- func (_SfcERC20Bridge *SfcERC20BridgeTransactorSession) AdminTransfer(_erc20Contract common.Address, _recipient common.Address, _amount *big.Int) (*types.Transaction, error)
- func (_SfcERC20Bridge *SfcERC20BridgeTransactorSession) ChangeBlockchainMapping(_otherBcId *big.Int, _otherErc20Bridge common.Address) (*types.Transaction, error)
- func (_SfcERC20Bridge *SfcERC20BridgeTransactorSession) ChangeContractMapping(_thisBcTokenContract common.Address, _otherBcId *big.Int, ...) (*types.Transaction, error)
- func (_SfcERC20Bridge *SfcERC20BridgeTransactorSession) GrantRole(role [32]byte, account common.Address) (*types.Transaction, error)
- func (_SfcERC20Bridge *SfcERC20BridgeTransactorSession) Pause() (*types.Transaction, error)
- func (_SfcERC20Bridge *SfcERC20BridgeTransactorSession) ReceiveFromOtherBlockchain(_destTokenContract common.Address, _recipient common.Address, _amount *big.Int) (*types.Transaction, error)
- func (_SfcERC20Bridge *SfcERC20BridgeTransactorSession) RenounceRole(role [32]byte, account common.Address) (*types.Transaction, error)
- func (_SfcERC20Bridge *SfcERC20BridgeTransactorSession) RevokeRole(role [32]byte, account common.Address) (*types.Transaction, error)
- func (_SfcERC20Bridge *SfcERC20BridgeTransactorSession) SetTokenConfig(_thisBcTokenContract common.Address, _thisBcMassC bool) (*types.Transaction, error)
- func (_SfcERC20Bridge *SfcERC20BridgeTransactorSession) TransferToOtherBlockchain(_destBcId *big.Int, _srcTokenContract common.Address, ...) (*types.Transaction, error)
- func (_SfcERC20Bridge *SfcERC20BridgeTransactorSession) Unpause() (*types.Transaction, error)
- type SfcERC20BridgeTransferTo
- type SfcERC20BridgeTransferToIterator
- type SfcERC20BridgeUnpaused
- type SfcERC20BridgeUnpausedIterator
- type TravelAgency
- type TravelAgencyCaller
- func (_TravelAgency *TravelAgencyCaller) BookingConfirmed(opts *bind.CallOpts, _bookingId *big.Int) (bool, error)
- func (_TravelAgency *TravelAgencyCaller) HotelBlockchainId(opts *bind.CallOpts) (*big.Int, error)
- func (_TravelAgency *TravelAgencyCaller) HotelContract(opts *bind.CallOpts) (common.Address, error)
- func (_TravelAgency *TravelAgencyCaller) IsLocked(opts *bind.CallOpts, _key *big.Int) (bool, error)
- func (_TravelAgency *TravelAgencyCaller) TrainBlockchainId(opts *bind.CallOpts) (*big.Int, error)
- func (_TravelAgency *TravelAgencyCaller) TrainContract(opts *bind.CallOpts) (common.Address, error)
- type TravelAgencyCallerRaw
- type TravelAgencyCallerSession
- func (_TravelAgency *TravelAgencyCallerSession) BookingConfirmed(_bookingId *big.Int) (bool, error)
- func (_TravelAgency *TravelAgencyCallerSession) HotelBlockchainId() (*big.Int, error)
- func (_TravelAgency *TravelAgencyCallerSession) HotelContract() (common.Address, error)
- func (_TravelAgency *TravelAgencyCallerSession) IsLocked(_key *big.Int) (bool, error)
- func (_TravelAgency *TravelAgencyCallerSession) TrainBlockchainId() (*big.Int, error)
- func (_TravelAgency *TravelAgencyCallerSession) TrainContract() (common.Address, error)
- type TravelAgencyFilterer
- type TravelAgencyRaw
- func (_TravelAgency *TravelAgencyRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_TravelAgency *TravelAgencyRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_TravelAgency *TravelAgencyRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type TravelAgencySession
- func (_TravelAgency *TravelAgencySession) BookHotelAndTrain(_date *big.Int, _bookingId *big.Int) (*types.Transaction, error)
- func (_TravelAgency *TravelAgencySession) BookingConfirmed(_bookingId *big.Int) (bool, error)
- func (_TravelAgency *TravelAgencySession) Finalise(_commit bool, _crossRootTxId [32]byte) (*types.Transaction, error)
- func (_TravelAgency *TravelAgencySession) HotelBlockchainId() (*big.Int, error)
- func (_TravelAgency *TravelAgencySession) HotelContract() (common.Address, error)
- func (_TravelAgency *TravelAgencySession) IsLocked(_key *big.Int) (bool, error)
- func (_TravelAgency *TravelAgencySession) TrainBlockchainId() (*big.Int, error)
- func (_TravelAgency *TravelAgencySession) TrainContract() (common.Address, error)
- type TravelAgencyTransactor
- type TravelAgencyTransactorRaw
- type TravelAgencyTransactorSession
Constants ¶
This section is empty.
Variables ¶
var ERC20FixedSupplyABI = ERC20FixedSupplyMetaData.ABI
ERC20FixedSupplyABI is the input ABI used to generate the binding from. Deprecated: Use ERC20FixedSupplyMetaData.ABI instead.
var ERC20FixedSupplyBin = ERC20FixedSupplyMetaData.Bin
ERC20FixedSupplyBin is the compiled bytecode used for deploying new contracts. Deprecated: Use ERC20FixedSupplyMetaData.Bin instead.
var ERC20FixedSupplyMetaData = &bind.MetaData{
ABI: "[{\"inputs\":[{\"internalType\":\"string\",\"name\":\"name\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"symbol\",\"type\":\"string\"},{\"internalType\":\"uint256\",\"name\":\"initialSupply\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Approval\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Transfer\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"}],\"name\":\"allowance\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"burn\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"burnFrom\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"decimals\",\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"subtractedValue\",\"type\":\"uint256\"}],\"name\":\"decreaseAllowance\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"addedValue\",\"type\":\"uint256\"}],\"name\":\"increaseAllowance\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"name\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"symbol\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"totalSupply\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"transfer\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
Bin: "0x60806040523480156200001157600080fd5b5060405162000f2238038062000f228339810160408190526200003491620002dd565b8351849084906200004d9060039060208501906200016a565b508051620000639060049060208401906200016a565b5050506200007881836200008260201b60201c565b50505050620003d6565b6001600160a01b038216620000dd5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015260640160405180910390fd5b8060026000828254620000f1919062000372565b90915550506001600160a01b038216600090815260208190526040812080548392906200012090849062000372565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b828054620001789062000399565b90600052602060002090601f0160209004810192826200019c5760008555620001e7565b82601f10620001b757805160ff1916838001178555620001e7565b82800160010185558215620001e7579182015b82811115620001e7578251825591602001919060010190620001ca565b50620001f5929150620001f9565b5090565b5b80821115620001f55760008155600101620001fa565b634e487b7160e01b600052604160045260246000fd5b600082601f8301126200023857600080fd5b81516001600160401b038082111562000255576200025562000210565b604051601f8301601f19908116603f0116810190828211818310171562000280576200028062000210565b816040528381526020925086838588010111156200029d57600080fd5b600091505b83821015620002c15785820183015181830184015290820190620002a2565b83821115620002d35760008385830101525b9695505050505050565b60008060008060808587031215620002f457600080fd5b84516001600160401b03808211156200030c57600080fd5b6200031a8883890162000226565b955060208701519150808211156200033157600080fd5b50620003408782880162000226565b60408701516060880151919550935090506001600160a01b03811681146200036757600080fd5b939692955090935050565b600082198211156200039457634e487b7160e01b600052601160045260246000fd5b500190565b600181811c90821680620003ae57607f821691505b60208210811415620003d057634e487b7160e01b600052602260045260246000fd5b50919050565b610b3c80620003e66000396000f3fe608060405234801561001057600080fd5b50600436106100cf5760003560e01c806342966c681161008c57806395d89b411161006657806395d89b41146101ad578063a457c2d7146101b5578063a9059cbb146101c8578063dd62ed3e146101db57600080fd5b806342966c681461015c57806370a082311461017157806379cc67901461019a57600080fd5b806306fdde03146100d4578063095ea7b3146100f257806318160ddd1461011557806323b872dd14610127578063313ce5671461013a5780633950935114610149575b600080fd5b6100dc610214565b6040516100e99190610941565b60405180910390f35b6101056101003660046109b2565b6102a6565b60405190151581526020016100e9565b6002545b6040519081526020016100e9565b6101056101353660046109dc565b6102bc565b604051601281526020016100e9565b6101056101573660046109b2565b610372565b61016f61016a366004610a18565b6103a9565b005b61011961017f366004610a31565b6001600160a01b031660009081526020819052604090205490565b61016f6101a83660046109b2565b6103b6565b6100dc61043e565b6101056101c33660046109b2565b61044d565b6101056101d63660046109b2565b6104e8565b6101196101e9366004610a53565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b60606003805461022390610a86565b80601f016020809104026020016040519081016040528092919081815260200182805461024f90610a86565b801561029c5780601f106102715761010080835404028352916020019161029c565b820191906000526020600020905b81548152906001019060200180831161027f57829003601f168201915b5050505050905090565b60006102b33384846104f5565b50600192915050565b60006102c984848461061a565b6001600160a01b0384166000908152600160209081526040808320338452909152902054828110156103535760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616044820152676c6c6f77616e636560c01b60648201526084015b60405180910390fd5b61036785336103628685610ad7565b6104f5565b506001949350505050565b3360008181526001602090815260408083206001600160a01b038716845290915281205490916102b3918590610362908690610aee565b6103b333826107f2565b50565b60006103c283336101e9565b9050818110156104205760405162461bcd60e51b8152602060048201526024808201527f45524332303a206275726e20616d6f756e74206578636565647320616c6c6f77604482015263616e636560e01b606482015260840161034a565b61042f83336103628585610ad7565b61043983836107f2565b505050565b60606004805461022390610a86565b3360009081526001602090815260408083206001600160a01b0386168452909152812054828110156104cf5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b606482015260840161034a565b6104de33856103628685610ad7565b5060019392505050565b60006102b333848461061a565b6001600160a01b0383166105575760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b606482015260840161034a565b6001600160a01b0382166105b85760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b606482015260840161034a565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b6001600160a01b03831661067e5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b606482015260840161034a565b6001600160a01b0382166106e05760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b606482015260840161034a565b6001600160a01b038316600090815260208190526040902054818110156107585760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b606482015260840161034a565b6107628282610ad7565b6001600160a01b038086166000908152602081905260408082209390935590851681529081208054849290610798908490610aee565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516107e491815260200190565b60405180910390a350505050565b6001600160a01b0382166108525760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b606482015260840161034a565b6001600160a01b038216600090815260208190526040902054818110156108c65760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b606482015260840161034a565b6108d08282610ad7565b6001600160a01b038416600090815260208190526040812091909155600280548492906108fe908490610ad7565b90915550506040518281526000906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200161060d565b600060208083528351808285015260005b8181101561096e57858101830151858201604001528201610952565b81811115610980576000604083870101525b50601f01601f1916929092016040019392505050565b80356001600160a01b03811681146109ad57600080fd5b919050565b600080604083850312156109c557600080fd5b6109ce83610996565b946020939093013593505050565b6000806000606084860312156109f157600080fd5b6109fa84610996565b9250610a0860208501610996565b9150604084013590509250925092565b600060208284031215610a2a57600080fd5b5035919050565b600060208284031215610a4357600080fd5b610a4c82610996565b9392505050565b60008060408385031215610a6657600080fd5b610a6f83610996565b9150610a7d60208401610996565b90509250929050565b600181811c90821680610a9a57607f821691505b60208210811415610abb57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b600082821015610ae957610ae9610ac1565b500390565b60008219821115610b0157610b01610ac1565b50019056fea26469706673582212203b899f9d7525a11725c639889e54173850c111adbf7b4d58db1eef889419e3aa64736f6c63430008090033",
}
ERC20FixedSupplyMetaData contains all meta data concerning the ERC20FixedSupply contract.
var ERC20MinterPauserABI = ERC20MinterPauserMetaData.ABI
ERC20MinterPauserABI is the input ABI used to generate the binding from. Deprecated: Use ERC20MinterPauserMetaData.ABI instead.
var ERC20MinterPauserBin = ERC20MinterPauserMetaData.Bin
ERC20MinterPauserBin is the compiled bytecode used for deploying new contracts. Deprecated: Use ERC20MinterPauserMetaData.Bin instead.
var ERC20MinterPauserMetaData = &bind.MetaData{
ABI: "[{\"inputs\":[{\"internalType\":\"string\",\"name\":\"name\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"symbol\",\"type\":\"string\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Approval\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"Paused\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"previousAdminRole\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"newAdminRole\",\"type\":\"bytes32\"}],\"name\":\"RoleAdminChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"}],\"name\":\"RoleGranted\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"}],\"name\":\"RoleRevoked\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Transfer\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"Unpaused\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"DEFAULT_ADMIN_ROLE\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"MINTER_ROLE\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"PAUSER_ROLE\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"}],\"name\":\"allowance\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"burn\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"burnFrom\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"decimals\",\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"subtractedValue\",\"type\":\"uint256\"}],\"name\":\"decreaseAllowance\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"}],\"name\":\"getRoleAdmin\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"index\",\"type\":\"uint256\"}],\"name\":\"getRoleMember\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"}],\"name\":\"getRoleMemberCount\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"grantRole\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"hasRole\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"addedValue\",\"type\":\"uint256\"}],\"name\":\"increaseAllowance\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"mint\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"name\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"pause\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"paused\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"renounceRole\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"revokeRole\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes4\",\"name\":\"interfaceId\",\"type\":\"bytes4\"}],\"name\":\"supportsInterface\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"symbol\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"totalSupply\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"transfer\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"unpause\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
Bin: "0x60806040523480156200001157600080fd5b5060405162001c5c38038062001c5c8339810160408190526200003491620003b5565b8151829082906200004d90600590602085019062000242565b5080516200006390600690602084019062000242565b50506007805460ff19169055506200007d600033620000dd565b620000a97f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a633620000dd565b620000d57f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a33620000dd565b50506200045c565b620000f482826200012060201b620009ef1760201c565b60008281526001602090815260409091206200011b918390620009f962000130821b17901c565b505050565b6200012c828262000150565b5050565b600062000147836001600160a01b038416620001f0565b90505b92915050565b6000828152602081815260408083206001600160a01b038516845290915290205460ff166200012c576000828152602081815260408083206001600160a01b03851684529091529020805460ff19166001179055620001ac3390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b600081815260018301602052604081205462000239575081546001818101845560008481526020808220909301849055845484825282860190935260409020919091556200014a565b5060006200014a565b82805462000250906200041f565b90600052602060002090601f016020900481019282620002745760008555620002bf565b82601f106200028f57805160ff1916838001178555620002bf565b82800160010185558215620002bf579182015b82811115620002bf578251825591602001919060010190620002a2565b50620002cd929150620002d1565b5090565b5b80821115620002cd5760008155600101620002d2565b634e487b7160e01b600052604160045260246000fd5b600082601f8301126200031057600080fd5b81516001600160401b03808211156200032d576200032d620002e8565b604051601f8301601f19908116603f01168101908282118183101715620003585762000358620002e8565b816040528381526020925086838588010111156200037557600080fd5b600091505b838210156200039957858201830151818301840152908201906200037a565b83821115620003ab5760008385830101525b9695505050505050565b60008060408385031215620003c957600080fd5b82516001600160401b0380821115620003e157600080fd5b620003ef86838701620002fe565b935060208501519150808211156200040657600080fd5b506200041585828601620002fe565b9150509250929050565b600181811c908216806200043457607f821691505b602082108114156200045657634e487b7160e01b600052602260045260246000fd5b50919050565b6117f0806200046c6000396000f3fe608060405234801561001057600080fd5b50600436106101c45760003560e01c806370a08231116100f9578063a457c2d711610097578063d539139311610071578063d5391393146103af578063d547741f146103d6578063dd62ed3e146103e9578063e63ab1e91461042257600080fd5b8063a457c2d714610376578063a9059cbb14610389578063ca15c8731461039c57600080fd5b80639010d07c116100d35780639010d07c1461032857806391d148541461035357806395d89b4114610366578063a217fddf1461036e57600080fd5b806370a08231146102e457806379cc67901461030d5780638456cb591461032057600080fd5b8063313ce567116101665780633f4ba83a116101405780633f4ba83a146102ab57806340c10f19146102b357806342966c68146102c65780635c975abb146102d957600080fd5b8063313ce5671461027657806336568abe14610285578063395093511461029857600080fd5b806318160ddd116101a257806318160ddd1461021957806323b872dd1461022b578063248a9ca31461023e5780632f2ff15d1461026157600080fd5b806301ffc9a7146101c957806306fdde03146101f1578063095ea7b314610206575b600080fd5b6101dc6101d7366004611561565b610449565b60405190151581526020015b60405180910390f35b6101f9610474565b6040516101e8919061158b565b6101dc6102143660046115fc565b610506565b6004545b6040519081526020016101e8565b6101dc610239366004611626565b61051c565b61021d61024c366004611662565b60009081526020819052604090206001015490565b61027461026f36600461167b565b6105d2565b005b604051601281526020016101e8565b61027461029336600461167b565b6105f9565b6101dc6102a63660046115fc565b61061b565b610274610652565b6102746102c13660046115fc565b6106f8565b6102746102d4366004611662565b61079b565b60075460ff166101dc565b61021d6102f23660046116a7565b6001600160a01b031660009081526002602052604090205490565b61027461031b3660046115fc565b6107a8565b61027461082b565b61033b6103363660046116c2565b6108cf565b6040516001600160a01b0390911681526020016101e8565b6101dc61036136600461167b565b6108ee565b6101f9610917565b61021d600081565b6101dc6103843660046115fc565b610926565b6101dc6103973660046115fc565b6109c1565b61021d6103aa366004611662565b6109ce565b61021d7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a681565b6102746103e436600461167b565b6109e5565b61021d6103f73660046116e4565b6001600160a01b03918216600090815260036020908152604080832093909416825291909152205490565b61021d7f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a81565b60006001600160e01b03198216635a05180f60e01b148061046e575061046e82610a0e565b92915050565b6060600580546104839061170e565b80601f01602080910402602001604051908101604052809291908181526020018280546104af9061170e565b80156104fc5780601f106104d1576101008083540402835291602001916104fc565b820191906000526020600020905b8154815290600101906020018083116104df57829003601f168201915b5050505050905090565b6000610513338484610a43565b50600192915050565b6000610529848484610b68565b6001600160a01b0384166000908152600360209081526040808320338452909152902054828110156105b35760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616044820152676c6c6f77616e636560c01b60648201526084015b60405180910390fd5b6105c785336105c2868561175f565b610a43565b506001949350505050565b6105dc8282610d4b565b60008281526001602052604090206105f490826109f9565b505050565b6106038282610dcc565b60008281526001602052604090206105f49082610e46565b3360008181526003602090815260408083206001600160a01b038716845290915281205490916105139185906105c2908690611776565b61067c7f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a336108ee565b6106ee5760405162461bcd60e51b815260206004820152603960248201527f45524332305072657365744d696e7465725061757365723a206d75737420686160448201527f76652070617573657220726f6c6520746f20756e70617573650000000000000060648201526084016105aa565b6106f6610e5b565b565b6107227f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a6336108ee565b61078d5760405162461bcd60e51b815260206004820152603660248201527f45524332305072657365744d696e7465725061757365723a206d7573742068616044820152751d99481b5a5b9d195c881c9bdb19481d1bc81b5a5b9d60521b60648201526084016105aa565b6107978282610eee565b5050565b6107a53382610fd9565b50565b60006107b483336103f7565b9050818110156108125760405162461bcd60e51b8152602060048201526024808201527f45524332303a206275726e20616d6f756e74206578636565647320616c6c6f77604482015263616e636560e01b60648201526084016105aa565b61082183336105c2858561175f565b6105f48383610fd9565b6108557f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a336108ee565b6108c75760405162461bcd60e51b815260206004820152603760248201527f45524332305072657365744d696e7465725061757365723a206d75737420686160448201527f76652070617573657220726f6c6520746f20706175736500000000000000000060648201526084016105aa565b6106f6611134565b60008281526001602052604081206108e790836111af565b9392505050565b6000918252602082815260408084206001600160a01b0393909316845291905290205460ff1690565b6060600680546104839061170e565b3360009081526003602090815260408083206001600160a01b0386168452909152812054828110156109a85760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084016105aa565b6109b733856105c2868561175f565b5060019392505050565b6000610513338484610b68565b600081815260016020526040812061046e906111bb565b61060382826111c5565b6107978282611245565b60006108e7836001600160a01b0384166112c9565b60006001600160e01b03198216637965db0b60e01b148061046e57506301ffc9a760e01b6001600160e01b031983161461046e565b6001600160a01b038316610aa55760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016105aa565b6001600160a01b038216610b065760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016105aa565b6001600160a01b0383811660008181526003602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b6001600160a01b038316610bcc5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016105aa565b6001600160a01b038216610c2e5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016105aa565b610c39838383611318565b6001600160a01b03831660009081526002602052604090205481811015610cb15760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b60648201526084016105aa565b610cbb828261175f565b6001600160a01b038086166000908152600260205260408082209390935590851681529081208054849290610cf1908490611776565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051610d3d91815260200190565b60405180910390a350505050565b600082815260208190526040902060010154610d68905b336108ee565b6109ef5760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2073656e646572206d75737420626520616e60448201526e0818591b5a5b881d1bc819dc985b9d608a1b60648201526084016105aa565b6001600160a01b0381163314610e3c5760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b60648201526084016105aa565b6107978282611323565b60006108e7836001600160a01b038416611388565b60075460ff16610ea45760405162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b60448201526064016105aa565b6007805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b6001600160a01b038216610f445760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064016105aa565b610f5060008383611318565b8060046000828254610f629190611776565b90915550506001600160a01b03821660009081526002602052604081208054839290610f8f908490611776565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b6001600160a01b0382166110395760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b60648201526084016105aa565b61104582600083611318565b6001600160a01b038216600090815260026020526040902054818110156110b95760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b60648201526084016105aa565b6110c3828261175f565b6001600160a01b038416600090815260026020526040812091909155600480548492906110f190849061175f565b90915550506040518281526000906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90602001610b5b565b60075460ff161561117a5760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b60448201526064016105aa565b6007805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258610ed13390565b60006108e78383611475565b600061046e825490565b6000828152602081905260409020600101546111e090610d62565b610e3c5760405162461bcd60e51b815260206004820152603060248201527f416363657373436f6e74726f6c3a2073656e646572206d75737420626520616e60448201526f2061646d696e20746f207265766f6b6560801b60648201526084016105aa565b61124f82826108ee565b610797576000828152602081815260408083206001600160a01b03851684529091529020805460ff191660011790556112853390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b60008181526001830160205260408120546113105750815460018181018455600084815260208082209093018490558454848252828601909352604090209190915561046e565b50600061046e565b6105f48383836114fb565b61132d82826108ee565b15610797576000828152602081815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b6000818152600183016020526040812054801561146b5760006113ac60018361175f565b85549091506000906113c09060019061175f565b905060008660000182815481106113d9576113d961178e565b90600052602060002001549050808760000184815481106113fc576113fc61178e565b60009182526020808320909101929092558281526001890190915260409020849055865487908061142f5761142f6117a4565b6001900381819060005260206000200160009055905586600101600087815260200190815260200160002060009055600194505050505061046e565b600091505061046e565b815460009082106114d35760405162461bcd60e51b815260206004820152602260248201527f456e756d657261626c655365743a20696e646578206f7574206f6620626f756e604482015261647360f01b60648201526084016105aa565b8260000182815481106114e8576114e861178e565b9060005260206000200154905092915050565b60075460ff16156105f45760405162461bcd60e51b815260206004820152602a60248201527f45524332305061757361626c653a20746f6b656e207472616e736665722077686044820152691a5b19481c185d5cd95960b21b60648201526084016105aa565b60006020828403121561157357600080fd5b81356001600160e01b0319811681146108e757600080fd5b600060208083528351808285015260005b818110156115b85785810183015185820160400152820161159c565b818111156115ca576000604083870101525b50601f01601f1916929092016040019392505050565b80356001600160a01b03811681146115f757600080fd5b919050565b6000806040838503121561160f57600080fd5b611618836115e0565b946020939093013593505050565b60008060006060848603121561163b57600080fd5b611644846115e0565b9250611652602085016115e0565b9150604084013590509250925092565b60006020828403121561167457600080fd5b5035919050565b6000806040838503121561168e57600080fd5b8235915061169e602084016115e0565b90509250929050565b6000602082840312156116b957600080fd5b6108e7826115e0565b600080604083850312156116d557600080fd5b50508035926020909101359150565b600080604083850312156116f757600080fd5b611700836115e0565b915061169e602084016115e0565b600181811c9082168061172257607f821691505b6020821081141561174357634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b60008282101561177157611771611749565b500390565b6000821982111561178957611789611749565b500190565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052603160045260246000fdfea26469706673582212203693de9e578224d2d91b9f214f36bff5bbbaf4170534ce864bbef2c6d5165ce864736f6c63430008090033",
}
ERC20MinterPauserMetaData contains all meta data concerning the ERC20MinterPauser contract.
var GpactERC20BridgeABI = GpactERC20BridgeMetaData.ABI
GpactERC20BridgeABI is the input ABI used to generate the binding from. Deprecated: Use GpactERC20BridgeMetaData.ABI instead.
var GpactERC20BridgeBin = GpactERC20BridgeMetaData.Bin
GpactERC20BridgeBin is the compiled bytecode used for deploying new contracts. Deprecated: Use GpactERC20BridgeMetaData.Bin instead.
var GpactERC20BridgeMetaData = &bind.MetaData{
ABI: "[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_gpactCbcContract\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"_bcId\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"bool\",\"name\":\"_approved\",\"type\":\"bool\"}],\"name\":\"ApprovedRootBcId\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"Paused\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"_srcBcId\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"_srcTokenContract\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"_destTokenContract\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"_recipient\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"}],\"name\":\"ReceivedFrom\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"previousAdminRole\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"newAdminRole\",\"type\":\"bytes32\"}],\"name\":\"RoleAdminChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"}],\"name\":\"RoleGranted\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"}],\"name\":\"RoleRevoked\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"_thisBcTokenContract\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"_otherBcId\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"_othercTokenContract\",\"type\":\"address\"}],\"name\":\"TokenContractAddressMappingChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"_thisBcTokenContract\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"_config\",\"type\":\"uint256\"}],\"name\":\"TokenContractConfig\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"_destBcId\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"_srcTokenContract\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"_destTokenContract\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"_sender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"_recipient\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"}],\"name\":\"TransferTo\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"Unpaused\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"DEFAULT_ADMIN_ROLE\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"MAPPING_ROLE\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"PAUSER_ROLE\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_bcId\",\"type\":\"uint256\"}],\"name\":\"addApprovedRootBcId\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_thisBcTokenContract\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_otherBcId\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"_otherTokenContract\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"_thisBcMassC\",\"type\":\"bool\"}],\"name\":\"addContractFirstMapping\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_otherBcId\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"_otherErc20Bridge\",\"type\":\"address\"}],\"name\":\"addRemoteERC20Bridge\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_thisBcTokenContract\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_otherBcId\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"_otherTokenContract\",\"type\":\"address\"}],\"name\":\"changeContractMapping\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_bcId\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"_tokenContract\",\"type\":\"address\"}],\"name\":\"getBcIdTokenMaping\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_bcId\",\"type\":\"uint256\"}],\"name\":\"getRemoteErc20BridgeContract\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"}],\"name\":\"getRoleAdmin\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"grantRole\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"hasRole\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_bcId\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"_tokenContract\",\"type\":\"address\"}],\"name\":\"isBcIdTokenAllowed\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"pause\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"paused\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_destTokenContract\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_recipient\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"}],\"name\":\"receiveFromOtherBlockchain\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_bcId\",\"type\":\"uint256\"}],\"name\":\"removeApprovedRootBcId\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"renounceRole\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"revokeRole\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_thisBcTokenContract\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"_thisBcMassC\",\"type\":\"bool\"}],\"name\":\"setTokenConfig\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes4\",\"name\":\"interfaceId\",\"type\":\"bytes4\"}],\"name\":\"supportsInterface\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"tokenContractConfiguration\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_sender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_destBcId\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"_srcTokenContract\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_recipient\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"}],\"name\":\"transferFromAccountToOtherBlockchain\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_destBcId\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"_srcTokenContract\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_recipient\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"}],\"name\":\"transferToOtherBlockchain\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"unpause\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
Bin: "0x60806040523480156200001157600080fd5b5060405162001d9938038062001d99833981016040819052620000349162000163565b6000805460ff1916815533906200004c9082620000cb565b620000787f0121836bd496e565c22481bc40c30c41db1fecf07c7376491a377f8056cfccd582620000cb565b620000a47f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a82620000cb565b50600280546001600160a01b0319166001600160a01b039290921691909117905562000195565b620000d78282620000db565b5050565b60008281526001602090815260408083206001600160a01b038516845290915290205460ff16620000d75760008281526001602081815260408084206001600160a01b0386168086529252808420805460ff19169093179092559051339285917f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d9190a45050565b6000602082840312156200017657600080fd5b81516001600160a01b03811681146200018e57600080fd5b9392505050565b611bf480620001a56000396000f3fe608060405234801561001057600080fd5b50600436106101735760003560e01c80635efe4253116100de57806398e6460311610097578063d547741f11610071578063d547741f14610392578063e63ab1e9146103a5578063e96dab56146103cc578063ef0047cf146103df57600080fd5b806398e6460314610364578063a217fddf14610377578063c22b86991461037f57600080fd5b80635efe4253146102d757806380ccbde4146102ea5780638278ef6d146103235780638456cb591461033657806384aea6331461033e57806391d148541461035157600080fd5b80632e44a5b5116101305780632e44a5b51461024e5780632f2ff15d1461028957806336568abe1461029c5780633f4ba83a146102af57806343a12224146102b75780635c975abb146102cc57600080fd5b806301ffc9a714610178578063069b0084146101a057806306b47e9e146101b55780630dd4b783146101c8578063148d42e414610209578063248a9ca31461021c575b600080fd5b61018b610186366004611706565b6103ff565b60405190151581526020015b60405180910390f35b6101b36101ae366004611753565b610436565b005b6101b36101c33660046117a8565b610606565b6101f16101d63660046117e4565b6000908152600560205260409020546001600160a01b031690565b6040516001600160a01b039091168152602001610197565b6101b36102173660046117e4565b61067f565b61024061022a3660046117e4565b6000908152600160208190526040909120015490565b604051908152602001610197565b61018b61025c3660046117fd565b6001600160a01b039081166000908152600460209081526040808320948352939052919091205416151590565b6101b36102973660046117fd565b61070b565b6101b36102aa3660046117fd565b61079b565b6101b3610815565b610240600080516020611b9f83398151915281565b60005460ff1661018b565b6101b36102e53660046117e4565b610865565b6101f16102f83660046117fd565b6001600160a01b03908116600090815260046020908152604080832094835293905291909120541690565b6101b3610331366004611829565b6108e6565b6101b3610bff565b6101b361034c366004611865565b610c4d565b61018b61035f3660046117fd565b610e8a565b6101b36103723660046117fd565b610eb5565b610240600081565b6101b361038d3660046118ba565b610f17565b6101b36103a03660046117fd565b610fdb565b6102407f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a81565b6101b36103da366004611909565b61105c565b6102406103ed366004611940565b60036020526000908152604090205481565b60006001600160e01b03198216637965db0b60e01b148061043057506301ffc9a760e01b6001600160e01b03198316145b92915050565b60005460ff16156104625760405162461bcd60e51b81526004016104599061195b565b60405180910390fd5b6000848152600560205260409020546001600160a01b0316806104975760405162461bcd60e51b815260040161045990611985565b6001600160a01b03808516600090815260046020908152604080832089845290915290205416806104da5760405162461bcd60e51b8152600401610459906119cb565b6104e6338689866110cf565b6002546040516001600160a01b03909116906392b2c3359088908590638278ef6d60e01b9061051d9087908b908b90602401611a28565b60408051601f198184030181529181526020820180516001600160e01b03166001600160e01b03199485161790525160e086901b9092168252610564939291600401611a4c565b600060405180830381600087803b15801561057e57600080fd5b505af1158015610592573d6000803e3d6000fd5b5050604080518981526001600160a01b03808a16602083015280861692820192909252818b166060820152908716608082015260a081018690527f752a2bfed77c22e59eeaf9351f545a08f5ee0110b8d6de0e7bcaf32a5dfa661b925060c00190505b60405180910390a150505050505050565b61061e600080516020611b9f83398151915233610e8a565b61063a5760405162461bcd60e51b815260040161045990611ab8565b6001600160a01b03831660009081526003602052604090205461066f5760405162461bcd60e51b815260040161045990611afc565b61067a8383836111cd565b505050565b610697600080516020611b9f83398151915233610e8a565b6106b35760405162461bcd60e51b815260040161045990611ab8565b600081815260066020908152604091829020805460ff191660019081179091558251848152918201527fbf226311bb69e53731fdcbcc29e56e1103488e8988646a6870566d339e2ee77991015b60405180910390a150565b60008281526001602081905260409091200154610729905b33610e8a565b61078d5760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2073656e646572206d75737420626520616e60448201526e0818591b5a5b881d1bc819dc985b9d608a1b6064820152608401610459565b6107978282611249565b5050565b6001600160a01b038116331461080b5760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b6064820152608401610459565b61079782826112b4565b61083f7f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a33610e8a565b61085b5760405162461bcd60e51b815260040161045990611b3e565b61086361131b565b565b61087d600080516020611b9f83398151915233610e8a565b6108995760405162461bcd60e51b815260040161045990611ab8565b6000818152600660209081526040808320805460ff191690558051848152918201929092527fbf226311bb69e53731fdcbcc29e56e1103488e8988646a6870566d339e2ee7799101610700565b60005460ff16156109095760405162461bcd60e51b81526004016104599061195b565b6002546001600160a01b0316336001600160a01b0316146109b05760405162461bcd60e51b815260206004820152605560248201527f4552433230204272696467653a2043616e206e6f742070726f6365737320747260448201527f616e73666572732066726f6d20636f6e747261637473206f74686572207468616064820152741b881d1a1948189c9a5919d94818dbdb9d1c9858dd605a1b608482015260a401610459565b60008060006109bd6113ae565b600083815260066020526040902054929550909350915060ff16610a375760405162461bcd60e51b815260206004820152602b60248201527f455243203230204272696467653a20526f6f7420626c6f636b636861696e206e60448201526a1bdd08185c1c1c9bdd995960aa1b6064820152608401610459565b6001600160a01b038116610a995760405162461bcd60e51b815260206004820152602360248201527f455243203230204272696467653a2063616c6c657220636f6e7472616374206960448201526207320360ec1b6064820152608401610459565b6000828152600560205260409020546001600160a01b031680610b245760405162461bcd60e51b815260206004820152603e60248201527f4552433230204272696467653a204e6f2045524320323020427269646765207360448201527f7570706f7274656420666f7220736f7572636520626c6f636b636861696e00006064820152608401610459565b806001600160a01b0316826001600160a01b031614610b9a5760405162461bcd60e51b815260206004820152602c60248201527f4552433230204272696467653a20496e636f727265637420736f75726365204560448201526b52432032302042726964676560a01b6064820152608401610459565b610ba58787876113e6565b604080518481526001600160a01b038085166020830152808a16928201929092529087166060820152608081018690527f3008be2f38f2c92605e65a39c193c4b67868ea0dd742f5b9d6f228c9e258ece19060a0016105f5565b610c297f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a33610e8a565b610c455760405162461bcd60e51b815260040161045990611b3e565b61086361152f565b60005460ff1615610c705760405162461bcd60e51b81526004016104599061195b565b6002546001600160a01b03163314610cf05760405162461bcd60e51b815260206004820152603c60248201527f43616e206f6e6c792062652063616c6c6564206469726563746c792066726f6d60448201527f2043726f7373636861696e20436f6e74726f6c20436f6e7472616374000000006064820152608401610459565b6000848152600560205260409020546001600160a01b031680610d255760405162461bcd60e51b815260040161045990611985565b6001600160a01b0380851660009081526004602090815260408083208984529091529020541680610d685760405162461bcd60e51b8152600401610459906119cb565b610d73853285611587565b6002546040516001600160a01b03909116906392b2c3359088908590638278ef6d60e01b90610daa9087908b908b90602401611a28565b60408051601f198184030181529181526020820180516001600160e01b03166001600160e01b03199485161790525160e086901b9092168252610df1939291600401611a4c565b600060405180830381600087803b158015610e0b57600080fd5b505af1158015610e1f573d6000803e3d6000fd5b5050604080518981526001600160a01b038981166020830152858116828401523260608301528816608082015260a0810187905290517f752a2bfed77c22e59eeaf9351f545a08f5ee0110b8d6de0e7bcaf32a5dfa661b93509081900360c0019150a1505050505050565b60009182526001602090815260408084206001600160a01b0393909316845291905290205460ff1690565b610ecd600080516020611b9f83398151915233610e8a565b610ee95760405162461bcd60e51b815260040161045990611ab8565b60009182526005602052604090912080546001600160a01b0319166001600160a01b03909216919091179055565b610f2f600080516020611b9f83398151915233610e8a565b610f4b5760405162461bcd60e51b815260040161045990611ab8565b6001600160a01b03841660009081526003602052604090205415610fc05760405162461bcd60e51b815260206004820152602660248201527f4552433230204272696467653a20746f6b656e20616c726561647920636f6e666044820152651a59dd5c995960d21b6064820152608401610459565b610fca84826116a1565b610fd58484846111cd565b50505050565b60008281526001602081905260409091200154610ff790610723565b61080b5760405162461bcd60e51b815260206004820152603060248201527f416363657373436f6e74726f6c3a2073656e646572206d75737420626520616e60448201526f2061646d696e20746f207265766f6b6560801b6064820152608401610459565b611074600080516020611b9f83398151915233610e8a565b6110905760405162461bcd60e51b815260040161045990611ab8565b6001600160a01b0382166000908152600360205260409020546110c55760405162461bcd60e51b815260040161045990611afc565b61079782826116a1565b6001600160a01b0383166000908152600360205260409020546002141561116557604051630bcc3c3960e31b81526001600160a01b038581166004830152838116602483015230604483015260648201839052841690635e61e1c890608401600060405180830381600087803b15801561114857600080fd5b505af115801561115c573d6000803e3d6000fd5b50505050610fd5565b604051632a71adb760e11b81526001600160a01b038416906354e35b6e9061119590879086908690600401611a28565b600060405180830381600087803b1580156111af57600080fd5b505af11580156111c3573d6000803e3d6000fd5b5050505050505050565b6001600160a01b03838116600081815260046020908152604080832087845282529182902080546001600160a01b0319169486169485179055815192835282018590528101919091527f3887b7740ba2f669b578cfaf7b54c097711335413cf96f681d36dbf97b98a830906060015b60405180910390a1505050565b6112538282610e8a565b6107975760008281526001602081815260408084206001600160a01b0386168086529252808420805460ff19169093179092559051339285917f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d9190a45050565b6112be8282610e8a565b156107975760008281526001602090815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b60005460ff166113645760405162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b6044820152606401610459565b6000805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b60008080803680602060531982018437600051955060206034820360003760005194506014808203600c376000519350505050909192565b6001600160a01b038316600090815260036020526040902054600214156114c75760405163a9059cbb60e01b81526001600160a01b0383811660048301526024820183905284169063a9059cbb90604401602060405180830381600087803b15801561145157600080fd5b505af1158015611465573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114899190611b81565b61067a5760405162461bcd60e51b815260206004820152600f60248201526e1d1c985b9cd9995c8819985a5b1959608a1b6044820152606401610459565b6040516340c10f1960e01b81526001600160a01b038381166004830152602482018390528416906340c10f19906044015b600060405180830381600087803b15801561151257600080fd5b505af1158015611526573d6000803e3d6000fd5b50505050505050565b60005460ff16156115525760405162461bcd60e51b81526004016104599061195b565b6000805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586113913390565b6001600160a01b0383166000908152600360205260409020546002141561166c576040516323b872dd60e01b81526001600160a01b038416906323b872dd906115d890859030908690600401611a28565b602060405180830381600087803b1580156115f257600080fd5b505af1158015611606573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061162a9190611b81565b61067a5760405162461bcd60e51b81526020600482015260136024820152721d1c985b9cd9995c919c9bdb4819985a5b1959606a1b6044820152606401610459565b60405163079cc67960e41b81526001600160a01b038381166004830152602482018390528416906379cc6790906044016114f8565b6000816116af5760016116b2565b60025b6001600160a01b038416600081815260036020908152604091829020849055815192835282018390529192507f75592476a227f5631d3cd8cc24fec7d4c3aec6a178f64ec2b8b91693672f613a910161123c565b60006020828403121561171857600080fd5b81356001600160e01b03198116811461173057600080fd5b9392505050565b80356001600160a01b038116811461174e57600080fd5b919050565b600080600080600060a0868803121561176b57600080fd5b61177486611737565b94506020860135935061178960408701611737565b925061179760608701611737565b949793965091946080013592915050565b6000806000606084860312156117bd57600080fd5b6117c684611737565b9250602084013591506117db60408501611737565b90509250925092565b6000602082840312156117f657600080fd5b5035919050565b6000806040838503121561181057600080fd5b8235915061182060208401611737565b90509250929050565b60008060006060848603121561183e57600080fd5b61184784611737565b925061185560208501611737565b9150604084013590509250925092565b6000806000806080858703121561187b57600080fd5b8435935061188b60208601611737565b925061189960408601611737565b9396929550929360600135925050565b80151581146118b757600080fd5b50565b600080600080608085870312156118d057600080fd5b6118d985611737565b9350602085013592506118ee60408601611737565b915060608501356118fe816118a9565b939692955090935050565b6000806040838503121561191c57600080fd5b61192583611737565b91506020830135611935816118a9565b809150509250929050565b60006020828403121561195257600080fd5b61173082611737565b60208082526010908201526f14185d5cd8589b194e881c185d5cd95960821b604082015260600190565b60208082526026908201527f4552433230204272696467653a20426c6f636b636861696e206e6f74207375706040820152651c1bdc9d195960d21b606082015260800190565b6020808252603c908201527f4552433230204272696467653a20546f6b656e206e6f74207472616e7366657260408201527f61626c6520746f2072657175657374656420626c6f636b636861696e00000000606082015260800190565b6001600160a01b039384168152919092166020820152604081019190915260600190565b8381526000602060018060a01b0385168184015260606040840152835180606085015260005b81811015611a8e57858101830151858201608001528201611a72565b81811115611aa0576000608083870101525b50601f01601f19169290920160800195945050505050565b60208082526024908201527f4552433230204272696467653a204d7573742068617665204d415050494e4720604082015263726f6c6560e01b606082015260800190565b60208082526022908201527f4552433230204272696467653a20746f6b656e206e6f7420636f6e6669677572604082015261195960f21b606082015260800190565b60208082526023908201527f4552433230204272696467653a204d75737420686176652050415553455220726040820152626f6c6560e81b606082015260800190565b600060208284031215611b9357600080fd5b8151611730816118a956fe0121836bd496e565c22481bc40c30c41db1fecf07c7376491a377f8056cfccd5a264697066735822122025ecf20784392ca236e211d69a70c12aeed075994ac69502cba374ac6954ba8364736f6c63430008090033",
}
GpactERC20BridgeMetaData contains all meta data concerning the GpactERC20Bridge contract.
var HotelABI = HotelMetaData.ABI
HotelABI is the input ABI used to generate the binding from. Deprecated: Use HotelMetaData.ABI instead.
var HotelBin = HotelMetaData.Bin
HotelBin is the compiled bytecode used for deploying new contracts. Deprecated: Use HotelMetaData.Bin instead.
var HotelMetaData = &bind.MetaData{
ABI: "[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_erc20\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_cbc\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_blockchainId\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"_travelAgencyContract\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"spendingAccount\",\"type\":\"address\"}],\"name\":\"addApprovedTravelAgency\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_roomRate\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_numberOfRooms\",\"type\":\"uint256\"}],\"name\":\"addRooms\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_date\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_uniqueId\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_maxAmountToPay\",\"type\":\"uint256\"}],\"name\":\"bookRoom\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bool\",\"name\":\"_commit\",\"type\":\"bool\"},{\"internalType\":\"bytes32\",\"name\":\"_crossRootTxId\",\"type\":\"bytes32\"}],\"name\":\"finalise\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_uniqueId\",\"type\":\"uint256\"}],\"name\":\"getBookingInformation\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"amountPaid\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"roomId\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"date\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_date\",\"type\":\"uint256\"}],\"name\":\"getBookings\",\"outputs\":[{\"internalType\":\"address[]\",\"name\":\"bookings\",\"type\":\"address[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_date\",\"type\":\"uint256\"}],\"name\":\"getNumberRoomsAvailable\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"numRoomsAvailable\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_key\",\"type\":\"uint256\"}],\"name\":\"isLocked\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"}]",
Bin: "0x608060405234801561001057600080fd5b50604051610e7f380380610e7f83398101604081905261002f91610089565b600080546001600160a01b039283166001600160a01b03199182161790915560078054821633179055600880549390921692169190911790556100bc565b80516001600160a01b038116811461008457600080fd5b919050565b6000806040838503121561009c57600080fd5b6100a58361006d565b91506100b36020840161006d565b90509250929050565b610db4806100cb6000396000f3fe608060405234801561001057600080fd5b50600436106100885760003560e01c806399eb5d4c1161005b57806399eb5d4c146100fb578063d131aa7e1461010e578063f40109951461012f578063f6aacfb11461014f57600080fd5b80631358646e1461008d578063184ad3c6146100a25780631b474cf7146100b55780637ebf2c60146100e8575b600080fd5b6100a061009b366004610b6f565b610181565b005b6100a06100b0366004610bb7565b6104a0565b6100c86100c3366004610bf3565b6104fe565b604080519384526020840192909252908201526060015b60405180910390f35b6100a06100f6366004610c0c565b610544565b6100a0610109366004610c3c565b61059d565b61012161011c366004610bf3565b610651565b6040519081526020016100df565b61014261013d366004610bf3565b6106ac565b6040516100df9190610c68565b61017161015d366004610bf3565b600090815260026020526040902054151590565b60405190151581526020016100df565b6000546001600160a01b031633146101e05760405162461bcd60e51b815260206004820152601760248201527f4d7573742062652063726f7373636861696e2063616c6c00000000000000000060448201526064015b60405180910390fd5b60006101ed6002846107a5565b905080156102535760405162461bcd60e51b815260206004820152602d60248201527f486f74656c3a204578697374696e6720626f6f6b696e6720666f7220626f6f6b60448201526c696e67207265666572656e636560981b60648201526084016101d7565b60008061025e6107f0565b60008281526006602052604090205491945092506001600160a01b0380841691161490506102de5760405162461bcd60e51b815260206004820152602760248201527f53656e646572206973206e6f7420616e20617070726f7665642074726176656c604482015266206167656e637960c81b60648201526084016101d7565b856103225760405162461bcd60e51b8152602060048201526014602482015273446174652063616e206e6f74206265207a65726f60601b60448201526064016101d7565b60005b60045481101561046257600061033c6000836107a5565b905061034a6001838a610828565b1580156103575750858111155b80156103775750600061036c6001848b61087c565b6001600160a01b0316145b1561044f576103896001838a326108b9565b610395600288846108fb565b6103a16003888a6108fb565b6008546001600160a01b03848116600090815260056020526040908190205460075491516323b872dd60e01b815290831660048201529082166024820152604481018490529116906323b872dd90606401602060405180830381600087803b15801561040c57600080fd5b505af1158015610420573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104449190610cb5565b505050505050505050565b508061045a81610cef565b915050610325565b5060405162461bcd60e51b81526020600482015260126024820152714e6f20726f6f6d7320617661696c61626c6560701b60448201526064016101d7565b6007546001600160a01b031633146104b757600080fd5b600092835260066020908152604080852080546001600160a01b03199081166001600160a01b03968716908117909255908652600590925290932080549093169116179055565b600080600061050e6003856107a5565b90508061052257600092506000915061053d565b61052d6002856107a5565b915061053a6000836107a5565b92505b9193909250565b6007546001600160a01b0316331461055b57600080fd5b60005b81811015610598576004805461058691600091908261057c83610cef565b91905055856108fb565b8061059081610cef565b91505061055e565b505050565b60005b6000828152600360205260409020548110156106355760008281526003602052604081208054839081106105d6576105d6610d0a565b9060005260206000200154905083156106145760008181526002602052604090205461060490600190610d20565b6000828152600160205260409020555b6000908152600260205260408120558061062d81610cef565b9150506105a0565b50600081815260036020526040812061064d91610b35565b5050565b6000805b6004548110156106a65761066b60018285610828565b158015610681575061067f6001828561087c565b155b15610694578161069081610cef565b9250505b8061069e81610cef565b915050610655565b50919050565b606060006106b983610651565b9050806004546106c99190610d20565b67ffffffffffffffff8111156106e1576106e1610d37565b60405190808252806020026020018201604052801561070a578160200160208202803683370190505b5091506000805b60045481101561079d5761072760018287610828565b61078b5760006107396001838861087c565b90506001600160a01b038116156107895780858461075681610cef565b95508151811061076857610768610d0a565b60200260200101906001600160a01b031690816001600160a01b0316815250505b505b8061079581610cef565b915050610711565b505050919050565b60008083836040516020016107c4929190918252602082015260400190565b6040516020818303038152906040528051906020012090506107e88160001c610933565b949350505050565b60008080803680602060531982018437600051955060206034820360003760005194506014808203600c376000519350505050909192565b604080516020810185905290810183905260608101829052600090819060800160408051601f1981840301815291815281516020928301206000818152600290935291205490915015155b95945050505050565b6040805160208082018690528183018590526060808301859052835180840390910181526080909201909252805191012060009061087381610933565b604080516020808201879052818301869052606080830186905283518084039091018152608090920190925280519101206108f481836109a2565b5050505050565b6040805160208082018690528183018590528251808303840181526060909201909252805191012061092d81836109a2565b50505050565b6000818152600260205260408120541561098f5760405162461bcd60e51b815260206004820152601f60248201527f52656164207768696c6520636f6e7472616374206974656d206c6f636b65640060448201526064016101d7565b5060009081526001602052604090205490565b600082815260026020526040902054156109f55760405162461bcd60e51b815260206004820152601460248201527310dbdb9d1c9858dd081a5d195b481b1bd8dad95960621b60448201526064016101d7565b60008060009054906101000a90046001600160a01b03166001600160a01b0316637bf37a096040518163ffffffff1660e01b815260040160206040518083038186803b158015610a4457600080fd5b505afa158015610a58573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a7c9190610d4d565b905080610a96575060009182526001602052604090912055565b600054604051631ce7083f60e11b81523060048201526001600160a01b03909116906339ce107e90602401600060405180830381600087803b158015610adb57600080fd5b505af1158015610aef573d6000803e3d6000fd5b505050600082815260036020908152604082208054600181810183559184529190922001859055610b21915083610d66565b600084815260026020526040902055505050565b5080546000825590600052602060002090810190610b539190610b56565b50565b5b80821115610b6b5760008155600101610b57565b5090565b600080600060608486031215610b8457600080fd5b505081359360208301359350604090920135919050565b80356001600160a01b0381168114610bb257600080fd5b919050565b600080600060608486031215610bcc57600080fd5b83359250610bdc60208501610b9b565b9150610bea60408501610b9b565b90509250925092565b600060208284031215610c0557600080fd5b5035919050565b60008060408385031215610c1f57600080fd5b50508035926020909101359150565b8015158114610b5357600080fd5b60008060408385031215610c4f57600080fd5b8235610c5a81610c2e565b946020939093013593505050565b6020808252825182820181905260009190848201906040850190845b81811015610ca95783516001600160a01b031683529284019291840191600101610c84565b50909695505050505050565b600060208284031215610cc757600080fd5b8151610cd281610c2e565b9392505050565b634e487b7160e01b600052601160045260246000fd5b6000600019821415610d0357610d03610cd9565b5060010190565b634e487b7160e01b600052603260045260246000fd5b600082821015610d3257610d32610cd9565b500390565b634e487b7160e01b600052604160045260246000fd5b600060208284031215610d5f57600080fd5b5051919050565b60008219821115610d7957610d79610cd9565b50019056fea2646970667358221220a34ff56c6236a27b6428dbdd7d7499ad2c4fcf3f7331ff115d1c67f19248f3c664736f6c63430008090033",
}
HotelMetaData contains all meta data concerning the Hotel contract.
var LockableERC20FixedSupplyABI = LockableERC20FixedSupplyMetaData.ABI
LockableERC20FixedSupplyABI is the input ABI used to generate the binding from. Deprecated: Use LockableERC20FixedSupplyMetaData.ABI instead.
var LockableERC20FixedSupplyBin = LockableERC20FixedSupplyMetaData.Bin
LockableERC20FixedSupplyBin is the compiled bytecode used for deploying new contracts. Deprecated: Use LockableERC20FixedSupplyMetaData.Bin instead.
var LockableERC20FixedSupplyMetaData = &bind.MetaData{
ABI: "[{\"inputs\":[{\"internalType\":\"string\",\"name\":\"_name\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"_symbol\",\"type\":\"string\"},{\"internalType\":\"address\",\"name\":\"_cbc\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_initialSupply\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"_owner\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Approval\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"ApprovalDecrease\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"ApprovalIncrease\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"previousOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferred\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Transfer\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"bridge\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bool\",\"name\":\"added\",\"type\":\"bool\"}],\"name\":\"TrustedBridge\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"accountPallelizationFactor\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"bridge\",\"type\":\"address\"}],\"name\":\"addTrustedBridge\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"}],\"name\":\"allowance\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"}],\"name\":\"allowanceMax\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"}],\"name\":\"allowanceMin\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"}],\"name\":\"allowanceProvisional\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"balanceOfMin\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"balanceOfProvisional\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"burn\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"burnFrom\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"burnFromAccount\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"burner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"burnFromInternal\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"decimals\",\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"subtractedValue\",\"type\":\"uint256\"}],\"name\":\"decreaseAllowance\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"erc20PallelizationFactor\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bool\",\"name\":\"_commit\",\"type\":\"bool\"},{\"internalType\":\"bytes32\",\"name\":\"_crossRootTxId\",\"type\":\"bytes32\"}],\"name\":\"finalise\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"increaseAccountParallelizartionFactor\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"addedValue\",\"type\":\"uint256\"}],\"name\":\"increaseAllowance\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"increaseERC20ParallelizartionFactor\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_key\",\"type\":\"uint256\"}],\"name\":\"isLocked\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"name\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"bridge\",\"type\":\"address\"}],\"name\":\"removeTrustedBridge\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"symbol\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"totalSupply\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"totalSupplyMax\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"totalSupplyMin\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"totalSupplyProvisional\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"transfer\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"transferFromAccount\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
Bin: "0x60806040523480156200001157600080fd5b50604051620031a1380380620031a18339810160408190526200003491620008f1565b600080546001600160a01b031916339081178255604051879287928792839282917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a350600180546001600160a01b0319166001600160a01b03929092169190911790558251620000b090600790602086019062000761565b508151620000c690600890602085019062000761565b5050600580555050600a600655620000df8183620000ea565b505050505062000a30565b6001600160a01b038216620001465760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064015b60405180910390fd5b6200015181620001a2565b6200015d828262000270565b6040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b6000805b6006548110156200020d57620001be600482620003b0565b620001f857600191506000620001d660048362000403565b9050620001f1600483620001eb8785620009a0565b62000448565b506200020d565b806200020481620009bb565b915050620001a6565b50806200026c5760405162461bcd60e51b815260206004820152602660248201527f416c6c20696e63726561736520746f74616c20737570706c7920736c6f747320604482015265696e2075736560d01b60648201526084016200013d565b5050565b6001600160a01b038216620002d95760405162461bcd60e51b815260206004820152602860248201527f45524332303a20726563697069656e74206163636f756e74206973207a65726f604482015267206164647265737360c01b60648201526084016200013d565b6001600160a01b0382166000805b600554811015620003505762000300600084836200047c565b6200033b5760019150600062000318818584620004d0565b905062000334600085846200032e8986620009a0565b6200050f565b5062000350565b806200034781620009bb565b915050620002e7565b5080620003aa5760405162461bcd60e51b815260206004820152602160248201527f416c6c20696e6372656173652062616c616e636520736c6f747320696e2075736044820152606560f81b60648201526084016200013d565b50505050565b6000808383604051602001620003d0929190918252602082015260400190565b60408051808303601f1901815291815281516020928301206000818152600390935291205490915015155b949350505050565b600080838360405160200162000423929190918252602082015260400190565b60408051601f1981840301815291905280516020909101209050620003fb8162000553565b60408051602080820186905281830185905282518083038401815260609092019092528051910120620003aa8183620005c4565b604080516020810185905290810183905260608101829052600090819060800160408051808303601f1901815291815281516020928301206000818152600390935291205490915015155b95945050505050565b60408051602080820186905281830185905260608083018590528351808403909101815260809092019092528051910120600090620004c78162000553565b604080516020808201879052818301869052606080830186905283518084039091018152608090920190925280519101206200054c8183620005c4565b5050505050565b60008181526003602052604081205415620005b15760405162461bcd60e51b815260206004820152601f60248201527f52656164207768696c6520636f6e7472616374206974656d206c6f636b65640060448201526064016200013d565b5060009081526002602052604090205490565b60008281526003602052604090205415620006225760405162461bcd60e51b815260206004820152601460248201527f436f6e7472616374206974656d206c6f636b656400000000000000000000000060448201526064016200013d565b60015460408051637bf37a0960e01b815290516000926001600160a01b031691637bf37a09916004808301926020929190829003018186803b1580156200066857600080fd5b505afa1580156200067d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620006a39190620009d9565b905080620006be575060009182526002602052604090912055565b600154604051631ce7083f60e11b81523060048201526001600160a01b03909116906339ce107e90602401600060405180830381600087803b1580156200070457600080fd5b505af115801562000719573d6000803e3d6000fd5b5050506000828152600460209081526040822080546001818101835591845291909220018590556200074d915083620009a0565b600084815260036020526040902055505050565b8280546200076f90620009f3565b90600052602060002090601f016020900481019282620007935760008555620007de565b82601f10620007ae57805160ff1916838001178555620007de565b82800160010185558215620007de579182015b82811115620007de578251825591602001919060010190620007c1565b50620007ec929150620007f0565b5090565b5b80821115620007ec5760008155600101620007f1565b634e487b7160e01b600052604160045260246000fd5b600082601f8301126200082f57600080fd5b81516001600160401b03808211156200084c576200084c62000807565b604051601f8301601f19908116603f0116810190828211818310171562000877576200087762000807565b816040528381526020925086838588010111156200089457600080fd5b600091505b83821015620008b8578582018301518183018401529082019062000899565b83821115620008ca5760008385830101525b9695505050505050565b80516001600160a01b0381168114620008ec57600080fd5b919050565b600080600080600060a086880312156200090a57600080fd5b85516001600160401b03808211156200092257600080fd5b6200093089838a016200081d565b965060208801519150808211156200094757600080fd5b5062000956888289016200081d565b9450506200096760408701620008d4565b9250606086015191506200097e60808701620008d4565b90509295509295909350565b634e487b7160e01b600052601160045260246000fd5b60008219821115620009b657620009b66200098a565b500190565b6000600019821415620009d257620009d26200098a565b5060010190565b600060208284031215620009ec57600080fd5b5051919050565b600181811c9082168062000a0857607f821691505b6020821081141562000a2a57634e487b7160e01b600052602260045260246000fd5b50919050565b6127618062000a406000396000f3fe608060405234801561001057600080fd5b50600436106102115760003560e01c8063715018a611610125578063a457c2d7116100ad578063ec87cbe61161007c578063ec87cbe614610434578063f2fde38b14610447578063f50249fc1461045a578063f6aacfb114610462578063fcdb37101461048457600080fd5b8063a457c2d7146103f3578063a9059cbb14610406578063bd1b1afd14610419578063dd62ed3e1461042157600080fd5b80638611374d116100f45780638611374d146103975780638da5cb5b146103aa57806395d89b41146103c557806397879e0f146103cd57806399eb5d4c146103e057600080fd5b8063715018a6146103605780637785eebd1461036857806379cc6790146103715780637b0919b21461038457600080fd5b80633aca7144116101a857806354e35b6e1161017757806354e35b6e1461030c57806359ad3fe01461031f5780635e61e1c814610327578063691448c21461033a57806370a082311461034d57600080fd5b80633aca7144146102ca57806340490cc2146102d3578063409b223e146102e657806342966c68146102f957600080fd5b806327fcfd7d116101e457806327fcfd7d14610280578063313ce5671461029557806335c01fc3146102a457806339509351146102b757600080fd5b806306fdde0314610216578063095ea7b31461023457806318160ddd1461025757806323b872dd1461026d575b600080fd5b61021e610497565b60405161022b91906123d3565b60405180910390f35b610247610242366004612444565b610529565b604051901515815260200161022b565b61025f61060b565b60405190815260200161022b565b61024761027b36600461246e565b610680565b61029361028e36600461246e565b61069a565b005b6040516012815260200161022b565b6102936102b23660046124aa565b610728565b6102476102c5366004612444565b61076c565b61025f60055481565b61025f6102e13660046124c3565b610779565b61025f6102f43660046124e5565b6107fc565b6102936103073660046124aa565b6108d4565b61029361031a36600461246e565b6108e1565b61025f61094c565b610293610335366004612518565b6109bb565b61025f6103483660046124e5565b610a22565b61025f61035b3660046124c3565b610af0565b610293610b6b565b61025f60065481565b61029361037f366004612444565b610bdf565b6102936103923660046124aa565b610bee565b6102936103a53660046124c3565b610c2a565b6000546040516001600160a01b03909116815260200161022b565b61021e610cb2565b61025f6103db3660046124c3565b610cc1565b6102936103ee366004612571565b610d3c565b610247610401366004612444565b610dec565b610247610414366004612444565b610e6e565b61025f610e7b565b61025f61042f3660046124e5565b610eea565b6102936104423660046124c3565b610fb8565b6102936104553660046124c3565b61103d565b61025f611127565b6102476104703660046124aa565b600090815260036020526040902054151590565b61025f6104923660046124e5565b611196565b6060600780546104a69061258f565b80601f01602080910402602001604051908101604052809291908181526020018280546104d29061258f565b801561051f5780601f106104f45761010080835404028352916020019161051f565b820191906000526020600020905b81548152906001019060200180831161050257829003601f168201915b5050505050905090565b60015460408051635a61dbab60e11b815290516000926001600160a01b03169163b4c3b756916004808301926020929190829003018186803b15801561056e57600080fd5b505afa158015610582573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105a691906125c4565b6105f75760405162461bcd60e51b815260206004820152601e60248201527f4d7573742062652073696e676c6520626c6f636b636861696e2063616c6c000060448201526064015b60405180910390fd5b610602338484611264565b50600192915050565b600080805b600654811015610643576106256004826114ad565b61062f90836125f7565b91508061063b8161260f565b915050610610565b5060005b60065481101561067a5761065c6005826114ad565b610666908361262a565b9150806106728161260f565b915050610647565b50919050565b60003361068f818686866114fd565b506001949350505050565b60006106a68385610eea565b9050818110156107045760405162461bcd60e51b8152602060048201526024808201527f45524332303a206275726e20616d6f756e74206578636565647320616c6c6f77604482015263616e636560e01b60648201526084016105ee565b6107188385610713858561262a565b611264565b6107228383611589565b50505050565b6000546001600160a01b031633146107525760405162461bcd60e51b81526004016105ee90612641565b806006600082825461076491906125f7565b909155505050565b6000610602338484611641565b60006001600160a01b03821681805b6005548110156107bc5761079e60008483611798565b6107a890836125f7565b9150806107b48161260f565b915050610788565b5060005b6005548110156107f4576107d6600184836117ea565b6107e0908361262a565b9150806107ec8161260f565b9150506107c0565b509392505050565b60006001600160a01b0383166108245760405162461bcd60e51b81526004016105ee90612676565b6001600160a01b03821661084a5760405162461bcd60e51b81526004016105ee906126ba565b6001600160a01b038084169083166000805b600554811015610891576108736002858584611827565b61087d90836125f7565b9150806108898161260f565b91505061085c565b5060005b6005548110156108ca576108ac6003858584611875565b6108b6908361262a565b9150806108c28161260f565b915050610895565b5095945050505050565b6108de3382611589565b50565b3360009081526009602052604090205460ff1661093c5760405162461bcd60e51b815260206004820152601960248201527845524332303a206e6f7420747275737465642062726964676560381b60448201526064016105ee565b61094783838361069a565b505050565b600080805b600654811015610984576109666004826114ad565b61097090836125f7565b91508061097c8161260f565b915050610951565b5060005b60065481101561067a5761099d6005826118c9565b6109a7908361262a565b9150806109b38161260f565b915050610988565b3360009081526009602052604090205460ff16610a165760405162461bcd60e51b815260206004820152601960248201527845524332303a206e6f7420747275737465642062726964676560381b60448201526064016105ee565b610722848484846114fd565b60006001600160a01b038316610a4a5760405162461bcd60e51b81526004016105ee90612676565b6001600160a01b038216610a705760405162461bcd60e51b81526004016105ee906126ba565b6001600160a01b038084169083166000805b600554811015610ab757610a996002858584611875565b610aa390836125f7565b915080610aaf8161260f565b915050610a82565b5060005b6005548110156108ca57610ad26003858584611827565b610adc908361262a565b915080610ae88161260f565b915050610abb565b60006001600160a01b03821681805b600554811015610b3357610b1560008483611798565b610b1f90836125f7565b915080610b2b8161260f565b915050610aff565b5060005b6005548110156107f457610b4d60018483611798565b610b57908361262a565b915080610b638161260f565b915050610b37565b6000546001600160a01b03163314610b955760405162461bcd60e51b81526004016105ee90612641565b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b610bea33838361069a565b5050565b6000546001600160a01b03163314610c185760405162461bcd60e51b81526004016105ee90612641565b806005600082825461076491906125f7565b6000546001600160a01b03163314610c545760405162461bcd60e51b81526004016105ee90612641565b6001600160a01b0381166000818152600960209081526040808320805460ff191690558051938452908301919091527f10d70f087901adb6fc0aabc376e83a9c7737d75494457c1b7235015c5586111a91015b60405180910390a150565b6060600880546104a69061258f565b60006001600160a01b03821681805b600554811015610d0457610ce6600084836117ea565b610cf090836125f7565b915080610cfc8161260f565b915050610cd0565b5060005b6005548110156107f457610d1e600184836117ea565b610d28908361262a565b915080610d348161260f565b915050610d08565b60005b600082815260046020526040902054811015610dd4576000828152600460205260408120805483908110610d7557610d756126fc565b906000526020600020015490508315610db357600081815260036020526040902054610da39060019061262a565b6000828152600260205260409020555b60009081526003602052604081205580610dcc8161260f565b915050610d3f565b506000818152600460205260408120610bea916123a1565b600080610df93385610a22565b905082811015610e595760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084016105ee565b610e6433858561190c565b5060019392505050565b6000610602338484611a63565b600080805b600654811015610eb357610e956004826118c9565b610e9f90836125f7565b915080610eab8161260f565b915050610e80565b5060005b60065481101561067a57610ecc6005826118c9565b610ed6908361262a565b915080610ee28161260f565b915050610eb7565b60006001600160a01b038316610f125760405162461bcd60e51b81526004016105ee90612676565b6001600160a01b038216610f385760405162461bcd60e51b81526004016105ee906126ba565b6001600160a01b038084169083166000805b600554811015610f7f57610f616002858584611875565b610f6b90836125f7565b915080610f778161260f565b915050610f4a565b5060005b6005548110156108ca57610f9a6003858584611875565b610fa4908361262a565b915080610fb08161260f565b915050610f83565b6000546001600160a01b03163314610fe25760405162461bcd60e51b81526004016105ee90612641565b6001600160a01b038116600081815260096020908152604091829020805460ff191660019081179091558251938452908301527f10d70f087901adb6fc0aabc376e83a9c7737d75494457c1b7235015c5586111a9101610ca7565b6000546001600160a01b031633146110675760405162461bcd60e51b81526004016105ee90612641565b6001600160a01b0381166110cc5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016105ee565b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b600080805b60065481101561115f576111416004826118c9565b61114b90836125f7565b9150806111578161260f565b91505061112c565b5060005b60065481101561067a576111786005826114ad565b611182908361262a565b91508061118e8161260f565b915050611163565b60006001600160a01b0383166111be5760405162461bcd60e51b81526004016105ee90612676565b6001600160a01b0382166111e45760405162461bcd60e51b81526004016105ee906126ba565b6001600160a01b038084169083166000805b60055481101561122b5761120d6002858584611827565b61121790836125f7565b9150806112238161260f565b9150506111f6565b5060005b6005548110156108ca576112466003858584611827565b611250908361262a565b91508061125c8161260f565b91505061122f565b6001600160a01b03831661128a5760405162461bcd60e51b81526004016105ee90612676565b6001600160a01b0382166112b05760405162461bcd60e51b81526004016105ee906126ba565b6001600160a01b038084169083166000805b600554811015611351576112d96002858584611b8f565b156113265760405162461bcd60e51b815260206004820152601e60248201527f496e63726561736520616c6c6f77616e636520736c6f74206c6f636b6564000060448201526064016105ee565b6113336002858584611be5565b61133d90836125f7565b9150806113498161260f565b9150506112c2565b5060005b6005548110156113e45761136c6003858584611b8f565b156113b95760405162461bcd60e51b815260206004820152601e60248201527f446563726561736520616c6c6f77616e636520736c6f74206c6f636b6564000060448201526064016105ee565b6113c66003858584611be5565b6113d0908361262a565b9150806113dc8161260f565b915050611355565b50838110156114285760006113fd600285856000611be5565b9050611422600285856000866114138b886125f7565b61141d919061262a565b611c29565b50611458565b83811115611458576000611440600385856000611be5565b90506114566003858560008961141388886125f7565b505b846001600160a01b0316866001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9258660405161149d91815260200190565b60405180910390a3505050505050565b60008083836040516020016114cc929190918252602082015260400190565b60408051601f198184030181529181528151602092830120600081815260029093529120549091505b949350505050565b611508838383611a63565b60006115148486610a22565b9050818110156115775760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616044820152676c6c6f77616e636560c01b60648201526084016105ee565b61158284868461190c565b5050505050565b6001600160a01b0382166115e95760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b60648201526084016105ee565b6115f281611c73565b6115fc8282611d2d565b6040518181526000906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b6001600160a01b0383166116675760405162461bcd60e51b81526004016105ee90612676565b6001600160a01b03821661168d5760405162461bcd60e51b81526004016105ee906126ba565b6001600160a01b038084169083166000805b6005548110156116f9576116b66002858584611b8f565b6116e7576001915060006116cd6002868685611be5565b90506116e1600286868561141d8b876125f7565b506116f9565b806116f18161260f565b91505061169f565b50806117535760405162461bcd60e51b815260206004820152602360248201527f416c6c20696e63726561736520616c6c6f77616e636520736c6f747320696e2060448201526275736560e81b60648201526084016105ee565b846001600160a01b0316866001600160a01b03167fae0962182a7df59bce5a3518382b8a4a909b354b6ba0f4114215654490399b4b8660405161149d91815260200190565b604080516020810185905290810183905260608101829052600090819060800160408051601f198184030181529181528151602092830120600081815260029093529120549091505b95945050505050565b604080516020808201869052818301859052606080830185905283518084039091018152608090920190925280519101206000906117e181611ec6565b6040805160208082018790528183018690526060820185905260808083018590528351808403909101815260a0909201909252805191012060009061186b81611ec6565b9695505050505050565b60408051602081018690529081018490526060810183905260808101829052600090819060a00160408051601f1981840301815291815281516020928301206000818152600290935291205490915061186b565b60008083836040516020016118e8929190918252602082015260400190565b6040516020818303038152906040528051906020012090506114f58160001c611ec6565b6001600160a01b0383166119325760405162461bcd60e51b81526004016105ee90612676565b6001600160a01b0382166119585760405162461bcd60e51b81526004016105ee906126ba565b6001600160a01b038084169083166000805b6005548110156119c4576119816003858584611b8f565b6119b2576001915060006119986003868685611be5565b90506119ac600386868561141d8b876125f7565b506119c4565b806119bc8161260f565b91505061196a565b5080611a1e5760405162461bcd60e51b815260206004820152602360248201527f416c6c20646563726561736520616c6c6f77616e636520736c6f747320696e2060448201526275736560e81b60648201526084016105ee565b846001600160a01b0316866001600160a01b03167fca00ac413b8c2013d4efc4a5ea887318bf432aa5d2a4c8ec87ad5660c28ef5d88660405161149d91815260200190565b6001600160a01b038316611ac75760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016105ee565b6001600160a01b038216611b295760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016105ee565b611b338382611d2d565b611b3d8282611f0e565b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051611b8291815260200190565b60405180910390a3505050565b60408051602081018690529081018490526060810183905260808101829052600090819060a00160408051601f19818403018152918152815160209283012060008181526003909352912054909150151561186b565b6040805160208082018790528183018690526060820185905260808083018590528351808403909101815260a0909201909252805191012060009061186b81612032565b6040805160208082018890528183018790526060820186905260808083018690528351808403909101815260a09092019092528051910120611c6b818361208e565b505050505050565b6000805b600654811015611cd057611c8c600582612217565b611cbe57600191506000611ca1600583612265565b9050611cb8600583611cb387856125f7565b6122a8565b50611cd0565b80611cc88161260f565b915050611c77565b5080610bea5760405162461bcd60e51b815260206004820152602660248201527f416c6c20646563726561736520746f74616c20737570706c7920736c6f747320604482015265696e2075736560d01b60648201526084016105ee565b6001600160a01b038216611d8d5760405162461bcd60e51b815260206004820152602160248201527f45524332303a2046726f6d206163636f756e743a207a65726f206164647265736044820152607360f81b60648201526084016105ee565b6000611d9883610779565b905081811015611e045760405162461bcd60e51b815260206004820152603160248201527f45524332303a20616d6f756e742065786365656473206d696e2062616c616e6360448201527019481bd988199c9bdb481858d8dbdd5b9d607a1b60648201526084016105ee565b6001600160a01b0383166000805b600554811015611e6e57611e28600184836122da565b611e5c57600191506000611e3e60018584612329565b9050611e5660018584611e518a866125f7565b612366565b50611e6e565b80611e668161260f565b915050611e12565b50806115825760405162461bcd60e51b815260206004820152602160248201527f416c6c2064656372656173652062616c616e636520736c6f747320696e2075736044820152606560f81b60648201526084016105ee565b60008181526003602052604081205415611efb57600082815260036020526040902054611ef59060019061262a565b92915050565b5060009081526002602052604090205490565b6001600160a01b038216611f755760405162461bcd60e51b815260206004820152602860248201527f45524332303a20726563697069656e74206163636f756e74206973207a65726f604482015267206164647265737360c01b60648201526084016105ee565b6001600160a01b0382166000805b600554811015611fda57611f99600084836122da565b611fc857600191506000611faf60008584612329565b9050611fc260008584611e5189866125f7565b50611fda565b80611fd28161260f565b915050611f83565b50806107225760405162461bcd60e51b815260206004820152602160248201527f416c6c20696e6372656173652062616c616e636520736c6f747320696e2075736044820152606560f81b60648201526084016105ee565b60008181526003602052604081205415611efb5760405162461bcd60e51b815260206004820152601f60248201527f52656164207768696c6520636f6e7472616374206974656d206c6f636b65640060448201526064016105ee565b600082815260036020526040902054156120e15760405162461bcd60e51b815260206004820152601460248201527310dbdb9d1c9858dd081a5d195b481b1bd8dad95960621b60448201526064016105ee565b60015460408051637bf37a0960e01b815290516000926001600160a01b031691637bf37a09916004808301926020929190829003018186803b15801561212657600080fd5b505afa15801561213a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061215e9190612712565b905080612178575060009182526002602052604090912055565b600154604051631ce7083f60e11b81523060048201526001600160a01b03909116906339ce107e90602401600060405180830381600087803b1580156121bd57600080fd5b505af11580156121d1573d6000803e3d6000fd5b5050506000828152600460209081526040822080546001818101835591845291909220018590556122039150836125f7565b600084815260036020526040902055505050565b6000808383604051602001612236929190918252602082015260400190565b60408051601f1981840301815291815281516020928301206000818152600390935291205490915015156114f5565b6000808383604051602001612284929190918252602082015260400190565b6040516020818303038152906040528051906020012090506114f58160001c612032565b60408051602080820186905281830185905282518083038401815260609092019092528051910120610722818361208e565b604080516020810185905290810183905260608101829052600090819060800160408051601f1981840301815291815281516020928301206000818152600390935291205490915015156117e1565b604080516020808201869052818301859052606080830185905283518084039091018152608090920190925280519101206000906117e181612032565b60408051602080820187905281830186905260608083018690528351808403909101815260809092019092528051910120611582818361208e565b50805460008255906000526020600020908101906108de91905b808211156123cf57600081556001016123bb565b5090565b600060208083528351808285015260005b81811015612400578581018301518582016040015282016123e4565b81811115612412576000604083870101525b50601f01601f1916929092016040019392505050565b80356001600160a01b038116811461243f57600080fd5b919050565b6000806040838503121561245757600080fd5b61246083612428565b946020939093013593505050565b60008060006060848603121561248357600080fd5b61248c84612428565b925061249a60208501612428565b9150604084013590509250925092565b6000602082840312156124bc57600080fd5b5035919050565b6000602082840312156124d557600080fd5b6124de82612428565b9392505050565b600080604083850312156124f857600080fd5b61250183612428565b915061250f60208401612428565b90509250929050565b6000806000806080858703121561252e57600080fd5b61253785612428565b935061254560208601612428565b925061255360408601612428565b9396929550929360600135925050565b80151581146108de57600080fd5b6000806040838503121561258457600080fd5b823561246081612563565b600181811c908216806125a357607f821691505b6020821081141561067a57634e487b7160e01b600052602260045260246000fd5b6000602082840312156125d657600080fd5b81516124de81612563565b634e487b7160e01b600052601160045260246000fd5b6000821982111561260a5761260a6125e1565b500190565b6000600019821415612623576126236125e1565b5060010190565b60008282101561263c5761263c6125e1565b500390565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526024908201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646040820152637265737360e01b606082015260800190565b60208082526022908201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604082015261737360f01b606082015260800190565b634e487b7160e01b600052603260045260246000fd5b60006020828403121561272457600080fd5b505191905056fea26469706673582212203471e12fc6332f2d484b7fc5da4587f14e3dbc4ed3cb03850a12ec3d80997fae64736f6c63430008090033",
}
LockableERC20FixedSupplyMetaData contains all meta data concerning the LockableERC20FixedSupply contract.
var SfcERC20BridgeABI = SfcERC20BridgeMetaData.ABI
SfcERC20BridgeABI is the input ABI used to generate the binding from. Deprecated: Use SfcERC20BridgeMetaData.ABI instead.
var SfcERC20BridgeBin = SfcERC20BridgeMetaData.Bin
SfcERC20BridgeBin is the compiled bytecode used for deploying new contracts. Deprecated: Use SfcERC20BridgeMetaData.Bin instead.
var SfcERC20BridgeMetaData = &bind.MetaData{
ABI: "[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_sfcCbcContract\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"_erc20Contract\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"_recipient\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"}],\"name\":\"AdminTransfer\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"Paused\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"_srcBcId\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"_srcTokenContract\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"_destTokenContract\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"_recipient\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"}],\"name\":\"ReceivedFrom\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"previousAdminRole\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"newAdminRole\",\"type\":\"bytes32\"}],\"name\":\"RoleAdminChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"}],\"name\":\"RoleGranted\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"}],\"name\":\"RoleRevoked\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"_thisBcTokenContract\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"_otherBcId\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"_othercTokenContract\",\"type\":\"address\"}],\"name\":\"TokenContractAddressMappingChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"_thisBcTokenContract\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"_config\",\"type\":\"uint256\"}],\"name\":\"TokenContractConfig\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"_destBcId\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"_srcTokenContract\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"_destTokenContract\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"_sender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"_recipient\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"}],\"name\":\"TransferTo\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"Unpaused\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"ADMINTRANSFER_ROLE\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"DEFAULT_ADMIN_ROLE\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"MAPPING_ROLE\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"PAUSER_ROLE\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_thisBcTokenContract\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_otherBcId\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"_otherTokenContract\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"_thisBcMassC\",\"type\":\"bool\"}],\"name\":\"addContractFirstMapping\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_erc20Contract\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_recipient\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"}],\"name\":\"adminTransfer\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_otherBcId\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"_otherErc20Bridge\",\"type\":\"address\"}],\"name\":\"changeBlockchainMapping\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_thisBcTokenContract\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_otherBcId\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"_otherTokenContract\",\"type\":\"address\"}],\"name\":\"changeContractMapping\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_bcId\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"_tokenContract\",\"type\":\"address\"}],\"name\":\"getBcIdTokenMaping\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_bcId\",\"type\":\"uint256\"}],\"name\":\"getRemoteErc20BridgeContract\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"}],\"name\":\"getRoleAdmin\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"grantRole\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"hasRole\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_bcId\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"_tokenContract\",\"type\":\"address\"}],\"name\":\"isBcIdTokenAllowed\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"pause\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"paused\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_destTokenContract\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_recipient\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"}],\"name\":\"receiveFromOtherBlockchain\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"renounceRole\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"revokeRole\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_thisBcTokenContract\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"_thisBcMassC\",\"type\":\"bool\"}],\"name\":\"setTokenConfig\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes4\",\"name\":\"interfaceId\",\"type\":\"bytes4\"}],\"name\":\"supportsInterface\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"tokenContractConfiguration\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_destBcId\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"_srcTokenContract\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_recipient\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"}],\"name\":\"transferToOtherBlockchain\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"unpause\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
Bin: "0x60806040523480156200001157600080fd5b506040516200192f3803806200192f83398101604081905262000034916200018f565b6000805460ff1916815533906200004c9082620000f7565b620000787f0121836bd496e565c22481bc40c30c41db1fecf07c7376491a377f8056cfccd582620000f7565b620000a47f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a82620000f7565b620000d07f5d0c1c948618f08b3c6c416314a18855862126dc2035e0bc9f6ed23f8394ad0c82620000f7565b50600280546001600160a01b0319166001600160a01b0392909216919091179055620001c1565b62000103828262000107565b5050565b60008281526001602090815260408083206001600160a01b038516845290915290205460ff16620001035760008281526001602081815260408084206001600160a01b0386168086529252808420805460ff19169093179092559051339285917f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d9190a45050565b600060208284031215620001a257600080fd5b81516001600160a01b0381168114620001ba57600080fd5b9392505050565b61175e80620001d16000396000f3fe608060405234801561001057600080fd5b50600436106101585760003560e01c80638456cb59116100c3578063d547741f1161007c578063d547741f14610352578063da72c1e814610365578063e63ab1e914610378578063e787282a1461039f578063e96dab56146103b2578063ef0047cf146103c557600080fd5b80638456cb59146102e257806384aea633146102ea57806391d14854146102fd578063a217fddf14610310578063c22b869914610318578063c3be3f361461032b57600080fd5b806336568abe1161011557806336568abe1461025b5780633f4ba83a1461026e57806343a12224146102765780635c975abb1461028b57806380ccbde4146102965780638278ef6d146102cf57600080fd5b806301ffc9a71461015d57806306b47e9e146101855780630dd4b7831461019a578063248a9ca3146101db5780632e44a5b51461020d5780632f2ff15d14610248575b600080fd5b61017061016b36600461138c565b6103e5565b60405190151581526020015b60405180910390f35b6101986101933660046113d9565b61041c565b005b6101c36101a8366004611415565b6000908152600560205260409020546001600160a01b031690565b6040516001600160a01b03909116815260200161017c565b6101ff6101e9366004611415565b6000908152600160208190526040909120015490565b60405190815260200161017c565b61017061021b36600461142e565b6001600160a01b039081166000908152600460209081526040808320948352939052919091205416151590565b61019861025636600461142e565b61049e565b61019861026936600461142e565b61052e565b6101986105a8565b6101ff60008051602061170983398151915281565b60005460ff16610170565b6101c36102a436600461142e565b6001600160a01b03908116600090815260046020908152604080832094835293905291909120541690565b6101986102dd36600461145a565b6105f8565b6101986108a6565b6101986102f8366004611496565b6108f4565b61017061030b36600461142e565b610b3c565b6101ff600081565b6101986103263660046114eb565b610b67565b6101ff7f5d0c1c948618f08b3c6c416314a18855862126dc2035e0bc9f6ed23f8394ad0c81565b61019861036036600461142e565b610c2b565b61019861037336600461145a565b610cac565b6101ff7f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a81565b6101986103ad36600461142e565b610d91565b6101986103c036600461153a565b610df3565b6101ff6103d3366004611571565b60036020526000908152604090205481565b60006001600160e01b03198216637965db0b60e01b148061041657506301ffc9a760e01b6001600160e01b03198316145b92915050565b61043460008051602061170983398151915233610b3c565b6104595760405162461bcd60e51b81526004016104509061158c565b60405180910390fd5b6001600160a01b03831660009081526003602052604090205461048e5760405162461bcd60e51b8152600401610450906115d0565b610499838383610e66565b505050565b600082815260016020819052604090912001546104bc905b33610b3c565b6105205760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2073656e646572206d75737420626520616e60448201526e0818591b5a5b881d1bc819dc985b9d608a1b6064820152608401610450565b61052a8282610ed9565b5050565b6001600160a01b038116331461059e5760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b6064820152608401610450565b61052a8282610f44565b6105d27f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a33610b3c565b6105ee5760405162461bcd60e51b815260040161045090611612565b6105f6610fab565b565b60005460ff161561061b5760405162461bcd60e51b815260040161045090611655565b6002546001600160a01b0316336001600160a01b0316146106c25760405162461bcd60e51b815260206004820152605560248201527f4552433230204272696467653a2043616e206e6f742070726f6365737320747260448201527f616e73666572732066726f6d20636f6e747261637473206f74686572207468616064820152741b881d1a1948189c9a5919d94818dbdb9d1c9858dd605a1b608482015260a401610450565b6000806106cd61103e565b90925090506001600160a01b0381166107345760405162461bcd60e51b815260206004820152602360248201527f455243203230204272696467653a2063616c6c657220636f6e7472616374206960448201526207320360ec1b6064820152608401610450565b6000828152600560205260409020546001600160a01b0316806107bf5760405162461bcd60e51b815260206004820152603e60248201527f4552433230204272696467653a204e6f2045524320323020427269646765207360448201527f7570706f7274656420666f7220736f7572636520626c6f636b636861696e00006064820152608401610450565b806001600160a01b0316826001600160a01b0316146108355760405162461bcd60e51b815260206004820152602c60248201527f4552433230204272696467653a20496e636f727265637420736f75726365204560448201526b52432032302042726964676560a01b6064820152608401610450565b610840868686611066565b604080518481526001600160a01b038085166020830152808916928201929092529086166060820152608081018590527f3008be2f38f2c92605e65a39c193c4b67868ea0dd742f5b9d6f228c9e258ece19060a0015b60405180910390a1505050505050565b6108d07f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a33610b3c565b6108ec5760405162461bcd60e51b815260040161045090611612565b6105f66111af565b60005460ff16156109175760405162461bcd60e51b815260040161045090611655565b6000848152600560205260409020546001600160a01b03168061098b5760405162461bcd60e51b815260206004820152602660248201527f4552433230204272696467653a20426c6f636b636861696e206e6f74207375706044820152651c1bdc9d195960d21b6064820152608401610450565b6001600160a01b0380851660009081526004602090815260408083208984529091529020541680610a245760405162461bcd60e51b815260206004820152603c60248201527f4552433230204272696467653a20546f6b656e206e6f74207472616e7366657260448201527f61626c6520746f2072657175657374656420626c6f636b636861696e000000006064820152608401610450565b610a2f853385611207565b600254604080516001600160a01b0384811660248301528781166044830152606480830188905283518084039091018152608490920183526020820180516001600160e01b0316638278ef6d60e01b17905291516392b2c33560e01b815291909216916392b2c33591610aa9918a9187919060040161167f565b600060405180830381600087803b158015610ac357600080fd5b505af1158015610ad7573d6000803e3d6000fd5b5050604080518981526001600160a01b03808a16602083015280861692820192909252336060820152908716608082015260a081018690527f752a2bfed77c22e59eeaf9351f545a08f5ee0110b8d6de0e7bcaf32a5dfa661b925060c0019050610896565b60009182526001602090815260408084206001600160a01b0393909316845291905290205460ff1690565b610b7f60008051602061170983398151915233610b3c565b610b9b5760405162461bcd60e51b81526004016104509061158c565b6001600160a01b03841660009081526003602052604090205415610c105760405162461bcd60e51b815260206004820152602660248201527f4552433230204272696467653a20746f6b656e20616c726561647920636f6e666044820152651a59dd5c995960d21b6064820152608401610450565b610c1a8482611327565b610c25848484610e66565b50505050565b60008281526001602081905260409091200154610c47906104b6565b61059e5760405162461bcd60e51b815260206004820152603060248201527f416363657373436f6e74726f6c3a2073656e646572206d75737420626520616e60448201526f2061646d696e20746f207265766f6b6560801b6064820152608401610450565b610cd67f5d0c1c948618f08b3c6c416314a18855862126dc2035e0bc9f6ed23f8394ad0c33610b3c565b610d355760405162461bcd60e51b815260206004820152602a60248201527f4552433230204272696467653a204d75737420686176652041444d494e5452416044820152694e5346455220726f6c6560b01b6064820152608401610450565b610d40838383611066565b604080516001600160a01b038086168252841660208201529081018290527f728fe8c3e9dd087cac70e8ff44565c920a2bb77c726ed3191394fefb4aabc358906060015b60405180910390a1505050565b610da960008051602061170983398151915233610b3c565b610dc55760405162461bcd60e51b81526004016104509061158c565b60009182526005602052604090912080546001600160a01b0319166001600160a01b03909216919091179055565b610e0b60008051602061170983398151915233610b3c565b610e275760405162461bcd60e51b81526004016104509061158c565b6001600160a01b038216600090815260036020526040902054610e5c5760405162461bcd60e51b8152600401610450906115d0565b61052a8282611327565b6001600160a01b03838116600081815260046020908152604080832087845282529182902080546001600160a01b0319169486169485179055815192835282018590528101919091527f3887b7740ba2f669b578cfaf7b54c097711335413cf96f681d36dbf97b98a83090606001610d84565b610ee38282610b3c565b61052a5760008281526001602081815260408084206001600160a01b0386168086529252808420805460ff19169093179092559051339285917f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d9190a45050565b610f4e8282610b3c565b1561052a5760008281526001602090815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b60005460ff16610ff45760405162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b6044820152606401610450565b6000805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b60008080368060206033198201843760005194506014808203600c3760005193505050509091565b6001600160a01b038316600090815260036020526040902054600214156111475760405163a9059cbb60e01b81526001600160a01b0383811660048301526024820183905284169063a9059cbb90604401602060405180830381600087803b1580156110d157600080fd5b505af11580156110e5573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061110991906116eb565b6104995760405162461bcd60e51b815260206004820152600f60248201526e1d1c985b9cd9995c8819985a5b1959608a1b6044820152606401610450565b6040516340c10f1960e01b81526001600160a01b038381166004830152602482018390528416906340c10f19906044015b600060405180830381600087803b15801561119257600080fd5b505af11580156111a6573d6000803e3d6000fd5b50505050505050565b60005460ff16156111d25760405162461bcd60e51b815260040161045090611655565b6000805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586110213390565b6001600160a01b038316600090815260036020526040902054600214156112f2576040516323b872dd60e01b81526001600160a01b038381166004830152306024830152604482018390528416906323b872dd90606401602060405180830381600087803b15801561127857600080fd5b505af115801561128c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112b091906116eb565b6104995760405162461bcd60e51b81526020600482015260136024820152721d1c985b9cd9995c919c9bdb4819985a5b1959606a1b6044820152606401610450565b60405163079cc67960e41b81526001600160a01b038381166004830152602482018390528416906379cc679090604401611178565b600081611335576001611338565b60025b6001600160a01b038416600081815260036020908152604091829020849055815192835282018390529192507f75592476a227f5631d3cd8cc24fec7d4c3aec6a178f64ec2b8b91693672f613a9101610d84565b60006020828403121561139e57600080fd5b81356001600160e01b0319811681146113b657600080fd5b9392505050565b80356001600160a01b03811681146113d457600080fd5b919050565b6000806000606084860312156113ee57600080fd5b6113f7846113bd565b92506020840135915061140c604085016113bd565b90509250925092565b60006020828403121561142757600080fd5b5035919050565b6000806040838503121561144157600080fd5b82359150611451602084016113bd565b90509250929050565b60008060006060848603121561146f57600080fd5b611478846113bd565b9250611486602085016113bd565b9150604084013590509250925092565b600080600080608085870312156114ac57600080fd5b843593506114bc602086016113bd565b92506114ca604086016113bd565b9396929550929360600135925050565b80151581146114e857600080fd5b50565b6000806000806080858703121561150157600080fd5b61150a856113bd565b93506020850135925061151f604086016113bd565b9150606085013561152f816114da565b939692955090935050565b6000806040838503121561154d57600080fd5b611556836113bd565b91506020830135611566816114da565b809150509250929050565b60006020828403121561158357600080fd5b6113b6826113bd565b60208082526024908201527f4552433230204272696467653a204d7573742068617665204d415050494e4720604082015263726f6c6560e01b606082015260800190565b60208082526022908201527f4552433230204272696467653a20746f6b656e206e6f7420636f6e6669677572604082015261195960f21b606082015260800190565b60208082526023908201527f4552433230204272696467653a204d75737420686176652050415553455220726040820152626f6c6560e81b606082015260800190565b60208082526010908201526f14185d5cd8589b194e881c185d5cd95960821b604082015260600190565b8381526000602060018060a01b0385168184015260606040840152835180606085015260005b818110156116c1578581018301518582016080015282016116a5565b818111156116d3576000608083870101525b50601f01601f19169290920160800195945050505050565b6000602082840312156116fd57600080fd5b81516113b6816114da56fe0121836bd496e565c22481bc40c30c41db1fecf07c7376491a377f8056cfccd5a264697066735822122053ada9b023ede8812605bddcb09fdfeae03a48245337323fb559fbad76dbd11764736f6c63430008090033",
}
SfcERC20BridgeMetaData contains all meta data concerning the SfcERC20Bridge contract.
var TravelAgencyABI = TravelAgencyMetaData.ABI
TravelAgencyABI is the input ABI used to generate the binding from. Deprecated: Use TravelAgencyMetaData.ABI instead.
var TravelAgencyBin = TravelAgencyMetaData.Bin
TravelAgencyBin is the compiled bytecode used for deploying new contracts. Deprecated: Use TravelAgencyMetaData.Bin instead.
var TravelAgencyMetaData = &bind.MetaData{
ABI: "[{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_hotelBlockchainId\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"_hotelContract\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_trainBlockchainId\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"_trainContract\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_cbc\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_date\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_bookingId\",\"type\":\"uint256\"}],\"name\":\"bookHotelAndTrain\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_bookingId\",\"type\":\"uint256\"}],\"name\":\"bookingConfirmed\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bool\",\"name\":\"_commit\",\"type\":\"bool\"},{\"internalType\":\"bytes32\",\"name\":\"_crossRootTxId\",\"type\":\"bytes32\"}],\"name\":\"finalise\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"hotelBlockchainId\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"hotelContract\",\"outputs\":[{\"internalType\":\"contractHotel\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_key\",\"type\":\"uint256\"}],\"name\":\"isLocked\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"trainBlockchainId\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"trainContract\",\"outputs\":[{\"internalType\":\"contractTrain\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"}]",
Bin: "0x608060405234801561001057600080fd5b506040516109cb3803806109cb83398101604081905261002f916100a2565b600080546001600160a01b03199081166001600160a01b03938416179091556004805433908316179055600595909555600680548616948216949094179093556007919091556008805490931691161790556100f9565b80516001600160a01b038116811461009d57600080fd5b919050565b600080600080600060a086880312156100ba57600080fd5b855194506100ca60208701610086565b9350604086015192506100df60608701610086565b91506100ed60808701610086565b90509295509295909350565b6108c3806101086000396000f3fe608060405234801561001057600080fd5b50600436106100885760003560e01c80638146b5c01161005b5780638146b5c01461010057806399eb5d4c146101155780639d0599ac14610128578063f6aacfb11461013b57600080fd5b8063036b0edf1461008d578063168fd46f146100b557806341b1637c146100cc5780634d1177da146100f7575b600080fd5b6100a061009b366004610726565b61015d565b60405190151581526020015b60405180910390f35b6100be60075481565b6040519081526020016100ac565b6008546100df906001600160a01b031681565b6040516001600160a01b0390911681526020016100ac565b6100be60055481565b61011361010e36600461073f565b610174565b005b610113610123366004610761565b6103b7565b6006546100df906001600160a01b031681565b6100a0610149366004610726565b600090815260026020526040902054151590565b60008061016b600084610467565b15159392505050565b6000546001600160a01b031633146101f05760405162461bcd60e51b815260206004820152603460248201527f53686f756c64206f6e6c792062652063616c6c65642062792043726f73736368604482015273185a5b8810dbdb9d1c9bdb0810dbdb9d1c9858dd60621b60648201526084015b60405180910390fd5b6004546001600160a01b0316321461024a5760405162461bcd60e51b815260206004820152601a60248201527f4f6e6c79206f776e65722063616e20646f20626f6f6b696e677300000000000060448201526064016101e7565b600054600554600654604080516024810187905260448101869052606480820181905282518083039091018152608490910182526020810180516001600160e01b03166309ac323760e11b17905290516392b2c33560e01b81526001600160a01b03948516946392b2c335946102c7949093911691600401610792565b600060405180830381600087803b1580156102e157600080fd5b505af11580156102f5573d6000803e3d6000fd5b5050600054600754600854604080516024810189905260448101889052606480820181905282518083039091018152608490910182526020810180516001600160e01b0316632465d6fd60e01b17905290516392b2c33560e01b81526001600160a01b0394851696506392b2c33595506103759490921691600401610792565b600060405180830381600087803b15801561038f57600080fd5b505af11580156103a3573d6000803e3d6000fd5b505050506103b3600082846104b2565b5050565b60005b60008281526003602052604090205481101561044f5760008281526003602052604081208054839081106103f0576103f06107fe565b90600052602060002001549050831561042e5760008181526002602052604090205461041e9060019061082a565b6000828152600160205260409020555b6000908152600260205260408120558061044781610841565b9150506103ba565b5060008181526003602052604081206103b3916106ec565b6000808383604051602001610486929190918252602082015260400190565b6040516020818303038152906040528051906020012090506104aa8160001c6104ea565b949350505050565b604080516020808201869052818301859052825180830384018152606090920190925280519101206104e48183610559565b50505050565b600081815260026020526040812054156105465760405162461bcd60e51b815260206004820152601f60248201527f52656164207768696c6520636f6e7472616374206974656d206c6f636b65640060448201526064016101e7565b5060009081526001602052604090205490565b600082815260026020526040902054156105ac5760405162461bcd60e51b815260206004820152601460248201527310dbdb9d1c9858dd081a5d195b481b1bd8dad95960621b60448201526064016101e7565b60008060009054906101000a90046001600160a01b03166001600160a01b0316637bf37a096040518163ffffffff1660e01b815260040160206040518083038186803b1580156105fb57600080fd5b505afa15801561060f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610633919061085c565b90508061064d575060009182526001602052604090912055565b600054604051631ce7083f60e11b81523060048201526001600160a01b03909116906339ce107e90602401600060405180830381600087803b15801561069257600080fd5b505af11580156106a6573d6000803e3d6000fd5b5050506000828152600360209081526040822080546001818101835591845291909220018590556106d8915083610875565b600084815260026020526040902055505050565b508054600082559060005260206000209081019061070a919061070d565b50565b5b80821115610722576000815560010161070e565b5090565b60006020828403121561073857600080fd5b5035919050565b6000806040838503121561075257600080fd5b50508035926020909101359150565b6000806040838503121561077457600080fd5b8235801515811461078457600080fd5b946020939093013593505050565b8381526000602060018060a01b0385168184015260606040840152835180606085015260005b818110156107d4578581018301518582016080015282016107b8565b818111156107e6576000608083870101525b50601f01601f19169290920160800195945050505050565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b60008282101561083c5761083c610814565b500390565b600060001982141561085557610855610814565b5060010190565b60006020828403121561086e57600080fd5b5051919050565b6000821982111561088857610888610814565b50019056fea2646970667358221220c138eb1d2279cb8e4890ac352d6458a653158d051628473b2781ba8f67bb771264736f6c63430008090033",
}
TravelAgencyMetaData contains all meta data concerning the TravelAgency contract.
Functions ¶
This section is empty.
Types ¶
type ERC20FixedSupply ¶
type ERC20FixedSupply struct { ERC20FixedSupplyCaller // Read-only binding to the contract ERC20FixedSupplyTransactor // Write-only binding to the contract ERC20FixedSupplyFilterer // Log filterer for contract events }
ERC20FixedSupply is an auto generated Go binding around an Ethereum contract.
func DeployERC20FixedSupply ¶
func DeployERC20FixedSupply(auth *bind.TransactOpts, backend bind.ContractBackend, name string, symbol string, initialSupply *big.Int, owner common.Address) (common.Address, *types.Transaction, *ERC20FixedSupply, error)
DeployERC20FixedSupply deploys a new Ethereum contract, binding an instance of ERC20FixedSupply to it.
func NewERC20FixedSupply ¶
func NewERC20FixedSupply(address common.Address, backend bind.ContractBackend) (*ERC20FixedSupply, error)
NewERC20FixedSupply creates a new instance of ERC20FixedSupply, bound to a specific deployed contract.
type ERC20FixedSupplyApproval ¶
type ERC20FixedSupplyApproval struct { Owner common.Address Spender common.Address Value *big.Int Raw types.Log // Blockchain specific contextual infos }
ERC20FixedSupplyApproval represents a Approval event raised by the ERC20FixedSupply contract.
type ERC20FixedSupplyApprovalIterator ¶
type ERC20FixedSupplyApprovalIterator struct { Event *ERC20FixedSupplyApproval // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ERC20FixedSupplyApprovalIterator is returned from FilterApproval and is used to iterate over the raw logs and unpacked data for Approval events raised by the ERC20FixedSupply contract.
func (*ERC20FixedSupplyApprovalIterator) Close ¶
func (it *ERC20FixedSupplyApprovalIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ERC20FixedSupplyApprovalIterator) Error ¶
func (it *ERC20FixedSupplyApprovalIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ERC20FixedSupplyApprovalIterator) Next ¶
func (it *ERC20FixedSupplyApprovalIterator) 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 ERC20FixedSupplyCaller ¶
type ERC20FixedSupplyCaller struct {
// contains filtered or unexported fields
}
ERC20FixedSupplyCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewERC20FixedSupplyCaller ¶
func NewERC20FixedSupplyCaller(address common.Address, caller bind.ContractCaller) (*ERC20FixedSupplyCaller, error)
NewERC20FixedSupplyCaller creates a new read-only instance of ERC20FixedSupply, bound to a specific deployed contract.
func (*ERC20FixedSupplyCaller) Allowance ¶
func (_ERC20FixedSupply *ERC20FixedSupplyCaller) 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 (*ERC20FixedSupplyCaller) BalanceOf ¶
func (_ERC20FixedSupply *ERC20FixedSupplyCaller) 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 (*ERC20FixedSupplyCaller) Decimals ¶
func (_ERC20FixedSupply *ERC20FixedSupplyCaller) 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 (*ERC20FixedSupplyCaller) Name ¶
func (_ERC20FixedSupply *ERC20FixedSupplyCaller) Name(opts *bind.CallOpts) (string, error)
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() view returns(string)
func (*ERC20FixedSupplyCaller) Symbol ¶
func (_ERC20FixedSupply *ERC20FixedSupplyCaller) Symbol(opts *bind.CallOpts) (string, error)
Symbol is a free data retrieval call binding the contract method 0x95d89b41.
Solidity: function symbol() view returns(string)
func (*ERC20FixedSupplyCaller) TotalSupply ¶
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
type ERC20FixedSupplyCallerRaw ¶
type ERC20FixedSupplyCallerRaw struct {
Contract *ERC20FixedSupplyCaller // Generic read-only contract binding to access the raw methods on
}
ERC20FixedSupplyCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*ERC20FixedSupplyCallerRaw) Call ¶
func (_ERC20FixedSupply *ERC20FixedSupplyCallerRaw) 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 ERC20FixedSupplyCallerSession ¶
type ERC20FixedSupplyCallerSession struct { Contract *ERC20FixedSupplyCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
ERC20FixedSupplyCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*ERC20FixedSupplyCallerSession) Allowance ¶
func (_ERC20FixedSupply *ERC20FixedSupplyCallerSession) 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 (*ERC20FixedSupplyCallerSession) BalanceOf ¶
func (_ERC20FixedSupply *ERC20FixedSupplyCallerSession) 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 (*ERC20FixedSupplyCallerSession) Decimals ¶
func (_ERC20FixedSupply *ERC20FixedSupplyCallerSession) Decimals() (uint8, error)
Decimals is a free data retrieval call binding the contract method 0x313ce567.
Solidity: function decimals() view returns(uint8)
func (*ERC20FixedSupplyCallerSession) Name ¶
func (_ERC20FixedSupply *ERC20FixedSupplyCallerSession) Name() (string, error)
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() view returns(string)
func (*ERC20FixedSupplyCallerSession) Symbol ¶
func (_ERC20FixedSupply *ERC20FixedSupplyCallerSession) Symbol() (string, error)
Symbol is a free data retrieval call binding the contract method 0x95d89b41.
Solidity: function symbol() view returns(string)
func (*ERC20FixedSupplyCallerSession) TotalSupply ¶
func (_ERC20FixedSupply *ERC20FixedSupplyCallerSession) TotalSupply() (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
type ERC20FixedSupplyFilterer ¶
type ERC20FixedSupplyFilterer struct {
// contains filtered or unexported fields
}
ERC20FixedSupplyFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewERC20FixedSupplyFilterer ¶
func NewERC20FixedSupplyFilterer(address common.Address, filterer bind.ContractFilterer) (*ERC20FixedSupplyFilterer, error)
NewERC20FixedSupplyFilterer creates a new log filterer instance of ERC20FixedSupply, bound to a specific deployed contract.
func (*ERC20FixedSupplyFilterer) FilterApproval ¶
func (_ERC20FixedSupply *ERC20FixedSupplyFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*ERC20FixedSupplyApprovalIterator, 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 (*ERC20FixedSupplyFilterer) FilterTransfer ¶
func (_ERC20FixedSupply *ERC20FixedSupplyFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*ERC20FixedSupplyTransferIterator, 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 (*ERC20FixedSupplyFilterer) ParseApproval ¶
func (_ERC20FixedSupply *ERC20FixedSupplyFilterer) ParseApproval(log types.Log) (*ERC20FixedSupplyApproval, error)
ParseApproval is a log parse operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.
Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)
func (*ERC20FixedSupplyFilterer) ParseTransfer ¶
func (_ERC20FixedSupply *ERC20FixedSupplyFilterer) ParseTransfer(log types.Log) (*ERC20FixedSupplyTransfer, error)
ParseTransfer is a log parse operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.
Solidity: event Transfer(address indexed from, address indexed to, uint256 value)
func (*ERC20FixedSupplyFilterer) WatchApproval ¶
func (_ERC20FixedSupply *ERC20FixedSupplyFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *ERC20FixedSupplyApproval, 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 (*ERC20FixedSupplyFilterer) WatchTransfer ¶
func (_ERC20FixedSupply *ERC20FixedSupplyFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *ERC20FixedSupplyTransfer, 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 ERC20FixedSupplyRaw ¶
type ERC20FixedSupplyRaw struct {
Contract *ERC20FixedSupply // Generic contract binding to access the raw methods on
}
ERC20FixedSupplyRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*ERC20FixedSupplyRaw) Call ¶
func (_ERC20FixedSupply *ERC20FixedSupplyRaw) 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 (*ERC20FixedSupplyRaw) Transact ¶
func (_ERC20FixedSupply *ERC20FixedSupplyRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*ERC20FixedSupplyRaw) Transfer ¶
func (_ERC20FixedSupply *ERC20FixedSupplyRaw) 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 ERC20FixedSupplySession ¶
type ERC20FixedSupplySession struct { Contract *ERC20FixedSupply // 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 }
ERC20FixedSupplySession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*ERC20FixedSupplySession) Allowance ¶
func (_ERC20FixedSupply *ERC20FixedSupplySession) 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 (*ERC20FixedSupplySession) Approve ¶
func (_ERC20FixedSupply *ERC20FixedSupplySession) 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 (*ERC20FixedSupplySession) BalanceOf ¶
func (_ERC20FixedSupply *ERC20FixedSupplySession) 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 (*ERC20FixedSupplySession) Burn ¶
func (_ERC20FixedSupply *ERC20FixedSupplySession) Burn(amount *big.Int) (*types.Transaction, error)
Burn is a paid mutator transaction binding the contract method 0x42966c68.
Solidity: function burn(uint256 amount) returns()
func (*ERC20FixedSupplySession) BurnFrom ¶
func (_ERC20FixedSupply *ERC20FixedSupplySession) BurnFrom(account common.Address, amount *big.Int) (*types.Transaction, error)
BurnFrom is a paid mutator transaction binding the contract method 0x79cc6790.
Solidity: function burnFrom(address account, uint256 amount) returns()
func (*ERC20FixedSupplySession) Decimals ¶
func (_ERC20FixedSupply *ERC20FixedSupplySession) Decimals() (uint8, error)
Decimals is a free data retrieval call binding the contract method 0x313ce567.
Solidity: function decimals() view returns(uint8)
func (*ERC20FixedSupplySession) DecreaseAllowance ¶
func (_ERC20FixedSupply *ERC20FixedSupplySession) DecreaseAllowance(spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)
DecreaseAllowance is a paid mutator transaction binding the contract method 0xa457c2d7.
Solidity: function decreaseAllowance(address spender, uint256 subtractedValue) returns(bool)
func (*ERC20FixedSupplySession) IncreaseAllowance ¶
func (_ERC20FixedSupply *ERC20FixedSupplySession) IncreaseAllowance(spender common.Address, addedValue *big.Int) (*types.Transaction, error)
IncreaseAllowance is a paid mutator transaction binding the contract method 0x39509351.
Solidity: function increaseAllowance(address spender, uint256 addedValue) returns(bool)
func (*ERC20FixedSupplySession) Name ¶
func (_ERC20FixedSupply *ERC20FixedSupplySession) Name() (string, error)
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() view returns(string)
func (*ERC20FixedSupplySession) Symbol ¶
func (_ERC20FixedSupply *ERC20FixedSupplySession) Symbol() (string, error)
Symbol is a free data retrieval call binding the contract method 0x95d89b41.
Solidity: function symbol() view returns(string)
func (*ERC20FixedSupplySession) TotalSupply ¶
func (_ERC20FixedSupply *ERC20FixedSupplySession) TotalSupply() (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
func (*ERC20FixedSupplySession) Transfer ¶
func (_ERC20FixedSupply *ERC20FixedSupplySession) 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 (*ERC20FixedSupplySession) TransferFrom ¶
func (_ERC20FixedSupply *ERC20FixedSupplySession) 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 ERC20FixedSupplyTransactor ¶
type ERC20FixedSupplyTransactor struct {
// contains filtered or unexported fields
}
ERC20FixedSupplyTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewERC20FixedSupplyTransactor ¶
func NewERC20FixedSupplyTransactor(address common.Address, transactor bind.ContractTransactor) (*ERC20FixedSupplyTransactor, error)
NewERC20FixedSupplyTransactor creates a new write-only instance of ERC20FixedSupply, bound to a specific deployed contract.
func (*ERC20FixedSupplyTransactor) Approve ¶
func (_ERC20FixedSupply *ERC20FixedSupplyTransactor) 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 (*ERC20FixedSupplyTransactor) Burn ¶
func (_ERC20FixedSupply *ERC20FixedSupplyTransactor) Burn(opts *bind.TransactOpts, amount *big.Int) (*types.Transaction, error)
Burn is a paid mutator transaction binding the contract method 0x42966c68.
Solidity: function burn(uint256 amount) returns()
func (*ERC20FixedSupplyTransactor) BurnFrom ¶
func (_ERC20FixedSupply *ERC20FixedSupplyTransactor) BurnFrom(opts *bind.TransactOpts, account common.Address, amount *big.Int) (*types.Transaction, error)
BurnFrom is a paid mutator transaction binding the contract method 0x79cc6790.
Solidity: function burnFrom(address account, uint256 amount) returns()
func (*ERC20FixedSupplyTransactor) DecreaseAllowance ¶
func (_ERC20FixedSupply *ERC20FixedSupplyTransactor) DecreaseAllowance(opts *bind.TransactOpts, spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)
DecreaseAllowance is a paid mutator transaction binding the contract method 0xa457c2d7.
Solidity: function decreaseAllowance(address spender, uint256 subtractedValue) returns(bool)
func (*ERC20FixedSupplyTransactor) IncreaseAllowance ¶
func (_ERC20FixedSupply *ERC20FixedSupplyTransactor) IncreaseAllowance(opts *bind.TransactOpts, spender common.Address, addedValue *big.Int) (*types.Transaction, error)
IncreaseAllowance is a paid mutator transaction binding the contract method 0x39509351.
Solidity: function increaseAllowance(address spender, uint256 addedValue) returns(bool)
func (*ERC20FixedSupplyTransactor) Transfer ¶
func (_ERC20FixedSupply *ERC20FixedSupplyTransactor) 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 (*ERC20FixedSupplyTransactor) TransferFrom ¶
func (_ERC20FixedSupply *ERC20FixedSupplyTransactor) 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 ERC20FixedSupplyTransactorRaw ¶
type ERC20FixedSupplyTransactorRaw struct {
Contract *ERC20FixedSupplyTransactor // Generic write-only contract binding to access the raw methods on
}
ERC20FixedSupplyTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*ERC20FixedSupplyTransactorRaw) Transact ¶
func (_ERC20FixedSupply *ERC20FixedSupplyTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*ERC20FixedSupplyTransactorRaw) Transfer ¶
func (_ERC20FixedSupply *ERC20FixedSupplyTransactorRaw) 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 ERC20FixedSupplyTransactorSession ¶
type ERC20FixedSupplyTransactorSession struct { Contract *ERC20FixedSupplyTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
ERC20FixedSupplyTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*ERC20FixedSupplyTransactorSession) Approve ¶
func (_ERC20FixedSupply *ERC20FixedSupplyTransactorSession) 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 (*ERC20FixedSupplyTransactorSession) Burn ¶
func (_ERC20FixedSupply *ERC20FixedSupplyTransactorSession) Burn(amount *big.Int) (*types.Transaction, error)
Burn is a paid mutator transaction binding the contract method 0x42966c68.
Solidity: function burn(uint256 amount) returns()
func (*ERC20FixedSupplyTransactorSession) BurnFrom ¶
func (_ERC20FixedSupply *ERC20FixedSupplyTransactorSession) BurnFrom(account common.Address, amount *big.Int) (*types.Transaction, error)
BurnFrom is a paid mutator transaction binding the contract method 0x79cc6790.
Solidity: function burnFrom(address account, uint256 amount) returns()
func (*ERC20FixedSupplyTransactorSession) DecreaseAllowance ¶
func (_ERC20FixedSupply *ERC20FixedSupplyTransactorSession) DecreaseAllowance(spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)
DecreaseAllowance is a paid mutator transaction binding the contract method 0xa457c2d7.
Solidity: function decreaseAllowance(address spender, uint256 subtractedValue) returns(bool)
func (*ERC20FixedSupplyTransactorSession) IncreaseAllowance ¶
func (_ERC20FixedSupply *ERC20FixedSupplyTransactorSession) IncreaseAllowance(spender common.Address, addedValue *big.Int) (*types.Transaction, error)
IncreaseAllowance is a paid mutator transaction binding the contract method 0x39509351.
Solidity: function increaseAllowance(address spender, uint256 addedValue) returns(bool)
func (*ERC20FixedSupplyTransactorSession) Transfer ¶
func (_ERC20FixedSupply *ERC20FixedSupplyTransactorSession) 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 (*ERC20FixedSupplyTransactorSession) TransferFrom ¶
func (_ERC20FixedSupply *ERC20FixedSupplyTransactorSession) 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 ERC20FixedSupplyTransfer ¶
type ERC20FixedSupplyTransfer struct { From common.Address To common.Address Value *big.Int Raw types.Log // Blockchain specific contextual infos }
ERC20FixedSupplyTransfer represents a Transfer event raised by the ERC20FixedSupply contract.
type ERC20FixedSupplyTransferIterator ¶
type ERC20FixedSupplyTransferIterator struct { Event *ERC20FixedSupplyTransfer // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ERC20FixedSupplyTransferIterator is returned from FilterTransfer and is used to iterate over the raw logs and unpacked data for Transfer events raised by the ERC20FixedSupply contract.
func (*ERC20FixedSupplyTransferIterator) Close ¶
func (it *ERC20FixedSupplyTransferIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ERC20FixedSupplyTransferIterator) Error ¶
func (it *ERC20FixedSupplyTransferIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ERC20FixedSupplyTransferIterator) Next ¶
func (it *ERC20FixedSupplyTransferIterator) 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 ERC20MinterPauser ¶
type ERC20MinterPauser struct { ERC20MinterPauserCaller // Read-only binding to the contract ERC20MinterPauserTransactor // Write-only binding to the contract ERC20MinterPauserFilterer // Log filterer for contract events }
ERC20MinterPauser is an auto generated Go binding around an Ethereum contract.
func DeployERC20MinterPauser ¶
func DeployERC20MinterPauser(auth *bind.TransactOpts, backend bind.ContractBackend, name string, symbol string) (common.Address, *types.Transaction, *ERC20MinterPauser, error)
DeployERC20MinterPauser deploys a new Ethereum contract, binding an instance of ERC20MinterPauser to it.
func NewERC20MinterPauser ¶
func NewERC20MinterPauser(address common.Address, backend bind.ContractBackend) (*ERC20MinterPauser, error)
NewERC20MinterPauser creates a new instance of ERC20MinterPauser, bound to a specific deployed contract.
type ERC20MinterPauserApproval ¶
type ERC20MinterPauserApproval struct { Owner common.Address Spender common.Address Value *big.Int Raw types.Log // Blockchain specific contextual infos }
ERC20MinterPauserApproval represents a Approval event raised by the ERC20MinterPauser contract.
type ERC20MinterPauserApprovalIterator ¶
type ERC20MinterPauserApprovalIterator struct { Event *ERC20MinterPauserApproval // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ERC20MinterPauserApprovalIterator is returned from FilterApproval and is used to iterate over the raw logs and unpacked data for Approval events raised by the ERC20MinterPauser contract.
func (*ERC20MinterPauserApprovalIterator) Close ¶
func (it *ERC20MinterPauserApprovalIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ERC20MinterPauserApprovalIterator) Error ¶
func (it *ERC20MinterPauserApprovalIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ERC20MinterPauserApprovalIterator) Next ¶
func (it *ERC20MinterPauserApprovalIterator) 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 ERC20MinterPauserCaller ¶
type ERC20MinterPauserCaller struct {
// contains filtered or unexported fields
}
ERC20MinterPauserCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewERC20MinterPauserCaller ¶
func NewERC20MinterPauserCaller(address common.Address, caller bind.ContractCaller) (*ERC20MinterPauserCaller, error)
NewERC20MinterPauserCaller creates a new read-only instance of ERC20MinterPauser, bound to a specific deployed contract.
func (*ERC20MinterPauserCaller) Allowance ¶
func (_ERC20MinterPauser *ERC20MinterPauserCaller) 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 (*ERC20MinterPauserCaller) BalanceOf ¶
func (_ERC20MinterPauser *ERC20MinterPauserCaller) 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 (*ERC20MinterPauserCaller) DEFAULTADMINROLE ¶
func (_ERC20MinterPauser *ERC20MinterPauserCaller) 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 (*ERC20MinterPauserCaller) Decimals ¶
func (_ERC20MinterPauser *ERC20MinterPauserCaller) 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 (*ERC20MinterPauserCaller) GetRoleAdmin ¶
func (_ERC20MinterPauser *ERC20MinterPauserCaller) 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 (*ERC20MinterPauserCaller) GetRoleMember ¶
func (_ERC20MinterPauser *ERC20MinterPauserCaller) 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 (*ERC20MinterPauserCaller) GetRoleMemberCount ¶
func (_ERC20MinterPauser *ERC20MinterPauserCaller) 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 (*ERC20MinterPauserCaller) HasRole ¶
func (_ERC20MinterPauser *ERC20MinterPauserCaller) 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 (*ERC20MinterPauserCaller) MINTERROLE ¶
func (_ERC20MinterPauser *ERC20MinterPauserCaller) MINTERROLE(opts *bind.CallOpts) ([32]byte, error)
MINTERROLE is a free data retrieval call binding the contract method 0xd5391393.
Solidity: function MINTER_ROLE() view returns(bytes32)
func (*ERC20MinterPauserCaller) Name ¶
func (_ERC20MinterPauser *ERC20MinterPauserCaller) Name(opts *bind.CallOpts) (string, error)
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() view returns(string)
func (*ERC20MinterPauserCaller) PAUSERROLE ¶
func (_ERC20MinterPauser *ERC20MinterPauserCaller) PAUSERROLE(opts *bind.CallOpts) ([32]byte, error)
PAUSERROLE is a free data retrieval call binding the contract method 0xe63ab1e9.
Solidity: function PAUSER_ROLE() view returns(bytes32)
func (*ERC20MinterPauserCaller) Paused ¶
func (_ERC20MinterPauser *ERC20MinterPauserCaller) Paused(opts *bind.CallOpts) (bool, error)
Paused is a free data retrieval call binding the contract method 0x5c975abb.
Solidity: function paused() view returns(bool)
func (*ERC20MinterPauserCaller) SupportsInterface ¶
func (_ERC20MinterPauser *ERC20MinterPauserCaller) SupportsInterface(opts *bind.CallOpts, interfaceId [4]byte) (bool, error)
SupportsInterface is a free data retrieval call binding the contract method 0x01ffc9a7.
Solidity: function supportsInterface(bytes4 interfaceId) view returns(bool)
func (*ERC20MinterPauserCaller) Symbol ¶
func (_ERC20MinterPauser *ERC20MinterPauserCaller) Symbol(opts *bind.CallOpts) (string, error)
Symbol is a free data retrieval call binding the contract method 0x95d89b41.
Solidity: function symbol() view returns(string)
func (*ERC20MinterPauserCaller) TotalSupply ¶
func (_ERC20MinterPauser *ERC20MinterPauserCaller) 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 ERC20MinterPauserCallerRaw ¶
type ERC20MinterPauserCallerRaw struct {
Contract *ERC20MinterPauserCaller // Generic read-only contract binding to access the raw methods on
}
ERC20MinterPauserCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*ERC20MinterPauserCallerRaw) Call ¶
func (_ERC20MinterPauser *ERC20MinterPauserCallerRaw) 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 ERC20MinterPauserCallerSession ¶
type ERC20MinterPauserCallerSession struct { Contract *ERC20MinterPauserCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
ERC20MinterPauserCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*ERC20MinterPauserCallerSession) Allowance ¶
func (_ERC20MinterPauser *ERC20MinterPauserCallerSession) 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 (*ERC20MinterPauserCallerSession) BalanceOf ¶
func (_ERC20MinterPauser *ERC20MinterPauserCallerSession) 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 (*ERC20MinterPauserCallerSession) DEFAULTADMINROLE ¶
func (_ERC20MinterPauser *ERC20MinterPauserCallerSession) 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 (*ERC20MinterPauserCallerSession) Decimals ¶
func (_ERC20MinterPauser *ERC20MinterPauserCallerSession) Decimals() (uint8, error)
Decimals is a free data retrieval call binding the contract method 0x313ce567.
Solidity: function decimals() view returns(uint8)
func (*ERC20MinterPauserCallerSession) GetRoleAdmin ¶
func (_ERC20MinterPauser *ERC20MinterPauserCallerSession) 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 (*ERC20MinterPauserCallerSession) GetRoleMember ¶
func (_ERC20MinterPauser *ERC20MinterPauserCallerSession) 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 (*ERC20MinterPauserCallerSession) GetRoleMemberCount ¶
func (_ERC20MinterPauser *ERC20MinterPauserCallerSession) 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 (*ERC20MinterPauserCallerSession) HasRole ¶
func (_ERC20MinterPauser *ERC20MinterPauserCallerSession) 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 (*ERC20MinterPauserCallerSession) MINTERROLE ¶
func (_ERC20MinterPauser *ERC20MinterPauserCallerSession) MINTERROLE() ([32]byte, error)
MINTERROLE is a free data retrieval call binding the contract method 0xd5391393.
Solidity: function MINTER_ROLE() view returns(bytes32)
func (*ERC20MinterPauserCallerSession) Name ¶
func (_ERC20MinterPauser *ERC20MinterPauserCallerSession) Name() (string, error)
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() view returns(string)
func (*ERC20MinterPauserCallerSession) PAUSERROLE ¶
func (_ERC20MinterPauser *ERC20MinterPauserCallerSession) PAUSERROLE() ([32]byte, error)
PAUSERROLE is a free data retrieval call binding the contract method 0xe63ab1e9.
Solidity: function PAUSER_ROLE() view returns(bytes32)
func (*ERC20MinterPauserCallerSession) Paused ¶
func (_ERC20MinterPauser *ERC20MinterPauserCallerSession) Paused() (bool, error)
Paused is a free data retrieval call binding the contract method 0x5c975abb.
Solidity: function paused() view returns(bool)
func (*ERC20MinterPauserCallerSession) SupportsInterface ¶
func (_ERC20MinterPauser *ERC20MinterPauserCallerSession) SupportsInterface(interfaceId [4]byte) (bool, error)
SupportsInterface is a free data retrieval call binding the contract method 0x01ffc9a7.
Solidity: function supportsInterface(bytes4 interfaceId) view returns(bool)
func (*ERC20MinterPauserCallerSession) Symbol ¶
func (_ERC20MinterPauser *ERC20MinterPauserCallerSession) Symbol() (string, error)
Symbol is a free data retrieval call binding the contract method 0x95d89b41.
Solidity: function symbol() view returns(string)
func (*ERC20MinterPauserCallerSession) TotalSupply ¶
func (_ERC20MinterPauser *ERC20MinterPauserCallerSession) TotalSupply() (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
type ERC20MinterPauserFilterer ¶
type ERC20MinterPauserFilterer struct {
// contains filtered or unexported fields
}
ERC20MinterPauserFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewERC20MinterPauserFilterer ¶
func NewERC20MinterPauserFilterer(address common.Address, filterer bind.ContractFilterer) (*ERC20MinterPauserFilterer, error)
NewERC20MinterPauserFilterer creates a new log filterer instance of ERC20MinterPauser, bound to a specific deployed contract.
func (*ERC20MinterPauserFilterer) FilterApproval ¶
func (_ERC20MinterPauser *ERC20MinterPauserFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*ERC20MinterPauserApprovalIterator, 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 (*ERC20MinterPauserFilterer) FilterPaused ¶
func (_ERC20MinterPauser *ERC20MinterPauserFilterer) FilterPaused(opts *bind.FilterOpts) (*ERC20MinterPauserPausedIterator, error)
FilterPaused is a free log retrieval operation binding the contract event 0x62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258.
Solidity: event Paused(address account)
func (*ERC20MinterPauserFilterer) FilterRoleAdminChanged ¶
func (_ERC20MinterPauser *ERC20MinterPauserFilterer) FilterRoleAdminChanged(opts *bind.FilterOpts, role [][32]byte, previousAdminRole [][32]byte, newAdminRole [][32]byte) (*ERC20MinterPauserRoleAdminChangedIterator, 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 (*ERC20MinterPauserFilterer) FilterRoleGranted ¶
func (_ERC20MinterPauser *ERC20MinterPauserFilterer) FilterRoleGranted(opts *bind.FilterOpts, role [][32]byte, account []common.Address, sender []common.Address) (*ERC20MinterPauserRoleGrantedIterator, 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 (*ERC20MinterPauserFilterer) FilterRoleRevoked ¶
func (_ERC20MinterPauser *ERC20MinterPauserFilterer) FilterRoleRevoked(opts *bind.FilterOpts, role [][32]byte, account []common.Address, sender []common.Address) (*ERC20MinterPauserRoleRevokedIterator, 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 (*ERC20MinterPauserFilterer) FilterTransfer ¶
func (_ERC20MinterPauser *ERC20MinterPauserFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*ERC20MinterPauserTransferIterator, 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 (*ERC20MinterPauserFilterer) FilterUnpaused ¶
func (_ERC20MinterPauser *ERC20MinterPauserFilterer) FilterUnpaused(opts *bind.FilterOpts) (*ERC20MinterPauserUnpausedIterator, error)
FilterUnpaused is a free log retrieval operation binding the contract event 0x5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa.
Solidity: event Unpaused(address account)
func (*ERC20MinterPauserFilterer) ParseApproval ¶
func (_ERC20MinterPauser *ERC20MinterPauserFilterer) ParseApproval(log types.Log) (*ERC20MinterPauserApproval, error)
ParseApproval is a log parse operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.
Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)
func (*ERC20MinterPauserFilterer) ParsePaused ¶
func (_ERC20MinterPauser *ERC20MinterPauserFilterer) ParsePaused(log types.Log) (*ERC20MinterPauserPaused, error)
ParsePaused is a log parse operation binding the contract event 0x62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258.
Solidity: event Paused(address account)
func (*ERC20MinterPauserFilterer) ParseRoleAdminChanged ¶
func (_ERC20MinterPauser *ERC20MinterPauserFilterer) ParseRoleAdminChanged(log types.Log) (*ERC20MinterPauserRoleAdminChanged, 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 (*ERC20MinterPauserFilterer) ParseRoleGranted ¶
func (_ERC20MinterPauser *ERC20MinterPauserFilterer) ParseRoleGranted(log types.Log) (*ERC20MinterPauserRoleGranted, 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 (*ERC20MinterPauserFilterer) ParseRoleRevoked ¶
func (_ERC20MinterPauser *ERC20MinterPauserFilterer) ParseRoleRevoked(log types.Log) (*ERC20MinterPauserRoleRevoked, 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 (*ERC20MinterPauserFilterer) ParseTransfer ¶
func (_ERC20MinterPauser *ERC20MinterPauserFilterer) ParseTransfer(log types.Log) (*ERC20MinterPauserTransfer, error)
ParseTransfer is a log parse operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.
Solidity: event Transfer(address indexed from, address indexed to, uint256 value)
func (*ERC20MinterPauserFilterer) ParseUnpaused ¶
func (_ERC20MinterPauser *ERC20MinterPauserFilterer) ParseUnpaused(log types.Log) (*ERC20MinterPauserUnpaused, error)
ParseUnpaused is a log parse operation binding the contract event 0x5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa.
Solidity: event Unpaused(address account)
func (*ERC20MinterPauserFilterer) WatchApproval ¶
func (_ERC20MinterPauser *ERC20MinterPauserFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *ERC20MinterPauserApproval, 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 (*ERC20MinterPauserFilterer) WatchPaused ¶
func (_ERC20MinterPauser *ERC20MinterPauserFilterer) WatchPaused(opts *bind.WatchOpts, sink chan<- *ERC20MinterPauserPaused) (event.Subscription, error)
WatchPaused is a free log subscription operation binding the contract event 0x62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258.
Solidity: event Paused(address account)
func (*ERC20MinterPauserFilterer) WatchRoleAdminChanged ¶
func (_ERC20MinterPauser *ERC20MinterPauserFilterer) WatchRoleAdminChanged(opts *bind.WatchOpts, sink chan<- *ERC20MinterPauserRoleAdminChanged, 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 (*ERC20MinterPauserFilterer) WatchRoleGranted ¶
func (_ERC20MinterPauser *ERC20MinterPauserFilterer) WatchRoleGranted(opts *bind.WatchOpts, sink chan<- *ERC20MinterPauserRoleGranted, 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 (*ERC20MinterPauserFilterer) WatchRoleRevoked ¶
func (_ERC20MinterPauser *ERC20MinterPauserFilterer) WatchRoleRevoked(opts *bind.WatchOpts, sink chan<- *ERC20MinterPauserRoleRevoked, 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)
func (*ERC20MinterPauserFilterer) WatchTransfer ¶
func (_ERC20MinterPauser *ERC20MinterPauserFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *ERC20MinterPauserTransfer, 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)
func (*ERC20MinterPauserFilterer) WatchUnpaused ¶
func (_ERC20MinterPauser *ERC20MinterPauserFilterer) WatchUnpaused(opts *bind.WatchOpts, sink chan<- *ERC20MinterPauserUnpaused) (event.Subscription, error)
WatchUnpaused is a free log subscription operation binding the contract event 0x5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa.
Solidity: event Unpaused(address account)
type ERC20MinterPauserPaused ¶
type ERC20MinterPauserPaused struct { Account common.Address Raw types.Log // Blockchain specific contextual infos }
ERC20MinterPauserPaused represents a Paused event raised by the ERC20MinterPauser contract.
type ERC20MinterPauserPausedIterator ¶
type ERC20MinterPauserPausedIterator struct { Event *ERC20MinterPauserPaused // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ERC20MinterPauserPausedIterator is returned from FilterPaused and is used to iterate over the raw logs and unpacked data for Paused events raised by the ERC20MinterPauser contract.
func (*ERC20MinterPauserPausedIterator) Close ¶
func (it *ERC20MinterPauserPausedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ERC20MinterPauserPausedIterator) Error ¶
func (it *ERC20MinterPauserPausedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ERC20MinterPauserPausedIterator) Next ¶
func (it *ERC20MinterPauserPausedIterator) 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 ERC20MinterPauserRaw ¶
type ERC20MinterPauserRaw struct {
Contract *ERC20MinterPauser // Generic contract binding to access the raw methods on
}
ERC20MinterPauserRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*ERC20MinterPauserRaw) Call ¶
func (_ERC20MinterPauser *ERC20MinterPauserRaw) 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 (*ERC20MinterPauserRaw) Transact ¶
func (_ERC20MinterPauser *ERC20MinterPauserRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*ERC20MinterPauserRaw) Transfer ¶
func (_ERC20MinterPauser *ERC20MinterPauserRaw) 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 ERC20MinterPauserRoleAdminChanged ¶
type ERC20MinterPauserRoleAdminChanged struct { Role [32]byte PreviousAdminRole [32]byte NewAdminRole [32]byte Raw types.Log // Blockchain specific contextual infos }
ERC20MinterPauserRoleAdminChanged represents a RoleAdminChanged event raised by the ERC20MinterPauser contract.
type ERC20MinterPauserRoleAdminChangedIterator ¶
type ERC20MinterPauserRoleAdminChangedIterator struct { Event *ERC20MinterPauserRoleAdminChanged // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ERC20MinterPauserRoleAdminChangedIterator is returned from FilterRoleAdminChanged and is used to iterate over the raw logs and unpacked data for RoleAdminChanged events raised by the ERC20MinterPauser contract.
func (*ERC20MinterPauserRoleAdminChangedIterator) Close ¶
func (it *ERC20MinterPauserRoleAdminChangedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ERC20MinterPauserRoleAdminChangedIterator) Error ¶
func (it *ERC20MinterPauserRoleAdminChangedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ERC20MinterPauserRoleAdminChangedIterator) Next ¶
func (it *ERC20MinterPauserRoleAdminChangedIterator) 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 ERC20MinterPauserRoleGranted ¶
type ERC20MinterPauserRoleGranted struct { Role [32]byte Account common.Address Sender common.Address Raw types.Log // Blockchain specific contextual infos }
ERC20MinterPauserRoleGranted represents a RoleGranted event raised by the ERC20MinterPauser contract.
type ERC20MinterPauserRoleGrantedIterator ¶
type ERC20MinterPauserRoleGrantedIterator struct { Event *ERC20MinterPauserRoleGranted // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ERC20MinterPauserRoleGrantedIterator is returned from FilterRoleGranted and is used to iterate over the raw logs and unpacked data for RoleGranted events raised by the ERC20MinterPauser contract.
func (*ERC20MinterPauserRoleGrantedIterator) Close ¶
func (it *ERC20MinterPauserRoleGrantedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ERC20MinterPauserRoleGrantedIterator) Error ¶
func (it *ERC20MinterPauserRoleGrantedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ERC20MinterPauserRoleGrantedIterator) Next ¶
func (it *ERC20MinterPauserRoleGrantedIterator) 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 ERC20MinterPauserRoleRevoked ¶
type ERC20MinterPauserRoleRevoked struct { Role [32]byte Account common.Address Sender common.Address Raw types.Log // Blockchain specific contextual infos }
ERC20MinterPauserRoleRevoked represents a RoleRevoked event raised by the ERC20MinterPauser contract.
type ERC20MinterPauserRoleRevokedIterator ¶
type ERC20MinterPauserRoleRevokedIterator struct { Event *ERC20MinterPauserRoleRevoked // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ERC20MinterPauserRoleRevokedIterator is returned from FilterRoleRevoked and is used to iterate over the raw logs and unpacked data for RoleRevoked events raised by the ERC20MinterPauser contract.
func (*ERC20MinterPauserRoleRevokedIterator) Close ¶
func (it *ERC20MinterPauserRoleRevokedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ERC20MinterPauserRoleRevokedIterator) Error ¶
func (it *ERC20MinterPauserRoleRevokedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ERC20MinterPauserRoleRevokedIterator) Next ¶
func (it *ERC20MinterPauserRoleRevokedIterator) 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 ERC20MinterPauserSession ¶
type ERC20MinterPauserSession struct { Contract *ERC20MinterPauser // 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 }
ERC20MinterPauserSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*ERC20MinterPauserSession) Allowance ¶
func (_ERC20MinterPauser *ERC20MinterPauserSession) 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 (*ERC20MinterPauserSession) Approve ¶
func (_ERC20MinterPauser *ERC20MinterPauserSession) 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 (*ERC20MinterPauserSession) BalanceOf ¶
func (_ERC20MinterPauser *ERC20MinterPauserSession) 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 (*ERC20MinterPauserSession) Burn ¶
func (_ERC20MinterPauser *ERC20MinterPauserSession) Burn(amount *big.Int) (*types.Transaction, error)
Burn is a paid mutator transaction binding the contract method 0x42966c68.
Solidity: function burn(uint256 amount) returns()
func (*ERC20MinterPauserSession) BurnFrom ¶
func (_ERC20MinterPauser *ERC20MinterPauserSession) BurnFrom(account common.Address, amount *big.Int) (*types.Transaction, error)
BurnFrom is a paid mutator transaction binding the contract method 0x79cc6790.
Solidity: function burnFrom(address account, uint256 amount) returns()
func (*ERC20MinterPauserSession) DEFAULTADMINROLE ¶
func (_ERC20MinterPauser *ERC20MinterPauserSession) 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 (*ERC20MinterPauserSession) Decimals ¶
func (_ERC20MinterPauser *ERC20MinterPauserSession) Decimals() (uint8, error)
Decimals is a free data retrieval call binding the contract method 0x313ce567.
Solidity: function decimals() view returns(uint8)
func (*ERC20MinterPauserSession) DecreaseAllowance ¶
func (_ERC20MinterPauser *ERC20MinterPauserSession) DecreaseAllowance(spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)
DecreaseAllowance is a paid mutator transaction binding the contract method 0xa457c2d7.
Solidity: function decreaseAllowance(address spender, uint256 subtractedValue) returns(bool)
func (*ERC20MinterPauserSession) GetRoleAdmin ¶
func (_ERC20MinterPauser *ERC20MinterPauserSession) 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 (*ERC20MinterPauserSession) GetRoleMember ¶
func (_ERC20MinterPauser *ERC20MinterPauserSession) 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 (*ERC20MinterPauserSession) GetRoleMemberCount ¶
func (_ERC20MinterPauser *ERC20MinterPauserSession) 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 (*ERC20MinterPauserSession) GrantRole ¶
func (_ERC20MinterPauser *ERC20MinterPauserSession) 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 (*ERC20MinterPauserSession) HasRole ¶
func (_ERC20MinterPauser *ERC20MinterPauserSession) 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 (*ERC20MinterPauserSession) IncreaseAllowance ¶
func (_ERC20MinterPauser *ERC20MinterPauserSession) IncreaseAllowance(spender common.Address, addedValue *big.Int) (*types.Transaction, error)
IncreaseAllowance is a paid mutator transaction binding the contract method 0x39509351.
Solidity: function increaseAllowance(address spender, uint256 addedValue) returns(bool)
func (*ERC20MinterPauserSession) MINTERROLE ¶
func (_ERC20MinterPauser *ERC20MinterPauserSession) MINTERROLE() ([32]byte, error)
MINTERROLE is a free data retrieval call binding the contract method 0xd5391393.
Solidity: function MINTER_ROLE() view returns(bytes32)
func (*ERC20MinterPauserSession) Mint ¶
func (_ERC20MinterPauser *ERC20MinterPauserSession) Mint(to common.Address, amount *big.Int) (*types.Transaction, error)
Mint is a paid mutator transaction binding the contract method 0x40c10f19.
Solidity: function mint(address to, uint256 amount) returns()
func (*ERC20MinterPauserSession) Name ¶
func (_ERC20MinterPauser *ERC20MinterPauserSession) Name() (string, error)
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() view returns(string)
func (*ERC20MinterPauserSession) PAUSERROLE ¶
func (_ERC20MinterPauser *ERC20MinterPauserSession) PAUSERROLE() ([32]byte, error)
PAUSERROLE is a free data retrieval call binding the contract method 0xe63ab1e9.
Solidity: function PAUSER_ROLE() view returns(bytes32)
func (*ERC20MinterPauserSession) Pause ¶
func (_ERC20MinterPauser *ERC20MinterPauserSession) Pause() (*types.Transaction, error)
Pause is a paid mutator transaction binding the contract method 0x8456cb59.
Solidity: function pause() returns()
func (*ERC20MinterPauserSession) Paused ¶
func (_ERC20MinterPauser *ERC20MinterPauserSession) Paused() (bool, error)
Paused is a free data retrieval call binding the contract method 0x5c975abb.
Solidity: function paused() view returns(bool)
func (*ERC20MinterPauserSession) RenounceRole ¶
func (_ERC20MinterPauser *ERC20MinterPauserSession) 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 (*ERC20MinterPauserSession) RevokeRole ¶
func (_ERC20MinterPauser *ERC20MinterPauserSession) 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 (*ERC20MinterPauserSession) SupportsInterface ¶
func (_ERC20MinterPauser *ERC20MinterPauserSession) SupportsInterface(interfaceId [4]byte) (bool, error)
SupportsInterface is a free data retrieval call binding the contract method 0x01ffc9a7.
Solidity: function supportsInterface(bytes4 interfaceId) view returns(bool)
func (*ERC20MinterPauserSession) Symbol ¶
func (_ERC20MinterPauser *ERC20MinterPauserSession) Symbol() (string, error)
Symbol is a free data retrieval call binding the contract method 0x95d89b41.
Solidity: function symbol() view returns(string)
func (*ERC20MinterPauserSession) TotalSupply ¶
func (_ERC20MinterPauser *ERC20MinterPauserSession) TotalSupply() (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
func (*ERC20MinterPauserSession) Transfer ¶
func (_ERC20MinterPauser *ERC20MinterPauserSession) 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 (*ERC20MinterPauserSession) TransferFrom ¶
func (_ERC20MinterPauser *ERC20MinterPauserSession) 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)
func (*ERC20MinterPauserSession) Unpause ¶
func (_ERC20MinterPauser *ERC20MinterPauserSession) Unpause() (*types.Transaction, error)
Unpause is a paid mutator transaction binding the contract method 0x3f4ba83a.
Solidity: function unpause() returns()
type ERC20MinterPauserTransactor ¶
type ERC20MinterPauserTransactor struct {
// contains filtered or unexported fields
}
ERC20MinterPauserTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewERC20MinterPauserTransactor ¶
func NewERC20MinterPauserTransactor(address common.Address, transactor bind.ContractTransactor) (*ERC20MinterPauserTransactor, error)
NewERC20MinterPauserTransactor creates a new write-only instance of ERC20MinterPauser, bound to a specific deployed contract.
func (*ERC20MinterPauserTransactor) Approve ¶
func (_ERC20MinterPauser *ERC20MinterPauserTransactor) 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 (*ERC20MinterPauserTransactor) Burn ¶
func (_ERC20MinterPauser *ERC20MinterPauserTransactor) Burn(opts *bind.TransactOpts, amount *big.Int) (*types.Transaction, error)
Burn is a paid mutator transaction binding the contract method 0x42966c68.
Solidity: function burn(uint256 amount) returns()
func (*ERC20MinterPauserTransactor) BurnFrom ¶
func (_ERC20MinterPauser *ERC20MinterPauserTransactor) BurnFrom(opts *bind.TransactOpts, account common.Address, amount *big.Int) (*types.Transaction, error)
BurnFrom is a paid mutator transaction binding the contract method 0x79cc6790.
Solidity: function burnFrom(address account, uint256 amount) returns()
func (*ERC20MinterPauserTransactor) DecreaseAllowance ¶
func (_ERC20MinterPauser *ERC20MinterPauserTransactor) DecreaseAllowance(opts *bind.TransactOpts, spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)
DecreaseAllowance is a paid mutator transaction binding the contract method 0xa457c2d7.
Solidity: function decreaseAllowance(address spender, uint256 subtractedValue) returns(bool)
func (*ERC20MinterPauserTransactor) GrantRole ¶
func (_ERC20MinterPauser *ERC20MinterPauserTransactor) 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 (*ERC20MinterPauserTransactor) IncreaseAllowance ¶
func (_ERC20MinterPauser *ERC20MinterPauserTransactor) IncreaseAllowance(opts *bind.TransactOpts, spender common.Address, addedValue *big.Int) (*types.Transaction, error)
IncreaseAllowance is a paid mutator transaction binding the contract method 0x39509351.
Solidity: function increaseAllowance(address spender, uint256 addedValue) returns(bool)
func (*ERC20MinterPauserTransactor) Mint ¶
func (_ERC20MinterPauser *ERC20MinterPauserTransactor) Mint(opts *bind.TransactOpts, to common.Address, amount *big.Int) (*types.Transaction, error)
Mint is a paid mutator transaction binding the contract method 0x40c10f19.
Solidity: function mint(address to, uint256 amount) returns()
func (*ERC20MinterPauserTransactor) Pause ¶
func (_ERC20MinterPauser *ERC20MinterPauserTransactor) Pause(opts *bind.TransactOpts) (*types.Transaction, error)
Pause is a paid mutator transaction binding the contract method 0x8456cb59.
Solidity: function pause() returns()
func (*ERC20MinterPauserTransactor) RenounceRole ¶
func (_ERC20MinterPauser *ERC20MinterPauserTransactor) 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 (*ERC20MinterPauserTransactor) RevokeRole ¶
func (_ERC20MinterPauser *ERC20MinterPauserTransactor) 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()
func (*ERC20MinterPauserTransactor) Transfer ¶
func (_ERC20MinterPauser *ERC20MinterPauserTransactor) 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 (*ERC20MinterPauserTransactor) TransferFrom ¶
func (_ERC20MinterPauser *ERC20MinterPauserTransactor) 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)
func (*ERC20MinterPauserTransactor) Unpause ¶
func (_ERC20MinterPauser *ERC20MinterPauserTransactor) Unpause(opts *bind.TransactOpts) (*types.Transaction, error)
Unpause is a paid mutator transaction binding the contract method 0x3f4ba83a.
Solidity: function unpause() returns()
type ERC20MinterPauserTransactorRaw ¶
type ERC20MinterPauserTransactorRaw struct {
Contract *ERC20MinterPauserTransactor // Generic write-only contract binding to access the raw methods on
}
ERC20MinterPauserTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*ERC20MinterPauserTransactorRaw) Transact ¶
func (_ERC20MinterPauser *ERC20MinterPauserTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*ERC20MinterPauserTransactorRaw) Transfer ¶
func (_ERC20MinterPauser *ERC20MinterPauserTransactorRaw) 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 ERC20MinterPauserTransactorSession ¶
type ERC20MinterPauserTransactorSession struct { Contract *ERC20MinterPauserTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
ERC20MinterPauserTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*ERC20MinterPauserTransactorSession) Approve ¶
func (_ERC20MinterPauser *ERC20MinterPauserTransactorSession) 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 (*ERC20MinterPauserTransactorSession) Burn ¶
func (_ERC20MinterPauser *ERC20MinterPauserTransactorSession) Burn(amount *big.Int) (*types.Transaction, error)
Burn is a paid mutator transaction binding the contract method 0x42966c68.
Solidity: function burn(uint256 amount) returns()
func (*ERC20MinterPauserTransactorSession) BurnFrom ¶
func (_ERC20MinterPauser *ERC20MinterPauserTransactorSession) BurnFrom(account common.Address, amount *big.Int) (*types.Transaction, error)
BurnFrom is a paid mutator transaction binding the contract method 0x79cc6790.
Solidity: function burnFrom(address account, uint256 amount) returns()
func (*ERC20MinterPauserTransactorSession) DecreaseAllowance ¶
func (_ERC20MinterPauser *ERC20MinterPauserTransactorSession) DecreaseAllowance(spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)
DecreaseAllowance is a paid mutator transaction binding the contract method 0xa457c2d7.
Solidity: function decreaseAllowance(address spender, uint256 subtractedValue) returns(bool)
func (*ERC20MinterPauserTransactorSession) GrantRole ¶
func (_ERC20MinterPauser *ERC20MinterPauserTransactorSession) 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 (*ERC20MinterPauserTransactorSession) IncreaseAllowance ¶
func (_ERC20MinterPauser *ERC20MinterPauserTransactorSession) IncreaseAllowance(spender common.Address, addedValue *big.Int) (*types.Transaction, error)
IncreaseAllowance is a paid mutator transaction binding the contract method 0x39509351.
Solidity: function increaseAllowance(address spender, uint256 addedValue) returns(bool)
func (*ERC20MinterPauserTransactorSession) Mint ¶
func (_ERC20MinterPauser *ERC20MinterPauserTransactorSession) Mint(to common.Address, amount *big.Int) (*types.Transaction, error)
Mint is a paid mutator transaction binding the contract method 0x40c10f19.
Solidity: function mint(address to, uint256 amount) returns()
func (*ERC20MinterPauserTransactorSession) Pause ¶
func (_ERC20MinterPauser *ERC20MinterPauserTransactorSession) Pause() (*types.Transaction, error)
Pause is a paid mutator transaction binding the contract method 0x8456cb59.
Solidity: function pause() returns()
func (*ERC20MinterPauserTransactorSession) RenounceRole ¶
func (_ERC20MinterPauser *ERC20MinterPauserTransactorSession) 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 (*ERC20MinterPauserTransactorSession) RevokeRole ¶
func (_ERC20MinterPauser *ERC20MinterPauserTransactorSession) 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 (*ERC20MinterPauserTransactorSession) Transfer ¶
func (_ERC20MinterPauser *ERC20MinterPauserTransactorSession) 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 (*ERC20MinterPauserTransactorSession) TransferFrom ¶
func (_ERC20MinterPauser *ERC20MinterPauserTransactorSession) 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)
func (*ERC20MinterPauserTransactorSession) Unpause ¶
func (_ERC20MinterPauser *ERC20MinterPauserTransactorSession) Unpause() (*types.Transaction, error)
Unpause is a paid mutator transaction binding the contract method 0x3f4ba83a.
Solidity: function unpause() returns()
type ERC20MinterPauserTransfer ¶
type ERC20MinterPauserTransfer struct { From common.Address To common.Address Value *big.Int Raw types.Log // Blockchain specific contextual infos }
ERC20MinterPauserTransfer represents a Transfer event raised by the ERC20MinterPauser contract.
type ERC20MinterPauserTransferIterator ¶
type ERC20MinterPauserTransferIterator struct { Event *ERC20MinterPauserTransfer // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ERC20MinterPauserTransferIterator is returned from FilterTransfer and is used to iterate over the raw logs and unpacked data for Transfer events raised by the ERC20MinterPauser contract.
func (*ERC20MinterPauserTransferIterator) Close ¶
func (it *ERC20MinterPauserTransferIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ERC20MinterPauserTransferIterator) Error ¶
func (it *ERC20MinterPauserTransferIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ERC20MinterPauserTransferIterator) Next ¶
func (it *ERC20MinterPauserTransferIterator) 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 ERC20MinterPauserUnpaused ¶
type ERC20MinterPauserUnpaused struct { Account common.Address Raw types.Log // Blockchain specific contextual infos }
ERC20MinterPauserUnpaused represents a Unpaused event raised by the ERC20MinterPauser contract.
type ERC20MinterPauserUnpausedIterator ¶
type ERC20MinterPauserUnpausedIterator struct { Event *ERC20MinterPauserUnpaused // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ERC20MinterPauserUnpausedIterator is returned from FilterUnpaused and is used to iterate over the raw logs and unpacked data for Unpaused events raised by the ERC20MinterPauser contract.
func (*ERC20MinterPauserUnpausedIterator) Close ¶
func (it *ERC20MinterPauserUnpausedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ERC20MinterPauserUnpausedIterator) Error ¶
func (it *ERC20MinterPauserUnpausedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ERC20MinterPauserUnpausedIterator) Next ¶
func (it *ERC20MinterPauserUnpausedIterator) 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 GpactERC20Bridge ¶
type GpactERC20Bridge struct { GpactERC20BridgeCaller // Read-only binding to the contract GpactERC20BridgeTransactor // Write-only binding to the contract GpactERC20BridgeFilterer // Log filterer for contract events }
GpactERC20Bridge is an auto generated Go binding around an Ethereum contract.
func DeployGpactERC20Bridge ¶
func DeployGpactERC20Bridge(auth *bind.TransactOpts, backend bind.ContractBackend, _gpactCbcContract common.Address) (common.Address, *types.Transaction, *GpactERC20Bridge, error)
DeployGpactERC20Bridge deploys a new Ethereum contract, binding an instance of GpactERC20Bridge to it.
func NewGpactERC20Bridge ¶
func NewGpactERC20Bridge(address common.Address, backend bind.ContractBackend) (*GpactERC20Bridge, error)
NewGpactERC20Bridge creates a new instance of GpactERC20Bridge, bound to a specific deployed contract.
type GpactERC20BridgeApprovedRootBcId ¶
type GpactERC20BridgeApprovedRootBcId struct { BcId *big.Int Approved bool Raw types.Log // Blockchain specific contextual infos }
GpactERC20BridgeApprovedRootBcId represents a ApprovedRootBcId event raised by the GpactERC20Bridge contract.
type GpactERC20BridgeApprovedRootBcIdIterator ¶
type GpactERC20BridgeApprovedRootBcIdIterator struct { Event *GpactERC20BridgeApprovedRootBcId // Event containing the contract specifics and raw log // contains filtered or unexported fields }
GpactERC20BridgeApprovedRootBcIdIterator is returned from FilterApprovedRootBcId and is used to iterate over the raw logs and unpacked data for ApprovedRootBcId events raised by the GpactERC20Bridge contract.
func (*GpactERC20BridgeApprovedRootBcIdIterator) Close ¶
func (it *GpactERC20BridgeApprovedRootBcIdIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*GpactERC20BridgeApprovedRootBcIdIterator) Error ¶
func (it *GpactERC20BridgeApprovedRootBcIdIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*GpactERC20BridgeApprovedRootBcIdIterator) Next ¶
func (it *GpactERC20BridgeApprovedRootBcIdIterator) 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 GpactERC20BridgeCaller ¶
type GpactERC20BridgeCaller struct {
// contains filtered or unexported fields
}
GpactERC20BridgeCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewGpactERC20BridgeCaller ¶
func NewGpactERC20BridgeCaller(address common.Address, caller bind.ContractCaller) (*GpactERC20BridgeCaller, error)
NewGpactERC20BridgeCaller creates a new read-only instance of GpactERC20Bridge, bound to a specific deployed contract.
func (*GpactERC20BridgeCaller) DEFAULTADMINROLE ¶
func (_GpactERC20Bridge *GpactERC20BridgeCaller) 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 (*GpactERC20BridgeCaller) GetBcIdTokenMaping ¶
func (_GpactERC20Bridge *GpactERC20BridgeCaller) GetBcIdTokenMaping(opts *bind.CallOpts, _bcId *big.Int, _tokenContract common.Address) (common.Address, error)
GetBcIdTokenMaping is a free data retrieval call binding the contract method 0x80ccbde4.
Solidity: function getBcIdTokenMaping(uint256 _bcId, address _tokenContract) view returns(address)
func (*GpactERC20BridgeCaller) GetRemoteErc20BridgeContract ¶
func (_GpactERC20Bridge *GpactERC20BridgeCaller) GetRemoteErc20BridgeContract(opts *bind.CallOpts, _bcId *big.Int) (common.Address, error)
GetRemoteErc20BridgeContract is a free data retrieval call binding the contract method 0x0dd4b783.
Solidity: function getRemoteErc20BridgeContract(uint256 _bcId) view returns(address)
func (*GpactERC20BridgeCaller) GetRoleAdmin ¶
func (_GpactERC20Bridge *GpactERC20BridgeCaller) 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 (*GpactERC20BridgeCaller) HasRole ¶
func (_GpactERC20Bridge *GpactERC20BridgeCaller) 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 (*GpactERC20BridgeCaller) IsBcIdTokenAllowed ¶
func (_GpactERC20Bridge *GpactERC20BridgeCaller) IsBcIdTokenAllowed(opts *bind.CallOpts, _bcId *big.Int, _tokenContract common.Address) (bool, error)
IsBcIdTokenAllowed is a free data retrieval call binding the contract method 0x2e44a5b5.
Solidity: function isBcIdTokenAllowed(uint256 _bcId, address _tokenContract) view returns(bool)
func (*GpactERC20BridgeCaller) MAPPINGROLE ¶
func (_GpactERC20Bridge *GpactERC20BridgeCaller) MAPPINGROLE(opts *bind.CallOpts) ([32]byte, error)
MAPPINGROLE is a free data retrieval call binding the contract method 0x43a12224.
Solidity: function MAPPING_ROLE() view returns(bytes32)
func (*GpactERC20BridgeCaller) PAUSERROLE ¶
func (_GpactERC20Bridge *GpactERC20BridgeCaller) PAUSERROLE(opts *bind.CallOpts) ([32]byte, error)
PAUSERROLE is a free data retrieval call binding the contract method 0xe63ab1e9.
Solidity: function PAUSER_ROLE() view returns(bytes32)
func (*GpactERC20BridgeCaller) Paused ¶
func (_GpactERC20Bridge *GpactERC20BridgeCaller) Paused(opts *bind.CallOpts) (bool, error)
Paused is a free data retrieval call binding the contract method 0x5c975abb.
Solidity: function paused() view returns(bool)
func (*GpactERC20BridgeCaller) SupportsInterface ¶
func (_GpactERC20Bridge *GpactERC20BridgeCaller) SupportsInterface(opts *bind.CallOpts, interfaceId [4]byte) (bool, error)
SupportsInterface is a free data retrieval call binding the contract method 0x01ffc9a7.
Solidity: function supportsInterface(bytes4 interfaceId) view returns(bool)
func (*GpactERC20BridgeCaller) TokenContractConfiguration ¶
func (_GpactERC20Bridge *GpactERC20BridgeCaller) TokenContractConfiguration(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)
TokenContractConfiguration is a free data retrieval call binding the contract method 0xef0047cf.
Solidity: function tokenContractConfiguration(address ) view returns(uint256)
type GpactERC20BridgeCallerRaw ¶
type GpactERC20BridgeCallerRaw struct {
Contract *GpactERC20BridgeCaller // Generic read-only contract binding to access the raw methods on
}
GpactERC20BridgeCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*GpactERC20BridgeCallerRaw) Call ¶
func (_GpactERC20Bridge *GpactERC20BridgeCallerRaw) 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 GpactERC20BridgeCallerSession ¶
type GpactERC20BridgeCallerSession struct { Contract *GpactERC20BridgeCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
GpactERC20BridgeCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*GpactERC20BridgeCallerSession) DEFAULTADMINROLE ¶
func (_GpactERC20Bridge *GpactERC20BridgeCallerSession) 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 (*GpactERC20BridgeCallerSession) GetBcIdTokenMaping ¶
func (_GpactERC20Bridge *GpactERC20BridgeCallerSession) GetBcIdTokenMaping(_bcId *big.Int, _tokenContract common.Address) (common.Address, error)
GetBcIdTokenMaping is a free data retrieval call binding the contract method 0x80ccbde4.
Solidity: function getBcIdTokenMaping(uint256 _bcId, address _tokenContract) view returns(address)
func (*GpactERC20BridgeCallerSession) GetRemoteErc20BridgeContract ¶
func (_GpactERC20Bridge *GpactERC20BridgeCallerSession) GetRemoteErc20BridgeContract(_bcId *big.Int) (common.Address, error)
GetRemoteErc20BridgeContract is a free data retrieval call binding the contract method 0x0dd4b783.
Solidity: function getRemoteErc20BridgeContract(uint256 _bcId) view returns(address)
func (*GpactERC20BridgeCallerSession) GetRoleAdmin ¶
func (_GpactERC20Bridge *GpactERC20BridgeCallerSession) 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 (*GpactERC20BridgeCallerSession) HasRole ¶
func (_GpactERC20Bridge *GpactERC20BridgeCallerSession) 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 (*GpactERC20BridgeCallerSession) IsBcIdTokenAllowed ¶
func (_GpactERC20Bridge *GpactERC20BridgeCallerSession) IsBcIdTokenAllowed(_bcId *big.Int, _tokenContract common.Address) (bool, error)
IsBcIdTokenAllowed is a free data retrieval call binding the contract method 0x2e44a5b5.
Solidity: function isBcIdTokenAllowed(uint256 _bcId, address _tokenContract) view returns(bool)
func (*GpactERC20BridgeCallerSession) MAPPINGROLE ¶
func (_GpactERC20Bridge *GpactERC20BridgeCallerSession) MAPPINGROLE() ([32]byte, error)
MAPPINGROLE is a free data retrieval call binding the contract method 0x43a12224.
Solidity: function MAPPING_ROLE() view returns(bytes32)
func (*GpactERC20BridgeCallerSession) PAUSERROLE ¶
func (_GpactERC20Bridge *GpactERC20BridgeCallerSession) PAUSERROLE() ([32]byte, error)
PAUSERROLE is a free data retrieval call binding the contract method 0xe63ab1e9.
Solidity: function PAUSER_ROLE() view returns(bytes32)
func (*GpactERC20BridgeCallerSession) Paused ¶
func (_GpactERC20Bridge *GpactERC20BridgeCallerSession) Paused() (bool, error)
Paused is a free data retrieval call binding the contract method 0x5c975abb.
Solidity: function paused() view returns(bool)
func (*GpactERC20BridgeCallerSession) SupportsInterface ¶
func (_GpactERC20Bridge *GpactERC20BridgeCallerSession) SupportsInterface(interfaceId [4]byte) (bool, error)
SupportsInterface is a free data retrieval call binding the contract method 0x01ffc9a7.
Solidity: function supportsInterface(bytes4 interfaceId) view returns(bool)
func (*GpactERC20BridgeCallerSession) TokenContractConfiguration ¶
func (_GpactERC20Bridge *GpactERC20BridgeCallerSession) TokenContractConfiguration(arg0 common.Address) (*big.Int, error)
TokenContractConfiguration is a free data retrieval call binding the contract method 0xef0047cf.
Solidity: function tokenContractConfiguration(address ) view returns(uint256)
type GpactERC20BridgeFilterer ¶
type GpactERC20BridgeFilterer struct {
// contains filtered or unexported fields
}
GpactERC20BridgeFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewGpactERC20BridgeFilterer ¶
func NewGpactERC20BridgeFilterer(address common.Address, filterer bind.ContractFilterer) (*GpactERC20BridgeFilterer, error)
NewGpactERC20BridgeFilterer creates a new log filterer instance of GpactERC20Bridge, bound to a specific deployed contract.
func (*GpactERC20BridgeFilterer) FilterApprovedRootBcId ¶
func (_GpactERC20Bridge *GpactERC20BridgeFilterer) FilterApprovedRootBcId(opts *bind.FilterOpts) (*GpactERC20BridgeApprovedRootBcIdIterator, error)
FilterApprovedRootBcId is a free log retrieval operation binding the contract event 0xbf226311bb69e53731fdcbcc29e56e1103488e8988646a6870566d339e2ee779.
Solidity: event ApprovedRootBcId(uint256 _bcId, bool _approved)
func (*GpactERC20BridgeFilterer) FilterPaused ¶
func (_GpactERC20Bridge *GpactERC20BridgeFilterer) FilterPaused(opts *bind.FilterOpts) (*GpactERC20BridgePausedIterator, error)
FilterPaused is a free log retrieval operation binding the contract event 0x62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258.
Solidity: event Paused(address account)
func (*GpactERC20BridgeFilterer) FilterReceivedFrom ¶
func (_GpactERC20Bridge *GpactERC20BridgeFilterer) FilterReceivedFrom(opts *bind.FilterOpts) (*GpactERC20BridgeReceivedFromIterator, error)
FilterReceivedFrom is a free log retrieval operation binding the contract event 0x3008be2f38f2c92605e65a39c193c4b67868ea0dd742f5b9d6f228c9e258ece1.
Solidity: event ReceivedFrom(uint256 _srcBcId, address _srcTokenContract, address _destTokenContract, address _recipient, uint256 _amount)
func (*GpactERC20BridgeFilterer) FilterRoleAdminChanged ¶
func (_GpactERC20Bridge *GpactERC20BridgeFilterer) FilterRoleAdminChanged(opts *bind.FilterOpts, role [][32]byte, previousAdminRole [][32]byte, newAdminRole [][32]byte) (*GpactERC20BridgeRoleAdminChangedIterator, 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 (*GpactERC20BridgeFilterer) FilterRoleGranted ¶
func (_GpactERC20Bridge *GpactERC20BridgeFilterer) FilterRoleGranted(opts *bind.FilterOpts, role [][32]byte, account []common.Address, sender []common.Address) (*GpactERC20BridgeRoleGrantedIterator, 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 (*GpactERC20BridgeFilterer) FilterRoleRevoked ¶
func (_GpactERC20Bridge *GpactERC20BridgeFilterer) FilterRoleRevoked(opts *bind.FilterOpts, role [][32]byte, account []common.Address, sender []common.Address) (*GpactERC20BridgeRoleRevokedIterator, 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 (*GpactERC20BridgeFilterer) FilterTokenContractAddressMappingChanged ¶
func (_GpactERC20Bridge *GpactERC20BridgeFilterer) FilterTokenContractAddressMappingChanged(opts *bind.FilterOpts) (*GpactERC20BridgeTokenContractAddressMappingChangedIterator, error)
FilterTokenContractAddressMappingChanged is a free log retrieval operation binding the contract event 0x3887b7740ba2f669b578cfaf7b54c097711335413cf96f681d36dbf97b98a830.
Solidity: event TokenContractAddressMappingChanged(address _thisBcTokenContract, uint256 _otherBcId, address _othercTokenContract)
func (*GpactERC20BridgeFilterer) FilterTokenContractConfig ¶
func (_GpactERC20Bridge *GpactERC20BridgeFilterer) FilterTokenContractConfig(opts *bind.FilterOpts) (*GpactERC20BridgeTokenContractConfigIterator, error)
FilterTokenContractConfig is a free log retrieval operation binding the contract event 0x75592476a227f5631d3cd8cc24fec7d4c3aec6a178f64ec2b8b91693672f613a.
Solidity: event TokenContractConfig(address _thisBcTokenContract, uint256 _config)
func (*GpactERC20BridgeFilterer) FilterTransferTo ¶
func (_GpactERC20Bridge *GpactERC20BridgeFilterer) FilterTransferTo(opts *bind.FilterOpts) (*GpactERC20BridgeTransferToIterator, error)
FilterTransferTo is a free log retrieval operation binding the contract event 0x752a2bfed77c22e59eeaf9351f545a08f5ee0110b8d6de0e7bcaf32a5dfa661b.
Solidity: event TransferTo(uint256 _destBcId, address _srcTokenContract, address _destTokenContract, address _sender, address _recipient, uint256 _amount)
func (*GpactERC20BridgeFilterer) FilterUnpaused ¶
func (_GpactERC20Bridge *GpactERC20BridgeFilterer) FilterUnpaused(opts *bind.FilterOpts) (*GpactERC20BridgeUnpausedIterator, error)
FilterUnpaused is a free log retrieval operation binding the contract event 0x5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa.
Solidity: event Unpaused(address account)
func (*GpactERC20BridgeFilterer) ParseApprovedRootBcId ¶
func (_GpactERC20Bridge *GpactERC20BridgeFilterer) ParseApprovedRootBcId(log types.Log) (*GpactERC20BridgeApprovedRootBcId, error)
ParseApprovedRootBcId is a log parse operation binding the contract event 0xbf226311bb69e53731fdcbcc29e56e1103488e8988646a6870566d339e2ee779.
Solidity: event ApprovedRootBcId(uint256 _bcId, bool _approved)
func (*GpactERC20BridgeFilterer) ParsePaused ¶
func (_GpactERC20Bridge *GpactERC20BridgeFilterer) ParsePaused(log types.Log) (*GpactERC20BridgePaused, error)
ParsePaused is a log parse operation binding the contract event 0x62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258.
Solidity: event Paused(address account)
func (*GpactERC20BridgeFilterer) ParseReceivedFrom ¶
func (_GpactERC20Bridge *GpactERC20BridgeFilterer) ParseReceivedFrom(log types.Log) (*GpactERC20BridgeReceivedFrom, error)
ParseReceivedFrom is a log parse operation binding the contract event 0x3008be2f38f2c92605e65a39c193c4b67868ea0dd742f5b9d6f228c9e258ece1.
Solidity: event ReceivedFrom(uint256 _srcBcId, address _srcTokenContract, address _destTokenContract, address _recipient, uint256 _amount)
func (*GpactERC20BridgeFilterer) ParseRoleAdminChanged ¶
func (_GpactERC20Bridge *GpactERC20BridgeFilterer) ParseRoleAdminChanged(log types.Log) (*GpactERC20BridgeRoleAdminChanged, 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 (*GpactERC20BridgeFilterer) ParseRoleGranted ¶
func (_GpactERC20Bridge *GpactERC20BridgeFilterer) ParseRoleGranted(log types.Log) (*GpactERC20BridgeRoleGranted, 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 (*GpactERC20BridgeFilterer) ParseRoleRevoked ¶
func (_GpactERC20Bridge *GpactERC20BridgeFilterer) ParseRoleRevoked(log types.Log) (*GpactERC20BridgeRoleRevoked, 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 (*GpactERC20BridgeFilterer) ParseTokenContractAddressMappingChanged ¶
func (_GpactERC20Bridge *GpactERC20BridgeFilterer) ParseTokenContractAddressMappingChanged(log types.Log) (*GpactERC20BridgeTokenContractAddressMappingChanged, error)
ParseTokenContractAddressMappingChanged is a log parse operation binding the contract event 0x3887b7740ba2f669b578cfaf7b54c097711335413cf96f681d36dbf97b98a830.
Solidity: event TokenContractAddressMappingChanged(address _thisBcTokenContract, uint256 _otherBcId, address _othercTokenContract)
func (*GpactERC20BridgeFilterer) ParseTokenContractConfig ¶
func (_GpactERC20Bridge *GpactERC20BridgeFilterer) ParseTokenContractConfig(log types.Log) (*GpactERC20BridgeTokenContractConfig, error)
ParseTokenContractConfig is a log parse operation binding the contract event 0x75592476a227f5631d3cd8cc24fec7d4c3aec6a178f64ec2b8b91693672f613a.
Solidity: event TokenContractConfig(address _thisBcTokenContract, uint256 _config)
func (*GpactERC20BridgeFilterer) ParseTransferTo ¶
func (_GpactERC20Bridge *GpactERC20BridgeFilterer) ParseTransferTo(log types.Log) (*GpactERC20BridgeTransferTo, error)
ParseTransferTo is a log parse operation binding the contract event 0x752a2bfed77c22e59eeaf9351f545a08f5ee0110b8d6de0e7bcaf32a5dfa661b.
Solidity: event TransferTo(uint256 _destBcId, address _srcTokenContract, address _destTokenContract, address _sender, address _recipient, uint256 _amount)
func (*GpactERC20BridgeFilterer) ParseUnpaused ¶
func (_GpactERC20Bridge *GpactERC20BridgeFilterer) ParseUnpaused(log types.Log) (*GpactERC20BridgeUnpaused, error)
ParseUnpaused is a log parse operation binding the contract event 0x5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa.
Solidity: event Unpaused(address account)
func (*GpactERC20BridgeFilterer) WatchApprovedRootBcId ¶
func (_GpactERC20Bridge *GpactERC20BridgeFilterer) WatchApprovedRootBcId(opts *bind.WatchOpts, sink chan<- *GpactERC20BridgeApprovedRootBcId) (event.Subscription, error)
WatchApprovedRootBcId is a free log subscription operation binding the contract event 0xbf226311bb69e53731fdcbcc29e56e1103488e8988646a6870566d339e2ee779.
Solidity: event ApprovedRootBcId(uint256 _bcId, bool _approved)
func (*GpactERC20BridgeFilterer) WatchPaused ¶
func (_GpactERC20Bridge *GpactERC20BridgeFilterer) WatchPaused(opts *bind.WatchOpts, sink chan<- *GpactERC20BridgePaused) (event.Subscription, error)
WatchPaused is a free log subscription operation binding the contract event 0x62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258.
Solidity: event Paused(address account)
func (*GpactERC20BridgeFilterer) WatchReceivedFrom ¶
func (_GpactERC20Bridge *GpactERC20BridgeFilterer) WatchReceivedFrom(opts *bind.WatchOpts, sink chan<- *GpactERC20BridgeReceivedFrom) (event.Subscription, error)
WatchReceivedFrom is a free log subscription operation binding the contract event 0x3008be2f38f2c92605e65a39c193c4b67868ea0dd742f5b9d6f228c9e258ece1.
Solidity: event ReceivedFrom(uint256 _srcBcId, address _srcTokenContract, address _destTokenContract, address _recipient, uint256 _amount)
func (*GpactERC20BridgeFilterer) WatchRoleAdminChanged ¶
func (_GpactERC20Bridge *GpactERC20BridgeFilterer) WatchRoleAdminChanged(opts *bind.WatchOpts, sink chan<- *GpactERC20BridgeRoleAdminChanged, 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 (*GpactERC20BridgeFilterer) WatchRoleGranted ¶
func (_GpactERC20Bridge *GpactERC20BridgeFilterer) WatchRoleGranted(opts *bind.WatchOpts, sink chan<- *GpactERC20BridgeRoleGranted, 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 (*GpactERC20BridgeFilterer) WatchRoleRevoked ¶
func (_GpactERC20Bridge *GpactERC20BridgeFilterer) WatchRoleRevoked(opts *bind.WatchOpts, sink chan<- *GpactERC20BridgeRoleRevoked, 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)
func (*GpactERC20BridgeFilterer) WatchTokenContractAddressMappingChanged ¶
func (_GpactERC20Bridge *GpactERC20BridgeFilterer) WatchTokenContractAddressMappingChanged(opts *bind.WatchOpts, sink chan<- *GpactERC20BridgeTokenContractAddressMappingChanged) (event.Subscription, error)
WatchTokenContractAddressMappingChanged is a free log subscription operation binding the contract event 0x3887b7740ba2f669b578cfaf7b54c097711335413cf96f681d36dbf97b98a830.
Solidity: event TokenContractAddressMappingChanged(address _thisBcTokenContract, uint256 _otherBcId, address _othercTokenContract)
func (*GpactERC20BridgeFilterer) WatchTokenContractConfig ¶
func (_GpactERC20Bridge *GpactERC20BridgeFilterer) WatchTokenContractConfig(opts *bind.WatchOpts, sink chan<- *GpactERC20BridgeTokenContractConfig) (event.Subscription, error)
WatchTokenContractConfig is a free log subscription operation binding the contract event 0x75592476a227f5631d3cd8cc24fec7d4c3aec6a178f64ec2b8b91693672f613a.
Solidity: event TokenContractConfig(address _thisBcTokenContract, uint256 _config)
func (*GpactERC20BridgeFilterer) WatchTransferTo ¶
func (_GpactERC20Bridge *GpactERC20BridgeFilterer) WatchTransferTo(opts *bind.WatchOpts, sink chan<- *GpactERC20BridgeTransferTo) (event.Subscription, error)
WatchTransferTo is a free log subscription operation binding the contract event 0x752a2bfed77c22e59eeaf9351f545a08f5ee0110b8d6de0e7bcaf32a5dfa661b.
Solidity: event TransferTo(uint256 _destBcId, address _srcTokenContract, address _destTokenContract, address _sender, address _recipient, uint256 _amount)
func (*GpactERC20BridgeFilterer) WatchUnpaused ¶
func (_GpactERC20Bridge *GpactERC20BridgeFilterer) WatchUnpaused(opts *bind.WatchOpts, sink chan<- *GpactERC20BridgeUnpaused) (event.Subscription, error)
WatchUnpaused is a free log subscription operation binding the contract event 0x5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa.
Solidity: event Unpaused(address account)
type GpactERC20BridgePaused ¶
type GpactERC20BridgePaused struct { Account common.Address Raw types.Log // Blockchain specific contextual infos }
GpactERC20BridgePaused represents a Paused event raised by the GpactERC20Bridge contract.
type GpactERC20BridgePausedIterator ¶
type GpactERC20BridgePausedIterator struct { Event *GpactERC20BridgePaused // Event containing the contract specifics and raw log // contains filtered or unexported fields }
GpactERC20BridgePausedIterator is returned from FilterPaused and is used to iterate over the raw logs and unpacked data for Paused events raised by the GpactERC20Bridge contract.
func (*GpactERC20BridgePausedIterator) Close ¶
func (it *GpactERC20BridgePausedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*GpactERC20BridgePausedIterator) Error ¶
func (it *GpactERC20BridgePausedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*GpactERC20BridgePausedIterator) Next ¶
func (it *GpactERC20BridgePausedIterator) 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 GpactERC20BridgeRaw ¶
type GpactERC20BridgeRaw struct {
Contract *GpactERC20Bridge // Generic contract binding to access the raw methods on
}
GpactERC20BridgeRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*GpactERC20BridgeRaw) Call ¶
func (_GpactERC20Bridge *GpactERC20BridgeRaw) 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 (*GpactERC20BridgeRaw) Transact ¶
func (_GpactERC20Bridge *GpactERC20BridgeRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*GpactERC20BridgeRaw) Transfer ¶
func (_GpactERC20Bridge *GpactERC20BridgeRaw) 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 GpactERC20BridgeReceivedFrom ¶
type GpactERC20BridgeReceivedFrom struct { SrcBcId *big.Int SrcTokenContract common.Address DestTokenContract common.Address Recipient common.Address Amount *big.Int Raw types.Log // Blockchain specific contextual infos }
GpactERC20BridgeReceivedFrom represents a ReceivedFrom event raised by the GpactERC20Bridge contract.
type GpactERC20BridgeReceivedFromIterator ¶
type GpactERC20BridgeReceivedFromIterator struct { Event *GpactERC20BridgeReceivedFrom // Event containing the contract specifics and raw log // contains filtered or unexported fields }
GpactERC20BridgeReceivedFromIterator is returned from FilterReceivedFrom and is used to iterate over the raw logs and unpacked data for ReceivedFrom events raised by the GpactERC20Bridge contract.
func (*GpactERC20BridgeReceivedFromIterator) Close ¶
func (it *GpactERC20BridgeReceivedFromIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*GpactERC20BridgeReceivedFromIterator) Error ¶
func (it *GpactERC20BridgeReceivedFromIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*GpactERC20BridgeReceivedFromIterator) Next ¶
func (it *GpactERC20BridgeReceivedFromIterator) 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 GpactERC20BridgeRoleAdminChanged ¶
type GpactERC20BridgeRoleAdminChanged struct { Role [32]byte PreviousAdminRole [32]byte NewAdminRole [32]byte Raw types.Log // Blockchain specific contextual infos }
GpactERC20BridgeRoleAdminChanged represents a RoleAdminChanged event raised by the GpactERC20Bridge contract.
type GpactERC20BridgeRoleAdminChangedIterator ¶
type GpactERC20BridgeRoleAdminChangedIterator struct { Event *GpactERC20BridgeRoleAdminChanged // Event containing the contract specifics and raw log // contains filtered or unexported fields }
GpactERC20BridgeRoleAdminChangedIterator is returned from FilterRoleAdminChanged and is used to iterate over the raw logs and unpacked data for RoleAdminChanged events raised by the GpactERC20Bridge contract.
func (*GpactERC20BridgeRoleAdminChangedIterator) Close ¶
func (it *GpactERC20BridgeRoleAdminChangedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*GpactERC20BridgeRoleAdminChangedIterator) Error ¶
func (it *GpactERC20BridgeRoleAdminChangedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*GpactERC20BridgeRoleAdminChangedIterator) Next ¶
func (it *GpactERC20BridgeRoleAdminChangedIterator) 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 GpactERC20BridgeRoleGranted ¶
type GpactERC20BridgeRoleGranted struct { Role [32]byte Account common.Address Sender common.Address Raw types.Log // Blockchain specific contextual infos }
GpactERC20BridgeRoleGranted represents a RoleGranted event raised by the GpactERC20Bridge contract.
type GpactERC20BridgeRoleGrantedIterator ¶
type GpactERC20BridgeRoleGrantedIterator struct { Event *GpactERC20BridgeRoleGranted // Event containing the contract specifics and raw log // contains filtered or unexported fields }
GpactERC20BridgeRoleGrantedIterator is returned from FilterRoleGranted and is used to iterate over the raw logs and unpacked data for RoleGranted events raised by the GpactERC20Bridge contract.
func (*GpactERC20BridgeRoleGrantedIterator) Close ¶
func (it *GpactERC20BridgeRoleGrantedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*GpactERC20BridgeRoleGrantedIterator) Error ¶
func (it *GpactERC20BridgeRoleGrantedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*GpactERC20BridgeRoleGrantedIterator) Next ¶
func (it *GpactERC20BridgeRoleGrantedIterator) 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 GpactERC20BridgeRoleRevoked ¶
type GpactERC20BridgeRoleRevoked struct { Role [32]byte Account common.Address Sender common.Address Raw types.Log // Blockchain specific contextual infos }
GpactERC20BridgeRoleRevoked represents a RoleRevoked event raised by the GpactERC20Bridge contract.
type GpactERC20BridgeRoleRevokedIterator ¶
type GpactERC20BridgeRoleRevokedIterator struct { Event *GpactERC20BridgeRoleRevoked // Event containing the contract specifics and raw log // contains filtered or unexported fields }
GpactERC20BridgeRoleRevokedIterator is returned from FilterRoleRevoked and is used to iterate over the raw logs and unpacked data for RoleRevoked events raised by the GpactERC20Bridge contract.
func (*GpactERC20BridgeRoleRevokedIterator) Close ¶
func (it *GpactERC20BridgeRoleRevokedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*GpactERC20BridgeRoleRevokedIterator) Error ¶
func (it *GpactERC20BridgeRoleRevokedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*GpactERC20BridgeRoleRevokedIterator) Next ¶
func (it *GpactERC20BridgeRoleRevokedIterator) 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 GpactERC20BridgeSession ¶
type GpactERC20BridgeSession struct { Contract *GpactERC20Bridge // 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 }
GpactERC20BridgeSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*GpactERC20BridgeSession) AddApprovedRootBcId ¶
func (_GpactERC20Bridge *GpactERC20BridgeSession) AddApprovedRootBcId(_bcId *big.Int) (*types.Transaction, error)
AddApprovedRootBcId is a paid mutator transaction binding the contract method 0x148d42e4.
Solidity: function addApprovedRootBcId(uint256 _bcId) returns()
func (*GpactERC20BridgeSession) AddContractFirstMapping ¶
func (_GpactERC20Bridge *GpactERC20BridgeSession) AddContractFirstMapping(_thisBcTokenContract common.Address, _otherBcId *big.Int, _otherTokenContract common.Address, _thisBcMassC bool) (*types.Transaction, error)
AddContractFirstMapping is a paid mutator transaction binding the contract method 0xc22b8699.
Solidity: function addContractFirstMapping(address _thisBcTokenContract, uint256 _otherBcId, address _otherTokenContract, bool _thisBcMassC) returns()
func (*GpactERC20BridgeSession) AddRemoteERC20Bridge ¶
func (_GpactERC20Bridge *GpactERC20BridgeSession) AddRemoteERC20Bridge(_otherBcId *big.Int, _otherErc20Bridge common.Address) (*types.Transaction, error)
AddRemoteERC20Bridge is a paid mutator transaction binding the contract method 0x98e64603.
Solidity: function addRemoteERC20Bridge(uint256 _otherBcId, address _otherErc20Bridge) returns()
func (*GpactERC20BridgeSession) ChangeContractMapping ¶
func (_GpactERC20Bridge *GpactERC20BridgeSession) ChangeContractMapping(_thisBcTokenContract common.Address, _otherBcId *big.Int, _otherTokenContract common.Address) (*types.Transaction, error)
ChangeContractMapping is a paid mutator transaction binding the contract method 0x06b47e9e.
Solidity: function changeContractMapping(address _thisBcTokenContract, uint256 _otherBcId, address _otherTokenContract) returns()
func (*GpactERC20BridgeSession) DEFAULTADMINROLE ¶
func (_GpactERC20Bridge *GpactERC20BridgeSession) 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 (*GpactERC20BridgeSession) GetBcIdTokenMaping ¶
func (_GpactERC20Bridge *GpactERC20BridgeSession) GetBcIdTokenMaping(_bcId *big.Int, _tokenContract common.Address) (common.Address, error)
GetBcIdTokenMaping is a free data retrieval call binding the contract method 0x80ccbde4.
Solidity: function getBcIdTokenMaping(uint256 _bcId, address _tokenContract) view returns(address)
func (*GpactERC20BridgeSession) GetRemoteErc20BridgeContract ¶
func (_GpactERC20Bridge *GpactERC20BridgeSession) GetRemoteErc20BridgeContract(_bcId *big.Int) (common.Address, error)
GetRemoteErc20BridgeContract is a free data retrieval call binding the contract method 0x0dd4b783.
Solidity: function getRemoteErc20BridgeContract(uint256 _bcId) view returns(address)
func (*GpactERC20BridgeSession) GetRoleAdmin ¶
func (_GpactERC20Bridge *GpactERC20BridgeSession) 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 (*GpactERC20BridgeSession) GrantRole ¶
func (_GpactERC20Bridge *GpactERC20BridgeSession) 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 (*GpactERC20BridgeSession) HasRole ¶
func (_GpactERC20Bridge *GpactERC20BridgeSession) 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 (*GpactERC20BridgeSession) IsBcIdTokenAllowed ¶
func (_GpactERC20Bridge *GpactERC20BridgeSession) IsBcIdTokenAllowed(_bcId *big.Int, _tokenContract common.Address) (bool, error)
IsBcIdTokenAllowed is a free data retrieval call binding the contract method 0x2e44a5b5.
Solidity: function isBcIdTokenAllowed(uint256 _bcId, address _tokenContract) view returns(bool)
func (*GpactERC20BridgeSession) MAPPINGROLE ¶
func (_GpactERC20Bridge *GpactERC20BridgeSession) MAPPINGROLE() ([32]byte, error)
MAPPINGROLE is a free data retrieval call binding the contract method 0x43a12224.
Solidity: function MAPPING_ROLE() view returns(bytes32)
func (*GpactERC20BridgeSession) PAUSERROLE ¶
func (_GpactERC20Bridge *GpactERC20BridgeSession) PAUSERROLE() ([32]byte, error)
PAUSERROLE is a free data retrieval call binding the contract method 0xe63ab1e9.
Solidity: function PAUSER_ROLE() view returns(bytes32)
func (*GpactERC20BridgeSession) Pause ¶
func (_GpactERC20Bridge *GpactERC20BridgeSession) Pause() (*types.Transaction, error)
Pause is a paid mutator transaction binding the contract method 0x8456cb59.
Solidity: function pause() returns()
func (*GpactERC20BridgeSession) Paused ¶
func (_GpactERC20Bridge *GpactERC20BridgeSession) Paused() (bool, error)
Paused is a free data retrieval call binding the contract method 0x5c975abb.
Solidity: function paused() view returns(bool)
func (*GpactERC20BridgeSession) ReceiveFromOtherBlockchain ¶
func (_GpactERC20Bridge *GpactERC20BridgeSession) ReceiveFromOtherBlockchain(_destTokenContract common.Address, _recipient common.Address, _amount *big.Int) (*types.Transaction, error)
ReceiveFromOtherBlockchain is a paid mutator transaction binding the contract method 0x8278ef6d.
Solidity: function receiveFromOtherBlockchain(address _destTokenContract, address _recipient, uint256 _amount) returns()
func (*GpactERC20BridgeSession) RemoveApprovedRootBcId ¶
func (_GpactERC20Bridge *GpactERC20BridgeSession) RemoveApprovedRootBcId(_bcId *big.Int) (*types.Transaction, error)
RemoveApprovedRootBcId is a paid mutator transaction binding the contract method 0x5efe4253.
Solidity: function removeApprovedRootBcId(uint256 _bcId) returns()
func (*GpactERC20BridgeSession) RenounceRole ¶
func (_GpactERC20Bridge *GpactERC20BridgeSession) 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 (*GpactERC20BridgeSession) RevokeRole ¶
func (_GpactERC20Bridge *GpactERC20BridgeSession) 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 (*GpactERC20BridgeSession) SetTokenConfig ¶
func (_GpactERC20Bridge *GpactERC20BridgeSession) SetTokenConfig(_thisBcTokenContract common.Address, _thisBcMassC bool) (*types.Transaction, error)
SetTokenConfig is a paid mutator transaction binding the contract method 0xe96dab56.
Solidity: function setTokenConfig(address _thisBcTokenContract, bool _thisBcMassC) returns()
func (*GpactERC20BridgeSession) SupportsInterface ¶
func (_GpactERC20Bridge *GpactERC20BridgeSession) SupportsInterface(interfaceId [4]byte) (bool, error)
SupportsInterface is a free data retrieval call binding the contract method 0x01ffc9a7.
Solidity: function supportsInterface(bytes4 interfaceId) view returns(bool)
func (*GpactERC20BridgeSession) TokenContractConfiguration ¶
func (_GpactERC20Bridge *GpactERC20BridgeSession) TokenContractConfiguration(arg0 common.Address) (*big.Int, error)
TokenContractConfiguration is a free data retrieval call binding the contract method 0xef0047cf.
Solidity: function tokenContractConfiguration(address ) view returns(uint256)
func (*GpactERC20BridgeSession) TransferFromAccountToOtherBlockchain ¶
func (_GpactERC20Bridge *GpactERC20BridgeSession) TransferFromAccountToOtherBlockchain(_sender common.Address, _destBcId *big.Int, _srcTokenContract common.Address, _recipient common.Address, _amount *big.Int) (*types.Transaction, error)
TransferFromAccountToOtherBlockchain is a paid mutator transaction binding the contract method 0x069b0084.
Solidity: function transferFromAccountToOtherBlockchain(address _sender, uint256 _destBcId, address _srcTokenContract, address _recipient, uint256 _amount) returns()
func (*GpactERC20BridgeSession) TransferToOtherBlockchain ¶
func (_GpactERC20Bridge *GpactERC20BridgeSession) TransferToOtherBlockchain(_destBcId *big.Int, _srcTokenContract common.Address, _recipient common.Address, _amount *big.Int) (*types.Transaction, error)
TransferToOtherBlockchain is a paid mutator transaction binding the contract method 0x84aea633.
Solidity: function transferToOtherBlockchain(uint256 _destBcId, address _srcTokenContract, address _recipient, uint256 _amount) returns()
func (*GpactERC20BridgeSession) Unpause ¶
func (_GpactERC20Bridge *GpactERC20BridgeSession) Unpause() (*types.Transaction, error)
Unpause is a paid mutator transaction binding the contract method 0x3f4ba83a.
Solidity: function unpause() returns()
type GpactERC20BridgeTokenContractAddressMappingChanged ¶
type GpactERC20BridgeTokenContractAddressMappingChanged struct { ThisBcTokenContract common.Address OtherBcId *big.Int OthercTokenContract common.Address Raw types.Log // Blockchain specific contextual infos }
GpactERC20BridgeTokenContractAddressMappingChanged represents a TokenContractAddressMappingChanged event raised by the GpactERC20Bridge contract.
type GpactERC20BridgeTokenContractAddressMappingChangedIterator ¶
type GpactERC20BridgeTokenContractAddressMappingChangedIterator struct { Event *GpactERC20BridgeTokenContractAddressMappingChanged // Event containing the contract specifics and raw log // contains filtered or unexported fields }
GpactERC20BridgeTokenContractAddressMappingChangedIterator is returned from FilterTokenContractAddressMappingChanged and is used to iterate over the raw logs and unpacked data for TokenContractAddressMappingChanged events raised by the GpactERC20Bridge contract.
func (*GpactERC20BridgeTokenContractAddressMappingChangedIterator) Close ¶
func (it *GpactERC20BridgeTokenContractAddressMappingChangedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*GpactERC20BridgeTokenContractAddressMappingChangedIterator) Error ¶
func (it *GpactERC20BridgeTokenContractAddressMappingChangedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*GpactERC20BridgeTokenContractAddressMappingChangedIterator) Next ¶
func (it *GpactERC20BridgeTokenContractAddressMappingChangedIterator) 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 GpactERC20BridgeTokenContractConfig ¶
type GpactERC20BridgeTokenContractConfig struct { ThisBcTokenContract common.Address Config *big.Int Raw types.Log // Blockchain specific contextual infos }
GpactERC20BridgeTokenContractConfig represents a TokenContractConfig event raised by the GpactERC20Bridge contract.
type GpactERC20BridgeTokenContractConfigIterator ¶
type GpactERC20BridgeTokenContractConfigIterator struct { Event *GpactERC20BridgeTokenContractConfig // Event containing the contract specifics and raw log // contains filtered or unexported fields }
GpactERC20BridgeTokenContractConfigIterator is returned from FilterTokenContractConfig and is used to iterate over the raw logs and unpacked data for TokenContractConfig events raised by the GpactERC20Bridge contract.
func (*GpactERC20BridgeTokenContractConfigIterator) Close ¶
func (it *GpactERC20BridgeTokenContractConfigIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*GpactERC20BridgeTokenContractConfigIterator) Error ¶
func (it *GpactERC20BridgeTokenContractConfigIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*GpactERC20BridgeTokenContractConfigIterator) Next ¶
func (it *GpactERC20BridgeTokenContractConfigIterator) 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 GpactERC20BridgeTransactor ¶
type GpactERC20BridgeTransactor struct {
// contains filtered or unexported fields
}
GpactERC20BridgeTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewGpactERC20BridgeTransactor ¶
func NewGpactERC20BridgeTransactor(address common.Address, transactor bind.ContractTransactor) (*GpactERC20BridgeTransactor, error)
NewGpactERC20BridgeTransactor creates a new write-only instance of GpactERC20Bridge, bound to a specific deployed contract.
func (*GpactERC20BridgeTransactor) AddApprovedRootBcId ¶
func (_GpactERC20Bridge *GpactERC20BridgeTransactor) AddApprovedRootBcId(opts *bind.TransactOpts, _bcId *big.Int) (*types.Transaction, error)
AddApprovedRootBcId is a paid mutator transaction binding the contract method 0x148d42e4.
Solidity: function addApprovedRootBcId(uint256 _bcId) returns()
func (*GpactERC20BridgeTransactor) AddContractFirstMapping ¶
func (_GpactERC20Bridge *GpactERC20BridgeTransactor) AddContractFirstMapping(opts *bind.TransactOpts, _thisBcTokenContract common.Address, _otherBcId *big.Int, _otherTokenContract common.Address, _thisBcMassC bool) (*types.Transaction, error)
AddContractFirstMapping is a paid mutator transaction binding the contract method 0xc22b8699.
Solidity: function addContractFirstMapping(address _thisBcTokenContract, uint256 _otherBcId, address _otherTokenContract, bool _thisBcMassC) returns()
func (*GpactERC20BridgeTransactor) AddRemoteERC20Bridge ¶
func (_GpactERC20Bridge *GpactERC20BridgeTransactor) AddRemoteERC20Bridge(opts *bind.TransactOpts, _otherBcId *big.Int, _otherErc20Bridge common.Address) (*types.Transaction, error)
AddRemoteERC20Bridge is a paid mutator transaction binding the contract method 0x98e64603.
Solidity: function addRemoteERC20Bridge(uint256 _otherBcId, address _otherErc20Bridge) returns()
func (*GpactERC20BridgeTransactor) ChangeContractMapping ¶
func (_GpactERC20Bridge *GpactERC20BridgeTransactor) ChangeContractMapping(opts *bind.TransactOpts, _thisBcTokenContract common.Address, _otherBcId *big.Int, _otherTokenContract common.Address) (*types.Transaction, error)
ChangeContractMapping is a paid mutator transaction binding the contract method 0x06b47e9e.
Solidity: function changeContractMapping(address _thisBcTokenContract, uint256 _otherBcId, address _otherTokenContract) returns()
func (*GpactERC20BridgeTransactor) GrantRole ¶
func (_GpactERC20Bridge *GpactERC20BridgeTransactor) 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 (*GpactERC20BridgeTransactor) Pause ¶
func (_GpactERC20Bridge *GpactERC20BridgeTransactor) Pause(opts *bind.TransactOpts) (*types.Transaction, error)
Pause is a paid mutator transaction binding the contract method 0x8456cb59.
Solidity: function pause() returns()
func (*GpactERC20BridgeTransactor) ReceiveFromOtherBlockchain ¶
func (_GpactERC20Bridge *GpactERC20BridgeTransactor) ReceiveFromOtherBlockchain(opts *bind.TransactOpts, _destTokenContract common.Address, _recipient common.Address, _amount *big.Int) (*types.Transaction, error)
ReceiveFromOtherBlockchain is a paid mutator transaction binding the contract method 0x8278ef6d.
Solidity: function receiveFromOtherBlockchain(address _destTokenContract, address _recipient, uint256 _amount) returns()
func (*GpactERC20BridgeTransactor) RemoveApprovedRootBcId ¶
func (_GpactERC20Bridge *GpactERC20BridgeTransactor) RemoveApprovedRootBcId(opts *bind.TransactOpts, _bcId *big.Int) (*types.Transaction, error)
RemoveApprovedRootBcId is a paid mutator transaction binding the contract method 0x5efe4253.
Solidity: function removeApprovedRootBcId(uint256 _bcId) returns()
func (*GpactERC20BridgeTransactor) RenounceRole ¶
func (_GpactERC20Bridge *GpactERC20BridgeTransactor) 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 (*GpactERC20BridgeTransactor) RevokeRole ¶
func (_GpactERC20Bridge *GpactERC20BridgeTransactor) 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()
func (*GpactERC20BridgeTransactor) SetTokenConfig ¶
func (_GpactERC20Bridge *GpactERC20BridgeTransactor) SetTokenConfig(opts *bind.TransactOpts, _thisBcTokenContract common.Address, _thisBcMassC bool) (*types.Transaction, error)
SetTokenConfig is a paid mutator transaction binding the contract method 0xe96dab56.
Solidity: function setTokenConfig(address _thisBcTokenContract, bool _thisBcMassC) returns()
func (*GpactERC20BridgeTransactor) TransferFromAccountToOtherBlockchain ¶
func (_GpactERC20Bridge *GpactERC20BridgeTransactor) TransferFromAccountToOtherBlockchain(opts *bind.TransactOpts, _sender common.Address, _destBcId *big.Int, _srcTokenContract common.Address, _recipient common.Address, _amount *big.Int) (*types.Transaction, error)
TransferFromAccountToOtherBlockchain is a paid mutator transaction binding the contract method 0x069b0084.
Solidity: function transferFromAccountToOtherBlockchain(address _sender, uint256 _destBcId, address _srcTokenContract, address _recipient, uint256 _amount) returns()
func (*GpactERC20BridgeTransactor) TransferToOtherBlockchain ¶
func (_GpactERC20Bridge *GpactERC20BridgeTransactor) TransferToOtherBlockchain(opts *bind.TransactOpts, _destBcId *big.Int, _srcTokenContract common.Address, _recipient common.Address, _amount *big.Int) (*types.Transaction, error)
TransferToOtherBlockchain is a paid mutator transaction binding the contract method 0x84aea633.
Solidity: function transferToOtherBlockchain(uint256 _destBcId, address _srcTokenContract, address _recipient, uint256 _amount) returns()
func (*GpactERC20BridgeTransactor) Unpause ¶
func (_GpactERC20Bridge *GpactERC20BridgeTransactor) Unpause(opts *bind.TransactOpts) (*types.Transaction, error)
Unpause is a paid mutator transaction binding the contract method 0x3f4ba83a.
Solidity: function unpause() returns()
type GpactERC20BridgeTransactorRaw ¶
type GpactERC20BridgeTransactorRaw struct {
Contract *GpactERC20BridgeTransactor // Generic write-only contract binding to access the raw methods on
}
GpactERC20BridgeTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*GpactERC20BridgeTransactorRaw) Transact ¶
func (_GpactERC20Bridge *GpactERC20BridgeTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*GpactERC20BridgeTransactorRaw) Transfer ¶
func (_GpactERC20Bridge *GpactERC20BridgeTransactorRaw) 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 GpactERC20BridgeTransactorSession ¶
type GpactERC20BridgeTransactorSession struct { Contract *GpactERC20BridgeTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
GpactERC20BridgeTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*GpactERC20BridgeTransactorSession) AddApprovedRootBcId ¶
func (_GpactERC20Bridge *GpactERC20BridgeTransactorSession) AddApprovedRootBcId(_bcId *big.Int) (*types.Transaction, error)
AddApprovedRootBcId is a paid mutator transaction binding the contract method 0x148d42e4.
Solidity: function addApprovedRootBcId(uint256 _bcId) returns()
func (*GpactERC20BridgeTransactorSession) AddContractFirstMapping ¶
func (_GpactERC20Bridge *GpactERC20BridgeTransactorSession) AddContractFirstMapping(_thisBcTokenContract common.Address, _otherBcId *big.Int, _otherTokenContract common.Address, _thisBcMassC bool) (*types.Transaction, error)
AddContractFirstMapping is a paid mutator transaction binding the contract method 0xc22b8699.
Solidity: function addContractFirstMapping(address _thisBcTokenContract, uint256 _otherBcId, address _otherTokenContract, bool _thisBcMassC) returns()
func (*GpactERC20BridgeTransactorSession) AddRemoteERC20Bridge ¶
func (_GpactERC20Bridge *GpactERC20BridgeTransactorSession) AddRemoteERC20Bridge(_otherBcId *big.Int, _otherErc20Bridge common.Address) (*types.Transaction, error)
AddRemoteERC20Bridge is a paid mutator transaction binding the contract method 0x98e64603.
Solidity: function addRemoteERC20Bridge(uint256 _otherBcId, address _otherErc20Bridge) returns()
func (*GpactERC20BridgeTransactorSession) ChangeContractMapping ¶
func (_GpactERC20Bridge *GpactERC20BridgeTransactorSession) ChangeContractMapping(_thisBcTokenContract common.Address, _otherBcId *big.Int, _otherTokenContract common.Address) (*types.Transaction, error)
ChangeContractMapping is a paid mutator transaction binding the contract method 0x06b47e9e.
Solidity: function changeContractMapping(address _thisBcTokenContract, uint256 _otherBcId, address _otherTokenContract) returns()
func (*GpactERC20BridgeTransactorSession) GrantRole ¶
func (_GpactERC20Bridge *GpactERC20BridgeTransactorSession) 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 (*GpactERC20BridgeTransactorSession) Pause ¶
func (_GpactERC20Bridge *GpactERC20BridgeTransactorSession) Pause() (*types.Transaction, error)
Pause is a paid mutator transaction binding the contract method 0x8456cb59.
Solidity: function pause() returns()
func (*GpactERC20BridgeTransactorSession) ReceiveFromOtherBlockchain ¶
func (_GpactERC20Bridge *GpactERC20BridgeTransactorSession) ReceiveFromOtherBlockchain(_destTokenContract common.Address, _recipient common.Address, _amount *big.Int) (*types.Transaction, error)
ReceiveFromOtherBlockchain is a paid mutator transaction binding the contract method 0x8278ef6d.
Solidity: function receiveFromOtherBlockchain(address _destTokenContract, address _recipient, uint256 _amount) returns()
func (*GpactERC20BridgeTransactorSession) RemoveApprovedRootBcId ¶
func (_GpactERC20Bridge *GpactERC20BridgeTransactorSession) RemoveApprovedRootBcId(_bcId *big.Int) (*types.Transaction, error)
RemoveApprovedRootBcId is a paid mutator transaction binding the contract method 0x5efe4253.
Solidity: function removeApprovedRootBcId(uint256 _bcId) returns()
func (*GpactERC20BridgeTransactorSession) RenounceRole ¶
func (_GpactERC20Bridge *GpactERC20BridgeTransactorSession) 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 (*GpactERC20BridgeTransactorSession) RevokeRole ¶
func (_GpactERC20Bridge *GpactERC20BridgeTransactorSession) 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 (*GpactERC20BridgeTransactorSession) SetTokenConfig ¶
func (_GpactERC20Bridge *GpactERC20BridgeTransactorSession) SetTokenConfig(_thisBcTokenContract common.Address, _thisBcMassC bool) (*types.Transaction, error)
SetTokenConfig is a paid mutator transaction binding the contract method 0xe96dab56.
Solidity: function setTokenConfig(address _thisBcTokenContract, bool _thisBcMassC) returns()
func (*GpactERC20BridgeTransactorSession) TransferFromAccountToOtherBlockchain ¶
func (_GpactERC20Bridge *GpactERC20BridgeTransactorSession) TransferFromAccountToOtherBlockchain(_sender common.Address, _destBcId *big.Int, _srcTokenContract common.Address, _recipient common.Address, _amount *big.Int) (*types.Transaction, error)
TransferFromAccountToOtherBlockchain is a paid mutator transaction binding the contract method 0x069b0084.
Solidity: function transferFromAccountToOtherBlockchain(address _sender, uint256 _destBcId, address _srcTokenContract, address _recipient, uint256 _amount) returns()
func (*GpactERC20BridgeTransactorSession) TransferToOtherBlockchain ¶
func (_GpactERC20Bridge *GpactERC20BridgeTransactorSession) TransferToOtherBlockchain(_destBcId *big.Int, _srcTokenContract common.Address, _recipient common.Address, _amount *big.Int) (*types.Transaction, error)
TransferToOtherBlockchain is a paid mutator transaction binding the contract method 0x84aea633.
Solidity: function transferToOtherBlockchain(uint256 _destBcId, address _srcTokenContract, address _recipient, uint256 _amount) returns()
func (*GpactERC20BridgeTransactorSession) Unpause ¶
func (_GpactERC20Bridge *GpactERC20BridgeTransactorSession) Unpause() (*types.Transaction, error)
Unpause is a paid mutator transaction binding the contract method 0x3f4ba83a.
Solidity: function unpause() returns()
type GpactERC20BridgeTransferTo ¶
type GpactERC20BridgeTransferTo struct { DestBcId *big.Int SrcTokenContract common.Address DestTokenContract common.Address Sender common.Address Recipient common.Address Amount *big.Int Raw types.Log // Blockchain specific contextual infos }
GpactERC20BridgeTransferTo represents a TransferTo event raised by the GpactERC20Bridge contract.
type GpactERC20BridgeTransferToIterator ¶
type GpactERC20BridgeTransferToIterator struct { Event *GpactERC20BridgeTransferTo // Event containing the contract specifics and raw log // contains filtered or unexported fields }
GpactERC20BridgeTransferToIterator is returned from FilterTransferTo and is used to iterate over the raw logs and unpacked data for TransferTo events raised by the GpactERC20Bridge contract.
func (*GpactERC20BridgeTransferToIterator) Close ¶
func (it *GpactERC20BridgeTransferToIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*GpactERC20BridgeTransferToIterator) Error ¶
func (it *GpactERC20BridgeTransferToIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*GpactERC20BridgeTransferToIterator) Next ¶
func (it *GpactERC20BridgeTransferToIterator) 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 GpactERC20BridgeUnpaused ¶
type GpactERC20BridgeUnpaused struct { Account common.Address Raw types.Log // Blockchain specific contextual infos }
GpactERC20BridgeUnpaused represents a Unpaused event raised by the GpactERC20Bridge contract.
type GpactERC20BridgeUnpausedIterator ¶
type GpactERC20BridgeUnpausedIterator struct { Event *GpactERC20BridgeUnpaused // Event containing the contract specifics and raw log // contains filtered or unexported fields }
GpactERC20BridgeUnpausedIterator is returned from FilterUnpaused and is used to iterate over the raw logs and unpacked data for Unpaused events raised by the GpactERC20Bridge contract.
func (*GpactERC20BridgeUnpausedIterator) Close ¶
func (it *GpactERC20BridgeUnpausedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*GpactERC20BridgeUnpausedIterator) Error ¶
func (it *GpactERC20BridgeUnpausedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*GpactERC20BridgeUnpausedIterator) Next ¶
func (it *GpactERC20BridgeUnpausedIterator) 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 Hotel ¶
type Hotel struct { HotelCaller // Read-only binding to the contract HotelTransactor // Write-only binding to the contract HotelFilterer // Log filterer for contract events }
Hotel is an auto generated Go binding around an Ethereum contract.
func DeployHotel ¶
func DeployHotel(auth *bind.TransactOpts, backend bind.ContractBackend, _erc20 common.Address, _cbc common.Address) (common.Address, *types.Transaction, *Hotel, error)
DeployHotel deploys a new Ethereum contract, binding an instance of Hotel to it.
type HotelCaller ¶
type HotelCaller struct {
// contains filtered or unexported fields
}
HotelCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewHotelCaller ¶
func NewHotelCaller(address common.Address, caller bind.ContractCaller) (*HotelCaller, error)
NewHotelCaller creates a new read-only instance of Hotel, bound to a specific deployed contract.
func (*HotelCaller) GetBookingInformation ¶
func (_Hotel *HotelCaller) GetBookingInformation(opts *bind.CallOpts, _uniqueId *big.Int) (struct { AmountPaid *big.Int RoomId *big.Int Date *big.Int }, error)
GetBookingInformation is a free data retrieval call binding the contract method 0x1b474cf7.
Solidity: function getBookingInformation(uint256 _uniqueId) view returns(uint256 amountPaid, uint256 roomId, uint256 date)
func (*HotelCaller) GetBookings ¶
func (_Hotel *HotelCaller) GetBookings(opts *bind.CallOpts, _date *big.Int) ([]common.Address, error)
GetBookings is a free data retrieval call binding the contract method 0xf4010995.
Solidity: function getBookings(uint256 _date) view returns(address[] bookings)
func (*HotelCaller) GetNumberRoomsAvailable ¶
func (_Hotel *HotelCaller) GetNumberRoomsAvailable(opts *bind.CallOpts, _date *big.Int) (*big.Int, error)
GetNumberRoomsAvailable is a free data retrieval call binding the contract method 0xd131aa7e.
Solidity: function getNumberRoomsAvailable(uint256 _date) view returns(uint256 numRoomsAvailable)
type HotelCallerRaw ¶
type HotelCallerRaw struct {
Contract *HotelCaller // Generic read-only contract binding to access the raw methods on
}
HotelCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*HotelCallerRaw) Call ¶
func (_Hotel *HotelCallerRaw) 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 HotelCallerSession ¶
type HotelCallerSession struct { Contract *HotelCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
HotelCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*HotelCallerSession) GetBookingInformation ¶
func (_Hotel *HotelCallerSession) GetBookingInformation(_uniqueId *big.Int) (struct { AmountPaid *big.Int RoomId *big.Int Date *big.Int }, error)
GetBookingInformation is a free data retrieval call binding the contract method 0x1b474cf7.
Solidity: function getBookingInformation(uint256 _uniqueId) view returns(uint256 amountPaid, uint256 roomId, uint256 date)
func (*HotelCallerSession) GetBookings ¶
GetBookings is a free data retrieval call binding the contract method 0xf4010995.
Solidity: function getBookings(uint256 _date) view returns(address[] bookings)
func (*HotelCallerSession) GetNumberRoomsAvailable ¶
GetNumberRoomsAvailable is a free data retrieval call binding the contract method 0xd131aa7e.
Solidity: function getNumberRoomsAvailable(uint256 _date) view returns(uint256 numRoomsAvailable)
type HotelFilterer ¶
type HotelFilterer struct {
// contains filtered or unexported fields
}
HotelFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewHotelFilterer ¶
func NewHotelFilterer(address common.Address, filterer bind.ContractFilterer) (*HotelFilterer, error)
NewHotelFilterer creates a new log filterer instance of Hotel, bound to a specific deployed contract.
type HotelRaw ¶
type HotelRaw struct {
Contract *Hotel // Generic contract binding to access the raw methods on
}
HotelRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*HotelRaw) Call ¶
func (_Hotel *HotelRaw) 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 (*HotelRaw) Transact ¶
func (_Hotel *HotelRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*HotelRaw) Transfer ¶
func (_Hotel *HotelRaw) 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 HotelSession ¶
type HotelSession struct { Contract *Hotel // 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 }
HotelSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*HotelSession) AddApprovedTravelAgency ¶
func (_Hotel *HotelSession) AddApprovedTravelAgency(_blockchainId *big.Int, _travelAgencyContract common.Address, spendingAccount common.Address) (*types.Transaction, error)
AddApprovedTravelAgency is a paid mutator transaction binding the contract method 0x184ad3c6.
Solidity: function addApprovedTravelAgency(uint256 _blockchainId, address _travelAgencyContract, address spendingAccount) returns()
func (*HotelSession) AddRooms ¶
func (_Hotel *HotelSession) AddRooms(_roomRate *big.Int, _numberOfRooms *big.Int) (*types.Transaction, error)
AddRooms is a paid mutator transaction binding the contract method 0x7ebf2c60.
Solidity: function addRooms(uint256 _roomRate, uint256 _numberOfRooms) returns()
func (*HotelSession) BookRoom ¶
func (_Hotel *HotelSession) BookRoom(_date *big.Int, _uniqueId *big.Int, _maxAmountToPay *big.Int) (*types.Transaction, error)
BookRoom is a paid mutator transaction binding the contract method 0x1358646e.
Solidity: function bookRoom(uint256 _date, uint256 _uniqueId, uint256 _maxAmountToPay) returns()
func (*HotelSession) Finalise ¶
func (_Hotel *HotelSession) Finalise(_commit bool, _crossRootTxId [32]byte) (*types.Transaction, error)
Finalise is a paid mutator transaction binding the contract method 0x99eb5d4c.
Solidity: function finalise(bool _commit, bytes32 _crossRootTxId) returns()
func (*HotelSession) GetBookingInformation ¶
func (_Hotel *HotelSession) GetBookingInformation(_uniqueId *big.Int) (struct { AmountPaid *big.Int RoomId *big.Int Date *big.Int }, error)
GetBookingInformation is a free data retrieval call binding the contract method 0x1b474cf7.
Solidity: function getBookingInformation(uint256 _uniqueId) view returns(uint256 amountPaid, uint256 roomId, uint256 date)
func (*HotelSession) GetBookings ¶
GetBookings is a free data retrieval call binding the contract method 0xf4010995.
Solidity: function getBookings(uint256 _date) view returns(address[] bookings)
func (*HotelSession) GetNumberRoomsAvailable ¶
GetNumberRoomsAvailable is a free data retrieval call binding the contract method 0xd131aa7e.
Solidity: function getNumberRoomsAvailable(uint256 _date) view returns(uint256 numRoomsAvailable)
type HotelTransactor ¶
type HotelTransactor struct {
// contains filtered or unexported fields
}
HotelTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewHotelTransactor ¶
func NewHotelTransactor(address common.Address, transactor bind.ContractTransactor) (*HotelTransactor, error)
NewHotelTransactor creates a new write-only instance of Hotel, bound to a specific deployed contract.
func (*HotelTransactor) AddApprovedTravelAgency ¶
func (_Hotel *HotelTransactor) AddApprovedTravelAgency(opts *bind.TransactOpts, _blockchainId *big.Int, _travelAgencyContract common.Address, spendingAccount common.Address) (*types.Transaction, error)
AddApprovedTravelAgency is a paid mutator transaction binding the contract method 0x184ad3c6.
Solidity: function addApprovedTravelAgency(uint256 _blockchainId, address _travelAgencyContract, address spendingAccount) returns()
func (*HotelTransactor) AddRooms ¶
func (_Hotel *HotelTransactor) AddRooms(opts *bind.TransactOpts, _roomRate *big.Int, _numberOfRooms *big.Int) (*types.Transaction, error)
AddRooms is a paid mutator transaction binding the contract method 0x7ebf2c60.
Solidity: function addRooms(uint256 _roomRate, uint256 _numberOfRooms) returns()
func (*HotelTransactor) BookRoom ¶
func (_Hotel *HotelTransactor) BookRoom(opts *bind.TransactOpts, _date *big.Int, _uniqueId *big.Int, _maxAmountToPay *big.Int) (*types.Transaction, error)
BookRoom is a paid mutator transaction binding the contract method 0x1358646e.
Solidity: function bookRoom(uint256 _date, uint256 _uniqueId, uint256 _maxAmountToPay) returns()
func (*HotelTransactor) Finalise ¶
func (_Hotel *HotelTransactor) Finalise(opts *bind.TransactOpts, _commit bool, _crossRootTxId [32]byte) (*types.Transaction, error)
Finalise is a paid mutator transaction binding the contract method 0x99eb5d4c.
Solidity: function finalise(bool _commit, bytes32 _crossRootTxId) returns()
type HotelTransactorRaw ¶
type HotelTransactorRaw struct {
Contract *HotelTransactor // Generic write-only contract binding to access the raw methods on
}
HotelTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*HotelTransactorRaw) Transact ¶
func (_Hotel *HotelTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*HotelTransactorRaw) Transfer ¶
func (_Hotel *HotelTransactorRaw) 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 HotelTransactorSession ¶
type HotelTransactorSession struct { Contract *HotelTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
HotelTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*HotelTransactorSession) AddApprovedTravelAgency ¶
func (_Hotel *HotelTransactorSession) AddApprovedTravelAgency(_blockchainId *big.Int, _travelAgencyContract common.Address, spendingAccount common.Address) (*types.Transaction, error)
AddApprovedTravelAgency is a paid mutator transaction binding the contract method 0x184ad3c6.
Solidity: function addApprovedTravelAgency(uint256 _blockchainId, address _travelAgencyContract, address spendingAccount) returns()
func (*HotelTransactorSession) AddRooms ¶
func (_Hotel *HotelTransactorSession) AddRooms(_roomRate *big.Int, _numberOfRooms *big.Int) (*types.Transaction, error)
AddRooms is a paid mutator transaction binding the contract method 0x7ebf2c60.
Solidity: function addRooms(uint256 _roomRate, uint256 _numberOfRooms) returns()
func (*HotelTransactorSession) BookRoom ¶
func (_Hotel *HotelTransactorSession) BookRoom(_date *big.Int, _uniqueId *big.Int, _maxAmountToPay *big.Int) (*types.Transaction, error)
BookRoom is a paid mutator transaction binding the contract method 0x1358646e.
Solidity: function bookRoom(uint256 _date, uint256 _uniqueId, uint256 _maxAmountToPay) returns()
func (*HotelTransactorSession) Finalise ¶
func (_Hotel *HotelTransactorSession) Finalise(_commit bool, _crossRootTxId [32]byte) (*types.Transaction, error)
Finalise is a paid mutator transaction binding the contract method 0x99eb5d4c.
Solidity: function finalise(bool _commit, bytes32 _crossRootTxId) returns()
type LockableERC20FixedSupply ¶
type LockableERC20FixedSupply struct { LockableERC20FixedSupplyCaller // Read-only binding to the contract LockableERC20FixedSupplyTransactor // Write-only binding to the contract LockableERC20FixedSupplyFilterer // Log filterer for contract events }
LockableERC20FixedSupply is an auto generated Go binding around an Ethereum contract.
func DeployLockableERC20FixedSupply ¶
func DeployLockableERC20FixedSupply(auth *bind.TransactOpts, backend bind.ContractBackend, _name string, _symbol string, _cbc common.Address, _initialSupply *big.Int, _owner common.Address) (common.Address, *types.Transaction, *LockableERC20FixedSupply, error)
DeployLockableERC20FixedSupply deploys a new Ethereum contract, binding an instance of LockableERC20FixedSupply to it.
func NewLockableERC20FixedSupply ¶
func NewLockableERC20FixedSupply(address common.Address, backend bind.ContractBackend) (*LockableERC20FixedSupply, error)
NewLockableERC20FixedSupply creates a new instance of LockableERC20FixedSupply, bound to a specific deployed contract.
type LockableERC20FixedSupplyApproval ¶
type LockableERC20FixedSupplyApproval struct { Owner common.Address Spender common.Address Value *big.Int Raw types.Log // Blockchain specific contextual infos }
LockableERC20FixedSupplyApproval represents a Approval event raised by the LockableERC20FixedSupply contract.
type LockableERC20FixedSupplyApprovalDecrease ¶
type LockableERC20FixedSupplyApprovalDecrease struct { Owner common.Address Spender common.Address Value *big.Int Raw types.Log // Blockchain specific contextual infos }
LockableERC20FixedSupplyApprovalDecrease represents a ApprovalDecrease event raised by the LockableERC20FixedSupply contract.
type LockableERC20FixedSupplyApprovalDecreaseIterator ¶
type LockableERC20FixedSupplyApprovalDecreaseIterator struct { Event *LockableERC20FixedSupplyApprovalDecrease // Event containing the contract specifics and raw log // contains filtered or unexported fields }
LockableERC20FixedSupplyApprovalDecreaseIterator is returned from FilterApprovalDecrease and is used to iterate over the raw logs and unpacked data for ApprovalDecrease events raised by the LockableERC20FixedSupply contract.
func (*LockableERC20FixedSupplyApprovalDecreaseIterator) Close ¶
func (it *LockableERC20FixedSupplyApprovalDecreaseIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*LockableERC20FixedSupplyApprovalDecreaseIterator) Error ¶
func (it *LockableERC20FixedSupplyApprovalDecreaseIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*LockableERC20FixedSupplyApprovalDecreaseIterator) Next ¶
func (it *LockableERC20FixedSupplyApprovalDecreaseIterator) 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 LockableERC20FixedSupplyApprovalIncrease ¶
type LockableERC20FixedSupplyApprovalIncrease struct { Owner common.Address Spender common.Address Value *big.Int Raw types.Log // Blockchain specific contextual infos }
LockableERC20FixedSupplyApprovalIncrease represents a ApprovalIncrease event raised by the LockableERC20FixedSupply contract.
type LockableERC20FixedSupplyApprovalIncreaseIterator ¶
type LockableERC20FixedSupplyApprovalIncreaseIterator struct { Event *LockableERC20FixedSupplyApprovalIncrease // Event containing the contract specifics and raw log // contains filtered or unexported fields }
LockableERC20FixedSupplyApprovalIncreaseIterator is returned from FilterApprovalIncrease and is used to iterate over the raw logs and unpacked data for ApprovalIncrease events raised by the LockableERC20FixedSupply contract.
func (*LockableERC20FixedSupplyApprovalIncreaseIterator) Close ¶
func (it *LockableERC20FixedSupplyApprovalIncreaseIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*LockableERC20FixedSupplyApprovalIncreaseIterator) Error ¶
func (it *LockableERC20FixedSupplyApprovalIncreaseIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*LockableERC20FixedSupplyApprovalIncreaseIterator) Next ¶
func (it *LockableERC20FixedSupplyApprovalIncreaseIterator) 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 LockableERC20FixedSupplyApprovalIterator ¶
type LockableERC20FixedSupplyApprovalIterator struct { Event *LockableERC20FixedSupplyApproval // Event containing the contract specifics and raw log // contains filtered or unexported fields }
LockableERC20FixedSupplyApprovalIterator is returned from FilterApproval and is used to iterate over the raw logs and unpacked data for Approval events raised by the LockableERC20FixedSupply contract.
func (*LockableERC20FixedSupplyApprovalIterator) Close ¶
func (it *LockableERC20FixedSupplyApprovalIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*LockableERC20FixedSupplyApprovalIterator) Error ¶
func (it *LockableERC20FixedSupplyApprovalIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*LockableERC20FixedSupplyApprovalIterator) Next ¶
func (it *LockableERC20FixedSupplyApprovalIterator) 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 LockableERC20FixedSupplyCaller ¶
type LockableERC20FixedSupplyCaller struct {
// contains filtered or unexported fields
}
LockableERC20FixedSupplyCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewLockableERC20FixedSupplyCaller ¶
func NewLockableERC20FixedSupplyCaller(address common.Address, caller bind.ContractCaller) (*LockableERC20FixedSupplyCaller, error)
NewLockableERC20FixedSupplyCaller creates a new read-only instance of LockableERC20FixedSupply, bound to a specific deployed contract.
func (*LockableERC20FixedSupplyCaller) AccountPallelizationFactor ¶
func (_LockableERC20FixedSupply *LockableERC20FixedSupplyCaller) AccountPallelizationFactor(opts *bind.CallOpts) (*big.Int, error)
AccountPallelizationFactor is a free data retrieval call binding the contract method 0x3aca7144.
Solidity: function accountPallelizationFactor() view returns(uint256)
func (*LockableERC20FixedSupplyCaller) Allowance ¶
func (_LockableERC20FixedSupply *LockableERC20FixedSupplyCaller) 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 (*LockableERC20FixedSupplyCaller) AllowanceMax ¶
func (_LockableERC20FixedSupply *LockableERC20FixedSupplyCaller) AllowanceMax(opts *bind.CallOpts, owner common.Address, spender common.Address) (*big.Int, error)
AllowanceMax is a free data retrieval call binding the contract method 0x409b223e.
Solidity: function allowanceMax(address owner, address spender) view returns(uint256)
func (*LockableERC20FixedSupplyCaller) AllowanceMin ¶
func (_LockableERC20FixedSupply *LockableERC20FixedSupplyCaller) AllowanceMin(opts *bind.CallOpts, owner common.Address, spender common.Address) (*big.Int, error)
AllowanceMin is a free data retrieval call binding the contract method 0x691448c2.
Solidity: function allowanceMin(address owner, address spender) view returns(uint256)
func (*LockableERC20FixedSupplyCaller) AllowanceProvisional ¶
func (_LockableERC20FixedSupply *LockableERC20FixedSupplyCaller) AllowanceProvisional(opts *bind.CallOpts, owner common.Address, spender common.Address) (*big.Int, error)
AllowanceProvisional is a free data retrieval call binding the contract method 0xfcdb3710.
Solidity: function allowanceProvisional(address owner, address spender) view returns(uint256)
func (*LockableERC20FixedSupplyCaller) BalanceOf ¶
func (_LockableERC20FixedSupply *LockableERC20FixedSupplyCaller) 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 (*LockableERC20FixedSupplyCaller) BalanceOfMin ¶
func (_LockableERC20FixedSupply *LockableERC20FixedSupplyCaller) BalanceOfMin(opts *bind.CallOpts, account common.Address) (*big.Int, error)
BalanceOfMin is a free data retrieval call binding the contract method 0x40490cc2.
Solidity: function balanceOfMin(address account) view returns(uint256)
func (*LockableERC20FixedSupplyCaller) BalanceOfProvisional ¶
func (_LockableERC20FixedSupply *LockableERC20FixedSupplyCaller) BalanceOfProvisional(opts *bind.CallOpts, account common.Address) (*big.Int, error)
BalanceOfProvisional is a free data retrieval call binding the contract method 0x97879e0f.
Solidity: function balanceOfProvisional(address account) view returns(uint256)
func (*LockableERC20FixedSupplyCaller) Decimals ¶
func (_LockableERC20FixedSupply *LockableERC20FixedSupplyCaller) 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 (*LockableERC20FixedSupplyCaller) Erc20PallelizationFactor ¶
func (_LockableERC20FixedSupply *LockableERC20FixedSupplyCaller) Erc20PallelizationFactor(opts *bind.CallOpts) (*big.Int, error)
Erc20PallelizationFactor is a free data retrieval call binding the contract method 0x7785eebd.
Solidity: function erc20PallelizationFactor() view returns(uint256)
func (*LockableERC20FixedSupplyCaller) IsLocked ¶
func (_LockableERC20FixedSupply *LockableERC20FixedSupplyCaller) IsLocked(opts *bind.CallOpts, _key *big.Int) (bool, error)
IsLocked is a free data retrieval call binding the contract method 0xf6aacfb1.
Solidity: function isLocked(uint256 _key) view returns(bool)
func (*LockableERC20FixedSupplyCaller) Name ¶
func (_LockableERC20FixedSupply *LockableERC20FixedSupplyCaller) Name(opts *bind.CallOpts) (string, error)
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() view returns(string)
func (*LockableERC20FixedSupplyCaller) Owner ¶
func (_LockableERC20FixedSupply *LockableERC20FixedSupplyCaller) 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)
func (*LockableERC20FixedSupplyCaller) Symbol ¶
func (_LockableERC20FixedSupply *LockableERC20FixedSupplyCaller) Symbol(opts *bind.CallOpts) (string, error)
Symbol is a free data retrieval call binding the contract method 0x95d89b41.
Solidity: function symbol() view returns(string)
func (*LockableERC20FixedSupplyCaller) TotalSupply ¶
func (_LockableERC20FixedSupply *LockableERC20FixedSupplyCaller) 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)
func (*LockableERC20FixedSupplyCaller) TotalSupplyMax ¶
func (_LockableERC20FixedSupply *LockableERC20FixedSupplyCaller) TotalSupplyMax(opts *bind.CallOpts) (*big.Int, error)
TotalSupplyMax is a free data retrieval call binding the contract method 0xf50249fc.
Solidity: function totalSupplyMax() view returns(uint256)
func (*LockableERC20FixedSupplyCaller) TotalSupplyMin ¶
func (_LockableERC20FixedSupply *LockableERC20FixedSupplyCaller) TotalSupplyMin(opts *bind.CallOpts) (*big.Int, error)
TotalSupplyMin is a free data retrieval call binding the contract method 0x59ad3fe0.
Solidity: function totalSupplyMin() view returns(uint256)
func (*LockableERC20FixedSupplyCaller) TotalSupplyProvisional ¶
func (_LockableERC20FixedSupply *LockableERC20FixedSupplyCaller) TotalSupplyProvisional(opts *bind.CallOpts) (*big.Int, error)
TotalSupplyProvisional is a free data retrieval call binding the contract method 0xbd1b1afd.
Solidity: function totalSupplyProvisional() view returns(uint256)
type LockableERC20FixedSupplyCallerRaw ¶
type LockableERC20FixedSupplyCallerRaw struct {
Contract *LockableERC20FixedSupplyCaller // Generic read-only contract binding to access the raw methods on
}
LockableERC20FixedSupplyCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*LockableERC20FixedSupplyCallerRaw) Call ¶
func (_LockableERC20FixedSupply *LockableERC20FixedSupplyCallerRaw) 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 LockableERC20FixedSupplyCallerSession ¶
type LockableERC20FixedSupplyCallerSession struct { Contract *LockableERC20FixedSupplyCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
LockableERC20FixedSupplyCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*LockableERC20FixedSupplyCallerSession) AccountPallelizationFactor ¶
func (_LockableERC20FixedSupply *LockableERC20FixedSupplyCallerSession) AccountPallelizationFactor() (*big.Int, error)
AccountPallelizationFactor is a free data retrieval call binding the contract method 0x3aca7144.
Solidity: function accountPallelizationFactor() view returns(uint256)
func (*LockableERC20FixedSupplyCallerSession) Allowance ¶
func (_LockableERC20FixedSupply *LockableERC20FixedSupplyCallerSession) 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 (*LockableERC20FixedSupplyCallerSession) AllowanceMax ¶
func (_LockableERC20FixedSupply *LockableERC20FixedSupplyCallerSession) AllowanceMax(owner common.Address, spender common.Address) (*big.Int, error)
AllowanceMax is a free data retrieval call binding the contract method 0x409b223e.
Solidity: function allowanceMax(address owner, address spender) view returns(uint256)
func (*LockableERC20FixedSupplyCallerSession) AllowanceMin ¶
func (_LockableERC20FixedSupply *LockableERC20FixedSupplyCallerSession) AllowanceMin(owner common.Address, spender common.Address) (*big.Int, error)
AllowanceMin is a free data retrieval call binding the contract method 0x691448c2.
Solidity: function allowanceMin(address owner, address spender) view returns(uint256)
func (*LockableERC20FixedSupplyCallerSession) AllowanceProvisional ¶
func (_LockableERC20FixedSupply *LockableERC20FixedSupplyCallerSession) AllowanceProvisional(owner common.Address, spender common.Address) (*big.Int, error)
AllowanceProvisional is a free data retrieval call binding the contract method 0xfcdb3710.
Solidity: function allowanceProvisional(address owner, address spender) view returns(uint256)
func (*LockableERC20FixedSupplyCallerSession) BalanceOf ¶
func (_LockableERC20FixedSupply *LockableERC20FixedSupplyCallerSession) 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 (*LockableERC20FixedSupplyCallerSession) BalanceOfMin ¶
func (_LockableERC20FixedSupply *LockableERC20FixedSupplyCallerSession) BalanceOfMin(account common.Address) (*big.Int, error)
BalanceOfMin is a free data retrieval call binding the contract method 0x40490cc2.
Solidity: function balanceOfMin(address account) view returns(uint256)
func (*LockableERC20FixedSupplyCallerSession) BalanceOfProvisional ¶
func (_LockableERC20FixedSupply *LockableERC20FixedSupplyCallerSession) BalanceOfProvisional(account common.Address) (*big.Int, error)
BalanceOfProvisional is a free data retrieval call binding the contract method 0x97879e0f.
Solidity: function balanceOfProvisional(address account) view returns(uint256)
func (*LockableERC20FixedSupplyCallerSession) Decimals ¶
func (_LockableERC20FixedSupply *LockableERC20FixedSupplyCallerSession) Decimals() (uint8, error)
Decimals is a free data retrieval call binding the contract method 0x313ce567.
Solidity: function decimals() view returns(uint8)
func (*LockableERC20FixedSupplyCallerSession) Erc20PallelizationFactor ¶
func (_LockableERC20FixedSupply *LockableERC20FixedSupplyCallerSession) Erc20PallelizationFactor() (*big.Int, error)
Erc20PallelizationFactor is a free data retrieval call binding the contract method 0x7785eebd.
Solidity: function erc20PallelizationFactor() view returns(uint256)
func (*LockableERC20FixedSupplyCallerSession) IsLocked ¶
func (_LockableERC20FixedSupply *LockableERC20FixedSupplyCallerSession) IsLocked(_key *big.Int) (bool, error)
IsLocked is a free data retrieval call binding the contract method 0xf6aacfb1.
Solidity: function isLocked(uint256 _key) view returns(bool)
func (*LockableERC20FixedSupplyCallerSession) Name ¶
func (_LockableERC20FixedSupply *LockableERC20FixedSupplyCallerSession) Name() (string, error)
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() view returns(string)
func (*LockableERC20FixedSupplyCallerSession) Owner ¶
func (_LockableERC20FixedSupply *LockableERC20FixedSupplyCallerSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*LockableERC20FixedSupplyCallerSession) Symbol ¶
func (_LockableERC20FixedSupply *LockableERC20FixedSupplyCallerSession) Symbol() (string, error)
Symbol is a free data retrieval call binding the contract method 0x95d89b41.
Solidity: function symbol() view returns(string)
func (*LockableERC20FixedSupplyCallerSession) TotalSupply ¶
func (_LockableERC20FixedSupply *LockableERC20FixedSupplyCallerSession) TotalSupply() (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
func (*LockableERC20FixedSupplyCallerSession) TotalSupplyMax ¶
func (_LockableERC20FixedSupply *LockableERC20FixedSupplyCallerSession) TotalSupplyMax() (*big.Int, error)
TotalSupplyMax is a free data retrieval call binding the contract method 0xf50249fc.
Solidity: function totalSupplyMax() view returns(uint256)
func (*LockableERC20FixedSupplyCallerSession) TotalSupplyMin ¶
func (_LockableERC20FixedSupply *LockableERC20FixedSupplyCallerSession) TotalSupplyMin() (*big.Int, error)
TotalSupplyMin is a free data retrieval call binding the contract method 0x59ad3fe0.
Solidity: function totalSupplyMin() view returns(uint256)
func (*LockableERC20FixedSupplyCallerSession) TotalSupplyProvisional ¶
func (_LockableERC20FixedSupply *LockableERC20FixedSupplyCallerSession) TotalSupplyProvisional() (*big.Int, error)
TotalSupplyProvisional is a free data retrieval call binding the contract method 0xbd1b1afd.
Solidity: function totalSupplyProvisional() view returns(uint256)
type LockableERC20FixedSupplyFilterer ¶
type LockableERC20FixedSupplyFilterer struct {
// contains filtered or unexported fields
}
LockableERC20FixedSupplyFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewLockableERC20FixedSupplyFilterer ¶
func NewLockableERC20FixedSupplyFilterer(address common.Address, filterer bind.ContractFilterer) (*LockableERC20FixedSupplyFilterer, error)
NewLockableERC20FixedSupplyFilterer creates a new log filterer instance of LockableERC20FixedSupply, bound to a specific deployed contract.
func (*LockableERC20FixedSupplyFilterer) FilterApproval ¶
func (_LockableERC20FixedSupply *LockableERC20FixedSupplyFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*LockableERC20FixedSupplyApprovalIterator, 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 (*LockableERC20FixedSupplyFilterer) FilterApprovalDecrease ¶
func (_LockableERC20FixedSupply *LockableERC20FixedSupplyFilterer) FilterApprovalDecrease(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*LockableERC20FixedSupplyApprovalDecreaseIterator, error)
FilterApprovalDecrease is a free log retrieval operation binding the contract event 0xca00ac413b8c2013d4efc4a5ea887318bf432aa5d2a4c8ec87ad5660c28ef5d8.
Solidity: event ApprovalDecrease(address indexed owner, address indexed spender, uint256 value)
func (*LockableERC20FixedSupplyFilterer) FilterApprovalIncrease ¶
func (_LockableERC20FixedSupply *LockableERC20FixedSupplyFilterer) FilterApprovalIncrease(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*LockableERC20FixedSupplyApprovalIncreaseIterator, error)
FilterApprovalIncrease is a free log retrieval operation binding the contract event 0xae0962182a7df59bce5a3518382b8a4a909b354b6ba0f4114215654490399b4b.
Solidity: event ApprovalIncrease(address indexed owner, address indexed spender, uint256 value)
func (*LockableERC20FixedSupplyFilterer) FilterOwnershipTransferred ¶
func (_LockableERC20FixedSupply *LockableERC20FixedSupplyFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*LockableERC20FixedSupplyOwnershipTransferredIterator, error)
FilterOwnershipTransferred is a free log retrieval operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*LockableERC20FixedSupplyFilterer) FilterTransfer ¶
func (_LockableERC20FixedSupply *LockableERC20FixedSupplyFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*LockableERC20FixedSupplyTransferIterator, 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 (*LockableERC20FixedSupplyFilterer) FilterTrustedBridge ¶
func (_LockableERC20FixedSupply *LockableERC20FixedSupplyFilterer) FilterTrustedBridge(opts *bind.FilterOpts) (*LockableERC20FixedSupplyTrustedBridgeIterator, error)
FilterTrustedBridge is a free log retrieval operation binding the contract event 0x10d70f087901adb6fc0aabc376e83a9c7737d75494457c1b7235015c5586111a.
Solidity: event TrustedBridge(address bridge, bool added)
func (*LockableERC20FixedSupplyFilterer) ParseApproval ¶
func (_LockableERC20FixedSupply *LockableERC20FixedSupplyFilterer) ParseApproval(log types.Log) (*LockableERC20FixedSupplyApproval, error)
ParseApproval is a log parse operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.
Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)
func (*LockableERC20FixedSupplyFilterer) ParseApprovalDecrease ¶
func (_LockableERC20FixedSupply *LockableERC20FixedSupplyFilterer) ParseApprovalDecrease(log types.Log) (*LockableERC20FixedSupplyApprovalDecrease, error)
ParseApprovalDecrease is a log parse operation binding the contract event 0xca00ac413b8c2013d4efc4a5ea887318bf432aa5d2a4c8ec87ad5660c28ef5d8.
Solidity: event ApprovalDecrease(address indexed owner, address indexed spender, uint256 value)
func (*LockableERC20FixedSupplyFilterer) ParseApprovalIncrease ¶
func (_LockableERC20FixedSupply *LockableERC20FixedSupplyFilterer) ParseApprovalIncrease(log types.Log) (*LockableERC20FixedSupplyApprovalIncrease, error)
ParseApprovalIncrease is a log parse operation binding the contract event 0xae0962182a7df59bce5a3518382b8a4a909b354b6ba0f4114215654490399b4b.
Solidity: event ApprovalIncrease(address indexed owner, address indexed spender, uint256 value)
func (*LockableERC20FixedSupplyFilterer) ParseOwnershipTransferred ¶
func (_LockableERC20FixedSupply *LockableERC20FixedSupplyFilterer) ParseOwnershipTransferred(log types.Log) (*LockableERC20FixedSupplyOwnershipTransferred, error)
ParseOwnershipTransferred is a log parse operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*LockableERC20FixedSupplyFilterer) ParseTransfer ¶
func (_LockableERC20FixedSupply *LockableERC20FixedSupplyFilterer) ParseTransfer(log types.Log) (*LockableERC20FixedSupplyTransfer, error)
ParseTransfer is a log parse operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.
Solidity: event Transfer(address indexed from, address indexed to, uint256 value)
func (*LockableERC20FixedSupplyFilterer) ParseTrustedBridge ¶
func (_LockableERC20FixedSupply *LockableERC20FixedSupplyFilterer) ParseTrustedBridge(log types.Log) (*LockableERC20FixedSupplyTrustedBridge, error)
ParseTrustedBridge is a log parse operation binding the contract event 0x10d70f087901adb6fc0aabc376e83a9c7737d75494457c1b7235015c5586111a.
Solidity: event TrustedBridge(address bridge, bool added)
func (*LockableERC20FixedSupplyFilterer) WatchApproval ¶
func (_LockableERC20FixedSupply *LockableERC20FixedSupplyFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *LockableERC20FixedSupplyApproval, 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 (*LockableERC20FixedSupplyFilterer) WatchApprovalDecrease ¶
func (_LockableERC20FixedSupply *LockableERC20FixedSupplyFilterer) WatchApprovalDecrease(opts *bind.WatchOpts, sink chan<- *LockableERC20FixedSupplyApprovalDecrease, owner []common.Address, spender []common.Address) (event.Subscription, error)
WatchApprovalDecrease is a free log subscription operation binding the contract event 0xca00ac413b8c2013d4efc4a5ea887318bf432aa5d2a4c8ec87ad5660c28ef5d8.
Solidity: event ApprovalDecrease(address indexed owner, address indexed spender, uint256 value)
func (*LockableERC20FixedSupplyFilterer) WatchApprovalIncrease ¶
func (_LockableERC20FixedSupply *LockableERC20FixedSupplyFilterer) WatchApprovalIncrease(opts *bind.WatchOpts, sink chan<- *LockableERC20FixedSupplyApprovalIncrease, owner []common.Address, spender []common.Address) (event.Subscription, error)
WatchApprovalIncrease is a free log subscription operation binding the contract event 0xae0962182a7df59bce5a3518382b8a4a909b354b6ba0f4114215654490399b4b.
Solidity: event ApprovalIncrease(address indexed owner, address indexed spender, uint256 value)
func (*LockableERC20FixedSupplyFilterer) WatchOwnershipTransferred ¶
func (_LockableERC20FixedSupply *LockableERC20FixedSupplyFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *LockableERC20FixedSupplyOwnershipTransferred, 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)
func (*LockableERC20FixedSupplyFilterer) WatchTransfer ¶
func (_LockableERC20FixedSupply *LockableERC20FixedSupplyFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *LockableERC20FixedSupplyTransfer, 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)
func (*LockableERC20FixedSupplyFilterer) WatchTrustedBridge ¶
func (_LockableERC20FixedSupply *LockableERC20FixedSupplyFilterer) WatchTrustedBridge(opts *bind.WatchOpts, sink chan<- *LockableERC20FixedSupplyTrustedBridge) (event.Subscription, error)
WatchTrustedBridge is a free log subscription operation binding the contract event 0x10d70f087901adb6fc0aabc376e83a9c7737d75494457c1b7235015c5586111a.
Solidity: event TrustedBridge(address bridge, bool added)
type LockableERC20FixedSupplyOwnershipTransferred ¶
type LockableERC20FixedSupplyOwnershipTransferred struct { PreviousOwner common.Address NewOwner common.Address Raw types.Log // Blockchain specific contextual infos }
LockableERC20FixedSupplyOwnershipTransferred represents a OwnershipTransferred event raised by the LockableERC20FixedSupply contract.
type LockableERC20FixedSupplyOwnershipTransferredIterator ¶
type LockableERC20FixedSupplyOwnershipTransferredIterator struct { Event *LockableERC20FixedSupplyOwnershipTransferred // Event containing the contract specifics and raw log // contains filtered or unexported fields }
LockableERC20FixedSupplyOwnershipTransferredIterator is returned from FilterOwnershipTransferred and is used to iterate over the raw logs and unpacked data for OwnershipTransferred events raised by the LockableERC20FixedSupply contract.
func (*LockableERC20FixedSupplyOwnershipTransferredIterator) Close ¶
func (it *LockableERC20FixedSupplyOwnershipTransferredIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*LockableERC20FixedSupplyOwnershipTransferredIterator) Error ¶
func (it *LockableERC20FixedSupplyOwnershipTransferredIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*LockableERC20FixedSupplyOwnershipTransferredIterator) Next ¶
func (it *LockableERC20FixedSupplyOwnershipTransferredIterator) 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 LockableERC20FixedSupplyRaw ¶
type LockableERC20FixedSupplyRaw struct {
Contract *LockableERC20FixedSupply // Generic contract binding to access the raw methods on
}
LockableERC20FixedSupplyRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*LockableERC20FixedSupplyRaw) Call ¶
func (_LockableERC20FixedSupply *LockableERC20FixedSupplyRaw) 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 (*LockableERC20FixedSupplyRaw) Transact ¶
func (_LockableERC20FixedSupply *LockableERC20FixedSupplyRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*LockableERC20FixedSupplyRaw) Transfer ¶
func (_LockableERC20FixedSupply *LockableERC20FixedSupplyRaw) 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 LockableERC20FixedSupplySession ¶
type LockableERC20FixedSupplySession struct { Contract *LockableERC20FixedSupply // 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 }
LockableERC20FixedSupplySession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*LockableERC20FixedSupplySession) AccountPallelizationFactor ¶
func (_LockableERC20FixedSupply *LockableERC20FixedSupplySession) AccountPallelizationFactor() (*big.Int, error)
AccountPallelizationFactor is a free data retrieval call binding the contract method 0x3aca7144.
Solidity: function accountPallelizationFactor() view returns(uint256)
func (*LockableERC20FixedSupplySession) AddTrustedBridge ¶
func (_LockableERC20FixedSupply *LockableERC20FixedSupplySession) AddTrustedBridge(bridge common.Address) (*types.Transaction, error)
AddTrustedBridge is a paid mutator transaction binding the contract method 0xec87cbe6.
Solidity: function addTrustedBridge(address bridge) returns()
func (*LockableERC20FixedSupplySession) Allowance ¶
func (_LockableERC20FixedSupply *LockableERC20FixedSupplySession) 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 (*LockableERC20FixedSupplySession) AllowanceMax ¶
func (_LockableERC20FixedSupply *LockableERC20FixedSupplySession) AllowanceMax(owner common.Address, spender common.Address) (*big.Int, error)
AllowanceMax is a free data retrieval call binding the contract method 0x409b223e.
Solidity: function allowanceMax(address owner, address spender) view returns(uint256)
func (*LockableERC20FixedSupplySession) AllowanceMin ¶
func (_LockableERC20FixedSupply *LockableERC20FixedSupplySession) AllowanceMin(owner common.Address, spender common.Address) (*big.Int, error)
AllowanceMin is a free data retrieval call binding the contract method 0x691448c2.
Solidity: function allowanceMin(address owner, address spender) view returns(uint256)
func (*LockableERC20FixedSupplySession) AllowanceProvisional ¶
func (_LockableERC20FixedSupply *LockableERC20FixedSupplySession) AllowanceProvisional(owner common.Address, spender common.Address) (*big.Int, error)
AllowanceProvisional is a free data retrieval call binding the contract method 0xfcdb3710.
Solidity: function allowanceProvisional(address owner, address spender) view returns(uint256)
func (*LockableERC20FixedSupplySession) Approve ¶
func (_LockableERC20FixedSupply *LockableERC20FixedSupplySession) 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 (*LockableERC20FixedSupplySession) BalanceOf ¶
func (_LockableERC20FixedSupply *LockableERC20FixedSupplySession) 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 (*LockableERC20FixedSupplySession) BalanceOfMin ¶
func (_LockableERC20FixedSupply *LockableERC20FixedSupplySession) BalanceOfMin(account common.Address) (*big.Int, error)
BalanceOfMin is a free data retrieval call binding the contract method 0x40490cc2.
Solidity: function balanceOfMin(address account) view returns(uint256)
func (*LockableERC20FixedSupplySession) BalanceOfProvisional ¶
func (_LockableERC20FixedSupply *LockableERC20FixedSupplySession) BalanceOfProvisional(account common.Address) (*big.Int, error)
BalanceOfProvisional is a free data retrieval call binding the contract method 0x97879e0f.
Solidity: function balanceOfProvisional(address account) view returns(uint256)
func (*LockableERC20FixedSupplySession) Burn ¶
func (_LockableERC20FixedSupply *LockableERC20FixedSupplySession) Burn(amount *big.Int) (*types.Transaction, error)
Burn is a paid mutator transaction binding the contract method 0x42966c68.
Solidity: function burn(uint256 amount) returns()
func (*LockableERC20FixedSupplySession) BurnFrom ¶
func (_LockableERC20FixedSupply *LockableERC20FixedSupplySession) BurnFrom(account common.Address, amount *big.Int) (*types.Transaction, error)
BurnFrom is a paid mutator transaction binding the contract method 0x79cc6790.
Solidity: function burnFrom(address account, uint256 amount) returns()
func (*LockableERC20FixedSupplySession) BurnFromAccount ¶
func (_LockableERC20FixedSupply *LockableERC20FixedSupplySession) BurnFromAccount(spender common.Address, sender common.Address, amount *big.Int) (*types.Transaction, error)
BurnFromAccount is a paid mutator transaction binding the contract method 0x54e35b6e.
Solidity: function burnFromAccount(address spender, address sender, uint256 amount) returns()
func (*LockableERC20FixedSupplySession) BurnFromInternal ¶
func (_LockableERC20FixedSupply *LockableERC20FixedSupplySession) BurnFromInternal(burner common.Address, account common.Address, amount *big.Int) (*types.Transaction, error)
BurnFromInternal is a paid mutator transaction binding the contract method 0x27fcfd7d.
Solidity: function burnFromInternal(address burner, address account, uint256 amount) returns()
func (*LockableERC20FixedSupplySession) Decimals ¶
func (_LockableERC20FixedSupply *LockableERC20FixedSupplySession) Decimals() (uint8, error)
Decimals is a free data retrieval call binding the contract method 0x313ce567.
Solidity: function decimals() view returns(uint8)
func (*LockableERC20FixedSupplySession) DecreaseAllowance ¶
func (_LockableERC20FixedSupply *LockableERC20FixedSupplySession) DecreaseAllowance(spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)
DecreaseAllowance is a paid mutator transaction binding the contract method 0xa457c2d7.
Solidity: function decreaseAllowance(address spender, uint256 subtractedValue) returns(bool)
func (*LockableERC20FixedSupplySession) Erc20PallelizationFactor ¶
func (_LockableERC20FixedSupply *LockableERC20FixedSupplySession) Erc20PallelizationFactor() (*big.Int, error)
Erc20PallelizationFactor is a free data retrieval call binding the contract method 0x7785eebd.
Solidity: function erc20PallelizationFactor() view returns(uint256)
func (*LockableERC20FixedSupplySession) Finalise ¶
func (_LockableERC20FixedSupply *LockableERC20FixedSupplySession) Finalise(_commit bool, _crossRootTxId [32]byte) (*types.Transaction, error)
Finalise is a paid mutator transaction binding the contract method 0x99eb5d4c.
Solidity: function finalise(bool _commit, bytes32 _crossRootTxId) returns()
func (*LockableERC20FixedSupplySession) IncreaseAccountParallelizartionFactor ¶
func (_LockableERC20FixedSupply *LockableERC20FixedSupplySession) IncreaseAccountParallelizartionFactor(amount *big.Int) (*types.Transaction, error)
IncreaseAccountParallelizartionFactor is a paid mutator transaction binding the contract method 0x7b0919b2.
Solidity: function increaseAccountParallelizartionFactor(uint256 amount) returns()
func (*LockableERC20FixedSupplySession) IncreaseAllowance ¶
func (_LockableERC20FixedSupply *LockableERC20FixedSupplySession) IncreaseAllowance(spender common.Address, addedValue *big.Int) (*types.Transaction, error)
IncreaseAllowance is a paid mutator transaction binding the contract method 0x39509351.
Solidity: function increaseAllowance(address spender, uint256 addedValue) returns(bool)
func (*LockableERC20FixedSupplySession) IncreaseERC20ParallelizartionFactor ¶
func (_LockableERC20FixedSupply *LockableERC20FixedSupplySession) IncreaseERC20ParallelizartionFactor(amount *big.Int) (*types.Transaction, error)
IncreaseERC20ParallelizartionFactor is a paid mutator transaction binding the contract method 0x35c01fc3.
Solidity: function increaseERC20ParallelizartionFactor(uint256 amount) returns()
func (*LockableERC20FixedSupplySession) IsLocked ¶
func (_LockableERC20FixedSupply *LockableERC20FixedSupplySession) IsLocked(_key *big.Int) (bool, error)
IsLocked is a free data retrieval call binding the contract method 0xf6aacfb1.
Solidity: function isLocked(uint256 _key) view returns(bool)
func (*LockableERC20FixedSupplySession) Name ¶
func (_LockableERC20FixedSupply *LockableERC20FixedSupplySession) Name() (string, error)
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() view returns(string)
func (*LockableERC20FixedSupplySession) Owner ¶
func (_LockableERC20FixedSupply *LockableERC20FixedSupplySession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*LockableERC20FixedSupplySession) RemoveTrustedBridge ¶
func (_LockableERC20FixedSupply *LockableERC20FixedSupplySession) RemoveTrustedBridge(bridge common.Address) (*types.Transaction, error)
RemoveTrustedBridge is a paid mutator transaction binding the contract method 0x8611374d.
Solidity: function removeTrustedBridge(address bridge) returns()
func (*LockableERC20FixedSupplySession) RenounceOwnership ¶
func (_LockableERC20FixedSupply *LockableERC20FixedSupplySession) RenounceOwnership() (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*LockableERC20FixedSupplySession) Symbol ¶
func (_LockableERC20FixedSupply *LockableERC20FixedSupplySession) Symbol() (string, error)
Symbol is a free data retrieval call binding the contract method 0x95d89b41.
Solidity: function symbol() view returns(string)
func (*LockableERC20FixedSupplySession) TotalSupply ¶
func (_LockableERC20FixedSupply *LockableERC20FixedSupplySession) TotalSupply() (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
func (*LockableERC20FixedSupplySession) TotalSupplyMax ¶
func (_LockableERC20FixedSupply *LockableERC20FixedSupplySession) TotalSupplyMax() (*big.Int, error)
TotalSupplyMax is a free data retrieval call binding the contract method 0xf50249fc.
Solidity: function totalSupplyMax() view returns(uint256)
func (*LockableERC20FixedSupplySession) TotalSupplyMin ¶
func (_LockableERC20FixedSupply *LockableERC20FixedSupplySession) TotalSupplyMin() (*big.Int, error)
TotalSupplyMin is a free data retrieval call binding the contract method 0x59ad3fe0.
Solidity: function totalSupplyMin() view returns(uint256)
func (*LockableERC20FixedSupplySession) TotalSupplyProvisional ¶
func (_LockableERC20FixedSupply *LockableERC20FixedSupplySession) TotalSupplyProvisional() (*big.Int, error)
TotalSupplyProvisional is a free data retrieval call binding the contract method 0xbd1b1afd.
Solidity: function totalSupplyProvisional() view returns(uint256)
func (*LockableERC20FixedSupplySession) Transfer ¶
func (_LockableERC20FixedSupply *LockableERC20FixedSupplySession) 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 (*LockableERC20FixedSupplySession) TransferFrom ¶
func (_LockableERC20FixedSupply *LockableERC20FixedSupplySession) 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)
func (*LockableERC20FixedSupplySession) TransferFromAccount ¶
func (_LockableERC20FixedSupply *LockableERC20FixedSupplySession) TransferFromAccount(spender common.Address, sender common.Address, recipient common.Address, amount *big.Int) (*types.Transaction, error)
TransferFromAccount is a paid mutator transaction binding the contract method 0x5e61e1c8.
Solidity: function transferFromAccount(address spender, address sender, address recipient, uint256 amount) returns()
func (*LockableERC20FixedSupplySession) TransferOwnership ¶
func (_LockableERC20FixedSupply *LockableERC20FixedSupplySession) 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 LockableERC20FixedSupplyTransactor ¶
type LockableERC20FixedSupplyTransactor struct {
// contains filtered or unexported fields
}
LockableERC20FixedSupplyTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewLockableERC20FixedSupplyTransactor ¶
func NewLockableERC20FixedSupplyTransactor(address common.Address, transactor bind.ContractTransactor) (*LockableERC20FixedSupplyTransactor, error)
NewLockableERC20FixedSupplyTransactor creates a new write-only instance of LockableERC20FixedSupply, bound to a specific deployed contract.
func (*LockableERC20FixedSupplyTransactor) AddTrustedBridge ¶
func (_LockableERC20FixedSupply *LockableERC20FixedSupplyTransactor) AddTrustedBridge(opts *bind.TransactOpts, bridge common.Address) (*types.Transaction, error)
AddTrustedBridge is a paid mutator transaction binding the contract method 0xec87cbe6.
Solidity: function addTrustedBridge(address bridge) returns()
func (*LockableERC20FixedSupplyTransactor) Approve ¶
func (_LockableERC20FixedSupply *LockableERC20FixedSupplyTransactor) 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 (*LockableERC20FixedSupplyTransactor) Burn ¶
func (_LockableERC20FixedSupply *LockableERC20FixedSupplyTransactor) Burn(opts *bind.TransactOpts, amount *big.Int) (*types.Transaction, error)
Burn is a paid mutator transaction binding the contract method 0x42966c68.
Solidity: function burn(uint256 amount) returns()
func (*LockableERC20FixedSupplyTransactor) BurnFrom ¶
func (_LockableERC20FixedSupply *LockableERC20FixedSupplyTransactor) BurnFrom(opts *bind.TransactOpts, account common.Address, amount *big.Int) (*types.Transaction, error)
BurnFrom is a paid mutator transaction binding the contract method 0x79cc6790.
Solidity: function burnFrom(address account, uint256 amount) returns()
func (*LockableERC20FixedSupplyTransactor) BurnFromAccount ¶
func (_LockableERC20FixedSupply *LockableERC20FixedSupplyTransactor) BurnFromAccount(opts *bind.TransactOpts, spender common.Address, sender common.Address, amount *big.Int) (*types.Transaction, error)
BurnFromAccount is a paid mutator transaction binding the contract method 0x54e35b6e.
Solidity: function burnFromAccount(address spender, address sender, uint256 amount) returns()
func (*LockableERC20FixedSupplyTransactor) BurnFromInternal ¶
func (_LockableERC20FixedSupply *LockableERC20FixedSupplyTransactor) BurnFromInternal(opts *bind.TransactOpts, burner common.Address, account common.Address, amount *big.Int) (*types.Transaction, error)
BurnFromInternal is a paid mutator transaction binding the contract method 0x27fcfd7d.
Solidity: function burnFromInternal(address burner, address account, uint256 amount) returns()
func (*LockableERC20FixedSupplyTransactor) DecreaseAllowance ¶
func (_LockableERC20FixedSupply *LockableERC20FixedSupplyTransactor) DecreaseAllowance(opts *bind.TransactOpts, spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)
DecreaseAllowance is a paid mutator transaction binding the contract method 0xa457c2d7.
Solidity: function decreaseAllowance(address spender, uint256 subtractedValue) returns(bool)
func (*LockableERC20FixedSupplyTransactor) Finalise ¶
func (_LockableERC20FixedSupply *LockableERC20FixedSupplyTransactor) Finalise(opts *bind.TransactOpts, _commit bool, _crossRootTxId [32]byte) (*types.Transaction, error)
Finalise is a paid mutator transaction binding the contract method 0x99eb5d4c.
Solidity: function finalise(bool _commit, bytes32 _crossRootTxId) returns()
func (*LockableERC20FixedSupplyTransactor) IncreaseAccountParallelizartionFactor ¶
func (_LockableERC20FixedSupply *LockableERC20FixedSupplyTransactor) IncreaseAccountParallelizartionFactor(opts *bind.TransactOpts, amount *big.Int) (*types.Transaction, error)
IncreaseAccountParallelizartionFactor is a paid mutator transaction binding the contract method 0x7b0919b2.
Solidity: function increaseAccountParallelizartionFactor(uint256 amount) returns()
func (*LockableERC20FixedSupplyTransactor) IncreaseAllowance ¶
func (_LockableERC20FixedSupply *LockableERC20FixedSupplyTransactor) IncreaseAllowance(opts *bind.TransactOpts, spender common.Address, addedValue *big.Int) (*types.Transaction, error)
IncreaseAllowance is a paid mutator transaction binding the contract method 0x39509351.
Solidity: function increaseAllowance(address spender, uint256 addedValue) returns(bool)
func (*LockableERC20FixedSupplyTransactor) IncreaseERC20ParallelizartionFactor ¶
func (_LockableERC20FixedSupply *LockableERC20FixedSupplyTransactor) IncreaseERC20ParallelizartionFactor(opts *bind.TransactOpts, amount *big.Int) (*types.Transaction, error)
IncreaseERC20ParallelizartionFactor is a paid mutator transaction binding the contract method 0x35c01fc3.
Solidity: function increaseERC20ParallelizartionFactor(uint256 amount) returns()
func (*LockableERC20FixedSupplyTransactor) RemoveTrustedBridge ¶
func (_LockableERC20FixedSupply *LockableERC20FixedSupplyTransactor) RemoveTrustedBridge(opts *bind.TransactOpts, bridge common.Address) (*types.Transaction, error)
RemoveTrustedBridge is a paid mutator transaction binding the contract method 0x8611374d.
Solidity: function removeTrustedBridge(address bridge) returns()
func (*LockableERC20FixedSupplyTransactor) RenounceOwnership ¶
func (_LockableERC20FixedSupply *LockableERC20FixedSupplyTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*LockableERC20FixedSupplyTransactor) Transfer ¶
func (_LockableERC20FixedSupply *LockableERC20FixedSupplyTransactor) 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 (*LockableERC20FixedSupplyTransactor) TransferFrom ¶
func (_LockableERC20FixedSupply *LockableERC20FixedSupplyTransactor) 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)
func (*LockableERC20FixedSupplyTransactor) TransferFromAccount ¶
func (_LockableERC20FixedSupply *LockableERC20FixedSupplyTransactor) TransferFromAccount(opts *bind.TransactOpts, spender common.Address, sender common.Address, recipient common.Address, amount *big.Int) (*types.Transaction, error)
TransferFromAccount is a paid mutator transaction binding the contract method 0x5e61e1c8.
Solidity: function transferFromAccount(address spender, address sender, address recipient, uint256 amount) returns()
func (*LockableERC20FixedSupplyTransactor) TransferOwnership ¶
func (_LockableERC20FixedSupply *LockableERC20FixedSupplyTransactor) 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 LockableERC20FixedSupplyTransactorRaw ¶
type LockableERC20FixedSupplyTransactorRaw struct {
Contract *LockableERC20FixedSupplyTransactor // Generic write-only contract binding to access the raw methods on
}
LockableERC20FixedSupplyTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*LockableERC20FixedSupplyTransactorRaw) Transact ¶
func (_LockableERC20FixedSupply *LockableERC20FixedSupplyTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*LockableERC20FixedSupplyTransactorRaw) Transfer ¶
func (_LockableERC20FixedSupply *LockableERC20FixedSupplyTransactorRaw) 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 LockableERC20FixedSupplyTransactorSession ¶
type LockableERC20FixedSupplyTransactorSession struct { Contract *LockableERC20FixedSupplyTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
LockableERC20FixedSupplyTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*LockableERC20FixedSupplyTransactorSession) AddTrustedBridge ¶
func (_LockableERC20FixedSupply *LockableERC20FixedSupplyTransactorSession) AddTrustedBridge(bridge common.Address) (*types.Transaction, error)
AddTrustedBridge is a paid mutator transaction binding the contract method 0xec87cbe6.
Solidity: function addTrustedBridge(address bridge) returns()
func (*LockableERC20FixedSupplyTransactorSession) Approve ¶
func (_LockableERC20FixedSupply *LockableERC20FixedSupplyTransactorSession) 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 (*LockableERC20FixedSupplyTransactorSession) Burn ¶
func (_LockableERC20FixedSupply *LockableERC20FixedSupplyTransactorSession) Burn(amount *big.Int) (*types.Transaction, error)
Burn is a paid mutator transaction binding the contract method 0x42966c68.
Solidity: function burn(uint256 amount) returns()
func (*LockableERC20FixedSupplyTransactorSession) BurnFrom ¶
func (_LockableERC20FixedSupply *LockableERC20FixedSupplyTransactorSession) BurnFrom(account common.Address, amount *big.Int) (*types.Transaction, error)
BurnFrom is a paid mutator transaction binding the contract method 0x79cc6790.
Solidity: function burnFrom(address account, uint256 amount) returns()
func (*LockableERC20FixedSupplyTransactorSession) BurnFromAccount ¶
func (_LockableERC20FixedSupply *LockableERC20FixedSupplyTransactorSession) BurnFromAccount(spender common.Address, sender common.Address, amount *big.Int) (*types.Transaction, error)
BurnFromAccount is a paid mutator transaction binding the contract method 0x54e35b6e.
Solidity: function burnFromAccount(address spender, address sender, uint256 amount) returns()
func (*LockableERC20FixedSupplyTransactorSession) BurnFromInternal ¶
func (_LockableERC20FixedSupply *LockableERC20FixedSupplyTransactorSession) BurnFromInternal(burner common.Address, account common.Address, amount *big.Int) (*types.Transaction, error)
BurnFromInternal is a paid mutator transaction binding the contract method 0x27fcfd7d.
Solidity: function burnFromInternal(address burner, address account, uint256 amount) returns()
func (*LockableERC20FixedSupplyTransactorSession) DecreaseAllowance ¶
func (_LockableERC20FixedSupply *LockableERC20FixedSupplyTransactorSession) DecreaseAllowance(spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)
DecreaseAllowance is a paid mutator transaction binding the contract method 0xa457c2d7.
Solidity: function decreaseAllowance(address spender, uint256 subtractedValue) returns(bool)
func (*LockableERC20FixedSupplyTransactorSession) Finalise ¶
func (_LockableERC20FixedSupply *LockableERC20FixedSupplyTransactorSession) Finalise(_commit bool, _crossRootTxId [32]byte) (*types.Transaction, error)
Finalise is a paid mutator transaction binding the contract method 0x99eb5d4c.
Solidity: function finalise(bool _commit, bytes32 _crossRootTxId) returns()
func (*LockableERC20FixedSupplyTransactorSession) IncreaseAccountParallelizartionFactor ¶
func (_LockableERC20FixedSupply *LockableERC20FixedSupplyTransactorSession) IncreaseAccountParallelizartionFactor(amount *big.Int) (*types.Transaction, error)
IncreaseAccountParallelizartionFactor is a paid mutator transaction binding the contract method 0x7b0919b2.
Solidity: function increaseAccountParallelizartionFactor(uint256 amount) returns()
func (*LockableERC20FixedSupplyTransactorSession) IncreaseAllowance ¶
func (_LockableERC20FixedSupply *LockableERC20FixedSupplyTransactorSession) IncreaseAllowance(spender common.Address, addedValue *big.Int) (*types.Transaction, error)
IncreaseAllowance is a paid mutator transaction binding the contract method 0x39509351.
Solidity: function increaseAllowance(address spender, uint256 addedValue) returns(bool)
func (*LockableERC20FixedSupplyTransactorSession) IncreaseERC20ParallelizartionFactor ¶
func (_LockableERC20FixedSupply *LockableERC20FixedSupplyTransactorSession) IncreaseERC20ParallelizartionFactor(amount *big.Int) (*types.Transaction, error)
IncreaseERC20ParallelizartionFactor is a paid mutator transaction binding the contract method 0x35c01fc3.
Solidity: function increaseERC20ParallelizartionFactor(uint256 amount) returns()
func (*LockableERC20FixedSupplyTransactorSession) RemoveTrustedBridge ¶
func (_LockableERC20FixedSupply *LockableERC20FixedSupplyTransactorSession) RemoveTrustedBridge(bridge common.Address) (*types.Transaction, error)
RemoveTrustedBridge is a paid mutator transaction binding the contract method 0x8611374d.
Solidity: function removeTrustedBridge(address bridge) returns()
func (*LockableERC20FixedSupplyTransactorSession) RenounceOwnership ¶
func (_LockableERC20FixedSupply *LockableERC20FixedSupplyTransactorSession) RenounceOwnership() (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*LockableERC20FixedSupplyTransactorSession) Transfer ¶
func (_LockableERC20FixedSupply *LockableERC20FixedSupplyTransactorSession) 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 (*LockableERC20FixedSupplyTransactorSession) TransferFrom ¶
func (_LockableERC20FixedSupply *LockableERC20FixedSupplyTransactorSession) 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)
func (*LockableERC20FixedSupplyTransactorSession) TransferFromAccount ¶
func (_LockableERC20FixedSupply *LockableERC20FixedSupplyTransactorSession) TransferFromAccount(spender common.Address, sender common.Address, recipient common.Address, amount *big.Int) (*types.Transaction, error)
TransferFromAccount is a paid mutator transaction binding the contract method 0x5e61e1c8.
Solidity: function transferFromAccount(address spender, address sender, address recipient, uint256 amount) returns()
func (*LockableERC20FixedSupplyTransactorSession) TransferOwnership ¶
func (_LockableERC20FixedSupply *LockableERC20FixedSupplyTransactorSession) 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 LockableERC20FixedSupplyTransfer ¶
type LockableERC20FixedSupplyTransfer struct { From common.Address To common.Address Value *big.Int Raw types.Log // Blockchain specific contextual infos }
LockableERC20FixedSupplyTransfer represents a Transfer event raised by the LockableERC20FixedSupply contract.
type LockableERC20FixedSupplyTransferIterator ¶
type LockableERC20FixedSupplyTransferIterator struct { Event *LockableERC20FixedSupplyTransfer // Event containing the contract specifics and raw log // contains filtered or unexported fields }
LockableERC20FixedSupplyTransferIterator is returned from FilterTransfer and is used to iterate over the raw logs and unpacked data for Transfer events raised by the LockableERC20FixedSupply contract.
func (*LockableERC20FixedSupplyTransferIterator) Close ¶
func (it *LockableERC20FixedSupplyTransferIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*LockableERC20FixedSupplyTransferIterator) Error ¶
func (it *LockableERC20FixedSupplyTransferIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*LockableERC20FixedSupplyTransferIterator) Next ¶
func (it *LockableERC20FixedSupplyTransferIterator) 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 LockableERC20FixedSupplyTrustedBridge ¶
type LockableERC20FixedSupplyTrustedBridge struct { Bridge common.Address Added bool Raw types.Log // Blockchain specific contextual infos }
LockableERC20FixedSupplyTrustedBridge represents a TrustedBridge event raised by the LockableERC20FixedSupply contract.
type LockableERC20FixedSupplyTrustedBridgeIterator ¶
type LockableERC20FixedSupplyTrustedBridgeIterator struct { Event *LockableERC20FixedSupplyTrustedBridge // Event containing the contract specifics and raw log // contains filtered or unexported fields }
LockableERC20FixedSupplyTrustedBridgeIterator is returned from FilterTrustedBridge and is used to iterate over the raw logs and unpacked data for TrustedBridge events raised by the LockableERC20FixedSupply contract.
func (*LockableERC20FixedSupplyTrustedBridgeIterator) Close ¶
func (it *LockableERC20FixedSupplyTrustedBridgeIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*LockableERC20FixedSupplyTrustedBridgeIterator) Error ¶
func (it *LockableERC20FixedSupplyTrustedBridgeIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*LockableERC20FixedSupplyTrustedBridgeIterator) Next ¶
func (it *LockableERC20FixedSupplyTrustedBridgeIterator) 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 SfcERC20Bridge ¶
type SfcERC20Bridge struct { SfcERC20BridgeCaller // Read-only binding to the contract SfcERC20BridgeTransactor // Write-only binding to the contract SfcERC20BridgeFilterer // Log filterer for contract events }
SfcERC20Bridge is an auto generated Go binding around an Ethereum contract.
func DeploySfcERC20Bridge ¶
func DeploySfcERC20Bridge(auth *bind.TransactOpts, backend bind.ContractBackend, _sfcCbcContract common.Address) (common.Address, *types.Transaction, *SfcERC20Bridge, error)
DeploySfcERC20Bridge deploys a new Ethereum contract, binding an instance of SfcERC20Bridge to it.
func NewSfcERC20Bridge ¶
func NewSfcERC20Bridge(address common.Address, backend bind.ContractBackend) (*SfcERC20Bridge, error)
NewSfcERC20Bridge creates a new instance of SfcERC20Bridge, bound to a specific deployed contract.
type SfcERC20BridgeAdminTransfer ¶
type SfcERC20BridgeAdminTransfer struct { Erc20Contract common.Address Recipient common.Address Amount *big.Int Raw types.Log // Blockchain specific contextual infos }
SfcERC20BridgeAdminTransfer represents a AdminTransfer event raised by the SfcERC20Bridge contract.
type SfcERC20BridgeAdminTransferIterator ¶
type SfcERC20BridgeAdminTransferIterator struct { Event *SfcERC20BridgeAdminTransfer // Event containing the contract specifics and raw log // contains filtered or unexported fields }
SfcERC20BridgeAdminTransferIterator is returned from FilterAdminTransfer and is used to iterate over the raw logs and unpacked data for AdminTransfer events raised by the SfcERC20Bridge contract.
func (*SfcERC20BridgeAdminTransferIterator) Close ¶
func (it *SfcERC20BridgeAdminTransferIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*SfcERC20BridgeAdminTransferIterator) Error ¶
func (it *SfcERC20BridgeAdminTransferIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*SfcERC20BridgeAdminTransferIterator) Next ¶
func (it *SfcERC20BridgeAdminTransferIterator) 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 SfcERC20BridgeCaller ¶
type SfcERC20BridgeCaller struct {
// contains filtered or unexported fields
}
SfcERC20BridgeCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewSfcERC20BridgeCaller ¶
func NewSfcERC20BridgeCaller(address common.Address, caller bind.ContractCaller) (*SfcERC20BridgeCaller, error)
NewSfcERC20BridgeCaller creates a new read-only instance of SfcERC20Bridge, bound to a specific deployed contract.
func (*SfcERC20BridgeCaller) ADMINTRANSFERROLE ¶
func (_SfcERC20Bridge *SfcERC20BridgeCaller) ADMINTRANSFERROLE(opts *bind.CallOpts) ([32]byte, error)
ADMINTRANSFERROLE is a free data retrieval call binding the contract method 0xc3be3f36.
Solidity: function ADMINTRANSFER_ROLE() view returns(bytes32)
func (*SfcERC20BridgeCaller) DEFAULTADMINROLE ¶
func (_SfcERC20Bridge *SfcERC20BridgeCaller) 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 (*SfcERC20BridgeCaller) GetBcIdTokenMaping ¶
func (_SfcERC20Bridge *SfcERC20BridgeCaller) GetBcIdTokenMaping(opts *bind.CallOpts, _bcId *big.Int, _tokenContract common.Address) (common.Address, error)
GetBcIdTokenMaping is a free data retrieval call binding the contract method 0x80ccbde4.
Solidity: function getBcIdTokenMaping(uint256 _bcId, address _tokenContract) view returns(address)
func (*SfcERC20BridgeCaller) GetRemoteErc20BridgeContract ¶
func (_SfcERC20Bridge *SfcERC20BridgeCaller) GetRemoteErc20BridgeContract(opts *bind.CallOpts, _bcId *big.Int) (common.Address, error)
GetRemoteErc20BridgeContract is a free data retrieval call binding the contract method 0x0dd4b783.
Solidity: function getRemoteErc20BridgeContract(uint256 _bcId) view returns(address)
func (*SfcERC20BridgeCaller) GetRoleAdmin ¶
func (_SfcERC20Bridge *SfcERC20BridgeCaller) 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 (*SfcERC20BridgeCaller) HasRole ¶
func (_SfcERC20Bridge *SfcERC20BridgeCaller) 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 (*SfcERC20BridgeCaller) IsBcIdTokenAllowed ¶
func (_SfcERC20Bridge *SfcERC20BridgeCaller) IsBcIdTokenAllowed(opts *bind.CallOpts, _bcId *big.Int, _tokenContract common.Address) (bool, error)
IsBcIdTokenAllowed is a free data retrieval call binding the contract method 0x2e44a5b5.
Solidity: function isBcIdTokenAllowed(uint256 _bcId, address _tokenContract) view returns(bool)
func (*SfcERC20BridgeCaller) MAPPINGROLE ¶
func (_SfcERC20Bridge *SfcERC20BridgeCaller) MAPPINGROLE(opts *bind.CallOpts) ([32]byte, error)
MAPPINGROLE is a free data retrieval call binding the contract method 0x43a12224.
Solidity: function MAPPING_ROLE() view returns(bytes32)
func (*SfcERC20BridgeCaller) PAUSERROLE ¶
func (_SfcERC20Bridge *SfcERC20BridgeCaller) PAUSERROLE(opts *bind.CallOpts) ([32]byte, error)
PAUSERROLE is a free data retrieval call binding the contract method 0xe63ab1e9.
Solidity: function PAUSER_ROLE() view returns(bytes32)
func (*SfcERC20BridgeCaller) Paused ¶
func (_SfcERC20Bridge *SfcERC20BridgeCaller) Paused(opts *bind.CallOpts) (bool, error)
Paused is a free data retrieval call binding the contract method 0x5c975abb.
Solidity: function paused() view returns(bool)
func (*SfcERC20BridgeCaller) SupportsInterface ¶
func (_SfcERC20Bridge *SfcERC20BridgeCaller) SupportsInterface(opts *bind.CallOpts, interfaceId [4]byte) (bool, error)
SupportsInterface is a free data retrieval call binding the contract method 0x01ffc9a7.
Solidity: function supportsInterface(bytes4 interfaceId) view returns(bool)
func (*SfcERC20BridgeCaller) TokenContractConfiguration ¶
func (_SfcERC20Bridge *SfcERC20BridgeCaller) TokenContractConfiguration(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)
TokenContractConfiguration is a free data retrieval call binding the contract method 0xef0047cf.
Solidity: function tokenContractConfiguration(address ) view returns(uint256)
type SfcERC20BridgeCallerRaw ¶
type SfcERC20BridgeCallerRaw struct {
Contract *SfcERC20BridgeCaller // Generic read-only contract binding to access the raw methods on
}
SfcERC20BridgeCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*SfcERC20BridgeCallerRaw) Call ¶
func (_SfcERC20Bridge *SfcERC20BridgeCallerRaw) 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 SfcERC20BridgeCallerSession ¶
type SfcERC20BridgeCallerSession struct { Contract *SfcERC20BridgeCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
SfcERC20BridgeCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*SfcERC20BridgeCallerSession) ADMINTRANSFERROLE ¶
func (_SfcERC20Bridge *SfcERC20BridgeCallerSession) ADMINTRANSFERROLE() ([32]byte, error)
ADMINTRANSFERROLE is a free data retrieval call binding the contract method 0xc3be3f36.
Solidity: function ADMINTRANSFER_ROLE() view returns(bytes32)
func (*SfcERC20BridgeCallerSession) DEFAULTADMINROLE ¶
func (_SfcERC20Bridge *SfcERC20BridgeCallerSession) 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 (*SfcERC20BridgeCallerSession) GetBcIdTokenMaping ¶
func (_SfcERC20Bridge *SfcERC20BridgeCallerSession) GetBcIdTokenMaping(_bcId *big.Int, _tokenContract common.Address) (common.Address, error)
GetBcIdTokenMaping is a free data retrieval call binding the contract method 0x80ccbde4.
Solidity: function getBcIdTokenMaping(uint256 _bcId, address _tokenContract) view returns(address)
func (*SfcERC20BridgeCallerSession) GetRemoteErc20BridgeContract ¶
func (_SfcERC20Bridge *SfcERC20BridgeCallerSession) GetRemoteErc20BridgeContract(_bcId *big.Int) (common.Address, error)
GetRemoteErc20BridgeContract is a free data retrieval call binding the contract method 0x0dd4b783.
Solidity: function getRemoteErc20BridgeContract(uint256 _bcId) view returns(address)
func (*SfcERC20BridgeCallerSession) GetRoleAdmin ¶
func (_SfcERC20Bridge *SfcERC20BridgeCallerSession) 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 (*SfcERC20BridgeCallerSession) HasRole ¶
func (_SfcERC20Bridge *SfcERC20BridgeCallerSession) 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 (*SfcERC20BridgeCallerSession) IsBcIdTokenAllowed ¶
func (_SfcERC20Bridge *SfcERC20BridgeCallerSession) IsBcIdTokenAllowed(_bcId *big.Int, _tokenContract common.Address) (bool, error)
IsBcIdTokenAllowed is a free data retrieval call binding the contract method 0x2e44a5b5.
Solidity: function isBcIdTokenAllowed(uint256 _bcId, address _tokenContract) view returns(bool)
func (*SfcERC20BridgeCallerSession) MAPPINGROLE ¶
func (_SfcERC20Bridge *SfcERC20BridgeCallerSession) MAPPINGROLE() ([32]byte, error)
MAPPINGROLE is a free data retrieval call binding the contract method 0x43a12224.
Solidity: function MAPPING_ROLE() view returns(bytes32)
func (*SfcERC20BridgeCallerSession) PAUSERROLE ¶
func (_SfcERC20Bridge *SfcERC20BridgeCallerSession) PAUSERROLE() ([32]byte, error)
PAUSERROLE is a free data retrieval call binding the contract method 0xe63ab1e9.
Solidity: function PAUSER_ROLE() view returns(bytes32)
func (*SfcERC20BridgeCallerSession) Paused ¶
func (_SfcERC20Bridge *SfcERC20BridgeCallerSession) Paused() (bool, error)
Paused is a free data retrieval call binding the contract method 0x5c975abb.
Solidity: function paused() view returns(bool)
func (*SfcERC20BridgeCallerSession) SupportsInterface ¶
func (_SfcERC20Bridge *SfcERC20BridgeCallerSession) SupportsInterface(interfaceId [4]byte) (bool, error)
SupportsInterface is a free data retrieval call binding the contract method 0x01ffc9a7.
Solidity: function supportsInterface(bytes4 interfaceId) view returns(bool)
func (*SfcERC20BridgeCallerSession) TokenContractConfiguration ¶
func (_SfcERC20Bridge *SfcERC20BridgeCallerSession) TokenContractConfiguration(arg0 common.Address) (*big.Int, error)
TokenContractConfiguration is a free data retrieval call binding the contract method 0xef0047cf.
Solidity: function tokenContractConfiguration(address ) view returns(uint256)
type SfcERC20BridgeFilterer ¶
type SfcERC20BridgeFilterer struct {
// contains filtered or unexported fields
}
SfcERC20BridgeFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewSfcERC20BridgeFilterer ¶
func NewSfcERC20BridgeFilterer(address common.Address, filterer bind.ContractFilterer) (*SfcERC20BridgeFilterer, error)
NewSfcERC20BridgeFilterer creates a new log filterer instance of SfcERC20Bridge, bound to a specific deployed contract.
func (*SfcERC20BridgeFilterer) FilterAdminTransfer ¶
func (_SfcERC20Bridge *SfcERC20BridgeFilterer) FilterAdminTransfer(opts *bind.FilterOpts) (*SfcERC20BridgeAdminTransferIterator, error)
FilterAdminTransfer is a free log retrieval operation binding the contract event 0x728fe8c3e9dd087cac70e8ff44565c920a2bb77c726ed3191394fefb4aabc358.
Solidity: event AdminTransfer(address _erc20Contract, address _recipient, uint256 _amount)
func (*SfcERC20BridgeFilterer) FilterPaused ¶
func (_SfcERC20Bridge *SfcERC20BridgeFilterer) FilterPaused(opts *bind.FilterOpts) (*SfcERC20BridgePausedIterator, error)
FilterPaused is a free log retrieval operation binding the contract event 0x62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258.
Solidity: event Paused(address account)
func (*SfcERC20BridgeFilterer) FilterReceivedFrom ¶
func (_SfcERC20Bridge *SfcERC20BridgeFilterer) FilterReceivedFrom(opts *bind.FilterOpts) (*SfcERC20BridgeReceivedFromIterator, error)
FilterReceivedFrom is a free log retrieval operation binding the contract event 0x3008be2f38f2c92605e65a39c193c4b67868ea0dd742f5b9d6f228c9e258ece1.
Solidity: event ReceivedFrom(uint256 _srcBcId, address _srcTokenContract, address _destTokenContract, address _recipient, uint256 _amount)
func (*SfcERC20BridgeFilterer) FilterRoleAdminChanged ¶
func (_SfcERC20Bridge *SfcERC20BridgeFilterer) FilterRoleAdminChanged(opts *bind.FilterOpts, role [][32]byte, previousAdminRole [][32]byte, newAdminRole [][32]byte) (*SfcERC20BridgeRoleAdminChangedIterator, 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 (*SfcERC20BridgeFilterer) FilterRoleGranted ¶
func (_SfcERC20Bridge *SfcERC20BridgeFilterer) FilterRoleGranted(opts *bind.FilterOpts, role [][32]byte, account []common.Address, sender []common.Address) (*SfcERC20BridgeRoleGrantedIterator, 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 (*SfcERC20BridgeFilterer) FilterRoleRevoked ¶
func (_SfcERC20Bridge *SfcERC20BridgeFilterer) FilterRoleRevoked(opts *bind.FilterOpts, role [][32]byte, account []common.Address, sender []common.Address) (*SfcERC20BridgeRoleRevokedIterator, 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 (*SfcERC20BridgeFilterer) FilterTokenContractAddressMappingChanged ¶
func (_SfcERC20Bridge *SfcERC20BridgeFilterer) FilterTokenContractAddressMappingChanged(opts *bind.FilterOpts) (*SfcERC20BridgeTokenContractAddressMappingChangedIterator, error)
FilterTokenContractAddressMappingChanged is a free log retrieval operation binding the contract event 0x3887b7740ba2f669b578cfaf7b54c097711335413cf96f681d36dbf97b98a830.
Solidity: event TokenContractAddressMappingChanged(address _thisBcTokenContract, uint256 _otherBcId, address _othercTokenContract)
func (*SfcERC20BridgeFilterer) FilterTokenContractConfig ¶
func (_SfcERC20Bridge *SfcERC20BridgeFilterer) FilterTokenContractConfig(opts *bind.FilterOpts) (*SfcERC20BridgeTokenContractConfigIterator, error)
FilterTokenContractConfig is a free log retrieval operation binding the contract event 0x75592476a227f5631d3cd8cc24fec7d4c3aec6a178f64ec2b8b91693672f613a.
Solidity: event TokenContractConfig(address _thisBcTokenContract, uint256 _config)
func (*SfcERC20BridgeFilterer) FilterTransferTo ¶
func (_SfcERC20Bridge *SfcERC20BridgeFilterer) FilterTransferTo(opts *bind.FilterOpts) (*SfcERC20BridgeTransferToIterator, error)
FilterTransferTo is a free log retrieval operation binding the contract event 0x752a2bfed77c22e59eeaf9351f545a08f5ee0110b8d6de0e7bcaf32a5dfa661b.
Solidity: event TransferTo(uint256 _destBcId, address _srcTokenContract, address _destTokenContract, address _sender, address _recipient, uint256 _amount)
func (*SfcERC20BridgeFilterer) FilterUnpaused ¶
func (_SfcERC20Bridge *SfcERC20BridgeFilterer) FilterUnpaused(opts *bind.FilterOpts) (*SfcERC20BridgeUnpausedIterator, error)
FilterUnpaused is a free log retrieval operation binding the contract event 0x5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa.
Solidity: event Unpaused(address account)
func (*SfcERC20BridgeFilterer) ParseAdminTransfer ¶
func (_SfcERC20Bridge *SfcERC20BridgeFilterer) ParseAdminTransfer(log types.Log) (*SfcERC20BridgeAdminTransfer, error)
ParseAdminTransfer is a log parse operation binding the contract event 0x728fe8c3e9dd087cac70e8ff44565c920a2bb77c726ed3191394fefb4aabc358.
Solidity: event AdminTransfer(address _erc20Contract, address _recipient, uint256 _amount)
func (*SfcERC20BridgeFilterer) ParsePaused ¶
func (_SfcERC20Bridge *SfcERC20BridgeFilterer) ParsePaused(log types.Log) (*SfcERC20BridgePaused, error)
ParsePaused is a log parse operation binding the contract event 0x62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258.
Solidity: event Paused(address account)
func (*SfcERC20BridgeFilterer) ParseReceivedFrom ¶
func (_SfcERC20Bridge *SfcERC20BridgeFilterer) ParseReceivedFrom(log types.Log) (*SfcERC20BridgeReceivedFrom, error)
ParseReceivedFrom is a log parse operation binding the contract event 0x3008be2f38f2c92605e65a39c193c4b67868ea0dd742f5b9d6f228c9e258ece1.
Solidity: event ReceivedFrom(uint256 _srcBcId, address _srcTokenContract, address _destTokenContract, address _recipient, uint256 _amount)
func (*SfcERC20BridgeFilterer) ParseRoleAdminChanged ¶
func (_SfcERC20Bridge *SfcERC20BridgeFilterer) ParseRoleAdminChanged(log types.Log) (*SfcERC20BridgeRoleAdminChanged, 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 (*SfcERC20BridgeFilterer) ParseRoleGranted ¶
func (_SfcERC20Bridge *SfcERC20BridgeFilterer) ParseRoleGranted(log types.Log) (*SfcERC20BridgeRoleGranted, 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 (*SfcERC20BridgeFilterer) ParseRoleRevoked ¶
func (_SfcERC20Bridge *SfcERC20BridgeFilterer) ParseRoleRevoked(log types.Log) (*SfcERC20BridgeRoleRevoked, 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 (*SfcERC20BridgeFilterer) ParseTokenContractAddressMappingChanged ¶
func (_SfcERC20Bridge *SfcERC20BridgeFilterer) ParseTokenContractAddressMappingChanged(log types.Log) (*SfcERC20BridgeTokenContractAddressMappingChanged, error)
ParseTokenContractAddressMappingChanged is a log parse operation binding the contract event 0x3887b7740ba2f669b578cfaf7b54c097711335413cf96f681d36dbf97b98a830.
Solidity: event TokenContractAddressMappingChanged(address _thisBcTokenContract, uint256 _otherBcId, address _othercTokenContract)
func (*SfcERC20BridgeFilterer) ParseTokenContractConfig ¶
func (_SfcERC20Bridge *SfcERC20BridgeFilterer) ParseTokenContractConfig(log types.Log) (*SfcERC20BridgeTokenContractConfig, error)
ParseTokenContractConfig is a log parse operation binding the contract event 0x75592476a227f5631d3cd8cc24fec7d4c3aec6a178f64ec2b8b91693672f613a.
Solidity: event TokenContractConfig(address _thisBcTokenContract, uint256 _config)
func (*SfcERC20BridgeFilterer) ParseTransferTo ¶
func (_SfcERC20Bridge *SfcERC20BridgeFilterer) ParseTransferTo(log types.Log) (*SfcERC20BridgeTransferTo, error)
ParseTransferTo is a log parse operation binding the contract event 0x752a2bfed77c22e59eeaf9351f545a08f5ee0110b8d6de0e7bcaf32a5dfa661b.
Solidity: event TransferTo(uint256 _destBcId, address _srcTokenContract, address _destTokenContract, address _sender, address _recipient, uint256 _amount)
func (*SfcERC20BridgeFilterer) ParseUnpaused ¶
func (_SfcERC20Bridge *SfcERC20BridgeFilterer) ParseUnpaused(log types.Log) (*SfcERC20BridgeUnpaused, error)
ParseUnpaused is a log parse operation binding the contract event 0x5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa.
Solidity: event Unpaused(address account)
func (*SfcERC20BridgeFilterer) WatchAdminTransfer ¶
func (_SfcERC20Bridge *SfcERC20BridgeFilterer) WatchAdminTransfer(opts *bind.WatchOpts, sink chan<- *SfcERC20BridgeAdminTransfer) (event.Subscription, error)
WatchAdminTransfer is a free log subscription operation binding the contract event 0x728fe8c3e9dd087cac70e8ff44565c920a2bb77c726ed3191394fefb4aabc358.
Solidity: event AdminTransfer(address _erc20Contract, address _recipient, uint256 _amount)
func (*SfcERC20BridgeFilterer) WatchPaused ¶
func (_SfcERC20Bridge *SfcERC20BridgeFilterer) WatchPaused(opts *bind.WatchOpts, sink chan<- *SfcERC20BridgePaused) (event.Subscription, error)
WatchPaused is a free log subscription operation binding the contract event 0x62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258.
Solidity: event Paused(address account)
func (*SfcERC20BridgeFilterer) WatchReceivedFrom ¶
func (_SfcERC20Bridge *SfcERC20BridgeFilterer) WatchReceivedFrom(opts *bind.WatchOpts, sink chan<- *SfcERC20BridgeReceivedFrom) (event.Subscription, error)
WatchReceivedFrom is a free log subscription operation binding the contract event 0x3008be2f38f2c92605e65a39c193c4b67868ea0dd742f5b9d6f228c9e258ece1.
Solidity: event ReceivedFrom(uint256 _srcBcId, address _srcTokenContract, address _destTokenContract, address _recipient, uint256 _amount)
func (*SfcERC20BridgeFilterer) WatchRoleAdminChanged ¶
func (_SfcERC20Bridge *SfcERC20BridgeFilterer) WatchRoleAdminChanged(opts *bind.WatchOpts, sink chan<- *SfcERC20BridgeRoleAdminChanged, 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 (*SfcERC20BridgeFilterer) WatchRoleGranted ¶
func (_SfcERC20Bridge *SfcERC20BridgeFilterer) WatchRoleGranted(opts *bind.WatchOpts, sink chan<- *SfcERC20BridgeRoleGranted, 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 (*SfcERC20BridgeFilterer) WatchRoleRevoked ¶
func (_SfcERC20Bridge *SfcERC20BridgeFilterer) WatchRoleRevoked(opts *bind.WatchOpts, sink chan<- *SfcERC20BridgeRoleRevoked, 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)
func (*SfcERC20BridgeFilterer) WatchTokenContractAddressMappingChanged ¶
func (_SfcERC20Bridge *SfcERC20BridgeFilterer) WatchTokenContractAddressMappingChanged(opts *bind.WatchOpts, sink chan<- *SfcERC20BridgeTokenContractAddressMappingChanged) (event.Subscription, error)
WatchTokenContractAddressMappingChanged is a free log subscription operation binding the contract event 0x3887b7740ba2f669b578cfaf7b54c097711335413cf96f681d36dbf97b98a830.
Solidity: event TokenContractAddressMappingChanged(address _thisBcTokenContract, uint256 _otherBcId, address _othercTokenContract)
func (*SfcERC20BridgeFilterer) WatchTokenContractConfig ¶
func (_SfcERC20Bridge *SfcERC20BridgeFilterer) WatchTokenContractConfig(opts *bind.WatchOpts, sink chan<- *SfcERC20BridgeTokenContractConfig) (event.Subscription, error)
WatchTokenContractConfig is a free log subscription operation binding the contract event 0x75592476a227f5631d3cd8cc24fec7d4c3aec6a178f64ec2b8b91693672f613a.
Solidity: event TokenContractConfig(address _thisBcTokenContract, uint256 _config)
func (*SfcERC20BridgeFilterer) WatchTransferTo ¶
func (_SfcERC20Bridge *SfcERC20BridgeFilterer) WatchTransferTo(opts *bind.WatchOpts, sink chan<- *SfcERC20BridgeTransferTo) (event.Subscription, error)
WatchTransferTo is a free log subscription operation binding the contract event 0x752a2bfed77c22e59eeaf9351f545a08f5ee0110b8d6de0e7bcaf32a5dfa661b.
Solidity: event TransferTo(uint256 _destBcId, address _srcTokenContract, address _destTokenContract, address _sender, address _recipient, uint256 _amount)
func (*SfcERC20BridgeFilterer) WatchUnpaused ¶
func (_SfcERC20Bridge *SfcERC20BridgeFilterer) WatchUnpaused(opts *bind.WatchOpts, sink chan<- *SfcERC20BridgeUnpaused) (event.Subscription, error)
WatchUnpaused is a free log subscription operation binding the contract event 0x5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa.
Solidity: event Unpaused(address account)
type SfcERC20BridgePaused ¶
type SfcERC20BridgePaused struct { Account common.Address Raw types.Log // Blockchain specific contextual infos }
SfcERC20BridgePaused represents a Paused event raised by the SfcERC20Bridge contract.
type SfcERC20BridgePausedIterator ¶
type SfcERC20BridgePausedIterator struct { Event *SfcERC20BridgePaused // Event containing the contract specifics and raw log // contains filtered or unexported fields }
SfcERC20BridgePausedIterator is returned from FilterPaused and is used to iterate over the raw logs and unpacked data for Paused events raised by the SfcERC20Bridge contract.
func (*SfcERC20BridgePausedIterator) Close ¶
func (it *SfcERC20BridgePausedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*SfcERC20BridgePausedIterator) Error ¶
func (it *SfcERC20BridgePausedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*SfcERC20BridgePausedIterator) Next ¶
func (it *SfcERC20BridgePausedIterator) 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 SfcERC20BridgeRaw ¶
type SfcERC20BridgeRaw struct {
Contract *SfcERC20Bridge // Generic contract binding to access the raw methods on
}
SfcERC20BridgeRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*SfcERC20BridgeRaw) Call ¶
func (_SfcERC20Bridge *SfcERC20BridgeRaw) 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 (*SfcERC20BridgeRaw) Transact ¶
func (_SfcERC20Bridge *SfcERC20BridgeRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*SfcERC20BridgeRaw) Transfer ¶
func (_SfcERC20Bridge *SfcERC20BridgeRaw) 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 SfcERC20BridgeReceivedFrom ¶
type SfcERC20BridgeReceivedFrom struct { SrcBcId *big.Int SrcTokenContract common.Address DestTokenContract common.Address Recipient common.Address Amount *big.Int Raw types.Log // Blockchain specific contextual infos }
SfcERC20BridgeReceivedFrom represents a ReceivedFrom event raised by the SfcERC20Bridge contract.
type SfcERC20BridgeReceivedFromIterator ¶
type SfcERC20BridgeReceivedFromIterator struct { Event *SfcERC20BridgeReceivedFrom // Event containing the contract specifics and raw log // contains filtered or unexported fields }
SfcERC20BridgeReceivedFromIterator is returned from FilterReceivedFrom and is used to iterate over the raw logs and unpacked data for ReceivedFrom events raised by the SfcERC20Bridge contract.
func (*SfcERC20BridgeReceivedFromIterator) Close ¶
func (it *SfcERC20BridgeReceivedFromIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*SfcERC20BridgeReceivedFromIterator) Error ¶
func (it *SfcERC20BridgeReceivedFromIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*SfcERC20BridgeReceivedFromIterator) Next ¶
func (it *SfcERC20BridgeReceivedFromIterator) 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 SfcERC20BridgeRoleAdminChanged ¶
type SfcERC20BridgeRoleAdminChanged struct { Role [32]byte PreviousAdminRole [32]byte NewAdminRole [32]byte Raw types.Log // Blockchain specific contextual infos }
SfcERC20BridgeRoleAdminChanged represents a RoleAdminChanged event raised by the SfcERC20Bridge contract.
type SfcERC20BridgeRoleAdminChangedIterator ¶
type SfcERC20BridgeRoleAdminChangedIterator struct { Event *SfcERC20BridgeRoleAdminChanged // Event containing the contract specifics and raw log // contains filtered or unexported fields }
SfcERC20BridgeRoleAdminChangedIterator is returned from FilterRoleAdminChanged and is used to iterate over the raw logs and unpacked data for RoleAdminChanged events raised by the SfcERC20Bridge contract.
func (*SfcERC20BridgeRoleAdminChangedIterator) Close ¶
func (it *SfcERC20BridgeRoleAdminChangedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*SfcERC20BridgeRoleAdminChangedIterator) Error ¶
func (it *SfcERC20BridgeRoleAdminChangedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*SfcERC20BridgeRoleAdminChangedIterator) Next ¶
func (it *SfcERC20BridgeRoleAdminChangedIterator) 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 SfcERC20BridgeRoleGranted ¶
type SfcERC20BridgeRoleGranted struct { Role [32]byte Account common.Address Sender common.Address Raw types.Log // Blockchain specific contextual infos }
SfcERC20BridgeRoleGranted represents a RoleGranted event raised by the SfcERC20Bridge contract.
type SfcERC20BridgeRoleGrantedIterator ¶
type SfcERC20BridgeRoleGrantedIterator struct { Event *SfcERC20BridgeRoleGranted // Event containing the contract specifics and raw log // contains filtered or unexported fields }
SfcERC20BridgeRoleGrantedIterator is returned from FilterRoleGranted and is used to iterate over the raw logs and unpacked data for RoleGranted events raised by the SfcERC20Bridge contract.
func (*SfcERC20BridgeRoleGrantedIterator) Close ¶
func (it *SfcERC20BridgeRoleGrantedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*SfcERC20BridgeRoleGrantedIterator) Error ¶
func (it *SfcERC20BridgeRoleGrantedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*SfcERC20BridgeRoleGrantedIterator) Next ¶
func (it *SfcERC20BridgeRoleGrantedIterator) 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 SfcERC20BridgeRoleRevoked ¶
type SfcERC20BridgeRoleRevoked struct { Role [32]byte Account common.Address Sender common.Address Raw types.Log // Blockchain specific contextual infos }
SfcERC20BridgeRoleRevoked represents a RoleRevoked event raised by the SfcERC20Bridge contract.
type SfcERC20BridgeRoleRevokedIterator ¶
type SfcERC20BridgeRoleRevokedIterator struct { Event *SfcERC20BridgeRoleRevoked // Event containing the contract specifics and raw log // contains filtered or unexported fields }
SfcERC20BridgeRoleRevokedIterator is returned from FilterRoleRevoked and is used to iterate over the raw logs and unpacked data for RoleRevoked events raised by the SfcERC20Bridge contract.
func (*SfcERC20BridgeRoleRevokedIterator) Close ¶
func (it *SfcERC20BridgeRoleRevokedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*SfcERC20BridgeRoleRevokedIterator) Error ¶
func (it *SfcERC20BridgeRoleRevokedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*SfcERC20BridgeRoleRevokedIterator) Next ¶
func (it *SfcERC20BridgeRoleRevokedIterator) 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 SfcERC20BridgeSession ¶
type SfcERC20BridgeSession struct { Contract *SfcERC20Bridge // 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 }
SfcERC20BridgeSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*SfcERC20BridgeSession) ADMINTRANSFERROLE ¶
func (_SfcERC20Bridge *SfcERC20BridgeSession) ADMINTRANSFERROLE() ([32]byte, error)
ADMINTRANSFERROLE is a free data retrieval call binding the contract method 0xc3be3f36.
Solidity: function ADMINTRANSFER_ROLE() view returns(bytes32)
func (*SfcERC20BridgeSession) AddContractFirstMapping ¶
func (_SfcERC20Bridge *SfcERC20BridgeSession) AddContractFirstMapping(_thisBcTokenContract common.Address, _otherBcId *big.Int, _otherTokenContract common.Address, _thisBcMassC bool) (*types.Transaction, error)
AddContractFirstMapping is a paid mutator transaction binding the contract method 0xc22b8699.
Solidity: function addContractFirstMapping(address _thisBcTokenContract, uint256 _otherBcId, address _otherTokenContract, bool _thisBcMassC) returns()
func (*SfcERC20BridgeSession) AdminTransfer ¶
func (_SfcERC20Bridge *SfcERC20BridgeSession) AdminTransfer(_erc20Contract common.Address, _recipient common.Address, _amount *big.Int) (*types.Transaction, error)
AdminTransfer is a paid mutator transaction binding the contract method 0xda72c1e8.
Solidity: function adminTransfer(address _erc20Contract, address _recipient, uint256 _amount) returns()
func (*SfcERC20BridgeSession) ChangeBlockchainMapping ¶
func (_SfcERC20Bridge *SfcERC20BridgeSession) ChangeBlockchainMapping(_otherBcId *big.Int, _otherErc20Bridge common.Address) (*types.Transaction, error)
ChangeBlockchainMapping is a paid mutator transaction binding the contract method 0xe787282a.
Solidity: function changeBlockchainMapping(uint256 _otherBcId, address _otherErc20Bridge) returns()
func (*SfcERC20BridgeSession) ChangeContractMapping ¶
func (_SfcERC20Bridge *SfcERC20BridgeSession) ChangeContractMapping(_thisBcTokenContract common.Address, _otherBcId *big.Int, _otherTokenContract common.Address) (*types.Transaction, error)
ChangeContractMapping is a paid mutator transaction binding the contract method 0x06b47e9e.
Solidity: function changeContractMapping(address _thisBcTokenContract, uint256 _otherBcId, address _otherTokenContract) returns()
func (*SfcERC20BridgeSession) DEFAULTADMINROLE ¶
func (_SfcERC20Bridge *SfcERC20BridgeSession) 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 (*SfcERC20BridgeSession) GetBcIdTokenMaping ¶
func (_SfcERC20Bridge *SfcERC20BridgeSession) GetBcIdTokenMaping(_bcId *big.Int, _tokenContract common.Address) (common.Address, error)
GetBcIdTokenMaping is a free data retrieval call binding the contract method 0x80ccbde4.
Solidity: function getBcIdTokenMaping(uint256 _bcId, address _tokenContract) view returns(address)
func (*SfcERC20BridgeSession) GetRemoteErc20BridgeContract ¶
func (_SfcERC20Bridge *SfcERC20BridgeSession) GetRemoteErc20BridgeContract(_bcId *big.Int) (common.Address, error)
GetRemoteErc20BridgeContract is a free data retrieval call binding the contract method 0x0dd4b783.
Solidity: function getRemoteErc20BridgeContract(uint256 _bcId) view returns(address)
func (*SfcERC20BridgeSession) GetRoleAdmin ¶
func (_SfcERC20Bridge *SfcERC20BridgeSession) 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 (*SfcERC20BridgeSession) GrantRole ¶
func (_SfcERC20Bridge *SfcERC20BridgeSession) 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 (*SfcERC20BridgeSession) HasRole ¶
func (_SfcERC20Bridge *SfcERC20BridgeSession) 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 (*SfcERC20BridgeSession) IsBcIdTokenAllowed ¶
func (_SfcERC20Bridge *SfcERC20BridgeSession) IsBcIdTokenAllowed(_bcId *big.Int, _tokenContract common.Address) (bool, error)
IsBcIdTokenAllowed is a free data retrieval call binding the contract method 0x2e44a5b5.
Solidity: function isBcIdTokenAllowed(uint256 _bcId, address _tokenContract) view returns(bool)
func (*SfcERC20BridgeSession) MAPPINGROLE ¶
func (_SfcERC20Bridge *SfcERC20BridgeSession) MAPPINGROLE() ([32]byte, error)
MAPPINGROLE is a free data retrieval call binding the contract method 0x43a12224.
Solidity: function MAPPING_ROLE() view returns(bytes32)
func (*SfcERC20BridgeSession) PAUSERROLE ¶
func (_SfcERC20Bridge *SfcERC20BridgeSession) PAUSERROLE() ([32]byte, error)
PAUSERROLE is a free data retrieval call binding the contract method 0xe63ab1e9.
Solidity: function PAUSER_ROLE() view returns(bytes32)
func (*SfcERC20BridgeSession) Pause ¶
func (_SfcERC20Bridge *SfcERC20BridgeSession) Pause() (*types.Transaction, error)
Pause is a paid mutator transaction binding the contract method 0x8456cb59.
Solidity: function pause() returns()
func (*SfcERC20BridgeSession) Paused ¶
func (_SfcERC20Bridge *SfcERC20BridgeSession) Paused() (bool, error)
Paused is a free data retrieval call binding the contract method 0x5c975abb.
Solidity: function paused() view returns(bool)
func (*SfcERC20BridgeSession) ReceiveFromOtherBlockchain ¶
func (_SfcERC20Bridge *SfcERC20BridgeSession) ReceiveFromOtherBlockchain(_destTokenContract common.Address, _recipient common.Address, _amount *big.Int) (*types.Transaction, error)
ReceiveFromOtherBlockchain is a paid mutator transaction binding the contract method 0x8278ef6d.
Solidity: function receiveFromOtherBlockchain(address _destTokenContract, address _recipient, uint256 _amount) returns()
func (*SfcERC20BridgeSession) RenounceRole ¶
func (_SfcERC20Bridge *SfcERC20BridgeSession) 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 (*SfcERC20BridgeSession) RevokeRole ¶
func (_SfcERC20Bridge *SfcERC20BridgeSession) 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 (*SfcERC20BridgeSession) SetTokenConfig ¶
func (_SfcERC20Bridge *SfcERC20BridgeSession) SetTokenConfig(_thisBcTokenContract common.Address, _thisBcMassC bool) (*types.Transaction, error)
SetTokenConfig is a paid mutator transaction binding the contract method 0xe96dab56.
Solidity: function setTokenConfig(address _thisBcTokenContract, bool _thisBcMassC) returns()
func (*SfcERC20BridgeSession) SupportsInterface ¶
func (_SfcERC20Bridge *SfcERC20BridgeSession) SupportsInterface(interfaceId [4]byte) (bool, error)
SupportsInterface is a free data retrieval call binding the contract method 0x01ffc9a7.
Solidity: function supportsInterface(bytes4 interfaceId) view returns(bool)
func (*SfcERC20BridgeSession) TokenContractConfiguration ¶
func (_SfcERC20Bridge *SfcERC20BridgeSession) TokenContractConfiguration(arg0 common.Address) (*big.Int, error)
TokenContractConfiguration is a free data retrieval call binding the contract method 0xef0047cf.
Solidity: function tokenContractConfiguration(address ) view returns(uint256)
func (*SfcERC20BridgeSession) TransferToOtherBlockchain ¶
func (_SfcERC20Bridge *SfcERC20BridgeSession) TransferToOtherBlockchain(_destBcId *big.Int, _srcTokenContract common.Address, _recipient common.Address, _amount *big.Int) (*types.Transaction, error)
TransferToOtherBlockchain is a paid mutator transaction binding the contract method 0x84aea633.
Solidity: function transferToOtherBlockchain(uint256 _destBcId, address _srcTokenContract, address _recipient, uint256 _amount) returns()
func (*SfcERC20BridgeSession) Unpause ¶
func (_SfcERC20Bridge *SfcERC20BridgeSession) Unpause() (*types.Transaction, error)
Unpause is a paid mutator transaction binding the contract method 0x3f4ba83a.
Solidity: function unpause() returns()
type SfcERC20BridgeTokenContractAddressMappingChanged ¶
type SfcERC20BridgeTokenContractAddressMappingChanged struct { ThisBcTokenContract common.Address OtherBcId *big.Int OthercTokenContract common.Address Raw types.Log // Blockchain specific contextual infos }
SfcERC20BridgeTokenContractAddressMappingChanged represents a TokenContractAddressMappingChanged event raised by the SfcERC20Bridge contract.
type SfcERC20BridgeTokenContractAddressMappingChangedIterator ¶
type SfcERC20BridgeTokenContractAddressMappingChangedIterator struct { Event *SfcERC20BridgeTokenContractAddressMappingChanged // Event containing the contract specifics and raw log // contains filtered or unexported fields }
SfcERC20BridgeTokenContractAddressMappingChangedIterator is returned from FilterTokenContractAddressMappingChanged and is used to iterate over the raw logs and unpacked data for TokenContractAddressMappingChanged events raised by the SfcERC20Bridge contract.
func (*SfcERC20BridgeTokenContractAddressMappingChangedIterator) Close ¶
func (it *SfcERC20BridgeTokenContractAddressMappingChangedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*SfcERC20BridgeTokenContractAddressMappingChangedIterator) Error ¶
func (it *SfcERC20BridgeTokenContractAddressMappingChangedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*SfcERC20BridgeTokenContractAddressMappingChangedIterator) Next ¶
func (it *SfcERC20BridgeTokenContractAddressMappingChangedIterator) 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 SfcERC20BridgeTokenContractConfig ¶
type SfcERC20BridgeTokenContractConfig struct { ThisBcTokenContract common.Address Config *big.Int Raw types.Log // Blockchain specific contextual infos }
SfcERC20BridgeTokenContractConfig represents a TokenContractConfig event raised by the SfcERC20Bridge contract.
type SfcERC20BridgeTokenContractConfigIterator ¶
type SfcERC20BridgeTokenContractConfigIterator struct { Event *SfcERC20BridgeTokenContractConfig // Event containing the contract specifics and raw log // contains filtered or unexported fields }
SfcERC20BridgeTokenContractConfigIterator is returned from FilterTokenContractConfig and is used to iterate over the raw logs and unpacked data for TokenContractConfig events raised by the SfcERC20Bridge contract.
func (*SfcERC20BridgeTokenContractConfigIterator) Close ¶
func (it *SfcERC20BridgeTokenContractConfigIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*SfcERC20BridgeTokenContractConfigIterator) Error ¶
func (it *SfcERC20BridgeTokenContractConfigIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*SfcERC20BridgeTokenContractConfigIterator) Next ¶
func (it *SfcERC20BridgeTokenContractConfigIterator) 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 SfcERC20BridgeTransactor ¶
type SfcERC20BridgeTransactor struct {
// contains filtered or unexported fields
}
SfcERC20BridgeTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewSfcERC20BridgeTransactor ¶
func NewSfcERC20BridgeTransactor(address common.Address, transactor bind.ContractTransactor) (*SfcERC20BridgeTransactor, error)
NewSfcERC20BridgeTransactor creates a new write-only instance of SfcERC20Bridge, bound to a specific deployed contract.
func (*SfcERC20BridgeTransactor) AddContractFirstMapping ¶
func (_SfcERC20Bridge *SfcERC20BridgeTransactor) AddContractFirstMapping(opts *bind.TransactOpts, _thisBcTokenContract common.Address, _otherBcId *big.Int, _otherTokenContract common.Address, _thisBcMassC bool) (*types.Transaction, error)
AddContractFirstMapping is a paid mutator transaction binding the contract method 0xc22b8699.
Solidity: function addContractFirstMapping(address _thisBcTokenContract, uint256 _otherBcId, address _otherTokenContract, bool _thisBcMassC) returns()
func (*SfcERC20BridgeTransactor) AdminTransfer ¶
func (_SfcERC20Bridge *SfcERC20BridgeTransactor) AdminTransfer(opts *bind.TransactOpts, _erc20Contract common.Address, _recipient common.Address, _amount *big.Int) (*types.Transaction, error)
AdminTransfer is a paid mutator transaction binding the contract method 0xda72c1e8.
Solidity: function adminTransfer(address _erc20Contract, address _recipient, uint256 _amount) returns()
func (*SfcERC20BridgeTransactor) ChangeBlockchainMapping ¶
func (_SfcERC20Bridge *SfcERC20BridgeTransactor) ChangeBlockchainMapping(opts *bind.TransactOpts, _otherBcId *big.Int, _otherErc20Bridge common.Address) (*types.Transaction, error)
ChangeBlockchainMapping is a paid mutator transaction binding the contract method 0xe787282a.
Solidity: function changeBlockchainMapping(uint256 _otherBcId, address _otherErc20Bridge) returns()
func (*SfcERC20BridgeTransactor) ChangeContractMapping ¶
func (_SfcERC20Bridge *SfcERC20BridgeTransactor) ChangeContractMapping(opts *bind.TransactOpts, _thisBcTokenContract common.Address, _otherBcId *big.Int, _otherTokenContract common.Address) (*types.Transaction, error)
ChangeContractMapping is a paid mutator transaction binding the contract method 0x06b47e9e.
Solidity: function changeContractMapping(address _thisBcTokenContract, uint256 _otherBcId, address _otherTokenContract) returns()
func (*SfcERC20BridgeTransactor) GrantRole ¶
func (_SfcERC20Bridge *SfcERC20BridgeTransactor) 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 (*SfcERC20BridgeTransactor) Pause ¶
func (_SfcERC20Bridge *SfcERC20BridgeTransactor) Pause(opts *bind.TransactOpts) (*types.Transaction, error)
Pause is a paid mutator transaction binding the contract method 0x8456cb59.
Solidity: function pause() returns()
func (*SfcERC20BridgeTransactor) ReceiveFromOtherBlockchain ¶
func (_SfcERC20Bridge *SfcERC20BridgeTransactor) ReceiveFromOtherBlockchain(opts *bind.TransactOpts, _destTokenContract common.Address, _recipient common.Address, _amount *big.Int) (*types.Transaction, error)
ReceiveFromOtherBlockchain is a paid mutator transaction binding the contract method 0x8278ef6d.
Solidity: function receiveFromOtherBlockchain(address _destTokenContract, address _recipient, uint256 _amount) returns()
func (*SfcERC20BridgeTransactor) RenounceRole ¶
func (_SfcERC20Bridge *SfcERC20BridgeTransactor) 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 (*SfcERC20BridgeTransactor) RevokeRole ¶
func (_SfcERC20Bridge *SfcERC20BridgeTransactor) 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()
func (*SfcERC20BridgeTransactor) SetTokenConfig ¶
func (_SfcERC20Bridge *SfcERC20BridgeTransactor) SetTokenConfig(opts *bind.TransactOpts, _thisBcTokenContract common.Address, _thisBcMassC bool) (*types.Transaction, error)
SetTokenConfig is a paid mutator transaction binding the contract method 0xe96dab56.
Solidity: function setTokenConfig(address _thisBcTokenContract, bool _thisBcMassC) returns()
func (*SfcERC20BridgeTransactor) TransferToOtherBlockchain ¶
func (_SfcERC20Bridge *SfcERC20BridgeTransactor) TransferToOtherBlockchain(opts *bind.TransactOpts, _destBcId *big.Int, _srcTokenContract common.Address, _recipient common.Address, _amount *big.Int) (*types.Transaction, error)
TransferToOtherBlockchain is a paid mutator transaction binding the contract method 0x84aea633.
Solidity: function transferToOtherBlockchain(uint256 _destBcId, address _srcTokenContract, address _recipient, uint256 _amount) returns()
func (*SfcERC20BridgeTransactor) Unpause ¶
func (_SfcERC20Bridge *SfcERC20BridgeTransactor) Unpause(opts *bind.TransactOpts) (*types.Transaction, error)
Unpause is a paid mutator transaction binding the contract method 0x3f4ba83a.
Solidity: function unpause() returns()
type SfcERC20BridgeTransactorRaw ¶
type SfcERC20BridgeTransactorRaw struct {
Contract *SfcERC20BridgeTransactor // Generic write-only contract binding to access the raw methods on
}
SfcERC20BridgeTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*SfcERC20BridgeTransactorRaw) Transact ¶
func (_SfcERC20Bridge *SfcERC20BridgeTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*SfcERC20BridgeTransactorRaw) Transfer ¶
func (_SfcERC20Bridge *SfcERC20BridgeTransactorRaw) 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 SfcERC20BridgeTransactorSession ¶
type SfcERC20BridgeTransactorSession struct { Contract *SfcERC20BridgeTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
SfcERC20BridgeTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*SfcERC20BridgeTransactorSession) AddContractFirstMapping ¶
func (_SfcERC20Bridge *SfcERC20BridgeTransactorSession) AddContractFirstMapping(_thisBcTokenContract common.Address, _otherBcId *big.Int, _otherTokenContract common.Address, _thisBcMassC bool) (*types.Transaction, error)
AddContractFirstMapping is a paid mutator transaction binding the contract method 0xc22b8699.
Solidity: function addContractFirstMapping(address _thisBcTokenContract, uint256 _otherBcId, address _otherTokenContract, bool _thisBcMassC) returns()
func (*SfcERC20BridgeTransactorSession) AdminTransfer ¶
func (_SfcERC20Bridge *SfcERC20BridgeTransactorSession) AdminTransfer(_erc20Contract common.Address, _recipient common.Address, _amount *big.Int) (*types.Transaction, error)
AdminTransfer is a paid mutator transaction binding the contract method 0xda72c1e8.
Solidity: function adminTransfer(address _erc20Contract, address _recipient, uint256 _amount) returns()
func (*SfcERC20BridgeTransactorSession) ChangeBlockchainMapping ¶
func (_SfcERC20Bridge *SfcERC20BridgeTransactorSession) ChangeBlockchainMapping(_otherBcId *big.Int, _otherErc20Bridge common.Address) (*types.Transaction, error)
ChangeBlockchainMapping is a paid mutator transaction binding the contract method 0xe787282a.
Solidity: function changeBlockchainMapping(uint256 _otherBcId, address _otherErc20Bridge) returns()
func (*SfcERC20BridgeTransactorSession) ChangeContractMapping ¶
func (_SfcERC20Bridge *SfcERC20BridgeTransactorSession) ChangeContractMapping(_thisBcTokenContract common.Address, _otherBcId *big.Int, _otherTokenContract common.Address) (*types.Transaction, error)
ChangeContractMapping is a paid mutator transaction binding the contract method 0x06b47e9e.
Solidity: function changeContractMapping(address _thisBcTokenContract, uint256 _otherBcId, address _otherTokenContract) returns()
func (*SfcERC20BridgeTransactorSession) GrantRole ¶
func (_SfcERC20Bridge *SfcERC20BridgeTransactorSession) 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 (*SfcERC20BridgeTransactorSession) Pause ¶
func (_SfcERC20Bridge *SfcERC20BridgeTransactorSession) Pause() (*types.Transaction, error)
Pause is a paid mutator transaction binding the contract method 0x8456cb59.
Solidity: function pause() returns()
func (*SfcERC20BridgeTransactorSession) ReceiveFromOtherBlockchain ¶
func (_SfcERC20Bridge *SfcERC20BridgeTransactorSession) ReceiveFromOtherBlockchain(_destTokenContract common.Address, _recipient common.Address, _amount *big.Int) (*types.Transaction, error)
ReceiveFromOtherBlockchain is a paid mutator transaction binding the contract method 0x8278ef6d.
Solidity: function receiveFromOtherBlockchain(address _destTokenContract, address _recipient, uint256 _amount) returns()
func (*SfcERC20BridgeTransactorSession) RenounceRole ¶
func (_SfcERC20Bridge *SfcERC20BridgeTransactorSession) 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 (*SfcERC20BridgeTransactorSession) RevokeRole ¶
func (_SfcERC20Bridge *SfcERC20BridgeTransactorSession) 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 (*SfcERC20BridgeTransactorSession) SetTokenConfig ¶
func (_SfcERC20Bridge *SfcERC20BridgeTransactorSession) SetTokenConfig(_thisBcTokenContract common.Address, _thisBcMassC bool) (*types.Transaction, error)
SetTokenConfig is a paid mutator transaction binding the contract method 0xe96dab56.
Solidity: function setTokenConfig(address _thisBcTokenContract, bool _thisBcMassC) returns()
func (*SfcERC20BridgeTransactorSession) TransferToOtherBlockchain ¶
func (_SfcERC20Bridge *SfcERC20BridgeTransactorSession) TransferToOtherBlockchain(_destBcId *big.Int, _srcTokenContract common.Address, _recipient common.Address, _amount *big.Int) (*types.Transaction, error)
TransferToOtherBlockchain is a paid mutator transaction binding the contract method 0x84aea633.
Solidity: function transferToOtherBlockchain(uint256 _destBcId, address _srcTokenContract, address _recipient, uint256 _amount) returns()
func (*SfcERC20BridgeTransactorSession) Unpause ¶
func (_SfcERC20Bridge *SfcERC20BridgeTransactorSession) Unpause() (*types.Transaction, error)
Unpause is a paid mutator transaction binding the contract method 0x3f4ba83a.
Solidity: function unpause() returns()
type SfcERC20BridgeTransferTo ¶
type SfcERC20BridgeTransferTo struct { DestBcId *big.Int SrcTokenContract common.Address DestTokenContract common.Address Sender common.Address Recipient common.Address Amount *big.Int Raw types.Log // Blockchain specific contextual infos }
SfcERC20BridgeTransferTo represents a TransferTo event raised by the SfcERC20Bridge contract.
type SfcERC20BridgeTransferToIterator ¶
type SfcERC20BridgeTransferToIterator struct { Event *SfcERC20BridgeTransferTo // Event containing the contract specifics and raw log // contains filtered or unexported fields }
SfcERC20BridgeTransferToIterator is returned from FilterTransferTo and is used to iterate over the raw logs and unpacked data for TransferTo events raised by the SfcERC20Bridge contract.
func (*SfcERC20BridgeTransferToIterator) Close ¶
func (it *SfcERC20BridgeTransferToIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*SfcERC20BridgeTransferToIterator) Error ¶
func (it *SfcERC20BridgeTransferToIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*SfcERC20BridgeTransferToIterator) Next ¶
func (it *SfcERC20BridgeTransferToIterator) 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 SfcERC20BridgeUnpaused ¶
type SfcERC20BridgeUnpaused struct { Account common.Address Raw types.Log // Blockchain specific contextual infos }
SfcERC20BridgeUnpaused represents a Unpaused event raised by the SfcERC20Bridge contract.
type SfcERC20BridgeUnpausedIterator ¶
type SfcERC20BridgeUnpausedIterator struct { Event *SfcERC20BridgeUnpaused // Event containing the contract specifics and raw log // contains filtered or unexported fields }
SfcERC20BridgeUnpausedIterator is returned from FilterUnpaused and is used to iterate over the raw logs and unpacked data for Unpaused events raised by the SfcERC20Bridge contract.
func (*SfcERC20BridgeUnpausedIterator) Close ¶
func (it *SfcERC20BridgeUnpausedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*SfcERC20BridgeUnpausedIterator) Error ¶
func (it *SfcERC20BridgeUnpausedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*SfcERC20BridgeUnpausedIterator) Next ¶
func (it *SfcERC20BridgeUnpausedIterator) 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 TravelAgency ¶
type TravelAgency struct { TravelAgencyCaller // Read-only binding to the contract TravelAgencyTransactor // Write-only binding to the contract TravelAgencyFilterer // Log filterer for contract events }
TravelAgency is an auto generated Go binding around an Ethereum contract.
func DeployTravelAgency ¶
func DeployTravelAgency(auth *bind.TransactOpts, backend bind.ContractBackend, _hotelBlockchainId *big.Int, _hotelContract common.Address, _trainBlockchainId *big.Int, _trainContract common.Address, _cbc common.Address) (common.Address, *types.Transaction, *TravelAgency, error)
DeployTravelAgency deploys a new Ethereum contract, binding an instance of TravelAgency to it.
func NewTravelAgency ¶
func NewTravelAgency(address common.Address, backend bind.ContractBackend) (*TravelAgency, error)
NewTravelAgency creates a new instance of TravelAgency, bound to a specific deployed contract.
type TravelAgencyCaller ¶
type TravelAgencyCaller struct {
// contains filtered or unexported fields
}
TravelAgencyCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewTravelAgencyCaller ¶
func NewTravelAgencyCaller(address common.Address, caller bind.ContractCaller) (*TravelAgencyCaller, error)
NewTravelAgencyCaller creates a new read-only instance of TravelAgency, bound to a specific deployed contract.
func (*TravelAgencyCaller) BookingConfirmed ¶
func (_TravelAgency *TravelAgencyCaller) BookingConfirmed(opts *bind.CallOpts, _bookingId *big.Int) (bool, error)
BookingConfirmed is a free data retrieval call binding the contract method 0x036b0edf.
Solidity: function bookingConfirmed(uint256 _bookingId) view returns(bool)
func (*TravelAgencyCaller) HotelBlockchainId ¶
HotelBlockchainId is a free data retrieval call binding the contract method 0x4d1177da.
Solidity: function hotelBlockchainId() view returns(uint256)
func (*TravelAgencyCaller) HotelContract ¶
HotelContract is a free data retrieval call binding the contract method 0x9d0599ac.
Solidity: function hotelContract() view returns(address)
func (*TravelAgencyCaller) IsLocked ¶
IsLocked is a free data retrieval call binding the contract method 0xf6aacfb1.
Solidity: function isLocked(uint256 _key) view returns(bool)
func (*TravelAgencyCaller) TrainBlockchainId ¶
TrainBlockchainId is a free data retrieval call binding the contract method 0x168fd46f.
Solidity: function trainBlockchainId() view returns(uint256)
func (*TravelAgencyCaller) TrainContract ¶
TrainContract is a free data retrieval call binding the contract method 0x41b1637c.
Solidity: function trainContract() view returns(address)
type TravelAgencyCallerRaw ¶
type TravelAgencyCallerRaw struct {
Contract *TravelAgencyCaller // Generic read-only contract binding to access the raw methods on
}
TravelAgencyCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*TravelAgencyCallerRaw) Call ¶
func (_TravelAgency *TravelAgencyCallerRaw) 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 TravelAgencyCallerSession ¶
type TravelAgencyCallerSession struct { Contract *TravelAgencyCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
TravelAgencyCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*TravelAgencyCallerSession) BookingConfirmed ¶
func (_TravelAgency *TravelAgencyCallerSession) BookingConfirmed(_bookingId *big.Int) (bool, error)
BookingConfirmed is a free data retrieval call binding the contract method 0x036b0edf.
Solidity: function bookingConfirmed(uint256 _bookingId) view returns(bool)
func (*TravelAgencyCallerSession) HotelBlockchainId ¶
func (_TravelAgency *TravelAgencyCallerSession) HotelBlockchainId() (*big.Int, error)
HotelBlockchainId is a free data retrieval call binding the contract method 0x4d1177da.
Solidity: function hotelBlockchainId() view returns(uint256)
func (*TravelAgencyCallerSession) HotelContract ¶
func (_TravelAgency *TravelAgencyCallerSession) HotelContract() (common.Address, error)
HotelContract is a free data retrieval call binding the contract method 0x9d0599ac.
Solidity: function hotelContract() view returns(address)
func (*TravelAgencyCallerSession) IsLocked ¶
func (_TravelAgency *TravelAgencyCallerSession) IsLocked(_key *big.Int) (bool, error)
IsLocked is a free data retrieval call binding the contract method 0xf6aacfb1.
Solidity: function isLocked(uint256 _key) view returns(bool)
func (*TravelAgencyCallerSession) TrainBlockchainId ¶
func (_TravelAgency *TravelAgencyCallerSession) TrainBlockchainId() (*big.Int, error)
TrainBlockchainId is a free data retrieval call binding the contract method 0x168fd46f.
Solidity: function trainBlockchainId() view returns(uint256)
func (*TravelAgencyCallerSession) TrainContract ¶
func (_TravelAgency *TravelAgencyCallerSession) TrainContract() (common.Address, error)
TrainContract is a free data retrieval call binding the contract method 0x41b1637c.
Solidity: function trainContract() view returns(address)
type TravelAgencyFilterer ¶
type TravelAgencyFilterer struct {
// contains filtered or unexported fields
}
TravelAgencyFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewTravelAgencyFilterer ¶
func NewTravelAgencyFilterer(address common.Address, filterer bind.ContractFilterer) (*TravelAgencyFilterer, error)
NewTravelAgencyFilterer creates a new log filterer instance of TravelAgency, bound to a specific deployed contract.
type TravelAgencyRaw ¶
type TravelAgencyRaw struct {
Contract *TravelAgency // Generic contract binding to access the raw methods on
}
TravelAgencyRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*TravelAgencyRaw) Call ¶
func (_TravelAgency *TravelAgencyRaw) 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 (*TravelAgencyRaw) Transact ¶
func (_TravelAgency *TravelAgencyRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*TravelAgencyRaw) Transfer ¶
func (_TravelAgency *TravelAgencyRaw) 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 TravelAgencySession ¶
type TravelAgencySession struct { Contract *TravelAgency // 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 }
TravelAgencySession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*TravelAgencySession) BookHotelAndTrain ¶
func (_TravelAgency *TravelAgencySession) BookHotelAndTrain(_date *big.Int, _bookingId *big.Int) (*types.Transaction, error)
BookHotelAndTrain is a paid mutator transaction binding the contract method 0x8146b5c0.
Solidity: function bookHotelAndTrain(uint256 _date, uint256 _bookingId) returns()
func (*TravelAgencySession) BookingConfirmed ¶
func (_TravelAgency *TravelAgencySession) BookingConfirmed(_bookingId *big.Int) (bool, error)
BookingConfirmed is a free data retrieval call binding the contract method 0x036b0edf.
Solidity: function bookingConfirmed(uint256 _bookingId) view returns(bool)
func (*TravelAgencySession) Finalise ¶
func (_TravelAgency *TravelAgencySession) Finalise(_commit bool, _crossRootTxId [32]byte) (*types.Transaction, error)
Finalise is a paid mutator transaction binding the contract method 0x99eb5d4c.
Solidity: function finalise(bool _commit, bytes32 _crossRootTxId) returns()
func (*TravelAgencySession) HotelBlockchainId ¶
func (_TravelAgency *TravelAgencySession) HotelBlockchainId() (*big.Int, error)
HotelBlockchainId is a free data retrieval call binding the contract method 0x4d1177da.
Solidity: function hotelBlockchainId() view returns(uint256)
func (*TravelAgencySession) HotelContract ¶
func (_TravelAgency *TravelAgencySession) HotelContract() (common.Address, error)
HotelContract is a free data retrieval call binding the contract method 0x9d0599ac.
Solidity: function hotelContract() view returns(address)
func (*TravelAgencySession) IsLocked ¶
func (_TravelAgency *TravelAgencySession) IsLocked(_key *big.Int) (bool, error)
IsLocked is a free data retrieval call binding the contract method 0xf6aacfb1.
Solidity: function isLocked(uint256 _key) view returns(bool)
func (*TravelAgencySession) TrainBlockchainId ¶
func (_TravelAgency *TravelAgencySession) TrainBlockchainId() (*big.Int, error)
TrainBlockchainId is a free data retrieval call binding the contract method 0x168fd46f.
Solidity: function trainBlockchainId() view returns(uint256)
func (*TravelAgencySession) TrainContract ¶
func (_TravelAgency *TravelAgencySession) TrainContract() (common.Address, error)
TrainContract is a free data retrieval call binding the contract method 0x41b1637c.
Solidity: function trainContract() view returns(address)
type TravelAgencyTransactor ¶
type TravelAgencyTransactor struct {
// contains filtered or unexported fields
}
TravelAgencyTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewTravelAgencyTransactor ¶
func NewTravelAgencyTransactor(address common.Address, transactor bind.ContractTransactor) (*TravelAgencyTransactor, error)
NewTravelAgencyTransactor creates a new write-only instance of TravelAgency, bound to a specific deployed contract.
func (*TravelAgencyTransactor) BookHotelAndTrain ¶
func (_TravelAgency *TravelAgencyTransactor) BookHotelAndTrain(opts *bind.TransactOpts, _date *big.Int, _bookingId *big.Int) (*types.Transaction, error)
BookHotelAndTrain is a paid mutator transaction binding the contract method 0x8146b5c0.
Solidity: function bookHotelAndTrain(uint256 _date, uint256 _bookingId) returns()
func (*TravelAgencyTransactor) Finalise ¶
func (_TravelAgency *TravelAgencyTransactor) Finalise(opts *bind.TransactOpts, _commit bool, _crossRootTxId [32]byte) (*types.Transaction, error)
Finalise is a paid mutator transaction binding the contract method 0x99eb5d4c.
Solidity: function finalise(bool _commit, bytes32 _crossRootTxId) returns()
type TravelAgencyTransactorRaw ¶
type TravelAgencyTransactorRaw struct {
Contract *TravelAgencyTransactor // Generic write-only contract binding to access the raw methods on
}
TravelAgencyTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*TravelAgencyTransactorRaw) Transact ¶
func (_TravelAgency *TravelAgencyTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*TravelAgencyTransactorRaw) Transfer ¶
func (_TravelAgency *TravelAgencyTransactorRaw) 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 TravelAgencyTransactorSession ¶
type TravelAgencyTransactorSession struct { Contract *TravelAgencyTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
TravelAgencyTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*TravelAgencyTransactorSession) BookHotelAndTrain ¶
func (_TravelAgency *TravelAgencyTransactorSession) BookHotelAndTrain(_date *big.Int, _bookingId *big.Int) (*types.Transaction, error)
BookHotelAndTrain is a paid mutator transaction binding the contract method 0x8146b5c0.
Solidity: function bookHotelAndTrain(uint256 _date, uint256 _bookingId) returns()
func (*TravelAgencyTransactorSession) Finalise ¶
func (_TravelAgency *TravelAgencyTransactorSession) Finalise(_commit bool, _crossRootTxId [32]byte) (*types.Transaction, error)
Finalise is a paid mutator transaction binding the contract method 0x99eb5d4c.
Solidity: function finalise(bool _commit, bytes32 _crossRootTxId) returns()