eth

package
v0.2.13 Latest Latest
Warning

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

Go to latest
Published: Dec 1, 2021 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// TokenABI is the input ABI used to generate the binding from.
	MultiSendContractAddress = "0x96AF6B6c38636512075754066327d96F5cEDc81c"
	GWEIDecimal              = 9
	Decimal                  = 18
	DerivationPath           = "m/44'/60'/0'/0/0"
	GasPriceKey              = "GasPrice"
)
View Source
const MultisendABI = "" /* 1668-byte string literal not displayed */

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

View Source
const TokenABI = "" /* 2645-byte string literal not displayed */

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

View Source
const TransactionABI = "" /* 5181-byte string literal not displayed */

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

Variables

View Source
var MultisendABIJSON, _ = abi.JSON(strings.NewReader(MultisendABI))
View Source
var MultisendBin = "" /* 9660-byte string literal not displayed */

MultisendBin is the compiled bytecode used for deploying new contracts.

View Source
var TokenABIJSON, _ = abi.JSON(strings.NewReader(TokenABI))
View Source
var TransactionBin = "" /* 17262-byte string literal not displayed */

TransactionBin is the compiled bytecode used for deploying new contracts.

Functions

func GetGasPrice added in v0.0.24

func GetGasPrice(ctx context.Context) float64

func GetMultisendMethod added in v0.0.18

func GetMultisendMethod(data []byte) (string, error)

func PackApproveData added in v0.1.6

func PackApproveData(_spender common.Address, _value *big.Int) ([]byte, error)

func PackBulkSendEthData added in v0.0.4

func PackBulkSendEthData(addresses []common.Address, amounts []*big.Int) ([]byte, error)

func PackBulkSendTokenData added in v0.0.4

func PackBulkSendTokenData(tokenAddr common.Address, addresses []common.Address, amounts []*big.Int) ([]byte, error)

func PackTransferData added in v0.0.4

func PackTransferData(_to common.Address, _value *big.Int) ([]byte, error)

func WithGasPrice added in v0.0.25

func WithGasPrice(ctx context.Context, gasPrice float64) context.Context

Types

type BulkSendETHInput added in v0.0.18

type BulkSendETHInput struct {
	Addresses []common.Address
	Amounts   []*big.Int
}

func UnpackBulkSendETHData added in v0.0.18

func UnpackBulkSendETHData(data []byte) (BulkSendETHInput, error)

type BulkSendTokenInput added in v0.0.18

type BulkSendTokenInput struct {
	Token     common.Address
	Addresses []common.Address
	Amounts   []*big.Int
}

func UnpackBulkSendTokenData added in v0.0.18

func UnpackBulkSendTokenData(data []byte) (BulkSendTokenInput, error)

type EventInput added in v0.1.7

type EventInput struct {
	Address common.Address
	Amount  *big.Int
	Type    listener.EventType
}

func UnpackEventData added in v0.1.7

func UnpackEventData(data []byte) (EventInput, error)

type Multisend added in v0.0.4

type Multisend struct {
	MultisendCaller     // Read-only binding to the contract
	MultisendTransactor // Write-only binding to the contract
	MultisendFilterer   // Log filterer for contract events
}

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

func DeployMultisend added in v0.0.4

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

DeployMultisend deploys a new Ethereum contract, binding an instance of Multisend to it.

func NewMultisend added in v0.0.4

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

NewMultisend creates a new instance of Multisend, bound to a specific deployed contract.

type MultisendCaller added in v0.0.4

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

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

func NewMultisendCaller added in v0.0.4

func NewMultisendCaller(address common.Address, caller bind.ContractCaller) (*MultisendCaller, error)

NewMultisendCaller creates a new read-only instance of Multisend, bound to a specific deployed contract.

func (*MultisendCaller) Owner added in v0.0.4

func (_Multisend *MultisendCaller) Owner(opts *bind.CallOpts) (common.Address, error)

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

Solidity: function _owner() constant returns(address)

type MultisendCallerRaw added in v0.0.4

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

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

func (*MultisendCallerRaw) Call added in v0.0.4

func (_Multisend *MultisendCallerRaw) 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 MultisendCallerSession added in v0.0.4

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

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

func (*MultisendCallerSession) Owner added in v0.0.4

func (_Multisend *MultisendCallerSession) Owner() (common.Address, error)

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

Solidity: function _owner() constant returns(address)

type MultisendFilterer added in v0.0.4

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

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

func NewMultisendFilterer added in v0.0.4

func NewMultisendFilterer(address common.Address, filterer bind.ContractFilterer) (*MultisendFilterer, error)

NewMultisendFilterer creates a new log filterer instance of Multisend, bound to a specific deployed contract.

func (*MultisendFilterer) FilterRefund added in v0.0.4

func (_Multisend *MultisendFilterer) FilterRefund(opts *bind.FilterOpts) (*MultisendRefundIterator, error)

FilterRefund is a free log retrieval operation binding the contract event 0x2e1897b0591d764356194f7a795238a87c1987c7a877568e50d829d547c92b97.

Solidity: event Refund(uint256 amount)

func (*MultisendFilterer) FilterTransfer added in v0.0.4

func (_Multisend *MultisendFilterer) FilterTransfer(opts *bind.FilterOpts) (*MultisendTransferIterator, error)

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

Solidity: event Transfer(address recipient, uint256 amount)

func (*MultisendFilterer) ParseRefund added in v0.0.4

func (_Multisend *MultisendFilterer) ParseRefund(log types.Log) (*MultisendRefund, error)

ParseRefund is a log parse operation binding the contract event 0x2e1897b0591d764356194f7a795238a87c1987c7a877568e50d829d547c92b97.

Solidity: event Refund(uint256 amount)

func (*MultisendFilterer) ParseTransfer added in v0.0.4

func (_Multisend *MultisendFilterer) ParseTransfer(log types.Log) (*MultisendTransfer, error)

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

Solidity: event Transfer(address recipient, uint256 amount)

func (*MultisendFilterer) WatchRefund added in v0.0.4

func (_Multisend *MultisendFilterer) WatchRefund(opts *bind.WatchOpts, sink chan<- *MultisendRefund) (event.Subscription, error)

WatchRefund is a free log subscription operation binding the contract event 0x2e1897b0591d764356194f7a795238a87c1987c7a877568e50d829d547c92b97.

Solidity: event Refund(uint256 amount)

func (*MultisendFilterer) WatchTransfer added in v0.0.4

func (_Multisend *MultisendFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *MultisendTransfer) (event.Subscription, error)

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

Solidity: event Transfer(address recipient, uint256 amount)

type MultisendRaw added in v0.0.4

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

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

func (*MultisendRaw) Call added in v0.0.4

func (_Multisend *MultisendRaw) 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 (*MultisendRaw) Transact added in v0.0.4

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

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

func (*MultisendRaw) Transfer added in v0.0.4

func (_Multisend *MultisendRaw) 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 MultisendRefund added in v0.0.4

type MultisendRefund struct {
	Amount *big.Int
	Raw    types.Log // Blockchain specific contextual infos
}

MultisendRefund represents a Refund event raised by the Multisend contract.

type MultisendRefundIterator added in v0.0.4

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

MultisendRefundIterator is returned from FilterRefund and is used to iterate over the raw logs and unpacked data for Refund events raised by the Multisend contract.

func (*MultisendRefundIterator) Close added in v0.0.4

func (it *MultisendRefundIterator) Close() error

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

func (*MultisendRefundIterator) Error added in v0.0.4

func (it *MultisendRefundIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*MultisendRefundIterator) Next added in v0.0.4

func (it *MultisendRefundIterator) 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 MultisendSession added in v0.0.4

type MultisendSession struct {
	Contract     *Multisend        // 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
}

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

func (*MultisendSession) BulkSendEth added in v0.0.4

func (_Multisend *MultisendSession) BulkSendEth(addresses []common.Address, amounts []*big.Int) (*types.Transaction, error)

BulkSendEth is a paid mutator transaction binding the contract method 0x9bb3a22d.

Solidity: function bulkSendEth(address[] addresses, uint256[] amounts) returns(bool success)

func (*MultisendSession) BulkSendToken added in v0.0.4

func (_Multisend *MultisendSession) BulkSendToken(token common.Address, addresses []common.Address, amounts []*big.Int) (*types.Transaction, error)

BulkSendToken is a paid mutator transaction binding the contract method 0x046ef2bf.

Solidity: function bulkSendToken(address token, address[] addresses, uint256[] amounts) returns(bool success)

func (*MultisendSession) Initialize added in v0.0.5

func (_Multisend *MultisendSession) Initialize(_admin common.Address) (*types.Transaction, error)

Initialize is a paid mutator transaction binding the contract method 0xc4d66de8.

Solidity: function initialize(address _admin) returns()

func (*MultisendSession) Owner added in v0.0.4

func (_Multisend *MultisendSession) Owner() (common.Address, error)

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

Solidity: function _owner() constant returns(address)

type MultisendTransactor added in v0.0.4

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

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

func NewMultisendTransactor added in v0.0.4

func NewMultisendTransactor(address common.Address, transactor bind.ContractTransactor) (*MultisendTransactor, error)

NewMultisendTransactor creates a new write-only instance of Multisend, bound to a specific deployed contract.

func (*MultisendTransactor) BulkSendEth added in v0.0.4

func (_Multisend *MultisendTransactor) BulkSendEth(opts *bind.TransactOpts, addresses []common.Address, amounts []*big.Int) (*types.Transaction, error)

BulkSendEth is a paid mutator transaction binding the contract method 0x9bb3a22d.

Solidity: function bulkSendEth(address[] addresses, uint256[] amounts) returns(bool success)

func (*MultisendTransactor) BulkSendToken added in v0.0.4

func (_Multisend *MultisendTransactor) BulkSendToken(opts *bind.TransactOpts, token common.Address, addresses []common.Address, amounts []*big.Int) (*types.Transaction, error)

BulkSendToken is a paid mutator transaction binding the contract method 0x046ef2bf.

Solidity: function bulkSendToken(address token, address[] addresses, uint256[] amounts) returns(bool success)

func (*MultisendTransactor) Initialize added in v0.0.5

func (_Multisend *MultisendTransactor) Initialize(opts *bind.TransactOpts, _admin common.Address) (*types.Transaction, error)

Initialize is a paid mutator transaction binding the contract method 0xc4d66de8.

Solidity: function initialize(address _admin) returns()

type MultisendTransactorRaw added in v0.0.4

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

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

func (*MultisendTransactorRaw) Transact added in v0.0.4

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

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

func (*MultisendTransactorRaw) Transfer added in v0.0.4

func (_Multisend *MultisendTransactorRaw) 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 MultisendTransactorSession added in v0.0.4

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

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

func (*MultisendTransactorSession) BulkSendEth added in v0.0.4

func (_Multisend *MultisendTransactorSession) BulkSendEth(addresses []common.Address, amounts []*big.Int) (*types.Transaction, error)

BulkSendEth is a paid mutator transaction binding the contract method 0x9bb3a22d.

Solidity: function bulkSendEth(address[] addresses, uint256[] amounts) returns(bool success)

func (*MultisendTransactorSession) BulkSendToken added in v0.0.4

func (_Multisend *MultisendTransactorSession) BulkSendToken(token common.Address, addresses []common.Address, amounts []*big.Int) (*types.Transaction, error)

BulkSendToken is a paid mutator transaction binding the contract method 0x046ef2bf.

Solidity: function bulkSendToken(address token, address[] addresses, uint256[] amounts) returns(bool success)

func (*MultisendTransactorSession) Initialize added in v0.0.5

func (_Multisend *MultisendTransactorSession) Initialize(_admin common.Address) (*types.Transaction, error)

Initialize is a paid mutator transaction binding the contract method 0xc4d66de8.

Solidity: function initialize(address _admin) returns()

type MultisendTransfer added in v0.0.4

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

MultisendTransfer represents a Transfer event raised by the Multisend contract.

type MultisendTransferIterator added in v0.0.4

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

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

func (*MultisendTransferIterator) Close added in v0.0.4

func (it *MultisendTransferIterator) Close() error

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

func (*MultisendTransferIterator) Error added in v0.0.4

func (it *MultisendTransferIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*MultisendTransferIterator) Next added in v0.0.4

func (it *MultisendTransferIterator) 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 Token

type Token struct {
	TokenCaller     // Read-only binding to the contract
	TokenTransactor // Write-only binding to the contract
	TokenFilterer   // Log filterer for contract events
}

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

func NewToken

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

NewToken creates a new instance of Token, bound to a specific deployed contract.

type TokenApproval added in v0.0.5

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

TokenApproval represents a Approval event raised by the Token contract.

type TokenApprovalIterator added in v0.0.5

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

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

func (*TokenApprovalIterator) Close added in v0.0.5

func (it *TokenApprovalIterator) Close() error

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

func (*TokenApprovalIterator) Error added in v0.0.5

func (it *TokenApprovalIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*TokenApprovalIterator) Next added in v0.0.5

func (it *TokenApprovalIterator) 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 TokenCaller

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

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

func NewTokenCaller

func NewTokenCaller(address common.Address, caller bind.ContractCaller) (*TokenCaller, error)

NewTokenCaller creates a new read-only instance of Token, bound to a specific deployed contract.

func (*TokenCaller) Allowance

func (_Token *TokenCaller) 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) constant returns(uint256)

func (*TokenCaller) BalanceOf

func (_Token *TokenCaller) 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) constant returns(uint256)

func (*TokenCaller) TotalSupply added in v0.0.5

func (_Token *TokenCaller) TotalSupply(opts *bind.CallOpts) (*big.Int, error)

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

Solidity: function totalSupply() constant returns(uint256)

type TokenCallerRaw

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

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

func (*TokenCallerRaw) Call

func (_Token *TokenCallerRaw) 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 TokenCallerSession

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

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

func (*TokenCallerSession) Allowance

func (_Token *TokenCallerSession) 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) constant returns(uint256)

func (*TokenCallerSession) BalanceOf

func (_Token *TokenCallerSession) BalanceOf(account common.Address) (*big.Int, error)

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

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

func (*TokenCallerSession) TotalSupply added in v0.0.5

func (_Token *TokenCallerSession) TotalSupply() (*big.Int, error)

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

Solidity: function totalSupply() constant returns(uint256)

type TokenFilterer added in v0.0.5

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

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

func NewTokenFilterer added in v0.0.5

func NewTokenFilterer(address common.Address, filterer bind.ContractFilterer) (*TokenFilterer, error)

NewTokenFilterer creates a new log filterer instance of Token, bound to a specific deployed contract.

func (*TokenFilterer) FilterApproval added in v0.0.5

func (_Token *TokenFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*TokenApprovalIterator, 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 (*TokenFilterer) FilterTransfer added in v0.0.5

func (_Token *TokenFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*TokenTransferIterator, 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 (*TokenFilterer) ParseApproval added in v0.0.5

func (_Token *TokenFilterer) ParseApproval(log types.Log) (*TokenApproval, error)

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

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

func (*TokenFilterer) ParseTransfer added in v0.0.5

func (_Token *TokenFilterer) ParseTransfer(log types.Log) (*TokenTransfer, error)

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

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

func (*TokenFilterer) WatchApproval added in v0.0.5

func (_Token *TokenFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *TokenApproval, 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 (*TokenFilterer) WatchTransfer added in v0.0.5

func (_Token *TokenFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *TokenTransfer, 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 TokenRaw

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

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

func (*TokenRaw) Call

func (_Token *TokenRaw) 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 (*TokenRaw) Transact

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

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

func (*TokenRaw) Transfer

func (_Token *TokenRaw) 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 TokenSession

type TokenSession struct {
	Contract     *Token            // 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
}

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

func (*TokenSession) Allowance

func (_Token *TokenSession) 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) constant returns(uint256)

func (*TokenSession) Approve added in v0.0.5

func (_Token *TokenSession) 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 (*TokenSession) BalanceOf

func (_Token *TokenSession) BalanceOf(account common.Address) (*big.Int, error)

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

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

func (*TokenSession) TotalSupply added in v0.0.5

func (_Token *TokenSession) TotalSupply() (*big.Int, error)

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

Solidity: function totalSupply() constant returns(uint256)

func (*TokenSession) Transfer

func (_Token *TokenSession) 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 (*TokenSession) TransferFrom

func (_Token *TokenSession) 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 TokenTransactor

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

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

func NewTokenTransactor

func NewTokenTransactor(address common.Address, transactor bind.ContractTransactor) (*TokenTransactor, error)

NewTokenTransactor creates a new write-only instance of Token, bound to a specific deployed contract.

func (*TokenTransactor) Approve added in v0.0.5

func (_Token *TokenTransactor) 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 (*TokenTransactor) Transfer

func (_Token *TokenTransactor) 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 (*TokenTransactor) TransferFrom

func (_Token *TokenTransactor) 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 TokenTransactorRaw

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

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

func (*TokenTransactorRaw) Transact

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

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

func (*TokenTransactorRaw) Transfer

func (_Token *TokenTransactorRaw) 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 TokenTransactorSession

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

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

func (*TokenTransactorSession) Approve added in v0.0.5

func (_Token *TokenTransactorSession) 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 (*TokenTransactorSession) Transfer

func (_Token *TokenTransactorSession) 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 (*TokenTransactorSession) TransferFrom

func (_Token *TokenTransactorSession) 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 TokenTransfer added in v0.0.5

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

TokenTransfer represents a Transfer event raised by the Token contract.

type TokenTransferIterator added in v0.0.5

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

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

func (*TokenTransferIterator) Close added in v0.0.5

func (it *TokenTransferIterator) Close() error

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

func (*TokenTransferIterator) Error added in v0.0.5

func (it *TokenTransferIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*TokenTransferIterator) Next added in v0.0.5

func (it *TokenTransferIterator) 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 Transaction added in v0.0.4

type Transaction struct {
	TransactionCaller     // Read-only binding to the contract
	TransactionTransactor // Write-only binding to the contract
	TransactionFilterer   // Log filterer for contract events
}

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

func DeployTransaction added in v0.0.4

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

DeployTransaction deploys a new Ethereum contract, binding an instance of Transaction to it.

func NewTransaction added in v0.0.4

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

NewTransaction creates a new instance of Transaction, bound to a specific deployed contract.

type TransactionCaller added in v0.0.4

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

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

func NewTransactionCaller added in v0.0.4

func NewTransactionCaller(address common.Address, caller bind.ContractCaller) (*TransactionCaller, error)

NewTransactionCaller creates a new read-only instance of Transaction, bound to a specific deployed contract.

func (*TransactionCaller) FeePerc added in v0.0.4

func (_Transaction *TransactionCaller) FeePerc(opts *bind.CallOpts) (uint8, error)

FeePerc is a free data retrieval call binding the contract method 0xef41ea7e.

Solidity: function feePerc() constant returns(uint8)

func (*TransactionCaller) Getbalance added in v0.0.4

func (_Transaction *TransactionCaller) Getbalance(opts *bind.CallOpts, addr common.Address) (*big.Int, error)

Getbalance is a free data retrieval call binding the contract method 0x68116177.

Solidity: function getbalance(address addr) constant returns(uint256 value)

func (*TransactionCaller) InternalFeePerc added in v0.0.4

func (_Transaction *TransactionCaller) InternalFeePerc(opts *bind.CallOpts) (uint8, error)

InternalFeePerc is a free data retrieval call binding the contract method 0xb4223c73.

Solidity: function internalFeePerc() constant returns(uint8)

func (*TransactionCaller) Owner added in v0.0.4

func (_Transaction *TransactionCaller) 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 (*TransactionCaller) RewardPerc added in v0.0.4

func (_Transaction *TransactionCaller) RewardPerc(opts *bind.CallOpts) (uint8, error)

RewardPerc is a free data retrieval call binding the contract method 0x8534ec23.

Solidity: function rewardPerc() constant returns(uint8)

type TransactionCallerRaw added in v0.0.4

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

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

func (*TransactionCallerRaw) Call added in v0.0.4

func (_Transaction *TransactionCallerRaw) 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 TransactionCallerSession added in v0.0.4

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

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

func (*TransactionCallerSession) FeePerc added in v0.0.4

func (_Transaction *TransactionCallerSession) FeePerc() (uint8, error)

FeePerc is a free data retrieval call binding the contract method 0xef41ea7e.

Solidity: function feePerc() constant returns(uint8)

func (*TransactionCallerSession) Getbalance added in v0.0.4

func (_Transaction *TransactionCallerSession) Getbalance(addr common.Address) (*big.Int, error)

Getbalance is a free data retrieval call binding the contract method 0x68116177.

Solidity: function getbalance(address addr) constant returns(uint256 value)

func (*TransactionCallerSession) InternalFeePerc added in v0.0.4

func (_Transaction *TransactionCallerSession) InternalFeePerc() (uint8, error)

InternalFeePerc is a free data retrieval call binding the contract method 0xb4223c73.

Solidity: function internalFeePerc() constant returns(uint8)

func (*TransactionCallerSession) Owner added in v0.0.4

func (_Transaction *TransactionCallerSession) Owner() (common.Address, error)

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

Solidity: function owner() constant returns(address)

func (*TransactionCallerSession) RewardPerc added in v0.0.4

func (_Transaction *TransactionCallerSession) RewardPerc() (uint8, error)

RewardPerc is a free data retrieval call binding the contract method 0x8534ec23.

Solidity: function rewardPerc() constant returns(uint8)

type TransactionFilterer added in v0.0.4

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

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

func NewTransactionFilterer added in v0.0.4

func NewTransactionFilterer(address common.Address, filterer bind.ContractFilterer) (*TransactionFilterer, error)

NewTransactionFilterer creates a new log filterer instance of Transaction, bound to a specific deployed contract.

func (*TransactionFilterer) FilterRefund added in v0.0.4

func (_Transaction *TransactionFilterer) FilterRefund(opts *bind.FilterOpts) (*TransactionRefundIterator, error)

FilterRefund is a free log retrieval operation binding the contract event 0x2e1897b0591d764356194f7a795238a87c1987c7a877568e50d829d547c92b97.

Solidity: event Refund(uint256 refund)

func (*TransactionFilterer) FilterTransfer added in v0.0.4

func (_Transaction *TransactionFilterer) FilterTransfer(opts *bind.FilterOpts) (*TransactionTransferIterator, error)

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

Solidity: event Transfer(address recipient, uint256 amount)

func (*TransactionFilterer) ParseRefund added in v0.0.4

func (_Transaction *TransactionFilterer) ParseRefund(log types.Log) (*TransactionRefund, error)

ParseRefund is a log parse operation binding the contract event 0x2e1897b0591d764356194f7a795238a87c1987c7a877568e50d829d547c92b97.

Solidity: event Refund(uint256 refund)

func (*TransactionFilterer) ParseTransfer added in v0.0.4

func (_Transaction *TransactionFilterer) ParseTransfer(log types.Log) (*TransactionTransfer, error)

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

Solidity: event Transfer(address recipient, uint256 amount)

func (*TransactionFilterer) WatchRefund added in v0.0.4

func (_Transaction *TransactionFilterer) WatchRefund(opts *bind.WatchOpts, sink chan<- *TransactionRefund) (event.Subscription, error)

WatchRefund is a free log subscription operation binding the contract event 0x2e1897b0591d764356194f7a795238a87c1987c7a877568e50d829d547c92b97.

Solidity: event Refund(uint256 refund)

func (*TransactionFilterer) WatchTransfer added in v0.0.4

func (_Transaction *TransactionFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *TransactionTransfer) (event.Subscription, error)

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

Solidity: event Transfer(address recipient, uint256 amount)

type TransactionRaw added in v0.0.4

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

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

func (*TransactionRaw) Call added in v0.0.4

func (_Transaction *TransactionRaw) 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 (*TransactionRaw) Transact added in v0.0.4

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

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

func (*TransactionRaw) Transfer added in v0.0.4

func (_Transaction *TransactionRaw) 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 TransactionRefund added in v0.0.4

type TransactionRefund struct {
	Refund *big.Int
	Raw    types.Log // Blockchain specific contextual infos
}

TransactionRefund represents a Refund event raised by the Transaction contract.

type TransactionRefundIterator added in v0.0.4

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

TransactionRefundIterator is returned from FilterRefund and is used to iterate over the raw logs and unpacked data for Refund events raised by the Transaction contract.

func (*TransactionRefundIterator) Close added in v0.0.4

func (it *TransactionRefundIterator) Close() error

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

func (*TransactionRefundIterator) Error added in v0.0.4

func (it *TransactionRefundIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*TransactionRefundIterator) Next added in v0.0.4

func (it *TransactionRefundIterator) 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 TransactionSession added in v0.0.4

type TransactionSession struct {
	Contract     *Transaction      // 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
}

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

func (*TransactionSession) BulkSendEth added in v0.0.4

func (_Transaction *TransactionSession) BulkSendEth(target common.Address, affiliates []common.Address) (*types.Transaction, error)

BulkSendEth is a paid mutator transaction binding the contract method 0x24501cd9.

Solidity: function bulkSendEth(address target, address[] affiliates) returns()

func (*TransactionSession) BulkSendEth0 added in v0.0.4

func (_Transaction *TransactionSession) BulkSendEth0(tokenAddr common.Address, amount *big.Int, target common.Address, affiliates []common.Address) (*types.Transaction, error)

BulkSendEth0 is a paid mutator transaction binding the contract method 0x3e917cb2.

Solidity: function bulkSendEth(address tokenAddr, uint256 amount, address target, address[] affiliates) returns()

func (*TransactionSession) Deposit added in v0.0.4

func (_Transaction *TransactionSession) Deposit() (*types.Transaction, error)

Deposit is a paid mutator transaction binding the contract method 0xd0e30db0.

Solidity: function deposit() returns(bool)

func (*TransactionSession) Destroy added in v0.0.4

func (_Transaction *TransactionSession) Destroy(_to common.Address) (*types.Transaction, error)

Destroy is a paid mutator transaction binding the contract method 0x00f55d9d.

Solidity: function destroy(address _to) returns()

func (*TransactionSession) FeePerc added in v0.0.4

func (_Transaction *TransactionSession) FeePerc() (uint8, error)

FeePerc is a free data retrieval call binding the contract method 0xef41ea7e.

Solidity: function feePerc() constant returns(uint8)

func (*TransactionSession) Getbalance added in v0.0.4

func (_Transaction *TransactionSession) Getbalance(addr common.Address) (*big.Int, error)

Getbalance is a free data retrieval call binding the contract method 0x68116177.

Solidity: function getbalance(address addr) constant returns(uint256 value)

func (*TransactionSession) InternalFeePerc added in v0.0.4

func (_Transaction *TransactionSession) InternalFeePerc() (uint8, error)

InternalFeePerc is a free data retrieval call binding the contract method 0xb4223c73.

Solidity: function internalFeePerc() constant returns(uint8)

func (*TransactionSession) Owner added in v0.0.4

func (_Transaction *TransactionSession) Owner() (common.Address, error)

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

Solidity: function owner() constant returns(address)

func (*TransactionSession) RewardPerc added in v0.0.4

func (_Transaction *TransactionSession) RewardPerc() (uint8, error)

RewardPerc is a free data retrieval call binding the contract method 0x8534ec23.

Solidity: function rewardPerc() constant returns(uint8)

func (*TransactionSession) SetAffiliatesPerc added in v0.0.4

func (_Transaction *TransactionSession) SetAffiliatesPerc(_affiliatesPerc []uint8) (*types.Transaction, error)

SetAffiliatesPerc is a paid mutator transaction binding the contract method 0x72a3bb54.

Solidity: function setAffiliatesPerc(uint8[] _affiliatesPerc) returns(bool success)

func (*TransactionSession) SetFeePerc added in v0.0.4

func (_Transaction *TransactionSession) SetFeePerc(_feePerc uint8) (*types.Transaction, error)

SetFeePerc is a paid mutator transaction binding the contract method 0xe115e6ae.

Solidity: function setFeePerc(uint8 _feePerc) returns(bool success)

func (*TransactionSession) SetInternalFeePerc added in v0.0.4

func (_Transaction *TransactionSession) SetInternalFeePerc(_internalFeePerc uint8) (*types.Transaction, error)

SetInternalFeePerc is a paid mutator transaction binding the contract method 0x40b4d178.

Solidity: function setInternalFeePerc(uint8 _internalFeePerc) returns(bool success)

func (*TransactionSession) SetPartners added in v0.0.4

func (_Transaction *TransactionSession) SetPartners(_partners []common.Address, _partnersPerc []uint8) (*types.Transaction, error)

SetPartners is a paid mutator transaction binding the contract method 0xdc82b667.

Solidity: function setPartners(address[] _partners, uint8[] _partnersPerc) returns(bool success)

func (*TransactionSession) SetRewardPerc added in v0.0.4

func (_Transaction *TransactionSession) SetRewardPerc(_rewardPerc uint8) (*types.Transaction, error)

SetRewardPerc is a paid mutator transaction binding the contract method 0xb8520102.

Solidity: function setRewardPerc(uint8 _rewardPerc) returns(bool success)

func (*TransactionSession) WithdrawEther added in v0.0.4

func (_Transaction *TransactionSession) WithdrawEther(addr common.Address, amount *big.Int) (*types.Transaction, error)

WithdrawEther is a paid mutator transaction binding the contract method 0x522f6815.

Solidity: function withdrawEther(address addr, uint256 amount) returns(bool success)

func (*TransactionSession) WithdrawToken added in v0.0.4

func (_Transaction *TransactionSession) WithdrawToken(tokenAddr common.Address, _to common.Address, _amount *big.Int) (*types.Transaction, error)

WithdrawToken is a paid mutator transaction binding the contract method 0x01e33667.

Solidity: function withdrawToken(address tokenAddr, address _to, uint256 _amount) returns(bool success)

type TransactionTransactor added in v0.0.4

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

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

func NewTransactionTransactor added in v0.0.4

func NewTransactionTransactor(address common.Address, transactor bind.ContractTransactor) (*TransactionTransactor, error)

NewTransactionTransactor creates a new write-only instance of Transaction, bound to a specific deployed contract.

func (*TransactionTransactor) BulkSendEth added in v0.0.4

func (_Transaction *TransactionTransactor) BulkSendEth(opts *bind.TransactOpts, target common.Address, affiliates []common.Address) (*types.Transaction, error)

BulkSendEth is a paid mutator transaction binding the contract method 0x24501cd9.

Solidity: function bulkSendEth(address target, address[] affiliates) returns()

func (*TransactionTransactor) BulkSendEth0 added in v0.0.4

func (_Transaction *TransactionTransactor) BulkSendEth0(opts *bind.TransactOpts, tokenAddr common.Address, amount *big.Int, target common.Address, affiliates []common.Address) (*types.Transaction, error)

BulkSendEth0 is a paid mutator transaction binding the contract method 0x3e917cb2.

Solidity: function bulkSendEth(address tokenAddr, uint256 amount, address target, address[] affiliates) returns()

func (*TransactionTransactor) Deposit added in v0.0.4

func (_Transaction *TransactionTransactor) Deposit(opts *bind.TransactOpts) (*types.Transaction, error)

Deposit is a paid mutator transaction binding the contract method 0xd0e30db0.

Solidity: function deposit() returns(bool)

func (*TransactionTransactor) Destroy added in v0.0.4

func (_Transaction *TransactionTransactor) Destroy(opts *bind.TransactOpts, _to common.Address) (*types.Transaction, error)

Destroy is a paid mutator transaction binding the contract method 0x00f55d9d.

Solidity: function destroy(address _to) returns()

func (*TransactionTransactor) SetAffiliatesPerc added in v0.0.4

func (_Transaction *TransactionTransactor) SetAffiliatesPerc(opts *bind.TransactOpts, _affiliatesPerc []uint8) (*types.Transaction, error)

SetAffiliatesPerc is a paid mutator transaction binding the contract method 0x72a3bb54.

Solidity: function setAffiliatesPerc(uint8[] _affiliatesPerc) returns(bool success)

func (*TransactionTransactor) SetFeePerc added in v0.0.4

func (_Transaction *TransactionTransactor) SetFeePerc(opts *bind.TransactOpts, _feePerc uint8) (*types.Transaction, error)

SetFeePerc is a paid mutator transaction binding the contract method 0xe115e6ae.

Solidity: function setFeePerc(uint8 _feePerc) returns(bool success)

func (*TransactionTransactor) SetInternalFeePerc added in v0.0.4

func (_Transaction *TransactionTransactor) SetInternalFeePerc(opts *bind.TransactOpts, _internalFeePerc uint8) (*types.Transaction, error)

SetInternalFeePerc is a paid mutator transaction binding the contract method 0x40b4d178.

Solidity: function setInternalFeePerc(uint8 _internalFeePerc) returns(bool success)

func (*TransactionTransactor) SetPartners added in v0.0.4

func (_Transaction *TransactionTransactor) SetPartners(opts *bind.TransactOpts, _partners []common.Address, _partnersPerc []uint8) (*types.Transaction, error)

SetPartners is a paid mutator transaction binding the contract method 0xdc82b667.

Solidity: function setPartners(address[] _partners, uint8[] _partnersPerc) returns(bool success)

func (*TransactionTransactor) SetRewardPerc added in v0.0.4

func (_Transaction *TransactionTransactor) SetRewardPerc(opts *bind.TransactOpts, _rewardPerc uint8) (*types.Transaction, error)

SetRewardPerc is a paid mutator transaction binding the contract method 0xb8520102.

Solidity: function setRewardPerc(uint8 _rewardPerc) returns(bool success)

func (*TransactionTransactor) WithdrawEther added in v0.0.4

func (_Transaction *TransactionTransactor) WithdrawEther(opts *bind.TransactOpts, addr common.Address, amount *big.Int) (*types.Transaction, error)

WithdrawEther is a paid mutator transaction binding the contract method 0x522f6815.

Solidity: function withdrawEther(address addr, uint256 amount) returns(bool success)

func (*TransactionTransactor) WithdrawToken added in v0.0.4

func (_Transaction *TransactionTransactor) WithdrawToken(opts *bind.TransactOpts, tokenAddr common.Address, _to common.Address, _amount *big.Int) (*types.Transaction, error)

WithdrawToken is a paid mutator transaction binding the contract method 0x01e33667.

Solidity: function withdrawToken(address tokenAddr, address _to, uint256 _amount) returns(bool success)

type TransactionTransactorRaw added in v0.0.4

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

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

func (*TransactionTransactorRaw) Transact added in v0.0.4

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

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

func (*TransactionTransactorRaw) Transfer added in v0.0.4

func (_Transaction *TransactionTransactorRaw) 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 TransactionTransactorSession added in v0.0.4

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

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

func (*TransactionTransactorSession) BulkSendEth added in v0.0.4

func (_Transaction *TransactionTransactorSession) BulkSendEth(target common.Address, affiliates []common.Address) (*types.Transaction, error)

BulkSendEth is a paid mutator transaction binding the contract method 0x24501cd9.

Solidity: function bulkSendEth(address target, address[] affiliates) returns()

func (*TransactionTransactorSession) BulkSendEth0 added in v0.0.4

func (_Transaction *TransactionTransactorSession) BulkSendEth0(tokenAddr common.Address, amount *big.Int, target common.Address, affiliates []common.Address) (*types.Transaction, error)

BulkSendEth0 is a paid mutator transaction binding the contract method 0x3e917cb2.

Solidity: function bulkSendEth(address tokenAddr, uint256 amount, address target, address[] affiliates) returns()

func (*TransactionTransactorSession) Deposit added in v0.0.4

func (_Transaction *TransactionTransactorSession) Deposit() (*types.Transaction, error)

Deposit is a paid mutator transaction binding the contract method 0xd0e30db0.

Solidity: function deposit() returns(bool)

func (*TransactionTransactorSession) Destroy added in v0.0.4

func (_Transaction *TransactionTransactorSession) Destroy(_to common.Address) (*types.Transaction, error)

Destroy is a paid mutator transaction binding the contract method 0x00f55d9d.

Solidity: function destroy(address _to) returns()

func (*TransactionTransactorSession) SetAffiliatesPerc added in v0.0.4

func (_Transaction *TransactionTransactorSession) SetAffiliatesPerc(_affiliatesPerc []uint8) (*types.Transaction, error)

SetAffiliatesPerc is a paid mutator transaction binding the contract method 0x72a3bb54.

Solidity: function setAffiliatesPerc(uint8[] _affiliatesPerc) returns(bool success)

func (*TransactionTransactorSession) SetFeePerc added in v0.0.4

func (_Transaction *TransactionTransactorSession) SetFeePerc(_feePerc uint8) (*types.Transaction, error)

SetFeePerc is a paid mutator transaction binding the contract method 0xe115e6ae.

Solidity: function setFeePerc(uint8 _feePerc) returns(bool success)

func (*TransactionTransactorSession) SetInternalFeePerc added in v0.0.4

func (_Transaction *TransactionTransactorSession) SetInternalFeePerc(_internalFeePerc uint8) (*types.Transaction, error)

SetInternalFeePerc is a paid mutator transaction binding the contract method 0x40b4d178.

Solidity: function setInternalFeePerc(uint8 _internalFeePerc) returns(bool success)

func (*TransactionTransactorSession) SetPartners added in v0.0.4

func (_Transaction *TransactionTransactorSession) SetPartners(_partners []common.Address, _partnersPerc []uint8) (*types.Transaction, error)

SetPartners is a paid mutator transaction binding the contract method 0xdc82b667.

Solidity: function setPartners(address[] _partners, uint8[] _partnersPerc) returns(bool success)

func (*TransactionTransactorSession) SetRewardPerc added in v0.0.4

func (_Transaction *TransactionTransactorSession) SetRewardPerc(_rewardPerc uint8) (*types.Transaction, error)

SetRewardPerc is a paid mutator transaction binding the contract method 0xb8520102.

Solidity: function setRewardPerc(uint8 _rewardPerc) returns(bool success)

func (*TransactionTransactorSession) WithdrawEther added in v0.0.4

func (_Transaction *TransactionTransactorSession) WithdrawEther(addr common.Address, amount *big.Int) (*types.Transaction, error)

WithdrawEther is a paid mutator transaction binding the contract method 0x522f6815.

Solidity: function withdrawEther(address addr, uint256 amount) returns(bool success)

func (*TransactionTransactorSession) WithdrawToken added in v0.0.4

func (_Transaction *TransactionTransactorSession) WithdrawToken(tokenAddr common.Address, _to common.Address, _amount *big.Int) (*types.Transaction, error)

WithdrawToken is a paid mutator transaction binding the contract method 0x01e33667.

Solidity: function withdrawToken(address tokenAddr, address _to, uint256 _amount) returns(bool success)

type TransactionTransfer added in v0.0.4

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

TransactionTransfer represents a Transfer event raised by the Transaction contract.

type TransactionTransferIterator added in v0.0.4

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

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

func (*TransactionTransferIterator) Close added in v0.0.4

func (it *TransactionTransferIterator) Close() error

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

func (*TransactionTransferIterator) Error added in v0.0.4

func (it *TransactionTransferIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*TransactionTransferIterator) Next added in v0.0.4

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