Documentation ¶
Index ¶
- Constants
- Variables
- func AuthAccount(key, passphrase string) *bind.TransactOpts
- type Connecter
- func (c *Connecter) AddToWhitelist(ownerAuth *bind.TransactOpts, addr common.Address) bool
- func (c *Connecter) BalanceOfCoin(addr common.Address) *big.Int
- func (c *Connecter) BalanceOfEth(addr common.Address) *big.Int
- func (c *Connecter) BlockNumber() *big.Int
- func (c *Connecter) ContractName() string
- func (c *Connecter) ExistsWhiteList(addr common.Address) bool
- func (c *Connecter) Mint(ownerAuth *bind.TransactOpts, addr common.Address, amount *big.Int) bool
- func (c *Connecter) MintLogs()
- func (c *Connecter) RemoveFromWhitelist(ownerAuth *bind.TransactOpts, addr common.Address) bool
- func (c *Connecter) TotalSupply() *big.Int
- func (c *Connecter) TransferCoin(fromAuth *bind.TransactOpts, to common.Address, amount *big.Int) bool
- func (c *Connecter) TransferLogs(froms []common.Address, tos []common.Address)
- func (c *Connecter) WatchTransferAndMint()
- type SuperCoin
- type SuperCoinApproval
- type SuperCoinApprovalIterator
- type SuperCoinCaller
- func (_SuperCoin *SuperCoinCaller) Allowance(opts *bind.CallOpts, _owner common.Address, _spender common.Address) (*big.Int, error)
- func (_SuperCoin *SuperCoinCaller) BalanceOf(opts *bind.CallOpts, _owner common.Address) (*big.Int, error)
- func (_SuperCoin *SuperCoinCaller) CAPSUPPLY(opts *bind.CallOpts) (*big.Int, error)
- func (_SuperCoin *SuperCoinCaller) Cap(opts *bind.CallOpts) (*big.Int, error)
- func (_SuperCoin *SuperCoinCaller) Decimals(opts *bind.CallOpts) (uint8, error)
- func (_SuperCoin *SuperCoinCaller) ExistedOnWhitelist(opts *bind.CallOpts, addr common.Address) (bool, error)
- func (_SuperCoin *SuperCoinCaller) INITIALSUPPLY(opts *bind.CallOpts) (*big.Int, error)
- func (_SuperCoin *SuperCoinCaller) MintingFinished(opts *bind.CallOpts) (bool, error)
- func (_SuperCoin *SuperCoinCaller) Name(opts *bind.CallOpts) (string, error)
- func (_SuperCoin *SuperCoinCaller) ONCEMAXMINT(opts *bind.CallOpts) (*big.Int, error)
- func (_SuperCoin *SuperCoinCaller) Owner(opts *bind.CallOpts) (common.Address, error)
- func (_SuperCoin *SuperCoinCaller) Symbol(opts *bind.CallOpts) (string, error)
- func (_SuperCoin *SuperCoinCaller) TotalSupply(opts *bind.CallOpts) (*big.Int, error)
- func (_SuperCoin *SuperCoinCaller) Whitelist(opts *bind.CallOpts, arg0 common.Address) (bool, error)
- type SuperCoinCallerRaw
- type SuperCoinCallerSession
- func (_SuperCoin *SuperCoinCallerSession) Allowance(_owner common.Address, _spender common.Address) (*big.Int, error)
- func (_SuperCoin *SuperCoinCallerSession) BalanceOf(_owner common.Address) (*big.Int, error)
- func (_SuperCoin *SuperCoinCallerSession) CAPSUPPLY() (*big.Int, error)
- func (_SuperCoin *SuperCoinCallerSession) Cap() (*big.Int, error)
- func (_SuperCoin *SuperCoinCallerSession) Decimals() (uint8, error)
- func (_SuperCoin *SuperCoinCallerSession) ExistedOnWhitelist(addr common.Address) (bool, error)
- func (_SuperCoin *SuperCoinCallerSession) INITIALSUPPLY() (*big.Int, error)
- func (_SuperCoin *SuperCoinCallerSession) MintingFinished() (bool, error)
- func (_SuperCoin *SuperCoinCallerSession) Name() (string, error)
- func (_SuperCoin *SuperCoinCallerSession) ONCEMAXMINT() (*big.Int, error)
- func (_SuperCoin *SuperCoinCallerSession) Owner() (common.Address, error)
- func (_SuperCoin *SuperCoinCallerSession) Symbol() (string, error)
- func (_SuperCoin *SuperCoinCallerSession) TotalSupply() (*big.Int, error)
- func (_SuperCoin *SuperCoinCallerSession) Whitelist(arg0 common.Address) (bool, error)
- type SuperCoinFilterer
- func (_SuperCoin *SuperCoinFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*SuperCoinApprovalIterator, error)
- func (_SuperCoin *SuperCoinFilterer) FilterMint(opts *bind.FilterOpts, to []common.Address) (*SuperCoinMintIterator, error)
- func (_SuperCoin *SuperCoinFilterer) FilterMintFinished(opts *bind.FilterOpts) (*SuperCoinMintFinishedIterator, error)
- func (_SuperCoin *SuperCoinFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, ...) (*SuperCoinOwnershipTransferredIterator, error)
- func (_SuperCoin *SuperCoinFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*SuperCoinTransferIterator, error)
- func (_SuperCoin *SuperCoinFilterer) FilterWhitelistedAddressAdded(opts *bind.FilterOpts) (*SuperCoinWhitelistedAddressAddedIterator, error)
- func (_SuperCoin *SuperCoinFilterer) FilterWhitelistedAddressRemoved(opts *bind.FilterOpts) (*SuperCoinWhitelistedAddressRemovedIterator, error)
- func (_SuperCoin *SuperCoinFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *SuperCoinApproval, owner []common.Address, ...) (event.Subscription, error)
- func (_SuperCoin *SuperCoinFilterer) WatchMint(opts *bind.WatchOpts, sink chan<- *SuperCoinMint, to []common.Address) (event.Subscription, error)
- func (_SuperCoin *SuperCoinFilterer) WatchMintFinished(opts *bind.WatchOpts, sink chan<- *SuperCoinMintFinished) (event.Subscription, error)
- func (_SuperCoin *SuperCoinFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *SuperCoinOwnershipTransferred, ...) (event.Subscription, error)
- func (_SuperCoin *SuperCoinFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *SuperCoinTransfer, from []common.Address, ...) (event.Subscription, error)
- func (_SuperCoin *SuperCoinFilterer) WatchWhitelistedAddressAdded(opts *bind.WatchOpts, sink chan<- *SuperCoinWhitelistedAddressAdded) (event.Subscription, error)
- func (_SuperCoin *SuperCoinFilterer) WatchWhitelistedAddressRemoved(opts *bind.WatchOpts, sink chan<- *SuperCoinWhitelistedAddressRemoved) (event.Subscription, error)
- type SuperCoinMint
- type SuperCoinMintFinished
- type SuperCoinMintFinishedIterator
- type SuperCoinMintIterator
- type SuperCoinOwnershipTransferred
- type SuperCoinOwnershipTransferredIterator
- type SuperCoinRaw
- func (_SuperCoin *SuperCoinRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error
- func (_SuperCoin *SuperCoinRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_SuperCoin *SuperCoinRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type SuperCoinSession
- func (_SuperCoin *SuperCoinSession) AddToWhitelist(addr common.Address) (*types.Transaction, error)
- func (_SuperCoin *SuperCoinSession) Allowance(_owner common.Address, _spender common.Address) (*big.Int, error)
- func (_SuperCoin *SuperCoinSession) Approve(_spender common.Address, _value *big.Int) (*types.Transaction, error)
- func (_SuperCoin *SuperCoinSession) BalanceOf(_owner common.Address) (*big.Int, error)
- func (_SuperCoin *SuperCoinSession) CAPSUPPLY() (*big.Int, error)
- func (_SuperCoin *SuperCoinSession) Cap() (*big.Int, error)
- func (_SuperCoin *SuperCoinSession) Decimals() (uint8, error)
- func (_SuperCoin *SuperCoinSession) DecreaseApproval(_spender common.Address, _subtractedValue *big.Int) (*types.Transaction, error)
- func (_SuperCoin *SuperCoinSession) ExistedOnWhitelist(addr common.Address) (bool, error)
- func (_SuperCoin *SuperCoinSession) FinishMinting() (*types.Transaction, error)
- func (_SuperCoin *SuperCoinSession) INITIALSUPPLY() (*big.Int, error)
- func (_SuperCoin *SuperCoinSession) IncreaseApproval(_spender common.Address, _addedValue *big.Int) (*types.Transaction, error)
- func (_SuperCoin *SuperCoinSession) Mint(to common.Address, amount *big.Int) (*types.Transaction, error)
- func (_SuperCoin *SuperCoinSession) MintingFinished() (bool, error)
- func (_SuperCoin *SuperCoinSession) Name() (string, error)
- func (_SuperCoin *SuperCoinSession) ONCEMAXMINT() (*big.Int, error)
- func (_SuperCoin *SuperCoinSession) Owner() (common.Address, error)
- func (_SuperCoin *SuperCoinSession) RemoveFromWhitelist(addr common.Address) (*types.Transaction, error)
- func (_SuperCoin *SuperCoinSession) Symbol() (string, error)
- func (_SuperCoin *SuperCoinSession) TotalSupply() (*big.Int, error)
- func (_SuperCoin *SuperCoinSession) Transfer(_to common.Address, _value *big.Int) (*types.Transaction, error)
- func (_SuperCoin *SuperCoinSession) TransferFrom(_from common.Address, _to common.Address, _value *big.Int) (*types.Transaction, error)
- func (_SuperCoin *SuperCoinSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
- func (_SuperCoin *SuperCoinSession) Whitelist(arg0 common.Address) (bool, error)
- type SuperCoinTransactor
- func (_SuperCoin *SuperCoinTransactor) AddToWhitelist(opts *bind.TransactOpts, addr common.Address) (*types.Transaction, error)
- func (_SuperCoin *SuperCoinTransactor) Approve(opts *bind.TransactOpts, _spender common.Address, _value *big.Int) (*types.Transaction, error)
- func (_SuperCoin *SuperCoinTransactor) DecreaseApproval(opts *bind.TransactOpts, _spender common.Address, _subtractedValue *big.Int) (*types.Transaction, error)
- func (_SuperCoin *SuperCoinTransactor) FinishMinting(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_SuperCoin *SuperCoinTransactor) IncreaseApproval(opts *bind.TransactOpts, _spender common.Address, _addedValue *big.Int) (*types.Transaction, error)
- func (_SuperCoin *SuperCoinTransactor) Mint(opts *bind.TransactOpts, to common.Address, amount *big.Int) (*types.Transaction, error)
- func (_SuperCoin *SuperCoinTransactor) RemoveFromWhitelist(opts *bind.TransactOpts, addr common.Address) (*types.Transaction, error)
- func (_SuperCoin *SuperCoinTransactor) Transfer(opts *bind.TransactOpts, _to common.Address, _value *big.Int) (*types.Transaction, error)
- func (_SuperCoin *SuperCoinTransactor) TransferFrom(opts *bind.TransactOpts, _from common.Address, _to common.Address, ...) (*types.Transaction, error)
- func (_SuperCoin *SuperCoinTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)
- type SuperCoinTransactorRaw
- type SuperCoinTransactorSession
- func (_SuperCoin *SuperCoinTransactorSession) AddToWhitelist(addr common.Address) (*types.Transaction, error)
- func (_SuperCoin *SuperCoinTransactorSession) Approve(_spender common.Address, _value *big.Int) (*types.Transaction, error)
- func (_SuperCoin *SuperCoinTransactorSession) DecreaseApproval(_spender common.Address, _subtractedValue *big.Int) (*types.Transaction, error)
- func (_SuperCoin *SuperCoinTransactorSession) FinishMinting() (*types.Transaction, error)
- func (_SuperCoin *SuperCoinTransactorSession) IncreaseApproval(_spender common.Address, _addedValue *big.Int) (*types.Transaction, error)
- func (_SuperCoin *SuperCoinTransactorSession) Mint(to common.Address, amount *big.Int) (*types.Transaction, error)
- func (_SuperCoin *SuperCoinTransactorSession) RemoveFromWhitelist(addr common.Address) (*types.Transaction, error)
- func (_SuperCoin *SuperCoinTransactorSession) Transfer(_to common.Address, _value *big.Int) (*types.Transaction, error)
- func (_SuperCoin *SuperCoinTransactorSession) TransferFrom(_from common.Address, _to common.Address, _value *big.Int) (*types.Transaction, error)
- func (_SuperCoin *SuperCoinTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
- type SuperCoinTransfer
- type SuperCoinTransferIterator
- type SuperCoinWhitelistedAddressAdded
- type SuperCoinWhitelistedAddressAddedIterator
- type SuperCoinWhitelistedAddressRemoved
- type SuperCoinWhitelistedAddressRemovedIterator
Constants ¶
const SuperCoinABI = "" /* 6575-byte string literal not displayed */
SuperCoinABI is the input ABI used to generate the binding from.
const SuperCoinBin = `` /* 18232-byte string literal not displayed */
SuperCoinBin is the compiled bytecode used for deploying new contracts.
Variables ¶
var ( // CoinAddr superCoin 合约地址 CoinAddr = common.HexToAddress("0x84F70FEa5Ba54323C0EF85c58A47c98E1a2fe2Db") // CoinHash superCoin 合约地址Hash CoinHash = CoinAddr.Hash() )
Functions ¶
func AuthAccount ¶
func AuthAccount(key, passphrase string) *bind.TransactOpts
AuthAccount 解锁账户 正式使用时候,此处应该限制GasPrice和GasLimit
Types ¶
type Connecter ¶
type Connecter struct {
// contains filtered or unexported fields
}
Connecter SuperCoin连接者
func NewConnecterWithDeploy ¶
func NewConnecterWithDeploy(ownerAuth *bind.TransactOpts) *Connecter
NewConnecterWithDeploy 部署合约,并创建一个connecter
func (*Connecter) AddToWhitelist ¶
AddToWhitelist 地址是否在白名单
func (*Connecter) BalanceOfCoin ¶
BalanceOfCoin SuperCoin余额
func (*Connecter) BalanceOfEth ¶
BalanceOfEth 以太币余额
func (*Connecter) ExistsWhiteList ¶
ExistsWhiteList 地址是否在白名单
func (*Connecter) RemoveFromWhitelist ¶
RemoveFromWhitelist 地址是否在白名单
func (*Connecter) TotalSupply ¶
TotalSupply SuperCoin已铸币量
func (*Connecter) TransferCoin ¶
func (c *Connecter) TransferCoin(fromAuth *bind.TransactOpts, to common.Address, amount *big.Int) bool
TransferCoin SuperCoin转账
func (*Connecter) TransferLogs ¶
TransferLogs SuperCoin转账记录
func (*Connecter) WatchTransferAndMint ¶
func (c *Connecter) WatchTransferAndMint()
WatchTransferAndMint 监听transfer和mint事件
type SuperCoin ¶
type SuperCoin struct { SuperCoinCaller // Read-only binding to the contract SuperCoinTransactor // Write-only binding to the contract SuperCoinFilterer // Log filterer for contract events }
SuperCoin is an auto generated Go binding around an Ethereum contract.
func DeploySuperCoin ¶
func DeploySuperCoin(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *SuperCoin, error)
DeploySuperCoin deploys a new Ethereum contract, binding an instance of SuperCoin to it.
func NewSuperCoin ¶
NewSuperCoin creates a new instance of SuperCoin, bound to a specific deployed contract.
type SuperCoinApproval ¶
type SuperCoinApproval struct { Owner common.Address Spender common.Address Value *big.Int Raw types.Log // Blockchain specific contextual infos }
SuperCoinApproval represents a Approval event raised by the SuperCoin contract.
type SuperCoinApprovalIterator ¶
type SuperCoinApprovalIterator struct { Event *SuperCoinApproval // Event containing the contract specifics and raw log // contains filtered or unexported fields }
SuperCoinApprovalIterator is returned from FilterApproval and is used to iterate over the raw logs and unpacked data for Approval events raised by the SuperCoin contract.
func (*SuperCoinApprovalIterator) Close ¶
func (it *SuperCoinApprovalIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*SuperCoinApprovalIterator) Error ¶
func (it *SuperCoinApprovalIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*SuperCoinApprovalIterator) Next ¶
func (it *SuperCoinApprovalIterator) 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 SuperCoinCaller ¶
type SuperCoinCaller struct {
// contains filtered or unexported fields
}
SuperCoinCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewSuperCoinCaller ¶
func NewSuperCoinCaller(address common.Address, caller bind.ContractCaller) (*SuperCoinCaller, error)
NewSuperCoinCaller creates a new read-only instance of SuperCoin, bound to a specific deployed contract.
func (*SuperCoinCaller) Allowance ¶
func (_SuperCoin *SuperCoinCaller) 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(_owner address, _spender address) constant returns(uint256)
func (*SuperCoinCaller) BalanceOf ¶
func (_SuperCoin *SuperCoinCaller) BalanceOf(opts *bind.CallOpts, _owner common.Address) (*big.Int, error)
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(_owner address) constant returns(balance uint256)
func (*SuperCoinCaller) CAPSUPPLY ¶
CAPSUPPLY is a free data retrieval call binding the contract method 0x070c0c4e.
Solidity: function CAP_SUPPLY() constant returns(uint256)
func (*SuperCoinCaller) Cap ¶
Cap is a free data retrieval call binding the contract method 0x355274ea.
Solidity: function cap() constant returns(uint256)
func (*SuperCoinCaller) Decimals ¶
func (_SuperCoin *SuperCoinCaller) Decimals(opts *bind.CallOpts) (uint8, error)
Decimals is a free data retrieval call binding the contract method 0x313ce567.
Solidity: function decimals() constant returns(uint8)
func (*SuperCoinCaller) ExistedOnWhitelist ¶
func (_SuperCoin *SuperCoinCaller) ExistedOnWhitelist(opts *bind.CallOpts, addr common.Address) (bool, error)
ExistedOnWhitelist is a free data retrieval call binding the contract method 0x8ab905d4.
Solidity: function existedOnWhitelist(addr address) constant returns(bool)
func (*SuperCoinCaller) INITIALSUPPLY ¶
INITIALSUPPLY is a free data retrieval call binding the contract method 0x2ff2e9dc.
Solidity: function INITIAL_SUPPLY() constant returns(uint256)
func (*SuperCoinCaller) MintingFinished ¶
func (_SuperCoin *SuperCoinCaller) MintingFinished(opts *bind.CallOpts) (bool, error)
MintingFinished is a free data retrieval call binding the contract method 0x05d2035b.
Solidity: function mintingFinished() constant returns(bool)
func (*SuperCoinCaller) Name ¶
func (_SuperCoin *SuperCoinCaller) Name(opts *bind.CallOpts) (string, error)
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() constant returns(string)
func (*SuperCoinCaller) ONCEMAXMINT ¶
ONCEMAXMINT is a free data retrieval call binding the contract method 0x9aabb18c.
Solidity: function ONCE_MAX_MINT() constant returns(uint256)
func (*SuperCoinCaller) Owner ¶
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() constant returns(address)
func (*SuperCoinCaller) Symbol ¶
func (_SuperCoin *SuperCoinCaller) Symbol(opts *bind.CallOpts) (string, error)
Symbol is a free data retrieval call binding the contract method 0x95d89b41.
Solidity: function symbol() constant returns(string)
func (*SuperCoinCaller) TotalSupply ¶
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() constant returns(uint256)
type SuperCoinCallerRaw ¶
type SuperCoinCallerRaw struct {
Contract *SuperCoinCaller // Generic read-only contract binding to access the raw methods on
}
SuperCoinCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*SuperCoinCallerRaw) Call ¶
func (_SuperCoin *SuperCoinCallerRaw) 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 SuperCoinCallerSession ¶
type SuperCoinCallerSession struct { Contract *SuperCoinCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
SuperCoinCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*SuperCoinCallerSession) Allowance ¶
func (_SuperCoin *SuperCoinCallerSession) 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(_owner address, _spender address) constant returns(uint256)
func (*SuperCoinCallerSession) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(_owner address) constant returns(balance uint256)
func (*SuperCoinCallerSession) CAPSUPPLY ¶
func (_SuperCoin *SuperCoinCallerSession) CAPSUPPLY() (*big.Int, error)
CAPSUPPLY is a free data retrieval call binding the contract method 0x070c0c4e.
Solidity: function CAP_SUPPLY() constant returns(uint256)
func (*SuperCoinCallerSession) Cap ¶
func (_SuperCoin *SuperCoinCallerSession) Cap() (*big.Int, error)
Cap is a free data retrieval call binding the contract method 0x355274ea.
Solidity: function cap() constant returns(uint256)
func (*SuperCoinCallerSession) Decimals ¶
func (_SuperCoin *SuperCoinCallerSession) Decimals() (uint8, error)
Decimals is a free data retrieval call binding the contract method 0x313ce567.
Solidity: function decimals() constant returns(uint8)
func (*SuperCoinCallerSession) ExistedOnWhitelist ¶
func (_SuperCoin *SuperCoinCallerSession) ExistedOnWhitelist(addr common.Address) (bool, error)
ExistedOnWhitelist is a free data retrieval call binding the contract method 0x8ab905d4.
Solidity: function existedOnWhitelist(addr address) constant returns(bool)
func (*SuperCoinCallerSession) INITIALSUPPLY ¶
func (_SuperCoin *SuperCoinCallerSession) INITIALSUPPLY() (*big.Int, error)
INITIALSUPPLY is a free data retrieval call binding the contract method 0x2ff2e9dc.
Solidity: function INITIAL_SUPPLY() constant returns(uint256)
func (*SuperCoinCallerSession) MintingFinished ¶
func (_SuperCoin *SuperCoinCallerSession) MintingFinished() (bool, error)
MintingFinished is a free data retrieval call binding the contract method 0x05d2035b.
Solidity: function mintingFinished() constant returns(bool)
func (*SuperCoinCallerSession) Name ¶
func (_SuperCoin *SuperCoinCallerSession) Name() (string, error)
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() constant returns(string)
func (*SuperCoinCallerSession) ONCEMAXMINT ¶
func (_SuperCoin *SuperCoinCallerSession) ONCEMAXMINT() (*big.Int, error)
ONCEMAXMINT is a free data retrieval call binding the contract method 0x9aabb18c.
Solidity: function ONCE_MAX_MINT() constant returns(uint256)
func (*SuperCoinCallerSession) Owner ¶
func (_SuperCoin *SuperCoinCallerSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() constant returns(address)
func (*SuperCoinCallerSession) Symbol ¶
func (_SuperCoin *SuperCoinCallerSession) Symbol() (string, error)
Symbol is a free data retrieval call binding the contract method 0x95d89b41.
Solidity: function symbol() constant returns(string)
func (*SuperCoinCallerSession) TotalSupply ¶
func (_SuperCoin *SuperCoinCallerSession) TotalSupply() (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() constant returns(uint256)
type SuperCoinFilterer ¶
type SuperCoinFilterer struct {
// contains filtered or unexported fields
}
SuperCoinFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewSuperCoinFilterer ¶
func NewSuperCoinFilterer(address common.Address, filterer bind.ContractFilterer) (*SuperCoinFilterer, error)
NewSuperCoinFilterer creates a new log filterer instance of SuperCoin, bound to a specific deployed contract.
func (*SuperCoinFilterer) FilterApproval ¶
func (_SuperCoin *SuperCoinFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*SuperCoinApprovalIterator, error)
FilterApproval is a free log retrieval operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.
Solidity: event Approval(owner indexed address, spender indexed address, value uint256)
func (*SuperCoinFilterer) FilterMint ¶
func (_SuperCoin *SuperCoinFilterer) FilterMint(opts *bind.FilterOpts, to []common.Address) (*SuperCoinMintIterator, error)
FilterMint is a free log retrieval operation binding the contract event 0x0f6798a560793a54c3bcfe86a93cde1e73087d944c0ea20544137d4121396885.
Solidity: event Mint(to indexed address, amount uint256)
func (*SuperCoinFilterer) FilterMintFinished ¶
func (_SuperCoin *SuperCoinFilterer) FilterMintFinished(opts *bind.FilterOpts) (*SuperCoinMintFinishedIterator, error)
FilterMintFinished is a free log retrieval operation binding the contract event 0xae5184fba832cb2b1f702aca6117b8d265eaf03ad33eb133f19dde0f5920fa08.
Solidity: event MintFinished()
func (*SuperCoinFilterer) FilterOwnershipTransferred ¶
func (_SuperCoin *SuperCoinFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*SuperCoinOwnershipTransferredIterator, error)
FilterOwnershipTransferred is a free log retrieval operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(previousOwner indexed address, newOwner indexed address)
func (*SuperCoinFilterer) FilterTransfer ¶
func (_SuperCoin *SuperCoinFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*SuperCoinTransferIterator, error)
FilterTransfer is a free log retrieval operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.
Solidity: event Transfer(from indexed address, to indexed address, value uint256)
func (*SuperCoinFilterer) FilterWhitelistedAddressAdded ¶
func (_SuperCoin *SuperCoinFilterer) FilterWhitelistedAddressAdded(opts *bind.FilterOpts) (*SuperCoinWhitelistedAddressAddedIterator, error)
FilterWhitelistedAddressAdded is a free log retrieval operation binding the contract event 0xd1bba68c128cc3f427e5831b3c6f99f480b6efa6b9e80c757768f6124158cc3f.
Solidity: event WhitelistedAddressAdded(addr address)
func (*SuperCoinFilterer) FilterWhitelistedAddressRemoved ¶
func (_SuperCoin *SuperCoinFilterer) FilterWhitelistedAddressRemoved(opts *bind.FilterOpts) (*SuperCoinWhitelistedAddressRemovedIterator, error)
FilterWhitelistedAddressRemoved is a free log retrieval operation binding the contract event 0xf1abf01a1043b7c244d128e8595cf0c1d10743b022b03a02dffd8ca3bf729f5a.
Solidity: event WhitelistedAddressRemoved(addr address)
func (*SuperCoinFilterer) WatchApproval ¶
func (_SuperCoin *SuperCoinFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *SuperCoinApproval, owner []common.Address, spender []common.Address) (event.Subscription, error)
WatchApproval is a free log subscription operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.
Solidity: event Approval(owner indexed address, spender indexed address, value uint256)
func (*SuperCoinFilterer) WatchMint ¶
func (_SuperCoin *SuperCoinFilterer) WatchMint(opts *bind.WatchOpts, sink chan<- *SuperCoinMint, to []common.Address) (event.Subscription, error)
WatchMint is a free log subscription operation binding the contract event 0x0f6798a560793a54c3bcfe86a93cde1e73087d944c0ea20544137d4121396885.
Solidity: event Mint(to indexed address, amount uint256)
func (*SuperCoinFilterer) WatchMintFinished ¶
func (_SuperCoin *SuperCoinFilterer) WatchMintFinished(opts *bind.WatchOpts, sink chan<- *SuperCoinMintFinished) (event.Subscription, error)
WatchMintFinished is a free log subscription operation binding the contract event 0xae5184fba832cb2b1f702aca6117b8d265eaf03ad33eb133f19dde0f5920fa08.
Solidity: event MintFinished()
func (*SuperCoinFilterer) WatchOwnershipTransferred ¶
func (_SuperCoin *SuperCoinFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *SuperCoinOwnershipTransferred, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error)
WatchOwnershipTransferred is a free log subscription operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(previousOwner indexed address, newOwner indexed address)
func (*SuperCoinFilterer) WatchTransfer ¶
func (_SuperCoin *SuperCoinFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *SuperCoinTransfer, from []common.Address, to []common.Address) (event.Subscription, error)
WatchTransfer is a free log subscription operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.
Solidity: event Transfer(from indexed address, to indexed address, value uint256)
func (*SuperCoinFilterer) WatchWhitelistedAddressAdded ¶
func (_SuperCoin *SuperCoinFilterer) WatchWhitelistedAddressAdded(opts *bind.WatchOpts, sink chan<- *SuperCoinWhitelistedAddressAdded) (event.Subscription, error)
WatchWhitelistedAddressAdded is a free log subscription operation binding the contract event 0xd1bba68c128cc3f427e5831b3c6f99f480b6efa6b9e80c757768f6124158cc3f.
Solidity: event WhitelistedAddressAdded(addr address)
func (*SuperCoinFilterer) WatchWhitelistedAddressRemoved ¶
func (_SuperCoin *SuperCoinFilterer) WatchWhitelistedAddressRemoved(opts *bind.WatchOpts, sink chan<- *SuperCoinWhitelistedAddressRemoved) (event.Subscription, error)
WatchWhitelistedAddressRemoved is a free log subscription operation binding the contract event 0xf1abf01a1043b7c244d128e8595cf0c1d10743b022b03a02dffd8ca3bf729f5a.
Solidity: event WhitelistedAddressRemoved(addr address)
type SuperCoinMint ¶
type SuperCoinMint struct { To common.Address Amount *big.Int Raw types.Log // Blockchain specific contextual infos }
SuperCoinMint represents a Mint event raised by the SuperCoin contract.
func (*SuperCoinMint) String ¶
func (s *SuperCoinMint) String() string
type SuperCoinMintFinished ¶
SuperCoinMintFinished represents a MintFinished event raised by the SuperCoin contract.
type SuperCoinMintFinishedIterator ¶
type SuperCoinMintFinishedIterator struct { Event *SuperCoinMintFinished // Event containing the contract specifics and raw log // contains filtered or unexported fields }
SuperCoinMintFinishedIterator is returned from FilterMintFinished and is used to iterate over the raw logs and unpacked data for MintFinished events raised by the SuperCoin contract.
func (*SuperCoinMintFinishedIterator) Close ¶
func (it *SuperCoinMintFinishedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*SuperCoinMintFinishedIterator) Error ¶
func (it *SuperCoinMintFinishedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*SuperCoinMintFinishedIterator) Next ¶
func (it *SuperCoinMintFinishedIterator) 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 SuperCoinMintIterator ¶
type SuperCoinMintIterator struct { Event *SuperCoinMint // Event containing the contract specifics and raw log // contains filtered or unexported fields }
SuperCoinMintIterator is returned from FilterMint and is used to iterate over the raw logs and unpacked data for Mint events raised by the SuperCoin contract.
func (*SuperCoinMintIterator) Close ¶
func (it *SuperCoinMintIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*SuperCoinMintIterator) Error ¶
func (it *SuperCoinMintIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*SuperCoinMintIterator) Next ¶
func (it *SuperCoinMintIterator) 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 SuperCoinOwnershipTransferred ¶
type SuperCoinOwnershipTransferred struct { PreviousOwner common.Address NewOwner common.Address Raw types.Log // Blockchain specific contextual infos }
SuperCoinOwnershipTransferred represents a OwnershipTransferred event raised by the SuperCoin contract.
type SuperCoinOwnershipTransferredIterator ¶
type SuperCoinOwnershipTransferredIterator struct { Event *SuperCoinOwnershipTransferred // Event containing the contract specifics and raw log // contains filtered or unexported fields }
SuperCoinOwnershipTransferredIterator is returned from FilterOwnershipTransferred and is used to iterate over the raw logs and unpacked data for OwnershipTransferred events raised by the SuperCoin contract.
func (*SuperCoinOwnershipTransferredIterator) Close ¶
func (it *SuperCoinOwnershipTransferredIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*SuperCoinOwnershipTransferredIterator) Error ¶
func (it *SuperCoinOwnershipTransferredIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*SuperCoinOwnershipTransferredIterator) Next ¶
func (it *SuperCoinOwnershipTransferredIterator) 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 SuperCoinRaw ¶
type SuperCoinRaw struct {
Contract *SuperCoin // Generic contract binding to access the raw methods on
}
SuperCoinRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*SuperCoinRaw) Call ¶
func (_SuperCoin *SuperCoinRaw) 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 (*SuperCoinRaw) Transact ¶
func (_SuperCoin *SuperCoinRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*SuperCoinRaw) Transfer ¶
func (_SuperCoin *SuperCoinRaw) 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 SuperCoinSession ¶
type SuperCoinSession struct { Contract *SuperCoin // 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 }
SuperCoinSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*SuperCoinSession) AddToWhitelist ¶
func (_SuperCoin *SuperCoinSession) AddToWhitelist(addr common.Address) (*types.Transaction, error)
AddToWhitelist is a paid mutator transaction binding the contract method 0xe43252d7.
Solidity: function addToWhitelist(addr address) returns(bool)
func (*SuperCoinSession) Allowance ¶
func (_SuperCoin *SuperCoinSession) 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(_owner address, _spender address) constant returns(uint256)
func (*SuperCoinSession) Approve ¶
func (_SuperCoin *SuperCoinSession) Approve(_spender common.Address, _value *big.Int) (*types.Transaction, error)
Approve is a paid mutator transaction binding the contract method 0x095ea7b3.
Solidity: function approve(_spender address, _value uint256) returns(bool)
func (*SuperCoinSession) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(_owner address) constant returns(balance uint256)
func (*SuperCoinSession) CAPSUPPLY ¶
func (_SuperCoin *SuperCoinSession) CAPSUPPLY() (*big.Int, error)
CAPSUPPLY is a free data retrieval call binding the contract method 0x070c0c4e.
Solidity: function CAP_SUPPLY() constant returns(uint256)
func (*SuperCoinSession) Cap ¶
func (_SuperCoin *SuperCoinSession) Cap() (*big.Int, error)
Cap is a free data retrieval call binding the contract method 0x355274ea.
Solidity: function cap() constant returns(uint256)
func (*SuperCoinSession) Decimals ¶
func (_SuperCoin *SuperCoinSession) Decimals() (uint8, error)
Decimals is a free data retrieval call binding the contract method 0x313ce567.
Solidity: function decimals() constant returns(uint8)
func (*SuperCoinSession) DecreaseApproval ¶
func (_SuperCoin *SuperCoinSession) DecreaseApproval(_spender common.Address, _subtractedValue *big.Int) (*types.Transaction, error)
DecreaseApproval is a paid mutator transaction binding the contract method 0x66188463.
Solidity: function decreaseApproval(_spender address, _subtractedValue uint256) returns(bool)
func (*SuperCoinSession) ExistedOnWhitelist ¶
func (_SuperCoin *SuperCoinSession) ExistedOnWhitelist(addr common.Address) (bool, error)
ExistedOnWhitelist is a free data retrieval call binding the contract method 0x8ab905d4.
Solidity: function existedOnWhitelist(addr address) constant returns(bool)
func (*SuperCoinSession) FinishMinting ¶
func (_SuperCoin *SuperCoinSession) FinishMinting() (*types.Transaction, error)
FinishMinting is a paid mutator transaction binding the contract method 0x7d64bcb4.
Solidity: function finishMinting() returns(bool)
func (*SuperCoinSession) INITIALSUPPLY ¶
func (_SuperCoin *SuperCoinSession) INITIALSUPPLY() (*big.Int, error)
INITIALSUPPLY is a free data retrieval call binding the contract method 0x2ff2e9dc.
Solidity: function INITIAL_SUPPLY() constant returns(uint256)
func (*SuperCoinSession) IncreaseApproval ¶
func (_SuperCoin *SuperCoinSession) IncreaseApproval(_spender common.Address, _addedValue *big.Int) (*types.Transaction, error)
IncreaseApproval is a paid mutator transaction binding the contract method 0xd73dd623.
Solidity: function increaseApproval(_spender address, _addedValue uint256) returns(bool)
func (*SuperCoinSession) Mint ¶
func (_SuperCoin *SuperCoinSession) Mint(to common.Address, amount *big.Int) (*types.Transaction, error)
Mint is a paid mutator transaction binding the contract method 0x40c10f19.
Solidity: function mint(to address, amount uint256) returns(bool)
func (*SuperCoinSession) MintingFinished ¶
func (_SuperCoin *SuperCoinSession) MintingFinished() (bool, error)
MintingFinished is a free data retrieval call binding the contract method 0x05d2035b.
Solidity: function mintingFinished() constant returns(bool)
func (*SuperCoinSession) Name ¶
func (_SuperCoin *SuperCoinSession) Name() (string, error)
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() constant returns(string)
func (*SuperCoinSession) ONCEMAXMINT ¶
func (_SuperCoin *SuperCoinSession) ONCEMAXMINT() (*big.Int, error)
ONCEMAXMINT is a free data retrieval call binding the contract method 0x9aabb18c.
Solidity: function ONCE_MAX_MINT() constant returns(uint256)
func (*SuperCoinSession) Owner ¶
func (_SuperCoin *SuperCoinSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() constant returns(address)
func (*SuperCoinSession) RemoveFromWhitelist ¶
func (_SuperCoin *SuperCoinSession) RemoveFromWhitelist(addr common.Address) (*types.Transaction, error)
RemoveFromWhitelist is a paid mutator transaction binding the contract method 0x8ab1d681.
Solidity: function removeFromWhitelist(addr address) returns(bool)
func (*SuperCoinSession) Symbol ¶
func (_SuperCoin *SuperCoinSession) Symbol() (string, error)
Symbol is a free data retrieval call binding the contract method 0x95d89b41.
Solidity: function symbol() constant returns(string)
func (*SuperCoinSession) TotalSupply ¶
func (_SuperCoin *SuperCoinSession) TotalSupply() (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() constant returns(uint256)
func (*SuperCoinSession) Transfer ¶
func (_SuperCoin *SuperCoinSession) Transfer(_to common.Address, _value *big.Int) (*types.Transaction, error)
Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.
Solidity: function transfer(_to address, _value uint256) returns(bool)
func (*SuperCoinSession) TransferFrom ¶
func (_SuperCoin *SuperCoinSession) TransferFrom(_from common.Address, _to common.Address, _value *big.Int) (*types.Transaction, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(_from address, _to address, _value uint256) returns(bool)
func (*SuperCoinSession) TransferOwnership ¶
func (_SuperCoin *SuperCoinSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(newOwner address) returns()
type SuperCoinTransactor ¶
type SuperCoinTransactor struct {
// contains filtered or unexported fields
}
SuperCoinTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewSuperCoinTransactor ¶
func NewSuperCoinTransactor(address common.Address, transactor bind.ContractTransactor) (*SuperCoinTransactor, error)
NewSuperCoinTransactor creates a new write-only instance of SuperCoin, bound to a specific deployed contract.
func (*SuperCoinTransactor) AddToWhitelist ¶
func (_SuperCoin *SuperCoinTransactor) AddToWhitelist(opts *bind.TransactOpts, addr common.Address) (*types.Transaction, error)
AddToWhitelist is a paid mutator transaction binding the contract method 0xe43252d7.
Solidity: function addToWhitelist(addr address) returns(bool)
func (*SuperCoinTransactor) Approve ¶
func (_SuperCoin *SuperCoinTransactor) Approve(opts *bind.TransactOpts, _spender common.Address, _value *big.Int) (*types.Transaction, error)
Approve is a paid mutator transaction binding the contract method 0x095ea7b3.
Solidity: function approve(_spender address, _value uint256) returns(bool)
func (*SuperCoinTransactor) DecreaseApproval ¶
func (_SuperCoin *SuperCoinTransactor) DecreaseApproval(opts *bind.TransactOpts, _spender common.Address, _subtractedValue *big.Int) (*types.Transaction, error)
DecreaseApproval is a paid mutator transaction binding the contract method 0x66188463.
Solidity: function decreaseApproval(_spender address, _subtractedValue uint256) returns(bool)
func (*SuperCoinTransactor) FinishMinting ¶
func (_SuperCoin *SuperCoinTransactor) FinishMinting(opts *bind.TransactOpts) (*types.Transaction, error)
FinishMinting is a paid mutator transaction binding the contract method 0x7d64bcb4.
Solidity: function finishMinting() returns(bool)
func (*SuperCoinTransactor) IncreaseApproval ¶
func (_SuperCoin *SuperCoinTransactor) IncreaseApproval(opts *bind.TransactOpts, _spender common.Address, _addedValue *big.Int) (*types.Transaction, error)
IncreaseApproval is a paid mutator transaction binding the contract method 0xd73dd623.
Solidity: function increaseApproval(_spender address, _addedValue uint256) returns(bool)
func (*SuperCoinTransactor) Mint ¶
func (_SuperCoin *SuperCoinTransactor) Mint(opts *bind.TransactOpts, to common.Address, amount *big.Int) (*types.Transaction, error)
Mint is a paid mutator transaction binding the contract method 0x40c10f19.
Solidity: function mint(to address, amount uint256) returns(bool)
func (*SuperCoinTransactor) RemoveFromWhitelist ¶
func (_SuperCoin *SuperCoinTransactor) RemoveFromWhitelist(opts *bind.TransactOpts, addr common.Address) (*types.Transaction, error)
RemoveFromWhitelist is a paid mutator transaction binding the contract method 0x8ab1d681.
Solidity: function removeFromWhitelist(addr address) returns(bool)
func (*SuperCoinTransactor) Transfer ¶
func (_SuperCoin *SuperCoinTransactor) Transfer(opts *bind.TransactOpts, _to common.Address, _value *big.Int) (*types.Transaction, error)
Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.
Solidity: function transfer(_to address, _value uint256) returns(bool)
func (*SuperCoinTransactor) TransferFrom ¶
func (_SuperCoin *SuperCoinTransactor) TransferFrom(opts *bind.TransactOpts, _from common.Address, _to common.Address, _value *big.Int) (*types.Transaction, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(_from address, _to address, _value uint256) returns(bool)
func (*SuperCoinTransactor) TransferOwnership ¶
func (_SuperCoin *SuperCoinTransactor) 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()
type SuperCoinTransactorRaw ¶
type SuperCoinTransactorRaw struct {
Contract *SuperCoinTransactor // Generic write-only contract binding to access the raw methods on
}
SuperCoinTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*SuperCoinTransactorRaw) Transact ¶
func (_SuperCoin *SuperCoinTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*SuperCoinTransactorRaw) Transfer ¶
func (_SuperCoin *SuperCoinTransactorRaw) 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 SuperCoinTransactorSession ¶
type SuperCoinTransactorSession struct { Contract *SuperCoinTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
SuperCoinTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*SuperCoinTransactorSession) AddToWhitelist ¶
func (_SuperCoin *SuperCoinTransactorSession) AddToWhitelist(addr common.Address) (*types.Transaction, error)
AddToWhitelist is a paid mutator transaction binding the contract method 0xe43252d7.
Solidity: function addToWhitelist(addr address) returns(bool)
func (*SuperCoinTransactorSession) Approve ¶
func (_SuperCoin *SuperCoinTransactorSession) Approve(_spender common.Address, _value *big.Int) (*types.Transaction, error)
Approve is a paid mutator transaction binding the contract method 0x095ea7b3.
Solidity: function approve(_spender address, _value uint256) returns(bool)
func (*SuperCoinTransactorSession) DecreaseApproval ¶
func (_SuperCoin *SuperCoinTransactorSession) DecreaseApproval(_spender common.Address, _subtractedValue *big.Int) (*types.Transaction, error)
DecreaseApproval is a paid mutator transaction binding the contract method 0x66188463.
Solidity: function decreaseApproval(_spender address, _subtractedValue uint256) returns(bool)
func (*SuperCoinTransactorSession) FinishMinting ¶
func (_SuperCoin *SuperCoinTransactorSession) FinishMinting() (*types.Transaction, error)
FinishMinting is a paid mutator transaction binding the contract method 0x7d64bcb4.
Solidity: function finishMinting() returns(bool)
func (*SuperCoinTransactorSession) IncreaseApproval ¶
func (_SuperCoin *SuperCoinTransactorSession) IncreaseApproval(_spender common.Address, _addedValue *big.Int) (*types.Transaction, error)
IncreaseApproval is a paid mutator transaction binding the contract method 0xd73dd623.
Solidity: function increaseApproval(_spender address, _addedValue uint256) returns(bool)
func (*SuperCoinTransactorSession) Mint ¶
func (_SuperCoin *SuperCoinTransactorSession) Mint(to common.Address, amount *big.Int) (*types.Transaction, error)
Mint is a paid mutator transaction binding the contract method 0x40c10f19.
Solidity: function mint(to address, amount uint256) returns(bool)
func (*SuperCoinTransactorSession) RemoveFromWhitelist ¶
func (_SuperCoin *SuperCoinTransactorSession) RemoveFromWhitelist(addr common.Address) (*types.Transaction, error)
RemoveFromWhitelist is a paid mutator transaction binding the contract method 0x8ab1d681.
Solidity: function removeFromWhitelist(addr address) returns(bool)
func (*SuperCoinTransactorSession) Transfer ¶
func (_SuperCoin *SuperCoinTransactorSession) Transfer(_to common.Address, _value *big.Int) (*types.Transaction, error)
Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.
Solidity: function transfer(_to address, _value uint256) returns(bool)
func (*SuperCoinTransactorSession) TransferFrom ¶
func (_SuperCoin *SuperCoinTransactorSession) TransferFrom(_from common.Address, _to common.Address, _value *big.Int) (*types.Transaction, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(_from address, _to address, _value uint256) returns(bool)
func (*SuperCoinTransactorSession) TransferOwnership ¶
func (_SuperCoin *SuperCoinTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(newOwner address) returns()
type SuperCoinTransfer ¶
type SuperCoinTransfer struct { From common.Address To common.Address Value *big.Int Raw types.Log // Blockchain specific contextual infos }
SuperCoinTransfer represents a Transfer event raised by the SuperCoin contract.
func (*SuperCoinTransfer) String ¶
func (s *SuperCoinTransfer) String() string
type SuperCoinTransferIterator ¶
type SuperCoinTransferIterator struct { Event *SuperCoinTransfer // Event containing the contract specifics and raw log // contains filtered or unexported fields }
SuperCoinTransferIterator is returned from FilterTransfer and is used to iterate over the raw logs and unpacked data for Transfer events raised by the SuperCoin contract.
func (*SuperCoinTransferIterator) Close ¶
func (it *SuperCoinTransferIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*SuperCoinTransferIterator) Error ¶
func (it *SuperCoinTransferIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*SuperCoinTransferIterator) Next ¶
func (it *SuperCoinTransferIterator) 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 SuperCoinWhitelistedAddressAdded ¶
type SuperCoinWhitelistedAddressAdded struct { Addr common.Address Raw types.Log // Blockchain specific contextual infos }
SuperCoinWhitelistedAddressAdded represents a WhitelistedAddressAdded event raised by the SuperCoin contract.
type SuperCoinWhitelistedAddressAddedIterator ¶
type SuperCoinWhitelistedAddressAddedIterator struct { Event *SuperCoinWhitelistedAddressAdded // Event containing the contract specifics and raw log // contains filtered or unexported fields }
SuperCoinWhitelistedAddressAddedIterator is returned from FilterWhitelistedAddressAdded and is used to iterate over the raw logs and unpacked data for WhitelistedAddressAdded events raised by the SuperCoin contract.
func (*SuperCoinWhitelistedAddressAddedIterator) Close ¶
func (it *SuperCoinWhitelistedAddressAddedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*SuperCoinWhitelistedAddressAddedIterator) Error ¶
func (it *SuperCoinWhitelistedAddressAddedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*SuperCoinWhitelistedAddressAddedIterator) Next ¶
func (it *SuperCoinWhitelistedAddressAddedIterator) 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 SuperCoinWhitelistedAddressRemoved ¶
type SuperCoinWhitelistedAddressRemoved struct { Addr common.Address Raw types.Log // Blockchain specific contextual infos }
SuperCoinWhitelistedAddressRemoved represents a WhitelistedAddressRemoved event raised by the SuperCoin contract.
type SuperCoinWhitelistedAddressRemovedIterator ¶
type SuperCoinWhitelistedAddressRemovedIterator struct { Event *SuperCoinWhitelistedAddressRemoved // Event containing the contract specifics and raw log // contains filtered or unexported fields }
SuperCoinWhitelistedAddressRemovedIterator is returned from FilterWhitelistedAddressRemoved and is used to iterate over the raw logs and unpacked data for WhitelistedAddressRemoved events raised by the SuperCoin contract.
func (*SuperCoinWhitelistedAddressRemovedIterator) Close ¶
func (it *SuperCoinWhitelistedAddressRemovedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*SuperCoinWhitelistedAddressRemovedIterator) Error ¶
func (it *SuperCoinWhitelistedAddressRemovedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*SuperCoinWhitelistedAddressRemovedIterator) Next ¶
func (it *SuperCoinWhitelistedAddressRemovedIterator) 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.