bindings

package
v0.0.0-...-b70fa47 Latest Latest
Warning

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

Go to latest
Published: Aug 11, 2020 License: Apache-2.0 Imports: 8 Imported by: 1

Documentation

Index

Constants

View Source
const AirdropABI = "" /* 5897-byte string literal not displayed */

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

View Source
const AirdropBin = `` /* 10686-byte string literal not displayed */

AirdropBin is the compiled bytecode used for deploying new contracts.

Variables

This section is empty.

Functions

This section is empty.

Types

type Airdrop

type Airdrop struct {
	AirdropCaller     // Read-only binding to the contract
	AirdropTransactor // Write-only binding to the contract
	AirdropFilterer   // Log filterer for contract events
}

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

func DeployAirdrop

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

DeployAirdrop deploys a new Ethereum contract, binding an instance of Airdrop to it.

func NewAirdrop

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

NewAirdrop creates a new instance of Airdrop, bound to a specific deployed contract.

type AirdropAdminSet

type AirdropAdminSet struct {
	Admin    common.Address
	AdminSet bool
	Raw      types.Log // Blockchain specific contextual infos
}

AirdropAdminSet represents a AdminSet event raised by the Airdrop contract.

type AirdropAdminSetIterator

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

AirdropAdminSetIterator is returned from FilterAdminSet and is used to iterate over the raw logs and unpacked data for AdminSet events raised by the Airdrop contract.

func (*AirdropAdminSetIterator) Close

func (it *AirdropAdminSetIterator) Close() error

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

func (*AirdropAdminSetIterator) Error

func (it *AirdropAdminSetIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*AirdropAdminSetIterator) Next

func (it *AirdropAdminSetIterator) 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 AirdropAirDropDispersed

type AirdropAirDropDispersed struct {
	ChannelId [32]byte
	Raw       types.Log // Blockchain specific contextual infos
}

AirdropAirDropDispersed represents a AirDropDispersed event raised by the Airdrop contract.

type AirdropAirDropDispersedIterator

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

AirdropAirDropDispersedIterator is returned from FilterAirDropDispersed and is used to iterate over the raw logs and unpacked data for AirDropDispersed events raised by the Airdrop contract.

func (*AirdropAirDropDispersedIterator) Close

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

func (*AirdropAirDropDispersedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*AirdropAirDropDispersedIterator) 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 AirdropAirDropsEnabled

type AirdropAirDropsEnabled struct {
	ChannelId [32]byte
	Raw       types.Log // Blockchain specific contextual infos
}

AirdropAirDropsEnabled represents a AirDropsEnabled event raised by the Airdrop contract.

type AirdropAirDropsEnabledIterator

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

AirdropAirDropsEnabledIterator is returned from FilterAirDropsEnabled and is used to iterate over the raw logs and unpacked data for AirDropsEnabled events raised by the Airdrop contract.

func (*AirdropAirDropsEnabledIterator) Close

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

func (*AirdropAirDropsEnabledIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*AirdropAirDropsEnabledIterator) 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 AirdropCaller

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

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

func NewAirdropCaller

func NewAirdropCaller(address common.Address, caller bind.ContractCaller) (*AirdropCaller, error)

NewAirdropCaller creates a new read-only instance of Airdrop, bound to a specific deployed contract.

func (*AirdropCaller) Admin

func (_Airdrop *AirdropCaller) Admin(opts *bind.CallOpts) (common.Address, error)

Admin is a free data retrieval call binding the contract method 0xf851a440.

Solidity: function admin() constant returns(address)

func (*AirdropCaller) Channels

func (_Airdrop *AirdropCaller) Channels(opts *bind.CallOpts, arg0 [32]byte) (struct {
	Source       common.Address
	TokenAddress common.Address
	Value        *big.Int
	ClosingDate  *big.Int
	OpenDate     *big.Int
	DropAmount   *big.Int
	TotalDrops   *big.Int
	ChannelId    [32]byte
	Intf         common.Address
	State        uint8
}, error)

Channels is a free data retrieval call binding the contract method 0x7a7ebd7b.

Solidity: function channels( bytes32) constant returns(source address, tokenAddress address, value uint256, closingDate uint256, openDate uint256, dropAmount uint256, totalDrops uint256, channelId bytes32, intf address, state uint8)

func (*AirdropCaller) Dev

func (_Airdrop *AirdropCaller) Dev(opts *bind.CallOpts) (bool, error)

Dev is a free data retrieval call binding the contract method 0x91cca3db.

Solidity: function dev() constant returns(bool)

func (*AirdropCaller) Frozen

func (_Airdrop *AirdropCaller) Frozen(opts *bind.CallOpts) (bool, error)

Frozen is a free data retrieval call binding the contract method 0x054f7d9c.

Solidity: function frozen() constant returns(bool)

func (*AirdropCaller) Moderators

func (_Airdrop *AirdropCaller) Moderators(opts *bind.CallOpts, arg0 common.Address) (bool, error)

Moderators is a free data retrieval call binding the contract method 0x14d0f1ba.

Solidity: function moderators( address) constant returns(bool)

func (*AirdropCaller) Owner

func (_Airdrop *AirdropCaller) Owner(opts *bind.CallOpts) (common.Address, error)

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

Solidity: function owner() constant returns(address)

func (*AirdropCaller) VERSION

func (_Airdrop *AirdropCaller) VERSION(opts *bind.CallOpts) (string, error)

VERSION is a free data retrieval call binding the contract method 0xffa1ad74.

Solidity: function VERSION() constant returns(string)

func (*AirdropCaller) VerifyProof

func (_Airdrop *AirdropCaller) VerifyProof(opts *bind.CallOpts, _h [32]byte, _v uint8, _r [32]byte, _s [32]byte) (common.Address, error)

VerifyProof is a free data retrieval call binding the contract method 0x91456d3d.

Solidity: function verifyProof(_h bytes32, _v uint8, _r bytes32, _s bytes32) constant returns(address)

type AirdropCallerRaw

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

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

func (*AirdropCallerRaw) Call

func (_Airdrop *AirdropCallerRaw) 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 AirdropCallerSession

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

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

func (*AirdropCallerSession) Admin

func (_Airdrop *AirdropCallerSession) Admin() (common.Address, error)

Admin is a free data retrieval call binding the contract method 0xf851a440.

Solidity: function admin() constant returns(address)

func (*AirdropCallerSession) Channels

func (_Airdrop *AirdropCallerSession) Channels(arg0 [32]byte) (struct {
	Source       common.Address
	TokenAddress common.Address
	Value        *big.Int
	ClosingDate  *big.Int
	OpenDate     *big.Int
	DropAmount   *big.Int
	TotalDrops   *big.Int
	ChannelId    [32]byte
	Intf         common.Address
	State        uint8
}, error)

Channels is a free data retrieval call binding the contract method 0x7a7ebd7b.

Solidity: function channels( bytes32) constant returns(source address, tokenAddress address, value uint256, closingDate uint256, openDate uint256, dropAmount uint256, totalDrops uint256, channelId bytes32, intf address, state uint8)

func (*AirdropCallerSession) Dev

func (_Airdrop *AirdropCallerSession) Dev() (bool, error)

Dev is a free data retrieval call binding the contract method 0x91cca3db.

Solidity: function dev() constant returns(bool)

func (*AirdropCallerSession) Frozen

func (_Airdrop *AirdropCallerSession) Frozen() (bool, error)

Frozen is a free data retrieval call binding the contract method 0x054f7d9c.

Solidity: function frozen() constant returns(bool)

func (*AirdropCallerSession) Moderators

func (_Airdrop *AirdropCallerSession) Moderators(arg0 common.Address) (bool, error)

Moderators is a free data retrieval call binding the contract method 0x14d0f1ba.

Solidity: function moderators( address) constant returns(bool)

func (*AirdropCallerSession) Owner

func (_Airdrop *AirdropCallerSession) Owner() (common.Address, error)

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

Solidity: function owner() constant returns(address)

func (*AirdropCallerSession) VERSION

func (_Airdrop *AirdropCallerSession) VERSION() (string, error)

VERSION is a free data retrieval call binding the contract method 0xffa1ad74.

Solidity: function VERSION() constant returns(string)

func (*AirdropCallerSession) VerifyProof

func (_Airdrop *AirdropCallerSession) VerifyProof(_h [32]byte, _v uint8, _r [32]byte, _s [32]byte) (common.Address, error)

VerifyProof is a free data retrieval call binding the contract method 0x91456d3d.

Solidity: function verifyProof(_h bytes32, _v uint8, _r bytes32, _s bytes32) constant returns(address)

type AirdropChannelClosed

type AirdropChannelClosed struct {
	ChannelId [32]byte
	Raw       types.Log // Blockchain specific contextual infos
}

AirdropChannelClosed represents a ChannelClosed event raised by the Airdrop contract.

type AirdropChannelClosedIterator

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

AirdropChannelClosedIterator is returned from FilterChannelClosed and is used to iterate over the raw logs and unpacked data for ChannelClosed events raised by the Airdrop contract.

func (*AirdropChannelClosedIterator) Close

func (it *AirdropChannelClosedIterator) Close() error

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

func (*AirdropChannelClosedIterator) Error

func (it *AirdropChannelClosedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*AirdropChannelClosedIterator) 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 AirdropChannelOpened

type AirdropChannelOpened struct {
	ChannelId [32]byte
	Raw       types.Log // Blockchain specific contextual infos
}

AirdropChannelOpened represents a ChannelOpened event raised by the Airdrop contract.

type AirdropChannelOpenedIterator

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

AirdropChannelOpenedIterator is returned from FilterChannelOpened and is used to iterate over the raw logs and unpacked data for ChannelOpened events raised by the Airdrop contract.

func (*AirdropChannelOpenedIterator) Close

func (it *AirdropChannelOpenedIterator) Close() error

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

func (*AirdropChannelOpenedIterator) Error

func (it *AirdropChannelOpenedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*AirdropChannelOpenedIterator) 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 AirdropFilterer

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

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

func NewAirdropFilterer

func NewAirdropFilterer(address common.Address, filterer bind.ContractFilterer) (*AirdropFilterer, error)

NewAirdropFilterer creates a new log filterer instance of Airdrop, bound to a specific deployed contract.

func (*AirdropFilterer) FilterAdminSet

func (_Airdrop *AirdropFilterer) FilterAdminSet(opts *bind.FilterOpts, _admin []common.Address, _adminSet []bool) (*AirdropAdminSetIterator, error)

FilterAdminSet is a free log retrieval operation binding the contract event 0xe68d2c359a771606c400cf8b87000cf5864010363d6a736e98f5047b7bbe18e9.

Solidity: e AdminSet(_admin indexed address, _adminSet indexed bool)

func (*AirdropFilterer) FilterAirDropDispersed

func (_Airdrop *AirdropFilterer) FilterAirDropDispersed(opts *bind.FilterOpts, _channelId [][32]byte) (*AirdropAirDropDispersedIterator, error)

FilterAirDropDispersed is a free log retrieval operation binding the contract event 0xa467a409776bfc50e32dd8496edd970b5e7a84a38acda61529d8022bf757c2fd.

Solidity: e AirDropDispersed(_channelId indexed bytes32)

func (*AirdropFilterer) FilterAirDropsEnabled

func (_Airdrop *AirdropFilterer) FilterAirDropsEnabled(opts *bind.FilterOpts, _channelId [][32]byte) (*AirdropAirDropsEnabledIterator, error)

FilterAirDropsEnabled is a free log retrieval operation binding the contract event 0xf857a98ed55303cc061ea3bc4c498fe49361c82cb72894280249b89848f9ce46.

Solidity: e AirDropsEnabled(_channelId indexed bytes32)

func (*AirdropFilterer) FilterChannelClosed

func (_Airdrop *AirdropFilterer) FilterChannelClosed(opts *bind.FilterOpts, _channelId [][32]byte) (*AirdropChannelClosedIterator, error)

FilterChannelClosed is a free log retrieval operation binding the contract event 0xceeab2eef998c17fe96f30f83fbf3c55fc5047f6e40c55a0cf72d236e9d2ba72.

Solidity: e ChannelClosed(_channelId indexed bytes32)

func (*AirdropFilterer) FilterChannelOpened

func (_Airdrop *AirdropFilterer) FilterChannelOpened(opts *bind.FilterOpts, _channelId [][32]byte) (*AirdropChannelOpenedIterator, error)

FilterChannelOpened is a free log retrieval operation binding the contract event 0x7ffc675d721b8768e035a323722842743bb523487b535906abc97e6b3e2095d0.

Solidity: e ChannelOpened(_channelId indexed bytes32)

func (*AirdropFilterer) FilterOwnershipTransferred

func (_Airdrop *AirdropFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, _previousOwner []common.Address, _newOwner []common.Address, _ownershipTransferred []bool) (*AirdropOwnershipTransferredIterator, error)

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

Solidity: e OwnershipTransferred(_previousOwner indexed address, _newOwner indexed address, _ownershipTransferred indexed bool)

func (*AirdropFilterer) FilterSigDebug

func (_Airdrop *AirdropFilterer) FilterSigDebug(opts *bind.FilterOpts) (*AirdropSigDebugIterator, error)

FilterSigDebug is a free log retrieval operation binding the contract event 0x6b7f08f909e42085ce2477fcf9f51be4ff86e5bcc7936c2dbe39e6757d33f914.

Solidity: e SigDebug(_h bytes32, _proof bytes32, prefixedProof bytes32, signer address)

func (*AirdropFilterer) FilterSignatureRecovered

func (_Airdrop *AirdropFilterer) FilterSignatureRecovered(opts *bind.FilterOpts, signer []common.Address) (*AirdropSignatureRecoveredIterator, error)

FilterSignatureRecovered is a free log retrieval operation binding the contract event 0x5c001d7523e0202fd001401f8393d128fbb1fafa8f637949f7d231d814f93b13.

Solidity: e SignatureRecovered(signer indexed address)

func (*AirdropFilterer) WatchAdminSet

func (_Airdrop *AirdropFilterer) WatchAdminSet(opts *bind.WatchOpts, sink chan<- *AirdropAdminSet, _admin []common.Address, _adminSet []bool) (event.Subscription, error)

WatchAdminSet is a free log subscription operation binding the contract event 0xe68d2c359a771606c400cf8b87000cf5864010363d6a736e98f5047b7bbe18e9.

Solidity: e AdminSet(_admin indexed address, _adminSet indexed bool)

func (*AirdropFilterer) WatchAirDropDispersed

func (_Airdrop *AirdropFilterer) WatchAirDropDispersed(opts *bind.WatchOpts, sink chan<- *AirdropAirDropDispersed, _channelId [][32]byte) (event.Subscription, error)

WatchAirDropDispersed is a free log subscription operation binding the contract event 0xa467a409776bfc50e32dd8496edd970b5e7a84a38acda61529d8022bf757c2fd.

Solidity: e AirDropDispersed(_channelId indexed bytes32)

func (*AirdropFilterer) WatchAirDropsEnabled

func (_Airdrop *AirdropFilterer) WatchAirDropsEnabled(opts *bind.WatchOpts, sink chan<- *AirdropAirDropsEnabled, _channelId [][32]byte) (event.Subscription, error)

WatchAirDropsEnabled is a free log subscription operation binding the contract event 0xf857a98ed55303cc061ea3bc4c498fe49361c82cb72894280249b89848f9ce46.

Solidity: e AirDropsEnabled(_channelId indexed bytes32)

func (*AirdropFilterer) WatchChannelClosed

func (_Airdrop *AirdropFilterer) WatchChannelClosed(opts *bind.WatchOpts, sink chan<- *AirdropChannelClosed, _channelId [][32]byte) (event.Subscription, error)

WatchChannelClosed is a free log subscription operation binding the contract event 0xceeab2eef998c17fe96f30f83fbf3c55fc5047f6e40c55a0cf72d236e9d2ba72.

Solidity: e ChannelClosed(_channelId indexed bytes32)

func (*AirdropFilterer) WatchChannelOpened

func (_Airdrop *AirdropFilterer) WatchChannelOpened(opts *bind.WatchOpts, sink chan<- *AirdropChannelOpened, _channelId [][32]byte) (event.Subscription, error)

WatchChannelOpened is a free log subscription operation binding the contract event 0x7ffc675d721b8768e035a323722842743bb523487b535906abc97e6b3e2095d0.

Solidity: e ChannelOpened(_channelId indexed bytes32)

func (*AirdropFilterer) WatchOwnershipTransferred

func (_Airdrop *AirdropFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *AirdropOwnershipTransferred, _previousOwner []common.Address, _newOwner []common.Address, _ownershipTransferred []bool) (event.Subscription, error)

WatchOwnershipTransferred is a free log subscription operation binding the contract event 0x7fdc2a4b6eb39ec3363d710d188620bd1e97b3c434161f187b4d0dc0544faa58.

Solidity: e OwnershipTransferred(_previousOwner indexed address, _newOwner indexed address, _ownershipTransferred indexed bool)

func (*AirdropFilterer) WatchSigDebug

func (_Airdrop *AirdropFilterer) WatchSigDebug(opts *bind.WatchOpts, sink chan<- *AirdropSigDebug) (event.Subscription, error)

WatchSigDebug is a free log subscription operation binding the contract event 0x6b7f08f909e42085ce2477fcf9f51be4ff86e5bcc7936c2dbe39e6757d33f914.

Solidity: e SigDebug(_h bytes32, _proof bytes32, prefixedProof bytes32, signer address)

func (*AirdropFilterer) WatchSignatureRecovered

func (_Airdrop *AirdropFilterer) WatchSignatureRecovered(opts *bind.WatchOpts, sink chan<- *AirdropSignatureRecovered, signer []common.Address) (event.Subscription, error)

WatchSignatureRecovered is a free log subscription operation binding the contract event 0x5c001d7523e0202fd001401f8393d128fbb1fafa8f637949f7d231d814f93b13.

Solidity: e SignatureRecovered(signer indexed address)

type AirdropOwnershipTransferred

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

AirdropOwnershipTransferred represents a OwnershipTransferred event raised by the Airdrop contract.

type AirdropOwnershipTransferredIterator

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

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

func (*AirdropOwnershipTransferredIterator) Close

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

func (*AirdropOwnershipTransferredIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*AirdropOwnershipTransferredIterator) 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 AirdropRaw

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

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

func (*AirdropRaw) Call

func (_Airdrop *AirdropRaw) 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 (*AirdropRaw) Transact

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

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

func (*AirdropRaw) Transfer

func (_Airdrop *AirdropRaw) 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 AirdropSession

type AirdropSession struct {
	Contract     *Airdrop          // 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
}

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

func (*AirdropSession) Admin

func (_Airdrop *AirdropSession) Admin() (common.Address, error)

Admin is a free data retrieval call binding the contract method 0xf851a440.

Solidity: function admin() constant returns(address)

func (*AirdropSession) Channels

func (_Airdrop *AirdropSession) Channels(arg0 [32]byte) (struct {
	Source       common.Address
	TokenAddress common.Address
	Value        *big.Int
	ClosingDate  *big.Int
	OpenDate     *big.Int
	DropAmount   *big.Int
	TotalDrops   *big.Int
	ChannelId    [32]byte
	Intf         common.Address
	State        uint8
}, error)

Channels is a free data retrieval call binding the contract method 0x7a7ebd7b.

Solidity: function channels( bytes32) constant returns(source address, tokenAddress address, value uint256, closingDate uint256, openDate uint256, dropAmount uint256, totalDrops uint256, channelId bytes32, intf address, state uint8)

func (*AirdropSession) CloseChannel

func (_Airdrop *AirdropSession) CloseChannel(_h [32]byte, _v uint8, _r [32]byte, _s [32]byte, _channelId [32]byte) (*types.Transaction, error)

CloseChannel is a paid mutator transaction binding the contract method 0x5c9bd273.

Solidity: function closeChannel(_h bytes32, _v uint8, _r bytes32, _s bytes32, _channelId bytes32) returns(bool)

func (*AirdropSession) Dev

func (_Airdrop *AirdropSession) Dev() (bool, error)

Dev is a free data retrieval call binding the contract method 0x91cca3db.

Solidity: function dev() constant returns(bool)

func (*AirdropSession) EnableAirdrops

func (_Airdrop *AirdropSession) EnableAirdrops(_h [32]byte, _v uint8, _r [32]byte, _s [32]byte, _channelId [32]byte, _id *big.Int) (*types.Transaction, error)

EnableAirdrops is a paid mutator transaction binding the contract method 0x56715148.

Solidity: function enableAirdrops(_h bytes32, _v uint8, _r bytes32, _s bytes32, _channelId bytes32, _id uint256) returns(bool)

func (*AirdropSession) Frozen

func (_Airdrop *AirdropSession) Frozen() (bool, error)

Frozen is a free data retrieval call binding the contract method 0x054f7d9c.

Solidity: function frozen() constant returns(bool)

func (*AirdropSession) Moderators

func (_Airdrop *AirdropSession) Moderators(arg0 common.Address) (bool, error)

Moderators is a free data retrieval call binding the contract method 0x14d0f1ba.

Solidity: function moderators( address) constant returns(bool)

func (*AirdropSession) OpenChannel

func (_Airdrop *AirdropSession) OpenChannel(_tokenAddress common.Address, _channelValue *big.Int, _durationInDays *big.Int, _dropAmount *big.Int) (*types.Transaction, error)

OpenChannel is a paid mutator transaction binding the contract method 0xf36bdb49.

Solidity: function openChannel(_tokenAddress address, _channelValue uint256, _durationInDays uint256, _dropAmount uint256) returns(bool)

func (*AirdropSession) Owner

func (_Airdrop *AirdropSession) Owner() (common.Address, error)

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

Solidity: function owner() constant returns(address)

func (*AirdropSession) RetrieveAirdrop

func (_Airdrop *AirdropSession) RetrieveAirdrop(_h [32]byte, _v uint8, _r [32]byte, _s [32]byte, _channelId [32]byte, _id *big.Int) (*types.Transaction, error)

RetrieveAirdrop is a paid mutator transaction binding the contract method 0x515982f6.

Solidity: function retrieveAirdrop(_h bytes32, _v uint8, _r bytes32, _s bytes32, _channelId bytes32, _id uint256) returns(bool)

func (*AirdropSession) SetAdmin

func (_Airdrop *AirdropSession) SetAdmin(_newAdmin common.Address) (*types.Transaction, error)

SetAdmin is a paid mutator transaction binding the contract method 0x704b6c02.

Solidity: function setAdmin(_newAdmin address) returns(bool)

func (*AirdropSession) TransferOwnership

func (_Airdrop *AirdropSession) TransferOwnership(_newOwner common.Address) (*types.Transaction, error)

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

Solidity: function transferOwnership(_newOwner address) returns(bool)

func (*AirdropSession) VERSION

func (_Airdrop *AirdropSession) VERSION() (string, error)

VERSION is a free data retrieval call binding the contract method 0xffa1ad74.

Solidity: function VERSION() constant returns(string)

func (*AirdropSession) VerifyProof

func (_Airdrop *AirdropSession) VerifyProof(_h [32]byte, _v uint8, _r [32]byte, _s [32]byte) (common.Address, error)

VerifyProof is a free data retrieval call binding the contract method 0x91456d3d.

Solidity: function verifyProof(_h bytes32, _v uint8, _r bytes32, _s bytes32) constant returns(address)

func (*AirdropSession) WithdrawEth

func (_Airdrop *AirdropSession) WithdrawEth() (*types.Transaction, error)

WithdrawEth is a paid mutator transaction binding the contract method 0xa0ef91df.

Solidity: function withdrawEth() returns(bool)

type AirdropSigDebug

type AirdropSigDebug struct {
	H             [32]byte
	Proof         [32]byte
	PrefixedProof [32]byte
	Signer        common.Address
	Raw           types.Log // Blockchain specific contextual infos
}

AirdropSigDebug represents a SigDebug event raised by the Airdrop contract.

type AirdropSigDebugIterator

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

AirdropSigDebugIterator is returned from FilterSigDebug and is used to iterate over the raw logs and unpacked data for SigDebug events raised by the Airdrop contract.

func (*AirdropSigDebugIterator) Close

func (it *AirdropSigDebugIterator) Close() error

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

func (*AirdropSigDebugIterator) Error

func (it *AirdropSigDebugIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*AirdropSigDebugIterator) Next

func (it *AirdropSigDebugIterator) 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 AirdropSignatureRecovered

type AirdropSignatureRecovered struct {
	Signer common.Address
	Raw    types.Log // Blockchain specific contextual infos
}

AirdropSignatureRecovered represents a SignatureRecovered event raised by the Airdrop contract.

type AirdropSignatureRecoveredIterator

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

AirdropSignatureRecoveredIterator is returned from FilterSignatureRecovered and is used to iterate over the raw logs and unpacked data for SignatureRecovered events raised by the Airdrop contract.

func (*AirdropSignatureRecoveredIterator) Close

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

func (*AirdropSignatureRecoveredIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*AirdropSignatureRecoveredIterator) 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 AirdropTransactor

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

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

func NewAirdropTransactor

func NewAirdropTransactor(address common.Address, transactor bind.ContractTransactor) (*AirdropTransactor, error)

NewAirdropTransactor creates a new write-only instance of Airdrop, bound to a specific deployed contract.

func (*AirdropTransactor) CloseChannel

func (_Airdrop *AirdropTransactor) CloseChannel(opts *bind.TransactOpts, _h [32]byte, _v uint8, _r [32]byte, _s [32]byte, _channelId [32]byte) (*types.Transaction, error)

CloseChannel is a paid mutator transaction binding the contract method 0x5c9bd273.

Solidity: function closeChannel(_h bytes32, _v uint8, _r bytes32, _s bytes32, _channelId bytes32) returns(bool)

func (*AirdropTransactor) EnableAirdrops

func (_Airdrop *AirdropTransactor) EnableAirdrops(opts *bind.TransactOpts, _h [32]byte, _v uint8, _r [32]byte, _s [32]byte, _channelId [32]byte, _id *big.Int) (*types.Transaction, error)

EnableAirdrops is a paid mutator transaction binding the contract method 0x56715148.

Solidity: function enableAirdrops(_h bytes32, _v uint8, _r bytes32, _s bytes32, _channelId bytes32, _id uint256) returns(bool)

func (*AirdropTransactor) OpenChannel

func (_Airdrop *AirdropTransactor) OpenChannel(opts *bind.TransactOpts, _tokenAddress common.Address, _channelValue *big.Int, _durationInDays *big.Int, _dropAmount *big.Int) (*types.Transaction, error)

OpenChannel is a paid mutator transaction binding the contract method 0xf36bdb49.

Solidity: function openChannel(_tokenAddress address, _channelValue uint256, _durationInDays uint256, _dropAmount uint256) returns(bool)

func (*AirdropTransactor) RetrieveAirdrop

func (_Airdrop *AirdropTransactor) RetrieveAirdrop(opts *bind.TransactOpts, _h [32]byte, _v uint8, _r [32]byte, _s [32]byte, _channelId [32]byte, _id *big.Int) (*types.Transaction, error)

RetrieveAirdrop is a paid mutator transaction binding the contract method 0x515982f6.

Solidity: function retrieveAirdrop(_h bytes32, _v uint8, _r bytes32, _s bytes32, _channelId bytes32, _id uint256) returns(bool)

func (*AirdropTransactor) SetAdmin

func (_Airdrop *AirdropTransactor) SetAdmin(opts *bind.TransactOpts, _newAdmin common.Address) (*types.Transaction, error)

SetAdmin is a paid mutator transaction binding the contract method 0x704b6c02.

Solidity: function setAdmin(_newAdmin address) returns(bool)

func (*AirdropTransactor) TransferOwnership

func (_Airdrop *AirdropTransactor) TransferOwnership(opts *bind.TransactOpts, _newOwner common.Address) (*types.Transaction, error)

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

Solidity: function transferOwnership(_newOwner address) returns(bool)

func (*AirdropTransactor) WithdrawEth

func (_Airdrop *AirdropTransactor) WithdrawEth(opts *bind.TransactOpts) (*types.Transaction, error)

WithdrawEth is a paid mutator transaction binding the contract method 0xa0ef91df.

Solidity: function withdrawEth() returns(bool)

type AirdropTransactorRaw

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

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

func (*AirdropTransactorRaw) Transact

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

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

func (*AirdropTransactorRaw) Transfer

func (_Airdrop *AirdropTransactorRaw) 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 AirdropTransactorSession

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

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

func (*AirdropTransactorSession) CloseChannel

func (_Airdrop *AirdropTransactorSession) CloseChannel(_h [32]byte, _v uint8, _r [32]byte, _s [32]byte, _channelId [32]byte) (*types.Transaction, error)

CloseChannel is a paid mutator transaction binding the contract method 0x5c9bd273.

Solidity: function closeChannel(_h bytes32, _v uint8, _r bytes32, _s bytes32, _channelId bytes32) returns(bool)

func (*AirdropTransactorSession) EnableAirdrops

func (_Airdrop *AirdropTransactorSession) EnableAirdrops(_h [32]byte, _v uint8, _r [32]byte, _s [32]byte, _channelId [32]byte, _id *big.Int) (*types.Transaction, error)

EnableAirdrops is a paid mutator transaction binding the contract method 0x56715148.

Solidity: function enableAirdrops(_h bytes32, _v uint8, _r bytes32, _s bytes32, _channelId bytes32, _id uint256) returns(bool)

func (*AirdropTransactorSession) OpenChannel

func (_Airdrop *AirdropTransactorSession) OpenChannel(_tokenAddress common.Address, _channelValue *big.Int, _durationInDays *big.Int, _dropAmount *big.Int) (*types.Transaction, error)

OpenChannel is a paid mutator transaction binding the contract method 0xf36bdb49.

Solidity: function openChannel(_tokenAddress address, _channelValue uint256, _durationInDays uint256, _dropAmount uint256) returns(bool)

func (*AirdropTransactorSession) RetrieveAirdrop

func (_Airdrop *AirdropTransactorSession) RetrieveAirdrop(_h [32]byte, _v uint8, _r [32]byte, _s [32]byte, _channelId [32]byte, _id *big.Int) (*types.Transaction, error)

RetrieveAirdrop is a paid mutator transaction binding the contract method 0x515982f6.

Solidity: function retrieveAirdrop(_h bytes32, _v uint8, _r bytes32, _s bytes32, _channelId bytes32, _id uint256) returns(bool)

func (*AirdropTransactorSession) SetAdmin

func (_Airdrop *AirdropTransactorSession) SetAdmin(_newAdmin common.Address) (*types.Transaction, error)

SetAdmin is a paid mutator transaction binding the contract method 0x704b6c02.

Solidity: function setAdmin(_newAdmin address) returns(bool)

func (*AirdropTransactorSession) TransferOwnership

func (_Airdrop *AirdropTransactorSession) TransferOwnership(_newOwner common.Address) (*types.Transaction, error)

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

Solidity: function transferOwnership(_newOwner address) returns(bool)

func (*AirdropTransactorSession) WithdrawEth

func (_Airdrop *AirdropTransactorSession) WithdrawEth() (*types.Transaction, error)

WithdrawEth is a paid mutator transaction binding the contract method 0xa0ef91df.

Solidity: function withdrawEth() returns(bool)

Jump to

Keyboard shortcuts

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