bridge

package
v0.0.1-alpha-5 Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2021 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const BridgeABI = "" /* 7260-byte string literal not displayed */

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

Variables

This section is empty.

Functions

This section is empty.

Types

type Bridge

type Bridge struct {
	BridgeCaller     // Read-only binding to the contract
	BridgeTransactor // Write-only binding to the contract
	BridgeFilterer   // Log filterer for contract events
}

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

func NewBridge

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

NewBridge creates a new instance of Bridge, bound to a specific deployed contract.

type BridgeBurn

type BridgeBurn struct {
	Account    common.Address
	Amount     *big.Int
	ServiceFee *big.Int
	Receiver   common.Hash
	Raw        types.Log // Blockchain specific contextual infos
}

BridgeBurn represents a Burn event raised by the Bridge contract.

type BridgeBurnIterator

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

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

func (*BridgeBurnIterator) Close

func (it *BridgeBurnIterator) Close() error

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

func (*BridgeBurnIterator) Error

func (it *BridgeBurnIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*BridgeBurnIterator) Next

func (it *BridgeBurnIterator) 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 BridgeCaller

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

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

func NewBridgeCaller

func NewBridgeCaller(address common.Address, caller bind.ContractCaller) (*BridgeCaller, error)

NewBridgeCaller creates a new read-only instance of Bridge, bound to a specific deployed contract.

func (*BridgeCaller) CheckpointServiceFeesAccrued

func (_Bridge *BridgeCaller) CheckpointServiceFeesAccrued(opts *bind.CallOpts, arg0 *big.Int) (*big.Int, error)

CheckpointServiceFeesAccrued is a free data retrieval call binding the contract method 0x80444c32.

Solidity: function checkpointServiceFeesAccrued(uint256 ) view returns(uint256)

func (*BridgeCaller) ClaimableFees

func (_Bridge *BridgeCaller) ClaimableFees(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)

ClaimableFees is a free data retrieval call binding the contract method 0x7e0b2492.

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

func (*BridgeCaller) ClaimableFeesFor

func (_Bridge *BridgeCaller) ClaimableFeesFor(opts *bind.CallOpts, _address common.Address) (*big.Int, error)

ClaimableFeesFor is a free data retrieval call binding the contract method 0xa88684b0.

Solidity: function claimableFeesFor(address _address) view returns(uint256)

func (*BridgeCaller) IsMember

func (_Bridge *BridgeCaller) IsMember(opts *bind.CallOpts, _member common.Address) (bool, error)

IsMember is a free data retrieval call binding the contract method 0xa230c524.

Solidity: function isMember(address _member) view returns(bool)

func (*BridgeCaller) MemberAt

func (_Bridge *BridgeCaller) MemberAt(opts *bind.CallOpts, index *big.Int) (common.Address, error)

MemberAt is a free data retrieval call binding the contract method 0xac0250f7.

Solidity: function memberAt(uint256 index) view returns(address)

func (*BridgeCaller) MembersCount

func (_Bridge *BridgeCaller) MembersCount(opts *bind.CallOpts) (*big.Int, error)

MembersCount is a free data retrieval call binding the contract method 0x297f9af0.

Solidity: function membersCount() view returns(uint256)

func (*BridgeCaller) MintTransfers

func (_Bridge *BridgeCaller) MintTransfers(opts *bind.CallOpts, arg0 []byte) (bool, error)

MintTransfers is a free data retrieval call binding the contract method 0xed1018ad.

Solidity: function mintTransfers(bytes ) view returns(bool isExecuted)

func (*BridgeCaller) Owner

func (_Bridge *BridgeCaller) 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 (*BridgeCaller) Paused

func (_Bridge *BridgeCaller) 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 (*BridgeCaller) ServiceFee

func (_Bridge *BridgeCaller) ServiceFee(opts *bind.CallOpts) (*big.Int, error)

ServiceFee is a free data retrieval call binding the contract method 0x8abdf5aa.

Solidity: function serviceFee() view returns(uint256)

func (*BridgeCaller) TotalCheckpoints

func (_Bridge *BridgeCaller) TotalCheckpoints(opts *bind.CallOpts) (*big.Int, error)

TotalCheckpoints is a free data retrieval call binding the contract method 0xf332687d.

Solidity: function totalCheckpoints() view returns(uint256)

func (*BridgeCaller) TotalClaimableFees

func (_Bridge *BridgeCaller) TotalClaimableFees(opts *bind.CallOpts) (*big.Int, error)

TotalClaimableFees is a free data retrieval call binding the contract method 0xe96c344d.

Solidity: function totalClaimableFees() view returns(uint256)

func (*BridgeCaller) WhbarToken

func (_Bridge *BridgeCaller) WhbarToken(opts *bind.CallOpts) (common.Address, error)

WhbarToken is a free data retrieval call binding the contract method 0xe5d12855.

Solidity: function whbarToken() view returns(address)

type BridgeCallerRaw

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

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

func (*BridgeCallerRaw) Call

func (_Bridge *BridgeCallerRaw) 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 BridgeCallerSession

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

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

func (*BridgeCallerSession) CheckpointServiceFeesAccrued

func (_Bridge *BridgeCallerSession) CheckpointServiceFeesAccrued(arg0 *big.Int) (*big.Int, error)

CheckpointServiceFeesAccrued is a free data retrieval call binding the contract method 0x80444c32.

Solidity: function checkpointServiceFeesAccrued(uint256 ) view returns(uint256)

func (*BridgeCallerSession) ClaimableFees

func (_Bridge *BridgeCallerSession) ClaimableFees(arg0 common.Address) (*big.Int, error)

ClaimableFees is a free data retrieval call binding the contract method 0x7e0b2492.

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

func (*BridgeCallerSession) ClaimableFeesFor

func (_Bridge *BridgeCallerSession) ClaimableFeesFor(_address common.Address) (*big.Int, error)

ClaimableFeesFor is a free data retrieval call binding the contract method 0xa88684b0.

Solidity: function claimableFeesFor(address _address) view returns(uint256)

func (*BridgeCallerSession) IsMember

func (_Bridge *BridgeCallerSession) IsMember(_member common.Address) (bool, error)

IsMember is a free data retrieval call binding the contract method 0xa230c524.

Solidity: function isMember(address _member) view returns(bool)

func (*BridgeCallerSession) MemberAt

func (_Bridge *BridgeCallerSession) MemberAt(index *big.Int) (common.Address, error)

MemberAt is a free data retrieval call binding the contract method 0xac0250f7.

Solidity: function memberAt(uint256 index) view returns(address)

func (*BridgeCallerSession) MembersCount

func (_Bridge *BridgeCallerSession) MembersCount() (*big.Int, error)

MembersCount is a free data retrieval call binding the contract method 0x297f9af0.

Solidity: function membersCount() view returns(uint256)

func (*BridgeCallerSession) MintTransfers

func (_Bridge *BridgeCallerSession) MintTransfers(arg0 []byte) (bool, error)

MintTransfers is a free data retrieval call binding the contract method 0xed1018ad.

Solidity: function mintTransfers(bytes ) view returns(bool isExecuted)

func (*BridgeCallerSession) Owner

func (_Bridge *BridgeCallerSession) Owner() (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() view returns(address)

func (*BridgeCallerSession) Paused

func (_Bridge *BridgeCallerSession) Paused() (bool, error)

Paused is a free data retrieval call binding the contract method 0x5c975abb.

Solidity: function paused() view returns(bool)

func (*BridgeCallerSession) ServiceFee

func (_Bridge *BridgeCallerSession) ServiceFee() (*big.Int, error)

ServiceFee is a free data retrieval call binding the contract method 0x8abdf5aa.

Solidity: function serviceFee() view returns(uint256)

func (*BridgeCallerSession) TotalCheckpoints

func (_Bridge *BridgeCallerSession) TotalCheckpoints() (*big.Int, error)

TotalCheckpoints is a free data retrieval call binding the contract method 0xf332687d.

Solidity: function totalCheckpoints() view returns(uint256)

func (*BridgeCallerSession) TotalClaimableFees

func (_Bridge *BridgeCallerSession) TotalClaimableFees() (*big.Int, error)

TotalClaimableFees is a free data retrieval call binding the contract method 0xe96c344d.

Solidity: function totalClaimableFees() view returns(uint256)

func (*BridgeCallerSession) WhbarToken

func (_Bridge *BridgeCallerSession) WhbarToken() (common.Address, error)

WhbarToken is a free data retrieval call binding the contract method 0xe5d12855.

Solidity: function whbarToken() view returns(address)

type BridgeClaim

type BridgeClaim struct {
	Account common.Address
	Amount  *big.Int
	Raw     types.Log // Blockchain specific contextual infos
}

BridgeClaim represents a Claim event raised by the Bridge contract.

type BridgeClaimIterator

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

BridgeClaimIterator is returned from FilterClaim and is used to iterate over the raw logs and unpacked data for Claim events raised by the Bridge contract.

func (*BridgeClaimIterator) Close

func (it *BridgeClaimIterator) Close() error

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

func (*BridgeClaimIterator) Error

func (it *BridgeClaimIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*BridgeClaimIterator) Next

func (it *BridgeClaimIterator) 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 BridgeDeprecate

type BridgeDeprecate struct {
	Account common.Address
	Amount  *big.Int
	Raw     types.Log // Blockchain specific contextual infos
}

BridgeDeprecate represents a Deprecate event raised by the Bridge contract.

type BridgeDeprecateIterator

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

BridgeDeprecateIterator is returned from FilterDeprecate and is used to iterate over the raw logs and unpacked data for Deprecate events raised by the Bridge contract.

func (*BridgeDeprecateIterator) Close

func (it *BridgeDeprecateIterator) Close() error

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

func (*BridgeDeprecateIterator) Error

func (it *BridgeDeprecateIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*BridgeDeprecateIterator) Next

func (it *BridgeDeprecateIterator) 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 BridgeFilterer

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

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

func NewBridgeFilterer

func NewBridgeFilterer(address common.Address, filterer bind.ContractFilterer) (*BridgeFilterer, error)

NewBridgeFilterer creates a new log filterer instance of Bridge, bound to a specific deployed contract.

func (*BridgeFilterer) FilterBurn

func (_Bridge *BridgeFilterer) FilterBurn(opts *bind.FilterOpts, account []common.Address, receiver [][]byte) (*BridgeBurnIterator, error)

FilterBurn is a free log retrieval operation binding the contract event 0x8da2fc26da2245514483a393963ce93cac8be27cf30bbbc78569ff2ffe3eda16.

Solidity: event Burn(address indexed account, uint256 amount, uint256 serviceFee, bytes indexed receiver)

func (*BridgeFilterer) FilterClaim

func (_Bridge *BridgeFilterer) FilterClaim(opts *bind.FilterOpts, account []common.Address) (*BridgeClaimIterator, error)

FilterClaim is a free log retrieval operation binding the contract event 0x47cee97cb7acd717b3c0aa1435d004cd5b3c8c57d70dbceb4e4458bbd60e39d4.

Solidity: event Claim(address indexed account, uint256 amount)

func (*BridgeFilterer) FilterDeprecate

func (_Bridge *BridgeFilterer) FilterDeprecate(opts *bind.FilterOpts) (*BridgeDeprecateIterator, error)

FilterDeprecate is a free log retrieval operation binding the contract event 0x33a356c68d152c1cdfdce73f7e4644d382dcbe94098932def08c281a37cdf6bd.

Solidity: event Deprecate(address account, uint256 amount)

func (*BridgeFilterer) FilterMemberUpdated

func (_Bridge *BridgeFilterer) FilterMemberUpdated(opts *bind.FilterOpts) (*BridgeMemberUpdatedIterator, error)

FilterMemberUpdated is a free log retrieval operation binding the contract event 0x30f1d11f11278ba2cc669fd4c95ee8d46ede2c82f6af0b74e4f427369b3522d3.

Solidity: event MemberUpdated(address member, bool status)

func (*BridgeFilterer) FilterMint

func (_Bridge *BridgeFilterer) FilterMint(opts *bind.FilterOpts, account []common.Address, transactionId [][]byte) (*BridgeMintIterator, error)

FilterMint is a free log retrieval operation binding the contract event 0xab5e0e0fc4eb29aaba31da7756245e8580bb49834b10faff58b98807a565808f.

Solidity: event Mint(address indexed account, uint256 amount, uint256 txCost, uint256 serviceFee, bytes indexed transactionId)

func (*BridgeFilterer) FilterOwnershipTransferred

func (_Bridge *BridgeFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*BridgeOwnershipTransferredIterator, error)

FilterOwnershipTransferred is a free log retrieval operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

func (*BridgeFilterer) FilterPaused

func (_Bridge *BridgeFilterer) FilterPaused(opts *bind.FilterOpts) (*BridgePausedIterator, error)

FilterPaused is a free log retrieval operation binding the contract event 0x62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258.

Solidity: event Paused(address account)

func (*BridgeFilterer) FilterServiceFeeSet

func (_Bridge *BridgeFilterer) FilterServiceFeeSet(opts *bind.FilterOpts) (*BridgeServiceFeeSetIterator, error)

FilterServiceFeeSet is a free log retrieval operation binding the contract event 0x1a1f706a54e5071e5d16465e3d926d20df26a148f666efe1bdbfbc65d4f41b5b.

Solidity: event ServiceFeeSet(address account, uint256 newServiceFee)

func (*BridgeFilterer) FilterUnpaused

func (_Bridge *BridgeFilterer) FilterUnpaused(opts *bind.FilterOpts) (*BridgeUnpausedIterator, error)

FilterUnpaused is a free log retrieval operation binding the contract event 0x5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa.

Solidity: event Unpaused(address account)

func (*BridgeFilterer) ParseBurn

func (_Bridge *BridgeFilterer) ParseBurn(log types.Log) (*BridgeBurn, error)

ParseBurn is a log parse operation binding the contract event 0x8da2fc26da2245514483a393963ce93cac8be27cf30bbbc78569ff2ffe3eda16.

Solidity: event Burn(address indexed account, uint256 amount, uint256 serviceFee, bytes indexed receiver)

func (*BridgeFilterer) ParseClaim

func (_Bridge *BridgeFilterer) ParseClaim(log types.Log) (*BridgeClaim, error)

ParseClaim is a log parse operation binding the contract event 0x47cee97cb7acd717b3c0aa1435d004cd5b3c8c57d70dbceb4e4458bbd60e39d4.

Solidity: event Claim(address indexed account, uint256 amount)

func (*BridgeFilterer) ParseDeprecate

func (_Bridge *BridgeFilterer) ParseDeprecate(log types.Log) (*BridgeDeprecate, error)

ParseDeprecate is a log parse operation binding the contract event 0x33a356c68d152c1cdfdce73f7e4644d382dcbe94098932def08c281a37cdf6bd.

Solidity: event Deprecate(address account, uint256 amount)

func (*BridgeFilterer) ParseMemberUpdated

func (_Bridge *BridgeFilterer) ParseMemberUpdated(log types.Log) (*BridgeMemberUpdated, error)

ParseMemberUpdated is a log parse operation binding the contract event 0x30f1d11f11278ba2cc669fd4c95ee8d46ede2c82f6af0b74e4f427369b3522d3.

Solidity: event MemberUpdated(address member, bool status)

func (*BridgeFilterer) ParseMint

func (_Bridge *BridgeFilterer) ParseMint(log types.Log) (*BridgeMint, error)

ParseMint is a log parse operation binding the contract event 0xab5e0e0fc4eb29aaba31da7756245e8580bb49834b10faff58b98807a565808f.

Solidity: event Mint(address indexed account, uint256 amount, uint256 txCost, uint256 serviceFee, bytes indexed transactionId)

func (*BridgeFilterer) ParseOwnershipTransferred

func (_Bridge *BridgeFilterer) ParseOwnershipTransferred(log types.Log) (*BridgeOwnershipTransferred, error)

ParseOwnershipTransferred is a log parse operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

func (*BridgeFilterer) ParsePaused

func (_Bridge *BridgeFilterer) ParsePaused(log types.Log) (*BridgePaused, error)

ParsePaused is a log parse operation binding the contract event 0x62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258.

Solidity: event Paused(address account)

func (*BridgeFilterer) ParseServiceFeeSet

func (_Bridge *BridgeFilterer) ParseServiceFeeSet(log types.Log) (*BridgeServiceFeeSet, error)

ParseServiceFeeSet is a log parse operation binding the contract event 0x1a1f706a54e5071e5d16465e3d926d20df26a148f666efe1bdbfbc65d4f41b5b.

Solidity: event ServiceFeeSet(address account, uint256 newServiceFee)

func (*BridgeFilterer) ParseUnpaused

func (_Bridge *BridgeFilterer) ParseUnpaused(log types.Log) (*BridgeUnpaused, error)

ParseUnpaused is a log parse operation binding the contract event 0x5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa.

Solidity: event Unpaused(address account)

func (*BridgeFilterer) WatchBurn

func (_Bridge *BridgeFilterer) WatchBurn(opts *bind.WatchOpts, sink chan<- *BridgeBurn, account []common.Address, receiver [][]byte) (event.Subscription, error)

WatchBurn is a free log subscription operation binding the contract event 0x8da2fc26da2245514483a393963ce93cac8be27cf30bbbc78569ff2ffe3eda16.

Solidity: event Burn(address indexed account, uint256 amount, uint256 serviceFee, bytes indexed receiver)

func (*BridgeFilterer) WatchClaim

func (_Bridge *BridgeFilterer) WatchClaim(opts *bind.WatchOpts, sink chan<- *BridgeClaim, account []common.Address) (event.Subscription, error)

WatchClaim is a free log subscription operation binding the contract event 0x47cee97cb7acd717b3c0aa1435d004cd5b3c8c57d70dbceb4e4458bbd60e39d4.

Solidity: event Claim(address indexed account, uint256 amount)

func (*BridgeFilterer) WatchDeprecate

func (_Bridge *BridgeFilterer) WatchDeprecate(opts *bind.WatchOpts, sink chan<- *BridgeDeprecate) (event.Subscription, error)

WatchDeprecate is a free log subscription operation binding the contract event 0x33a356c68d152c1cdfdce73f7e4644d382dcbe94098932def08c281a37cdf6bd.

Solidity: event Deprecate(address account, uint256 amount)

func (*BridgeFilterer) WatchMemberUpdated

func (_Bridge *BridgeFilterer) WatchMemberUpdated(opts *bind.WatchOpts, sink chan<- *BridgeMemberUpdated) (event.Subscription, error)

WatchMemberUpdated is a free log subscription operation binding the contract event 0x30f1d11f11278ba2cc669fd4c95ee8d46ede2c82f6af0b74e4f427369b3522d3.

Solidity: event MemberUpdated(address member, bool status)

func (*BridgeFilterer) WatchMint

func (_Bridge *BridgeFilterer) WatchMint(opts *bind.WatchOpts, sink chan<- *BridgeMint, account []common.Address, transactionId [][]byte) (event.Subscription, error)

WatchMint is a free log subscription operation binding the contract event 0xab5e0e0fc4eb29aaba31da7756245e8580bb49834b10faff58b98807a565808f.

Solidity: event Mint(address indexed account, uint256 amount, uint256 txCost, uint256 serviceFee, bytes indexed transactionId)

func (*BridgeFilterer) WatchOwnershipTransferred

func (_Bridge *BridgeFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *BridgeOwnershipTransferred, 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 (*BridgeFilterer) WatchPaused

func (_Bridge *BridgeFilterer) WatchPaused(opts *bind.WatchOpts, sink chan<- *BridgePaused) (event.Subscription, error)

WatchPaused is a free log subscription operation binding the contract event 0x62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258.

Solidity: event Paused(address account)

func (*BridgeFilterer) WatchServiceFeeSet

func (_Bridge *BridgeFilterer) WatchServiceFeeSet(opts *bind.WatchOpts, sink chan<- *BridgeServiceFeeSet) (event.Subscription, error)

WatchServiceFeeSet is a free log subscription operation binding the contract event 0x1a1f706a54e5071e5d16465e3d926d20df26a148f666efe1bdbfbc65d4f41b5b.

Solidity: event ServiceFeeSet(address account, uint256 newServiceFee)

func (*BridgeFilterer) WatchUnpaused

func (_Bridge *BridgeFilterer) WatchUnpaused(opts *bind.WatchOpts, sink chan<- *BridgeUnpaused) (event.Subscription, error)

WatchUnpaused is a free log subscription operation binding the contract event 0x5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa.

Solidity: event Unpaused(address account)

type BridgeMemberUpdated

type BridgeMemberUpdated struct {
	Member common.Address
	Status bool
	Raw    types.Log // Blockchain specific contextual infos
}

BridgeMemberUpdated represents a MemberUpdated event raised by the Bridge contract.

type BridgeMemberUpdatedIterator

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

BridgeMemberUpdatedIterator is returned from FilterMemberUpdated and is used to iterate over the raw logs and unpacked data for MemberUpdated events raised by the Bridge contract.

func (*BridgeMemberUpdatedIterator) Close

func (it *BridgeMemberUpdatedIterator) Close() error

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

func (*BridgeMemberUpdatedIterator) Error

func (it *BridgeMemberUpdatedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*BridgeMemberUpdatedIterator) Next

func (it *BridgeMemberUpdatedIterator) 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 BridgeMint

type BridgeMint struct {
	Account       common.Address
	Amount        *big.Int
	TxCost        *big.Int
	ServiceFee    *big.Int
	TransactionId common.Hash
	Raw           types.Log // Blockchain specific contextual infos
}

BridgeMint represents a Mint event raised by the Bridge contract.

type BridgeMintIterator

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

BridgeMintIterator is returned from FilterMint and is used to iterate over the raw logs and unpacked data for Mint events raised by the Bridge contract.

func (*BridgeMintIterator) Close

func (it *BridgeMintIterator) Close() error

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

func (*BridgeMintIterator) Error

func (it *BridgeMintIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*BridgeMintIterator) Next

func (it *BridgeMintIterator) 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 BridgeOwnershipTransferred

type BridgeOwnershipTransferred struct {
	PreviousOwner common.Address
	NewOwner      common.Address
	Raw           types.Log // Blockchain specific contextual infos
}

BridgeOwnershipTransferred represents a OwnershipTransferred event raised by the Bridge contract.

type BridgeOwnershipTransferredIterator

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

BridgeOwnershipTransferredIterator is returned from FilterOwnershipTransferred and is used to iterate over the raw logs and unpacked data for OwnershipTransferred events raised by the Bridge contract.

func (*BridgeOwnershipTransferredIterator) Close

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

func (*BridgeOwnershipTransferredIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*BridgeOwnershipTransferredIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type BridgePaused

type BridgePaused struct {
	Account common.Address
	Raw     types.Log // Blockchain specific contextual infos
}

BridgePaused represents a Paused event raised by the Bridge contract.

type BridgePausedIterator

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

BridgePausedIterator is returned from FilterPaused and is used to iterate over the raw logs and unpacked data for Paused events raised by the Bridge contract.

func (*BridgePausedIterator) Close

func (it *BridgePausedIterator) Close() error

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

func (*BridgePausedIterator) Error

func (it *BridgePausedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*BridgePausedIterator) Next

func (it *BridgePausedIterator) 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 BridgeRaw

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

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

func (*BridgeRaw) Call

func (_Bridge *BridgeRaw) 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 (*BridgeRaw) Transact

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

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

func (*BridgeRaw) Transfer

func (_Bridge *BridgeRaw) 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 BridgeServiceFeeSet

type BridgeServiceFeeSet struct {
	Account       common.Address
	NewServiceFee *big.Int
	Raw           types.Log // Blockchain specific contextual infos
}

BridgeServiceFeeSet represents a ServiceFeeSet event raised by the Bridge contract.

type BridgeServiceFeeSetIterator

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

BridgeServiceFeeSetIterator is returned from FilterServiceFeeSet and is used to iterate over the raw logs and unpacked data for ServiceFeeSet events raised by the Bridge contract.

func (*BridgeServiceFeeSetIterator) Close

func (it *BridgeServiceFeeSetIterator) Close() error

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

func (*BridgeServiceFeeSetIterator) Error

func (it *BridgeServiceFeeSetIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*BridgeServiceFeeSetIterator) Next

func (it *BridgeServiceFeeSetIterator) 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 BridgeSession

type BridgeSession struct {
	Contract     *Bridge           // 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
}

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

func (*BridgeSession) Burn

func (_Bridge *BridgeSession) Burn(amount *big.Int, receiver []byte) (*types.Transaction, error)

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

Solidity: function burn(uint256 amount, bytes receiver) returns()

func (*BridgeSession) CheckpointServiceFeesAccrued

func (_Bridge *BridgeSession) CheckpointServiceFeesAccrued(arg0 *big.Int) (*big.Int, error)

CheckpointServiceFeesAccrued is a free data retrieval call binding the contract method 0x80444c32.

Solidity: function checkpointServiceFeesAccrued(uint256 ) view returns(uint256)

func (*BridgeSession) Claim

func (_Bridge *BridgeSession) Claim(_amount *big.Int) (*types.Transaction, error)

Claim is a paid mutator transaction binding the contract method 0x379607f5.

Solidity: function claim(uint256 _amount) returns()

func (*BridgeSession) ClaimableFees

func (_Bridge *BridgeSession) ClaimableFees(arg0 common.Address) (*big.Int, error)

ClaimableFees is a free data retrieval call binding the contract method 0x7e0b2492.

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

func (*BridgeSession) ClaimableFeesFor

func (_Bridge *BridgeSession) ClaimableFeesFor(_address common.Address) (*big.Int, error)

ClaimableFeesFor is a free data retrieval call binding the contract method 0xa88684b0.

Solidity: function claimableFeesFor(address _address) view returns(uint256)

func (*BridgeSession) Deprecate

func (_Bridge *BridgeSession) Deprecate() (*types.Transaction, error)

Deprecate is a paid mutator transaction binding the contract method 0x0fcc0c28.

Solidity: function deprecate() returns()

func (*BridgeSession) IsMember

func (_Bridge *BridgeSession) IsMember(_member common.Address) (bool, error)

IsMember is a free data retrieval call binding the contract method 0xa230c524.

Solidity: function isMember(address _member) view returns(bool)

func (*BridgeSession) MemberAt

func (_Bridge *BridgeSession) MemberAt(index *big.Int) (common.Address, error)

MemberAt is a free data retrieval call binding the contract method 0xac0250f7.

Solidity: function memberAt(uint256 index) view returns(address)

func (*BridgeSession) MembersCount

func (_Bridge *BridgeSession) MembersCount() (*big.Int, error)

MembersCount is a free data retrieval call binding the contract method 0x297f9af0.

Solidity: function membersCount() view returns(uint256)

func (*BridgeSession) Mint

func (_Bridge *BridgeSession) Mint(transactionId []byte, receiver common.Address, amount *big.Int, txCost *big.Int, signatures [][]byte) (*types.Transaction, error)

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

Solidity: function mint(bytes transactionId, address receiver, uint256 amount, uint256 txCost, bytes[] signatures) returns()

func (*BridgeSession) MintTransfers

func (_Bridge *BridgeSession) MintTransfers(arg0 []byte) (bool, error)

MintTransfers is a free data retrieval call binding the contract method 0xed1018ad.

Solidity: function mintTransfers(bytes ) view returns(bool isExecuted)

func (*BridgeSession) Owner

func (_Bridge *BridgeSession) Owner() (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() view returns(address)

func (*BridgeSession) Paused

func (_Bridge *BridgeSession) Paused() (bool, error)

Paused is a free data retrieval call binding the contract method 0x5c975abb.

Solidity: function paused() view returns(bool)

func (*BridgeSession) RenounceOwnership

func (_Bridge *BridgeSession) RenounceOwnership() (*types.Transaction, error)

RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.

Solidity: function renounceOwnership() returns()

func (*BridgeSession) ServiceFee

func (_Bridge *BridgeSession) ServiceFee() (*big.Int, error)

ServiceFee is a free data retrieval call binding the contract method 0x8abdf5aa.

Solidity: function serviceFee() view returns(uint256)

func (*BridgeSession) SetServiceFee

func (_Bridge *BridgeSession) SetServiceFee(_serviceFee *big.Int) (*types.Transaction, error)

SetServiceFee is a paid mutator transaction binding the contract method 0x5cdf76f8.

Solidity: function setServiceFee(uint256 _serviceFee) returns()

func (*BridgeSession) TotalCheckpoints

func (_Bridge *BridgeSession) TotalCheckpoints() (*big.Int, error)

TotalCheckpoints is a free data retrieval call binding the contract method 0xf332687d.

Solidity: function totalCheckpoints() view returns(uint256)

func (*BridgeSession) TotalClaimableFees

func (_Bridge *BridgeSession) TotalClaimableFees() (*big.Int, error)

TotalClaimableFees is a free data retrieval call binding the contract method 0xe96c344d.

Solidity: function totalClaimableFees() view returns(uint256)

func (*BridgeSession) TransferOwnership

func (_Bridge *BridgeSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)

TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.

Solidity: function transferOwnership(address newOwner) returns()

func (*BridgeSession) UpdateMember

func (_Bridge *BridgeSession) UpdateMember(account common.Address, isMember bool) (*types.Transaction, error)

UpdateMember is a paid mutator transaction binding the contract method 0x05566101.

Solidity: function updateMember(address account, bool isMember) returns()

func (*BridgeSession) WhbarToken

func (_Bridge *BridgeSession) WhbarToken() (common.Address, error)

WhbarToken is a free data retrieval call binding the contract method 0xe5d12855.

Solidity: function whbarToken() view returns(address)

type BridgeTransactor

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

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

func NewBridgeTransactor

func NewBridgeTransactor(address common.Address, transactor bind.ContractTransactor) (*BridgeTransactor, error)

NewBridgeTransactor creates a new write-only instance of Bridge, bound to a specific deployed contract.

func (*BridgeTransactor) Burn

func (_Bridge *BridgeTransactor) Burn(opts *bind.TransactOpts, amount *big.Int, receiver []byte) (*types.Transaction, error)

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

Solidity: function burn(uint256 amount, bytes receiver) returns()

func (*BridgeTransactor) Claim

func (_Bridge *BridgeTransactor) Claim(opts *bind.TransactOpts, _amount *big.Int) (*types.Transaction, error)

Claim is a paid mutator transaction binding the contract method 0x379607f5.

Solidity: function claim(uint256 _amount) returns()

func (*BridgeTransactor) Deprecate

func (_Bridge *BridgeTransactor) Deprecate(opts *bind.TransactOpts) (*types.Transaction, error)

Deprecate is a paid mutator transaction binding the contract method 0x0fcc0c28.

Solidity: function deprecate() returns()

func (*BridgeTransactor) Mint

func (_Bridge *BridgeTransactor) Mint(opts *bind.TransactOpts, transactionId []byte, receiver common.Address, amount *big.Int, txCost *big.Int, signatures [][]byte) (*types.Transaction, error)

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

Solidity: function mint(bytes transactionId, address receiver, uint256 amount, uint256 txCost, bytes[] signatures) returns()

func (*BridgeTransactor) RenounceOwnership

func (_Bridge *BridgeTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)

RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.

Solidity: function renounceOwnership() returns()

func (*BridgeTransactor) SetServiceFee

func (_Bridge *BridgeTransactor) SetServiceFee(opts *bind.TransactOpts, _serviceFee *big.Int) (*types.Transaction, error)

SetServiceFee is a paid mutator transaction binding the contract method 0x5cdf76f8.

Solidity: function setServiceFee(uint256 _serviceFee) returns()

func (*BridgeTransactor) TransferOwnership

func (_Bridge *BridgeTransactor) 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()

func (*BridgeTransactor) UpdateMember

func (_Bridge *BridgeTransactor) UpdateMember(opts *bind.TransactOpts, account common.Address, isMember bool) (*types.Transaction, error)

UpdateMember is a paid mutator transaction binding the contract method 0x05566101.

Solidity: function updateMember(address account, bool isMember) returns()

type BridgeTransactorRaw

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

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

func (*BridgeTransactorRaw) Transact

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

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

func (*BridgeTransactorRaw) Transfer

func (_Bridge *BridgeTransactorRaw) 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 BridgeTransactorSession

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

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

func (*BridgeTransactorSession) Burn

func (_Bridge *BridgeTransactorSession) Burn(amount *big.Int, receiver []byte) (*types.Transaction, error)

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

Solidity: function burn(uint256 amount, bytes receiver) returns()

func (*BridgeTransactorSession) Claim

func (_Bridge *BridgeTransactorSession) Claim(_amount *big.Int) (*types.Transaction, error)

Claim is a paid mutator transaction binding the contract method 0x379607f5.

Solidity: function claim(uint256 _amount) returns()

func (*BridgeTransactorSession) Deprecate

func (_Bridge *BridgeTransactorSession) Deprecate() (*types.Transaction, error)

Deprecate is a paid mutator transaction binding the contract method 0x0fcc0c28.

Solidity: function deprecate() returns()

func (*BridgeTransactorSession) Mint

func (_Bridge *BridgeTransactorSession) Mint(transactionId []byte, receiver common.Address, amount *big.Int, txCost *big.Int, signatures [][]byte) (*types.Transaction, error)

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

Solidity: function mint(bytes transactionId, address receiver, uint256 amount, uint256 txCost, bytes[] signatures) returns()

func (*BridgeTransactorSession) RenounceOwnership

func (_Bridge *BridgeTransactorSession) RenounceOwnership() (*types.Transaction, error)

RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.

Solidity: function renounceOwnership() returns()

func (*BridgeTransactorSession) SetServiceFee

func (_Bridge *BridgeTransactorSession) SetServiceFee(_serviceFee *big.Int) (*types.Transaction, error)

SetServiceFee is a paid mutator transaction binding the contract method 0x5cdf76f8.

Solidity: function setServiceFee(uint256 _serviceFee) returns()

func (*BridgeTransactorSession) TransferOwnership

func (_Bridge *BridgeTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)

TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.

Solidity: function transferOwnership(address newOwner) returns()

func (*BridgeTransactorSession) UpdateMember

func (_Bridge *BridgeTransactorSession) UpdateMember(account common.Address, isMember bool) (*types.Transaction, error)

UpdateMember is a paid mutator transaction binding the contract method 0x05566101.

Solidity: function updateMember(address account, bool isMember) returns()

type BridgeUnpaused

type BridgeUnpaused struct {
	Account common.Address
	Raw     types.Log // Blockchain specific contextual infos
}

BridgeUnpaused represents a Unpaused event raised by the Bridge contract.

type BridgeUnpausedIterator

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

BridgeUnpausedIterator is returned from FilterUnpaused and is used to iterate over the raw logs and unpacked data for Unpaused events raised by the Bridge contract.

func (*BridgeUnpausedIterator) Close

func (it *BridgeUnpausedIterator) Close() error

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

func (*BridgeUnpausedIterator) Error

func (it *BridgeUnpausedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*BridgeUnpausedIterator) Next

func (it *BridgeUnpausedIterator) 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.

Jump to

Keyboard shortcuts

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