tokensplitter

package
v1.0.0-9 Latest Latest
Warning

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

Go to latest
Published: Oct 12, 2022 License: BSD-3-Clause Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var TokensplitterABI = TokensplitterMetaData.ABI

TokensplitterABI is the input ABI used to generate the binding from. Deprecated: Use TokensplitterMetaData.ABI instead.

View Source
var TokensplitterMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[{\"internalType\":\"address[]\",\"name\":\"_accounts\",\"type\":\"address[]\"},{\"internalType\":\"uint256[]\",\"name\":\"_shares\",\"type\":\"uint256[]\"},{\"internalType\":\"address\",\"name\":\"_hunterGovernanceToken\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"oldRecipient\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newRecipient\",\"type\":\"address\"}],\"name\":\"NewSharesOwner\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"previousOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferred\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"TokensTransferred\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"TOTAL_SHARES\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"accountInfo\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"shares\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"tokensDistributedToAccount\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"calculatePendingRewards\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"hunterGovernanceToken\",\"outputs\":[{\"internalType\":\"contractIERC20\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"releaseTokens\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"totalTokensDistributed\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_newRecipient\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_currentRecipient\",\"type\":\"address\"}],\"name\":\"updateSharesOwner\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
}

TokensplitterMetaData contains all meta data concerning the Tokensplitter contract.

Functions

This section is empty.

Types

type Tokensplitter

type Tokensplitter struct {
	TokensplitterCaller     // Read-only binding to the contract
	TokensplitterTransactor // Write-only binding to the contract
	TokensplitterFilterer   // Log filterer for contract events
}

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

func NewTokensplitter

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

NewTokensplitter creates a new instance of Tokensplitter, bound to a specific deployed contract.

type TokensplitterCaller

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

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

func NewTokensplitterCaller

func NewTokensplitterCaller(address common.Address, caller bind.ContractCaller) (*TokensplitterCaller, error)

NewTokensplitterCaller creates a new read-only instance of Tokensplitter, bound to a specific deployed contract.

func (*TokensplitterCaller) AccountInfo

func (_Tokensplitter *TokensplitterCaller) AccountInfo(opts *bind.CallOpts, arg0 common.Address) (struct {
	Shares                     *big.Int
	TokensDistributedToAccount *big.Int
}, error)

AccountInfo is a free data retrieval call binding the contract method 0xa7310b58.

Solidity: function accountInfo(address ) view returns(uint256 shares, uint256 tokensDistributedToAccount)

func (*TokensplitterCaller) CalculatePendingRewards

func (_Tokensplitter *TokensplitterCaller) CalculatePendingRewards(opts *bind.CallOpts, account common.Address) (*big.Int, error)

CalculatePendingRewards is a free data retrieval call binding the contract method 0x097aad10.

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

func (*TokensplitterCaller) HunterGovernanceToken

func (_Tokensplitter *TokensplitterCaller) HunterGovernanceToken(opts *bind.CallOpts) (common.Address, error)

HunterGovernanceToken is a free data retrieval call binding the contract method 0xf363264a.

Solidity: function hunterGovernanceToken() view returns(address)

func (*TokensplitterCaller) Owner

func (_Tokensplitter *TokensplitterCaller) Owner(opts *bind.CallOpts) (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*TokensplitterCaller) TOTALSHARES

func (_Tokensplitter *TokensplitterCaller) TOTALSHARES(opts *bind.CallOpts) (*big.Int, error)

TOTALSHARES is a free data retrieval call binding the contract method 0x85e3f997.

Solidity: function TOTAL_SHARES() view returns(uint256)

func (*TokensplitterCaller) TotalTokensDistributed

func (_Tokensplitter *TokensplitterCaller) TotalTokensDistributed(opts *bind.CallOpts) (*big.Int, error)

TotalTokensDistributed is a free data retrieval call binding the contract method 0xd8f163ab.

Solidity: function totalTokensDistributed() view returns(uint256)

type TokensplitterCallerRaw

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

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

func (*TokensplitterCallerRaw) Call

func (_Tokensplitter *TokensplitterCallerRaw) 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 TokensplitterCallerSession

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

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

func (*TokensplitterCallerSession) AccountInfo

func (_Tokensplitter *TokensplitterCallerSession) AccountInfo(arg0 common.Address) (struct {
	Shares                     *big.Int
	TokensDistributedToAccount *big.Int
}, error)

AccountInfo is a free data retrieval call binding the contract method 0xa7310b58.

Solidity: function accountInfo(address ) view returns(uint256 shares, uint256 tokensDistributedToAccount)

func (*TokensplitterCallerSession) CalculatePendingRewards

func (_Tokensplitter *TokensplitterCallerSession) CalculatePendingRewards(account common.Address) (*big.Int, error)

CalculatePendingRewards is a free data retrieval call binding the contract method 0x097aad10.

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

func (*TokensplitterCallerSession) HunterGovernanceToken

func (_Tokensplitter *TokensplitterCallerSession) HunterGovernanceToken() (common.Address, error)

HunterGovernanceToken is a free data retrieval call binding the contract method 0xf363264a.

Solidity: function hunterGovernanceToken() view returns(address)

func (*TokensplitterCallerSession) Owner

func (_Tokensplitter *TokensplitterCallerSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*TokensplitterCallerSession) TOTALSHARES

func (_Tokensplitter *TokensplitterCallerSession) TOTALSHARES() (*big.Int, error)

TOTALSHARES is a free data retrieval call binding the contract method 0x85e3f997.

Solidity: function TOTAL_SHARES() view returns(uint256)

func (*TokensplitterCallerSession) TotalTokensDistributed

func (_Tokensplitter *TokensplitterCallerSession) TotalTokensDistributed() (*big.Int, error)

TotalTokensDistributed is a free data retrieval call binding the contract method 0xd8f163ab.

Solidity: function totalTokensDistributed() view returns(uint256)

type TokensplitterFilterer

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

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

func NewTokensplitterFilterer

func NewTokensplitterFilterer(address common.Address, filterer bind.ContractFilterer) (*TokensplitterFilterer, error)

NewTokensplitterFilterer creates a new log filterer instance of Tokensplitter, bound to a specific deployed contract.

func (*TokensplitterFilterer) FilterNewSharesOwner

func (_Tokensplitter *TokensplitterFilterer) FilterNewSharesOwner(opts *bind.FilterOpts, oldRecipient []common.Address, newRecipient []common.Address) (*TokensplitterNewSharesOwnerIterator, error)

FilterNewSharesOwner is a free log retrieval operation binding the contract event 0x47eba4993da31bfed0680c802fb8577f1a9d57bb4c0881372fbe7ad29995a880.

Solidity: event NewSharesOwner(address indexed oldRecipient, address indexed newRecipient)

func (*TokensplitterFilterer) FilterOwnershipTransferred

func (_Tokensplitter *TokensplitterFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*TokensplitterOwnershipTransferredIterator, error)

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

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

func (*TokensplitterFilterer) FilterTokensTransferred

func (_Tokensplitter *TokensplitterFilterer) FilterTokensTransferred(opts *bind.FilterOpts, account []common.Address) (*TokensplitterTokensTransferredIterator, error)

FilterTokensTransferred is a free log retrieval operation binding the contract event 0x12f4533b5cbd2c9f8a0752a2d0b16379af992dbb2a0844a5007a19d983b3a934.

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

func (*TokensplitterFilterer) ParseNewSharesOwner

func (_Tokensplitter *TokensplitterFilterer) ParseNewSharesOwner(log types.Log) (*TokensplitterNewSharesOwner, error)

ParseNewSharesOwner is a log parse operation binding the contract event 0x47eba4993da31bfed0680c802fb8577f1a9d57bb4c0881372fbe7ad29995a880.

Solidity: event NewSharesOwner(address indexed oldRecipient, address indexed newRecipient)

func (*TokensplitterFilterer) ParseOwnershipTransferred

func (_Tokensplitter *TokensplitterFilterer) ParseOwnershipTransferred(log types.Log) (*TokensplitterOwnershipTransferred, error)

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

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

func (*TokensplitterFilterer) ParseTokensTransferred

func (_Tokensplitter *TokensplitterFilterer) ParseTokensTransferred(log types.Log) (*TokensplitterTokensTransferred, error)

ParseTokensTransferred is a log parse operation binding the contract event 0x12f4533b5cbd2c9f8a0752a2d0b16379af992dbb2a0844a5007a19d983b3a934.

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

func (*TokensplitterFilterer) WatchNewSharesOwner

func (_Tokensplitter *TokensplitterFilterer) WatchNewSharesOwner(opts *bind.WatchOpts, sink chan<- *TokensplitterNewSharesOwner, oldRecipient []common.Address, newRecipient []common.Address) (event.Subscription, error)

WatchNewSharesOwner is a free log subscription operation binding the contract event 0x47eba4993da31bfed0680c802fb8577f1a9d57bb4c0881372fbe7ad29995a880.

Solidity: event NewSharesOwner(address indexed oldRecipient, address indexed newRecipient)

func (*TokensplitterFilterer) WatchOwnershipTransferred

func (_Tokensplitter *TokensplitterFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *TokensplitterOwnershipTransferred, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error)

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

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

func (*TokensplitterFilterer) WatchTokensTransferred

func (_Tokensplitter *TokensplitterFilterer) WatchTokensTransferred(opts *bind.WatchOpts, sink chan<- *TokensplitterTokensTransferred, account []common.Address) (event.Subscription, error)

WatchTokensTransferred is a free log subscription operation binding the contract event 0x12f4533b5cbd2c9f8a0752a2d0b16379af992dbb2a0844a5007a19d983b3a934.

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

type TokensplitterNewSharesOwner

type TokensplitterNewSharesOwner struct {
	OldRecipient common.Address
	NewRecipient common.Address
	Raw          types.Log // Blockchain specific contextual infos
}

TokensplitterNewSharesOwner represents a NewSharesOwner event raised by the Tokensplitter contract.

type TokensplitterNewSharesOwnerIterator

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

TokensplitterNewSharesOwnerIterator is returned from FilterNewSharesOwner and is used to iterate over the raw logs and unpacked data for NewSharesOwner events raised by the Tokensplitter contract.

func (*TokensplitterNewSharesOwnerIterator) Close

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

func (*TokensplitterNewSharesOwnerIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*TokensplitterNewSharesOwnerIterator) 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 TokensplitterOwnershipTransferred

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

TokensplitterOwnershipTransferred represents a OwnershipTransferred event raised by the Tokensplitter contract.

type TokensplitterOwnershipTransferredIterator

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

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

func (*TokensplitterOwnershipTransferredIterator) Close

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

func (*TokensplitterOwnershipTransferredIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*TokensplitterOwnershipTransferredIterator) 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 TokensplitterRaw

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

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

func (*TokensplitterRaw) Call

func (_Tokensplitter *TokensplitterRaw) 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 (*TokensplitterRaw) Transact

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

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

func (*TokensplitterRaw) Transfer

func (_Tokensplitter *TokensplitterRaw) 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 TokensplitterSession

type TokensplitterSession struct {
	Contract     *Tokensplitter    // 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
}

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

func (*TokensplitterSession) AccountInfo

func (_Tokensplitter *TokensplitterSession) AccountInfo(arg0 common.Address) (struct {
	Shares                     *big.Int
	TokensDistributedToAccount *big.Int
}, error)

AccountInfo is a free data retrieval call binding the contract method 0xa7310b58.

Solidity: function accountInfo(address ) view returns(uint256 shares, uint256 tokensDistributedToAccount)

func (*TokensplitterSession) CalculatePendingRewards

func (_Tokensplitter *TokensplitterSession) CalculatePendingRewards(account common.Address) (*big.Int, error)

CalculatePendingRewards is a free data retrieval call binding the contract method 0x097aad10.

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

func (*TokensplitterSession) HunterGovernanceToken

func (_Tokensplitter *TokensplitterSession) HunterGovernanceToken() (common.Address, error)

HunterGovernanceToken is a free data retrieval call binding the contract method 0xf363264a.

Solidity: function hunterGovernanceToken() view returns(address)

func (*TokensplitterSession) Owner

func (_Tokensplitter *TokensplitterSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*TokensplitterSession) ReleaseTokens

func (_Tokensplitter *TokensplitterSession) ReleaseTokens(account common.Address) (*types.Transaction, error)

ReleaseTokens is a paid mutator transaction binding the contract method 0x87b0be48.

Solidity: function releaseTokens(address account) returns()

func (*TokensplitterSession) RenounceOwnership

func (_Tokensplitter *TokensplitterSession) RenounceOwnership() (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*TokensplitterSession) TOTALSHARES

func (_Tokensplitter *TokensplitterSession) TOTALSHARES() (*big.Int, error)

TOTALSHARES is a free data retrieval call binding the contract method 0x85e3f997.

Solidity: function TOTAL_SHARES() view returns(uint256)

func (*TokensplitterSession) TotalTokensDistributed

func (_Tokensplitter *TokensplitterSession) TotalTokensDistributed() (*big.Int, error)

TotalTokensDistributed is a free data retrieval call binding the contract method 0xd8f163ab.

Solidity: function totalTokensDistributed() view returns(uint256)

func (*TokensplitterSession) TransferOwnership

func (_Tokensplitter *TokensplitterSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)

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

Solidity: function transferOwnership(address newOwner) returns()

func (*TokensplitterSession) UpdateSharesOwner

func (_Tokensplitter *TokensplitterSession) UpdateSharesOwner(_newRecipient common.Address, _currentRecipient common.Address) (*types.Transaction, error)

UpdateSharesOwner is a paid mutator transaction binding the contract method 0x19281afd.

Solidity: function updateSharesOwner(address _newRecipient, address _currentRecipient) returns()

type TokensplitterTokensTransferred

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

TokensplitterTokensTransferred represents a TokensTransferred event raised by the Tokensplitter contract.

type TokensplitterTokensTransferredIterator

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

TokensplitterTokensTransferredIterator is returned from FilterTokensTransferred and is used to iterate over the raw logs and unpacked data for TokensTransferred events raised by the Tokensplitter contract.

func (*TokensplitterTokensTransferredIterator) Close

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

func (*TokensplitterTokensTransferredIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*TokensplitterTokensTransferredIterator) 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 TokensplitterTransactor

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

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

func NewTokensplitterTransactor

func NewTokensplitterTransactor(address common.Address, transactor bind.ContractTransactor) (*TokensplitterTransactor, error)

NewTokensplitterTransactor creates a new write-only instance of Tokensplitter, bound to a specific deployed contract.

func (*TokensplitterTransactor) ReleaseTokens

func (_Tokensplitter *TokensplitterTransactor) ReleaseTokens(opts *bind.TransactOpts, account common.Address) (*types.Transaction, error)

ReleaseTokens is a paid mutator transaction binding the contract method 0x87b0be48.

Solidity: function releaseTokens(address account) returns()

func (*TokensplitterTransactor) RenounceOwnership

func (_Tokensplitter *TokensplitterTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*TokensplitterTransactor) TransferOwnership

func (_Tokensplitter *TokensplitterTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)

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

Solidity: function transferOwnership(address newOwner) returns()

func (*TokensplitterTransactor) UpdateSharesOwner

func (_Tokensplitter *TokensplitterTransactor) UpdateSharesOwner(opts *bind.TransactOpts, _newRecipient common.Address, _currentRecipient common.Address) (*types.Transaction, error)

UpdateSharesOwner is a paid mutator transaction binding the contract method 0x19281afd.

Solidity: function updateSharesOwner(address _newRecipient, address _currentRecipient) returns()

type TokensplitterTransactorRaw

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

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

func (*TokensplitterTransactorRaw) Transact

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

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

func (*TokensplitterTransactorRaw) Transfer

func (_Tokensplitter *TokensplitterTransactorRaw) 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 TokensplitterTransactorSession

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

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

func (*TokensplitterTransactorSession) ReleaseTokens

func (_Tokensplitter *TokensplitterTransactorSession) ReleaseTokens(account common.Address) (*types.Transaction, error)

ReleaseTokens is a paid mutator transaction binding the contract method 0x87b0be48.

Solidity: function releaseTokens(address account) returns()

func (*TokensplitterTransactorSession) RenounceOwnership

func (_Tokensplitter *TokensplitterTransactorSession) RenounceOwnership() (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*TokensplitterTransactorSession) TransferOwnership

func (_Tokensplitter *TokensplitterTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)

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

Solidity: function transferOwnership(address newOwner) returns()

func (*TokensplitterTransactorSession) UpdateSharesOwner

func (_Tokensplitter *TokensplitterTransactorSession) UpdateSharesOwner(_newRecipient common.Address, _currentRecipient common.Address) (*types.Transaction, error)

UpdateSharesOwner is a paid mutator transaction binding the contract method 0x19281afd.

Solidity: function updateSharesOwner(address _newRecipient, address _currentRecipient) returns()

Jump to

Keyboard shortcuts

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