ethereum

package
v0.0.0-...-c477d60 Latest Latest
Warning

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

Go to latest
Published: Sep 12, 2019 License: GPL-3.0 Imports: 17 Imported by: 2

README

Contract information

Generate Go Bindings for contracts

To generate the bindings for ERC20.sol, one would write the following:

solc --bin --abi -o ./compiled --overwrite --allow-paths . ./zeppelin-contracts/fin4/AllPurpose.sol
abigen --abi compiled/AllPurpose.abi --pkg ethereum --type AllPurpose --out AllPurpose.go --bin compiled/AllPurpose.bin
abigen --abi compiled/AllPurposeCapped.abi --pkg ethereum --type AllPurposeCapped --out AllPurposeCapped.go --bin compiled/AllPurposeCapped.bin

Where to find the contracts

Tokens written by the Fin4 team can be found in ./zeppelin-contracts/fin4. The rest of the contracts have been written by OpenZeppelin.

The contracts

./zeppelin-contracts/fin4/AllPurpose.sol contains two contracts: AllPurpose and AllPurposeCapped. AllPurpose is a generic ERC20 token which gives the creator the option to make it mintable, burnable, and/or transferable, or not. AllPurposeCapped has the same capabilities as AllPurpose and is capped.

Documentation

Index

Constants

View Source
const AllPurposeABI = "" /* 7160-byte string literal not displayed */

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

View Source
const AllPurposeBin = `` /* 21940-byte string literal not displayed */

AllPurposeBin is the compiled bytecode used for deploying new contracts.

View Source
const AllPurposeCappedABI = "" /* 7372-byte string literal not displayed */

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

View Source
const AllPurposeCappedBin = `` /* 22528-byte string literal not displayed */

AllPurposeCappedBin is the compiled bytecode used for deploying new contracts.

View Source
const MintableABI = "" /* 4620-byte string literal not displayed */

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

View Source
const MintableBin = `` /* 14354-byte string literal not displayed */

MintableBin is the compiled bytecode used for deploying new contracts.

Variables

This section is empty.

Functions

func MustNewEthRPC

func MustNewEthRPC(url string) *ethrpc.EthRPC

MustNewEthRPC creates a new eth rpc client

Types

type AllPurpose

type AllPurpose struct {
	AllPurposeCaller     // Read-only binding to the contract
	AllPurposeTransactor // Write-only binding to the contract
	AllPurposeFilterer   // Log filterer for contract events
}

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

func DeployAllPurpose

func DeployAllPurpose(auth *bind.TransactOpts, backend bind.ContractBackend, name_ string, symbol_ string, decimals_ uint8, minter common.Address, isBurnable_ bool, isTransferable_ bool, isMintable_ bool, initialSupply *big.Int) (common.Address, *types.Transaction, *AllPurpose, error)

DeployAllPurpose deploys a new Ethereum contract, binding an instance of AllPurpose to it.

func NewAllPurpose

func NewAllPurpose(address common.Address, backend bind.ContractBackend) (*AllPurpose, error)

NewAllPurpose creates a new instance of AllPurpose, bound to a specific deployed contract.

type AllPurposeApproval

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

AllPurposeApproval represents a Approval event raised by the AllPurpose contract.

type AllPurposeApprovalIterator

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

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

func (*AllPurposeApprovalIterator) Close

func (it *AllPurposeApprovalIterator) Close() error

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

func (*AllPurposeApprovalIterator) Error

func (it *AllPurposeApprovalIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*AllPurposeApprovalIterator) Next

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

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

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

func NewAllPurposeCaller

func NewAllPurposeCaller(address common.Address, caller bind.ContractCaller) (*AllPurposeCaller, error)

NewAllPurposeCaller creates a new read-only instance of AllPurpose, bound to a specific deployed contract.

func (*AllPurposeCaller) Allowance

func (_AllPurpose *AllPurposeCaller) 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 (*AllPurposeCaller) BalanceOf

func (_AllPurpose *AllPurposeCaller) 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(address owner) constant returns(uint256)

func (*AllPurposeCaller) Decimals

func (_AllPurpose *AllPurposeCaller) 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 (*AllPurposeCaller) IsBurnable

func (_AllPurpose *AllPurposeCaller) IsBurnable(opts *bind.CallOpts) (bool, error)

IsBurnable is a free data retrieval call binding the contract method 0x883356d9.

Solidity: function isBurnable() constant returns(bool)

func (*AllPurposeCaller) IsMintable

func (_AllPurpose *AllPurposeCaller) IsMintable(opts *bind.CallOpts) (bool, error)

IsMintable is a free data retrieval call binding the contract method 0x46b45af7.

Solidity: function isMintable() constant returns(bool)

func (*AllPurposeCaller) IsMinter

func (_AllPurpose *AllPurposeCaller) IsMinter(opts *bind.CallOpts, account common.Address) (bool, error)

IsMinter is a free data retrieval call binding the contract method 0xaa271e1a.

Solidity: function isMinter(address account) constant returns(bool)

func (*AllPurposeCaller) IsPauser

func (_AllPurpose *AllPurposeCaller) IsPauser(opts *bind.CallOpts, account common.Address) (bool, error)

IsPauser is a free data retrieval call binding the contract method 0x46fbf68e.

Solidity: function isPauser(address account) constant returns(bool)

func (*AllPurposeCaller) IsTransferable

func (_AllPurpose *AllPurposeCaller) IsTransferable(opts *bind.CallOpts) (bool, error)

IsTransferable is a free data retrieval call binding the contract method 0x2121dc75.

Solidity: function isTransferable() constant returns(bool)

func (*AllPurposeCaller) Name

func (_AllPurpose *AllPurposeCaller) 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 (*AllPurposeCaller) Paused

func (_AllPurpose *AllPurposeCaller) Paused(opts *bind.CallOpts) (bool, error)

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

Solidity: function paused() constant returns(bool)

func (*AllPurposeCaller) Symbol

func (_AllPurpose *AllPurposeCaller) 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 (*AllPurposeCaller) TotalSupply

func (_AllPurpose *AllPurposeCaller) 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 AllPurposeCallerRaw

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

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

func (*AllPurposeCallerRaw) Call

func (_AllPurpose *AllPurposeCallerRaw) 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 AllPurposeCallerSession

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

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

func (*AllPurposeCallerSession) Allowance

func (_AllPurpose *AllPurposeCallerSession) 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 (*AllPurposeCallerSession) BalanceOf

func (_AllPurpose *AllPurposeCallerSession) BalanceOf(owner common.Address) (*big.Int, error)

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

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

func (*AllPurposeCallerSession) Decimals

func (_AllPurpose *AllPurposeCallerSession) Decimals() (uint8, error)

Decimals is a free data retrieval call binding the contract method 0x313ce567.

Solidity: function decimals() constant returns(uint8)

func (*AllPurposeCallerSession) IsBurnable

func (_AllPurpose *AllPurposeCallerSession) IsBurnable() (bool, error)

IsBurnable is a free data retrieval call binding the contract method 0x883356d9.

Solidity: function isBurnable() constant returns(bool)

func (*AllPurposeCallerSession) IsMintable

func (_AllPurpose *AllPurposeCallerSession) IsMintable() (bool, error)

IsMintable is a free data retrieval call binding the contract method 0x46b45af7.

Solidity: function isMintable() constant returns(bool)

func (*AllPurposeCallerSession) IsMinter

func (_AllPurpose *AllPurposeCallerSession) IsMinter(account common.Address) (bool, error)

IsMinter is a free data retrieval call binding the contract method 0xaa271e1a.

Solidity: function isMinter(address account) constant returns(bool)

func (*AllPurposeCallerSession) IsPauser

func (_AllPurpose *AllPurposeCallerSession) IsPauser(account common.Address) (bool, error)

IsPauser is a free data retrieval call binding the contract method 0x46fbf68e.

Solidity: function isPauser(address account) constant returns(bool)

func (*AllPurposeCallerSession) IsTransferable

func (_AllPurpose *AllPurposeCallerSession) IsTransferable() (bool, error)

IsTransferable is a free data retrieval call binding the contract method 0x2121dc75.

Solidity: function isTransferable() constant returns(bool)

func (*AllPurposeCallerSession) Name

func (_AllPurpose *AllPurposeCallerSession) Name() (string, error)

Name is a free data retrieval call binding the contract method 0x06fdde03.

Solidity: function name() constant returns(string)

func (*AllPurposeCallerSession) Paused

func (_AllPurpose *AllPurposeCallerSession) Paused() (bool, error)

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

Solidity: function paused() constant returns(bool)

func (*AllPurposeCallerSession) Symbol

func (_AllPurpose *AllPurposeCallerSession) Symbol() (string, error)

Symbol is a free data retrieval call binding the contract method 0x95d89b41.

Solidity: function symbol() constant returns(string)

func (*AllPurposeCallerSession) TotalSupply

func (_AllPurpose *AllPurposeCallerSession) TotalSupply() (*big.Int, error)

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

Solidity: function totalSupply() constant returns(uint256)

type AllPurposeCapped

type AllPurposeCapped struct {
	AllPurposeCappedCaller     // Read-only binding to the contract
	AllPurposeCappedTransactor // Write-only binding to the contract
	AllPurposeCappedFilterer   // Log filterer for contract events
}

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

func DeployAllPurposeCapped

func DeployAllPurposeCapped(auth *bind.TransactOpts, backend bind.ContractBackend, name_ string, symbol_ string, decimals_ uint8, minter common.Address, isBurnable_ bool, cap_ *big.Int, isTransferable_ bool, isMintable_ bool, initialSupply *big.Int) (common.Address, *types.Transaction, *AllPurposeCapped, error)

DeployAllPurposeCapped deploys a new Ethereum contract, binding an instance of AllPurposeCapped to it.

func NewAllPurposeCapped

func NewAllPurposeCapped(address common.Address, backend bind.ContractBackend) (*AllPurposeCapped, error)

NewAllPurposeCapped creates a new instance of AllPurposeCapped, bound to a specific deployed contract.

type AllPurposeCappedApproval

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

AllPurposeCappedApproval represents a Approval event raised by the AllPurposeCapped contract.

type AllPurposeCappedApprovalIterator

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

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

func (*AllPurposeCappedApprovalIterator) Close

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

func (*AllPurposeCappedApprovalIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*AllPurposeCappedApprovalIterator) 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 AllPurposeCappedCaller

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

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

func NewAllPurposeCappedCaller

func NewAllPurposeCappedCaller(address common.Address, caller bind.ContractCaller) (*AllPurposeCappedCaller, error)

NewAllPurposeCappedCaller creates a new read-only instance of AllPurposeCapped, bound to a specific deployed contract.

func (*AllPurposeCappedCaller) Allowance

func (_AllPurposeCapped *AllPurposeCappedCaller) 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 (*AllPurposeCappedCaller) BalanceOf

func (_AllPurposeCapped *AllPurposeCappedCaller) 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(address owner) constant returns(uint256)

func (*AllPurposeCappedCaller) Cap

func (_AllPurposeCapped *AllPurposeCappedCaller) Cap(opts *bind.CallOpts) (*big.Int, error)

Cap is a free data retrieval call binding the contract method 0x355274ea.

Solidity: function cap() constant returns(uint256)

func (*AllPurposeCappedCaller) Decimals

func (_AllPurposeCapped *AllPurposeCappedCaller) 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 (*AllPurposeCappedCaller) IsBurnable

func (_AllPurposeCapped *AllPurposeCappedCaller) IsBurnable(opts *bind.CallOpts) (bool, error)

IsBurnable is a free data retrieval call binding the contract method 0x883356d9.

Solidity: function isBurnable() constant returns(bool)

func (*AllPurposeCappedCaller) IsMintable

func (_AllPurposeCapped *AllPurposeCappedCaller) IsMintable(opts *bind.CallOpts) (bool, error)

IsMintable is a free data retrieval call binding the contract method 0x46b45af7.

Solidity: function isMintable() constant returns(bool)

func (*AllPurposeCappedCaller) IsMinter

func (_AllPurposeCapped *AllPurposeCappedCaller) IsMinter(opts *bind.CallOpts, account common.Address) (bool, error)

IsMinter is a free data retrieval call binding the contract method 0xaa271e1a.

Solidity: function isMinter(address account) constant returns(bool)

func (*AllPurposeCappedCaller) IsPauser

func (_AllPurposeCapped *AllPurposeCappedCaller) IsPauser(opts *bind.CallOpts, account common.Address) (bool, error)

IsPauser is a free data retrieval call binding the contract method 0x46fbf68e.

Solidity: function isPauser(address account) constant returns(bool)

func (*AllPurposeCappedCaller) IsTransferable

func (_AllPurposeCapped *AllPurposeCappedCaller) IsTransferable(opts *bind.CallOpts) (bool, error)

IsTransferable is a free data retrieval call binding the contract method 0x2121dc75.

Solidity: function isTransferable() constant returns(bool)

func (*AllPurposeCappedCaller) Name

func (_AllPurposeCapped *AllPurposeCappedCaller) 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 (*AllPurposeCappedCaller) Paused

func (_AllPurposeCapped *AllPurposeCappedCaller) Paused(opts *bind.CallOpts) (bool, error)

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

Solidity: function paused() constant returns(bool)

func (*AllPurposeCappedCaller) Symbol

func (_AllPurposeCapped *AllPurposeCappedCaller) 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 (*AllPurposeCappedCaller) TotalSupply

func (_AllPurposeCapped *AllPurposeCappedCaller) 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 AllPurposeCappedCallerRaw

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

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

func (*AllPurposeCappedCallerRaw) Call

func (_AllPurposeCapped *AllPurposeCappedCallerRaw) 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 AllPurposeCappedCallerSession

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

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

func (*AllPurposeCappedCallerSession) Allowance

func (_AllPurposeCapped *AllPurposeCappedCallerSession) 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 (*AllPurposeCappedCallerSession) BalanceOf

func (_AllPurposeCapped *AllPurposeCappedCallerSession) BalanceOf(owner common.Address) (*big.Int, error)

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

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

func (*AllPurposeCappedCallerSession) Cap

func (_AllPurposeCapped *AllPurposeCappedCallerSession) Cap() (*big.Int, error)

Cap is a free data retrieval call binding the contract method 0x355274ea.

Solidity: function cap() constant returns(uint256)

func (*AllPurposeCappedCallerSession) Decimals

func (_AllPurposeCapped *AllPurposeCappedCallerSession) Decimals() (uint8, error)

Decimals is a free data retrieval call binding the contract method 0x313ce567.

Solidity: function decimals() constant returns(uint8)

func (*AllPurposeCappedCallerSession) IsBurnable

func (_AllPurposeCapped *AllPurposeCappedCallerSession) IsBurnable() (bool, error)

IsBurnable is a free data retrieval call binding the contract method 0x883356d9.

Solidity: function isBurnable() constant returns(bool)

func (*AllPurposeCappedCallerSession) IsMintable

func (_AllPurposeCapped *AllPurposeCappedCallerSession) IsMintable() (bool, error)

IsMintable is a free data retrieval call binding the contract method 0x46b45af7.

Solidity: function isMintable() constant returns(bool)

func (*AllPurposeCappedCallerSession) IsMinter

func (_AllPurposeCapped *AllPurposeCappedCallerSession) IsMinter(account common.Address) (bool, error)

IsMinter is a free data retrieval call binding the contract method 0xaa271e1a.

Solidity: function isMinter(address account) constant returns(bool)

func (*AllPurposeCappedCallerSession) IsPauser

func (_AllPurposeCapped *AllPurposeCappedCallerSession) IsPauser(account common.Address) (bool, error)

IsPauser is a free data retrieval call binding the contract method 0x46fbf68e.

Solidity: function isPauser(address account) constant returns(bool)

func (*AllPurposeCappedCallerSession) IsTransferable

func (_AllPurposeCapped *AllPurposeCappedCallerSession) IsTransferable() (bool, error)

IsTransferable is a free data retrieval call binding the contract method 0x2121dc75.

Solidity: function isTransferable() constant returns(bool)

func (*AllPurposeCappedCallerSession) Name

func (_AllPurposeCapped *AllPurposeCappedCallerSession) Name() (string, error)

Name is a free data retrieval call binding the contract method 0x06fdde03.

Solidity: function name() constant returns(string)

func (*AllPurposeCappedCallerSession) Paused

func (_AllPurposeCapped *AllPurposeCappedCallerSession) Paused() (bool, error)

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

Solidity: function paused() constant returns(bool)

func (*AllPurposeCappedCallerSession) Symbol

func (_AllPurposeCapped *AllPurposeCappedCallerSession) Symbol() (string, error)

Symbol is a free data retrieval call binding the contract method 0x95d89b41.

Solidity: function symbol() constant returns(string)

func (*AllPurposeCappedCallerSession) TotalSupply

func (_AllPurposeCapped *AllPurposeCappedCallerSession) TotalSupply() (*big.Int, error)

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

Solidity: function totalSupply() constant returns(uint256)

type AllPurposeCappedFilterer

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

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

func NewAllPurposeCappedFilterer

func NewAllPurposeCappedFilterer(address common.Address, filterer bind.ContractFilterer) (*AllPurposeCappedFilterer, error)

NewAllPurposeCappedFilterer creates a new log filterer instance of AllPurposeCapped, bound to a specific deployed contract.

func (*AllPurposeCappedFilterer) FilterApproval

func (_AllPurposeCapped *AllPurposeCappedFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*AllPurposeCappedApprovalIterator, 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 (*AllPurposeCappedFilterer) FilterMinterAdded

func (_AllPurposeCapped *AllPurposeCappedFilterer) FilterMinterAdded(opts *bind.FilterOpts, account []common.Address) (*AllPurposeCappedMinterAddedIterator, error)

FilterMinterAdded is a free log retrieval operation binding the contract event 0x6ae172837ea30b801fbfcdd4108aa1d5bf8ff775444fd70256b44e6bf3dfc3f6.

Solidity: event MinterAdded(address indexed account)

func (*AllPurposeCappedFilterer) FilterMinterRemoved

func (_AllPurposeCapped *AllPurposeCappedFilterer) FilterMinterRemoved(opts *bind.FilterOpts, account []common.Address) (*AllPurposeCappedMinterRemovedIterator, error)

FilterMinterRemoved is a free log retrieval operation binding the contract event 0xe94479a9f7e1952cc78f2d6baab678adc1b772d936c6583def489e524cb66692.

Solidity: event MinterRemoved(address indexed account)

func (*AllPurposeCappedFilterer) FilterPaused

func (_AllPurposeCapped *AllPurposeCappedFilterer) FilterPaused(opts *bind.FilterOpts) (*AllPurposeCappedPausedIterator, error)

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

Solidity: event Paused(address account)

func (*AllPurposeCappedFilterer) FilterPauserAdded

func (_AllPurposeCapped *AllPurposeCappedFilterer) FilterPauserAdded(opts *bind.FilterOpts, account []common.Address) (*AllPurposeCappedPauserAddedIterator, error)

FilterPauserAdded is a free log retrieval operation binding the contract event 0x6719d08c1888103bea251a4ed56406bd0c3e69723c8a1686e017e7bbe159b6f8.

Solidity: event PauserAdded(address indexed account)

func (*AllPurposeCappedFilterer) FilterPauserRemoved

func (_AllPurposeCapped *AllPurposeCappedFilterer) FilterPauserRemoved(opts *bind.FilterOpts, account []common.Address) (*AllPurposeCappedPauserRemovedIterator, error)

FilterPauserRemoved is a free log retrieval operation binding the contract event 0xcd265ebaf09df2871cc7bd4133404a235ba12eff2041bb89d9c714a2621c7c7e.

Solidity: event PauserRemoved(address indexed account)

func (*AllPurposeCappedFilterer) FilterTransfer

func (_AllPurposeCapped *AllPurposeCappedFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*AllPurposeCappedTransferIterator, 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 (*AllPurposeCappedFilterer) FilterUnpaused

func (_AllPurposeCapped *AllPurposeCappedFilterer) FilterUnpaused(opts *bind.FilterOpts) (*AllPurposeCappedUnpausedIterator, error)

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

Solidity: event Unpaused(address account)

func (*AllPurposeCappedFilterer) WatchApproval

func (_AllPurposeCapped *AllPurposeCappedFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *AllPurposeCappedApproval, 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 (*AllPurposeCappedFilterer) WatchMinterAdded

func (_AllPurposeCapped *AllPurposeCappedFilterer) WatchMinterAdded(opts *bind.WatchOpts, sink chan<- *AllPurposeCappedMinterAdded, account []common.Address) (event.Subscription, error)

WatchMinterAdded is a free log subscription operation binding the contract event 0x6ae172837ea30b801fbfcdd4108aa1d5bf8ff775444fd70256b44e6bf3dfc3f6.

Solidity: event MinterAdded(address indexed account)

func (*AllPurposeCappedFilterer) WatchMinterRemoved

func (_AllPurposeCapped *AllPurposeCappedFilterer) WatchMinterRemoved(opts *bind.WatchOpts, sink chan<- *AllPurposeCappedMinterRemoved, account []common.Address) (event.Subscription, error)

WatchMinterRemoved is a free log subscription operation binding the contract event 0xe94479a9f7e1952cc78f2d6baab678adc1b772d936c6583def489e524cb66692.

Solidity: event MinterRemoved(address indexed account)

func (*AllPurposeCappedFilterer) WatchPaused

func (_AllPurposeCapped *AllPurposeCappedFilterer) WatchPaused(opts *bind.WatchOpts, sink chan<- *AllPurposeCappedPaused) (event.Subscription, error)

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

Solidity: event Paused(address account)

func (*AllPurposeCappedFilterer) WatchPauserAdded

func (_AllPurposeCapped *AllPurposeCappedFilterer) WatchPauserAdded(opts *bind.WatchOpts, sink chan<- *AllPurposeCappedPauserAdded, account []common.Address) (event.Subscription, error)

WatchPauserAdded is a free log subscription operation binding the contract event 0x6719d08c1888103bea251a4ed56406bd0c3e69723c8a1686e017e7bbe159b6f8.

Solidity: event PauserAdded(address indexed account)

func (*AllPurposeCappedFilterer) WatchPauserRemoved

func (_AllPurposeCapped *AllPurposeCappedFilterer) WatchPauserRemoved(opts *bind.WatchOpts, sink chan<- *AllPurposeCappedPauserRemoved, account []common.Address) (event.Subscription, error)

WatchPauserRemoved is a free log subscription operation binding the contract event 0xcd265ebaf09df2871cc7bd4133404a235ba12eff2041bb89d9c714a2621c7c7e.

Solidity: event PauserRemoved(address indexed account)

func (*AllPurposeCappedFilterer) WatchTransfer

func (_AllPurposeCapped *AllPurposeCappedFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *AllPurposeCappedTransfer, 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)

func (*AllPurposeCappedFilterer) WatchUnpaused

func (_AllPurposeCapped *AllPurposeCappedFilterer) WatchUnpaused(opts *bind.WatchOpts, sink chan<- *AllPurposeCappedUnpaused) (event.Subscription, error)

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

Solidity: event Unpaused(address account)

type AllPurposeCappedMinterAdded

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

AllPurposeCappedMinterAdded represents a MinterAdded event raised by the AllPurposeCapped contract.

type AllPurposeCappedMinterAddedIterator

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

AllPurposeCappedMinterAddedIterator is returned from FilterMinterAdded and is used to iterate over the raw logs and unpacked data for MinterAdded events raised by the AllPurposeCapped contract.

func (*AllPurposeCappedMinterAddedIterator) Close

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

func (*AllPurposeCappedMinterAddedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*AllPurposeCappedMinterAddedIterator) 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 AllPurposeCappedMinterRemoved

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

AllPurposeCappedMinterRemoved represents a MinterRemoved event raised by the AllPurposeCapped contract.

type AllPurposeCappedMinterRemovedIterator

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

AllPurposeCappedMinterRemovedIterator is returned from FilterMinterRemoved and is used to iterate over the raw logs and unpacked data for MinterRemoved events raised by the AllPurposeCapped contract.

func (*AllPurposeCappedMinterRemovedIterator) Close

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

func (*AllPurposeCappedMinterRemovedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*AllPurposeCappedMinterRemovedIterator) 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 AllPurposeCappedPaused

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

AllPurposeCappedPaused represents a Paused event raised by the AllPurposeCapped contract.

type AllPurposeCappedPausedIterator

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

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

func (*AllPurposeCappedPausedIterator) Close

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

func (*AllPurposeCappedPausedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*AllPurposeCappedPausedIterator) 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 AllPurposeCappedPauserAdded

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

AllPurposeCappedPauserAdded represents a PauserAdded event raised by the AllPurposeCapped contract.

type AllPurposeCappedPauserAddedIterator

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

AllPurposeCappedPauserAddedIterator is returned from FilterPauserAdded and is used to iterate over the raw logs and unpacked data for PauserAdded events raised by the AllPurposeCapped contract.

func (*AllPurposeCappedPauserAddedIterator) Close

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

func (*AllPurposeCappedPauserAddedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*AllPurposeCappedPauserAddedIterator) 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 AllPurposeCappedPauserRemoved

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

AllPurposeCappedPauserRemoved represents a PauserRemoved event raised by the AllPurposeCapped contract.

type AllPurposeCappedPauserRemovedIterator

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

AllPurposeCappedPauserRemovedIterator is returned from FilterPauserRemoved and is used to iterate over the raw logs and unpacked data for PauserRemoved events raised by the AllPurposeCapped contract.

func (*AllPurposeCappedPauserRemovedIterator) Close

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

func (*AllPurposeCappedPauserRemovedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*AllPurposeCappedPauserRemovedIterator) 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 AllPurposeCappedRaw

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

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

func (*AllPurposeCappedRaw) Call

func (_AllPurposeCapped *AllPurposeCappedRaw) 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 (*AllPurposeCappedRaw) Transact

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

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

func (*AllPurposeCappedRaw) Transfer

func (_AllPurposeCapped *AllPurposeCappedRaw) 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 AllPurposeCappedSession

type AllPurposeCappedSession struct {
	Contract     *AllPurposeCapped // 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
}

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

func (*AllPurposeCappedSession) AddMinter

func (_AllPurposeCapped *AllPurposeCappedSession) AddMinter(account common.Address) (*types.Transaction, error)

AddMinter is a paid mutator transaction binding the contract method 0x983b2d56.

Solidity: function addMinter(address account) returns()

func (*AllPurposeCappedSession) AddPauser

func (_AllPurposeCapped *AllPurposeCappedSession) AddPauser(account common.Address) (*types.Transaction, error)

AddPauser is a paid mutator transaction binding the contract method 0x82dc1ec4.

Solidity: function addPauser(address account) returns()

func (*AllPurposeCappedSession) Allowance

func (_AllPurposeCapped *AllPurposeCappedSession) 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 (*AllPurposeCappedSession) Approve

func (_AllPurposeCapped *AllPurposeCappedSession) Approve(spender common.Address, value *big.Int) (*types.Transaction, error)

Approve is a paid mutator transaction binding the contract method 0x095ea7b3.

Solidity: function approve(address spender, uint256 value) returns(bool)

func (*AllPurposeCappedSession) BalanceOf

func (_AllPurposeCapped *AllPurposeCappedSession) BalanceOf(owner common.Address) (*big.Int, error)

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

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

func (*AllPurposeCappedSession) Burn

func (_AllPurposeCapped *AllPurposeCappedSession) Burn(value *big.Int) (*types.Transaction, error)

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

Solidity: function burn(uint256 value) returns()

func (*AllPurposeCappedSession) BurnFrom

func (_AllPurposeCapped *AllPurposeCappedSession) BurnFrom(from common.Address, value *big.Int) (*types.Transaction, error)

BurnFrom is a paid mutator transaction binding the contract method 0x79cc6790.

Solidity: function burnFrom(address from, uint256 value) returns()

func (*AllPurposeCappedSession) Cap

func (_AllPurposeCapped *AllPurposeCappedSession) Cap() (*big.Int, error)

Cap is a free data retrieval call binding the contract method 0x355274ea.

Solidity: function cap() constant returns(uint256)

func (*AllPurposeCappedSession) Decimals

func (_AllPurposeCapped *AllPurposeCappedSession) Decimals() (uint8, error)

Decimals is a free data retrieval call binding the contract method 0x313ce567.

Solidity: function decimals() constant returns(uint8)

func (*AllPurposeCappedSession) DecreaseAllowance

func (_AllPurposeCapped *AllPurposeCappedSession) DecreaseAllowance(spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)

DecreaseAllowance is a paid mutator transaction binding the contract method 0xa457c2d7.

Solidity: function decreaseAllowance(address spender, uint256 subtractedValue) returns(bool success)

func (*AllPurposeCappedSession) IncreaseAllowance

func (_AllPurposeCapped *AllPurposeCappedSession) IncreaseAllowance(spender common.Address, addedValue *big.Int) (*types.Transaction, error)

IncreaseAllowance is a paid mutator transaction binding the contract method 0x39509351.

Solidity: function increaseAllowance(address spender, uint256 addedValue) returns(bool success)

func (*AllPurposeCappedSession) IsBurnable

func (_AllPurposeCapped *AllPurposeCappedSession) IsBurnable() (bool, error)

IsBurnable is a free data retrieval call binding the contract method 0x883356d9.

Solidity: function isBurnable() constant returns(bool)

func (*AllPurposeCappedSession) IsMintable

func (_AllPurposeCapped *AllPurposeCappedSession) IsMintable() (bool, error)

IsMintable is a free data retrieval call binding the contract method 0x46b45af7.

Solidity: function isMintable() constant returns(bool)

func (*AllPurposeCappedSession) IsMinter

func (_AllPurposeCapped *AllPurposeCappedSession) IsMinter(account common.Address) (bool, error)

IsMinter is a free data retrieval call binding the contract method 0xaa271e1a.

Solidity: function isMinter(address account) constant returns(bool)

func (*AllPurposeCappedSession) IsPauser

func (_AllPurposeCapped *AllPurposeCappedSession) IsPauser(account common.Address) (bool, error)

IsPauser is a free data retrieval call binding the contract method 0x46fbf68e.

Solidity: function isPauser(address account) constant returns(bool)

func (*AllPurposeCappedSession) IsTransferable

func (_AllPurposeCapped *AllPurposeCappedSession) IsTransferable() (bool, error)

IsTransferable is a free data retrieval call binding the contract method 0x2121dc75.

Solidity: function isTransferable() constant returns(bool)

func (*AllPurposeCappedSession) Mint

func (_AllPurposeCapped *AllPurposeCappedSession) Mint(to common.Address, value *big.Int) (*types.Transaction, error)

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

Solidity: function mint(address to, uint256 value) returns(bool)

func (*AllPurposeCappedSession) Name

func (_AllPurposeCapped *AllPurposeCappedSession) Name() (string, error)

Name is a free data retrieval call binding the contract method 0x06fdde03.

Solidity: function name() constant returns(string)

func (*AllPurposeCappedSession) Pause

func (_AllPurposeCapped *AllPurposeCappedSession) Pause() (*types.Transaction, error)

Pause is a paid mutator transaction binding the contract method 0x8456cb59.

Solidity: function pause() returns()

func (*AllPurposeCappedSession) Paused

func (_AllPurposeCapped *AllPurposeCappedSession) Paused() (bool, error)

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

Solidity: function paused() constant returns(bool)

func (*AllPurposeCappedSession) RenounceMinter

func (_AllPurposeCapped *AllPurposeCappedSession) RenounceMinter() (*types.Transaction, error)

RenounceMinter is a paid mutator transaction binding the contract method 0x98650275.

Solidity: function renounceMinter() returns()

func (*AllPurposeCappedSession) RenouncePauser

func (_AllPurposeCapped *AllPurposeCappedSession) RenouncePauser() (*types.Transaction, error)

RenouncePauser is a paid mutator transaction binding the contract method 0x6ef8d66d.

Solidity: function renouncePauser() returns()

func (*AllPurposeCappedSession) Symbol

func (_AllPurposeCapped *AllPurposeCappedSession) Symbol() (string, error)

Symbol is a free data retrieval call binding the contract method 0x95d89b41.

Solidity: function symbol() constant returns(string)

func (*AllPurposeCappedSession) TotalSupply

func (_AllPurposeCapped *AllPurposeCappedSession) TotalSupply() (*big.Int, error)

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

Solidity: function totalSupply() constant returns(uint256)

func (*AllPurposeCappedSession) Transfer

func (_AllPurposeCapped *AllPurposeCappedSession) Transfer(to common.Address, value *big.Int) (*types.Transaction, error)

Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.

Solidity: function transfer(address to, uint256 value) returns(bool)

func (*AllPurposeCappedSession) TransferFrom

func (_AllPurposeCapped *AllPurposeCappedSession) 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(address from, address to, uint256 value) returns(bool)

func (*AllPurposeCappedSession) Unpause

func (_AllPurposeCapped *AllPurposeCappedSession) Unpause() (*types.Transaction, error)

Unpause is a paid mutator transaction binding the contract method 0x3f4ba83a.

Solidity: function unpause() returns()

type AllPurposeCappedTransactor

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

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

func NewAllPurposeCappedTransactor

func NewAllPurposeCappedTransactor(address common.Address, transactor bind.ContractTransactor) (*AllPurposeCappedTransactor, error)

NewAllPurposeCappedTransactor creates a new write-only instance of AllPurposeCapped, bound to a specific deployed contract.

func (*AllPurposeCappedTransactor) AddMinter

func (_AllPurposeCapped *AllPurposeCappedTransactor) AddMinter(opts *bind.TransactOpts, account common.Address) (*types.Transaction, error)

AddMinter is a paid mutator transaction binding the contract method 0x983b2d56.

Solidity: function addMinter(address account) returns()

func (*AllPurposeCappedTransactor) AddPauser

func (_AllPurposeCapped *AllPurposeCappedTransactor) AddPauser(opts *bind.TransactOpts, account common.Address) (*types.Transaction, error)

AddPauser is a paid mutator transaction binding the contract method 0x82dc1ec4.

Solidity: function addPauser(address account) returns()

func (*AllPurposeCappedTransactor) Approve

func (_AllPurposeCapped *AllPurposeCappedTransactor) 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(address spender, uint256 value) returns(bool)

func (*AllPurposeCappedTransactor) Burn

func (_AllPurposeCapped *AllPurposeCappedTransactor) Burn(opts *bind.TransactOpts, value *big.Int) (*types.Transaction, error)

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

Solidity: function burn(uint256 value) returns()

func (*AllPurposeCappedTransactor) BurnFrom

func (_AllPurposeCapped *AllPurposeCappedTransactor) BurnFrom(opts *bind.TransactOpts, from common.Address, value *big.Int) (*types.Transaction, error)

BurnFrom is a paid mutator transaction binding the contract method 0x79cc6790.

Solidity: function burnFrom(address from, uint256 value) returns()

func (*AllPurposeCappedTransactor) DecreaseAllowance

func (_AllPurposeCapped *AllPurposeCappedTransactor) DecreaseAllowance(opts *bind.TransactOpts, spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)

DecreaseAllowance is a paid mutator transaction binding the contract method 0xa457c2d7.

Solidity: function decreaseAllowance(address spender, uint256 subtractedValue) returns(bool success)

func (*AllPurposeCappedTransactor) IncreaseAllowance

func (_AllPurposeCapped *AllPurposeCappedTransactor) IncreaseAllowance(opts *bind.TransactOpts, spender common.Address, addedValue *big.Int) (*types.Transaction, error)

IncreaseAllowance is a paid mutator transaction binding the contract method 0x39509351.

Solidity: function increaseAllowance(address spender, uint256 addedValue) returns(bool success)

func (*AllPurposeCappedTransactor) Mint

func (_AllPurposeCapped *AllPurposeCappedTransactor) Mint(opts *bind.TransactOpts, to common.Address, value *big.Int) (*types.Transaction, error)

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

Solidity: function mint(address to, uint256 value) returns(bool)

func (*AllPurposeCappedTransactor) Pause

func (_AllPurposeCapped *AllPurposeCappedTransactor) Pause(opts *bind.TransactOpts) (*types.Transaction, error)

Pause is a paid mutator transaction binding the contract method 0x8456cb59.

Solidity: function pause() returns()

func (*AllPurposeCappedTransactor) RenounceMinter

func (_AllPurposeCapped *AllPurposeCappedTransactor) RenounceMinter(opts *bind.TransactOpts) (*types.Transaction, error)

RenounceMinter is a paid mutator transaction binding the contract method 0x98650275.

Solidity: function renounceMinter() returns()

func (*AllPurposeCappedTransactor) RenouncePauser

func (_AllPurposeCapped *AllPurposeCappedTransactor) RenouncePauser(opts *bind.TransactOpts) (*types.Transaction, error)

RenouncePauser is a paid mutator transaction binding the contract method 0x6ef8d66d.

Solidity: function renouncePauser() returns()

func (*AllPurposeCappedTransactor) Transfer

func (_AllPurposeCapped *AllPurposeCappedTransactor) 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(address to, uint256 value) returns(bool)

func (*AllPurposeCappedTransactor) TransferFrom

func (_AllPurposeCapped *AllPurposeCappedTransactor) 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(address from, address to, uint256 value) returns(bool)

func (*AllPurposeCappedTransactor) Unpause

func (_AllPurposeCapped *AllPurposeCappedTransactor) Unpause(opts *bind.TransactOpts) (*types.Transaction, error)

Unpause is a paid mutator transaction binding the contract method 0x3f4ba83a.

Solidity: function unpause() returns()

type AllPurposeCappedTransactorRaw

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

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

func (*AllPurposeCappedTransactorRaw) Transact

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

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

func (*AllPurposeCappedTransactorRaw) Transfer

func (_AllPurposeCapped *AllPurposeCappedTransactorRaw) 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 AllPurposeCappedTransactorSession

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

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

func (*AllPurposeCappedTransactorSession) AddMinter

func (_AllPurposeCapped *AllPurposeCappedTransactorSession) AddMinter(account common.Address) (*types.Transaction, error)

AddMinter is a paid mutator transaction binding the contract method 0x983b2d56.

Solidity: function addMinter(address account) returns()

func (*AllPurposeCappedTransactorSession) AddPauser

func (_AllPurposeCapped *AllPurposeCappedTransactorSession) AddPauser(account common.Address) (*types.Transaction, error)

AddPauser is a paid mutator transaction binding the contract method 0x82dc1ec4.

Solidity: function addPauser(address account) returns()

func (*AllPurposeCappedTransactorSession) Approve

func (_AllPurposeCapped *AllPurposeCappedTransactorSession) Approve(spender common.Address, value *big.Int) (*types.Transaction, error)

Approve is a paid mutator transaction binding the contract method 0x095ea7b3.

Solidity: function approve(address spender, uint256 value) returns(bool)

func (*AllPurposeCappedTransactorSession) Burn

func (_AllPurposeCapped *AllPurposeCappedTransactorSession) Burn(value *big.Int) (*types.Transaction, error)

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

Solidity: function burn(uint256 value) returns()

func (*AllPurposeCappedTransactorSession) BurnFrom

func (_AllPurposeCapped *AllPurposeCappedTransactorSession) BurnFrom(from common.Address, value *big.Int) (*types.Transaction, error)

BurnFrom is a paid mutator transaction binding the contract method 0x79cc6790.

Solidity: function burnFrom(address from, uint256 value) returns()

func (*AllPurposeCappedTransactorSession) DecreaseAllowance

func (_AllPurposeCapped *AllPurposeCappedTransactorSession) DecreaseAllowance(spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)

DecreaseAllowance is a paid mutator transaction binding the contract method 0xa457c2d7.

Solidity: function decreaseAllowance(address spender, uint256 subtractedValue) returns(bool success)

func (*AllPurposeCappedTransactorSession) IncreaseAllowance

func (_AllPurposeCapped *AllPurposeCappedTransactorSession) IncreaseAllowance(spender common.Address, addedValue *big.Int) (*types.Transaction, error)

IncreaseAllowance is a paid mutator transaction binding the contract method 0x39509351.

Solidity: function increaseAllowance(address spender, uint256 addedValue) returns(bool success)

func (*AllPurposeCappedTransactorSession) Mint

func (_AllPurposeCapped *AllPurposeCappedTransactorSession) Mint(to common.Address, value *big.Int) (*types.Transaction, error)

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

Solidity: function mint(address to, uint256 value) returns(bool)

func (*AllPurposeCappedTransactorSession) Pause

func (_AllPurposeCapped *AllPurposeCappedTransactorSession) Pause() (*types.Transaction, error)

Pause is a paid mutator transaction binding the contract method 0x8456cb59.

Solidity: function pause() returns()

func (*AllPurposeCappedTransactorSession) RenounceMinter

func (_AllPurposeCapped *AllPurposeCappedTransactorSession) RenounceMinter() (*types.Transaction, error)

RenounceMinter is a paid mutator transaction binding the contract method 0x98650275.

Solidity: function renounceMinter() returns()

func (*AllPurposeCappedTransactorSession) RenouncePauser

func (_AllPurposeCapped *AllPurposeCappedTransactorSession) RenouncePauser() (*types.Transaction, error)

RenouncePauser is a paid mutator transaction binding the contract method 0x6ef8d66d.

Solidity: function renouncePauser() returns()

func (*AllPurposeCappedTransactorSession) Transfer

func (_AllPurposeCapped *AllPurposeCappedTransactorSession) Transfer(to common.Address, value *big.Int) (*types.Transaction, error)

Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.

Solidity: function transfer(address to, uint256 value) returns(bool)

func (*AllPurposeCappedTransactorSession) TransferFrom

func (_AllPurposeCapped *AllPurposeCappedTransactorSession) 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(address from, address to, uint256 value) returns(bool)

func (*AllPurposeCappedTransactorSession) Unpause

func (_AllPurposeCapped *AllPurposeCappedTransactorSession) Unpause() (*types.Transaction, error)

Unpause is a paid mutator transaction binding the contract method 0x3f4ba83a.

Solidity: function unpause() returns()

type AllPurposeCappedTransfer

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

AllPurposeCappedTransfer represents a Transfer event raised by the AllPurposeCapped contract.

type AllPurposeCappedTransferIterator

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

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

func (*AllPurposeCappedTransferIterator) Close

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

func (*AllPurposeCappedTransferIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*AllPurposeCappedTransferIterator) 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 AllPurposeCappedUnpaused

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

AllPurposeCappedUnpaused represents a Unpaused event raised by the AllPurposeCapped contract.

type AllPurposeCappedUnpausedIterator

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

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

func (*AllPurposeCappedUnpausedIterator) Close

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

func (*AllPurposeCappedUnpausedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*AllPurposeCappedUnpausedIterator) 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 AllPurposeFilterer

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

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

func NewAllPurposeFilterer

func NewAllPurposeFilterer(address common.Address, filterer bind.ContractFilterer) (*AllPurposeFilterer, error)

NewAllPurposeFilterer creates a new log filterer instance of AllPurpose, bound to a specific deployed contract.

func (*AllPurposeFilterer) FilterApproval

func (_AllPurpose *AllPurposeFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*AllPurposeApprovalIterator, 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 (*AllPurposeFilterer) FilterMinterAdded

func (_AllPurpose *AllPurposeFilterer) FilterMinterAdded(opts *bind.FilterOpts, account []common.Address) (*AllPurposeMinterAddedIterator, error)

FilterMinterAdded is a free log retrieval operation binding the contract event 0x6ae172837ea30b801fbfcdd4108aa1d5bf8ff775444fd70256b44e6bf3dfc3f6.

Solidity: event MinterAdded(address indexed account)

func (*AllPurposeFilterer) FilterMinterRemoved

func (_AllPurpose *AllPurposeFilterer) FilterMinterRemoved(opts *bind.FilterOpts, account []common.Address) (*AllPurposeMinterRemovedIterator, error)

FilterMinterRemoved is a free log retrieval operation binding the contract event 0xe94479a9f7e1952cc78f2d6baab678adc1b772d936c6583def489e524cb66692.

Solidity: event MinterRemoved(address indexed account)

func (*AllPurposeFilterer) FilterPaused

func (_AllPurpose *AllPurposeFilterer) FilterPaused(opts *bind.FilterOpts) (*AllPurposePausedIterator, error)

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

Solidity: event Paused(address account)

func (*AllPurposeFilterer) FilterPauserAdded

func (_AllPurpose *AllPurposeFilterer) FilterPauserAdded(opts *bind.FilterOpts, account []common.Address) (*AllPurposePauserAddedIterator, error)

FilterPauserAdded is a free log retrieval operation binding the contract event 0x6719d08c1888103bea251a4ed56406bd0c3e69723c8a1686e017e7bbe159b6f8.

Solidity: event PauserAdded(address indexed account)

func (*AllPurposeFilterer) FilterPauserRemoved

func (_AllPurpose *AllPurposeFilterer) FilterPauserRemoved(opts *bind.FilterOpts, account []common.Address) (*AllPurposePauserRemovedIterator, error)

FilterPauserRemoved is a free log retrieval operation binding the contract event 0xcd265ebaf09df2871cc7bd4133404a235ba12eff2041bb89d9c714a2621c7c7e.

Solidity: event PauserRemoved(address indexed account)

func (*AllPurposeFilterer) FilterTransfer

func (_AllPurpose *AllPurposeFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*AllPurposeTransferIterator, 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 (*AllPurposeFilterer) FilterUnpaused

func (_AllPurpose *AllPurposeFilterer) FilterUnpaused(opts *bind.FilterOpts) (*AllPurposeUnpausedIterator, error)

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

Solidity: event Unpaused(address account)

func (*AllPurposeFilterer) WatchApproval

func (_AllPurpose *AllPurposeFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *AllPurposeApproval, 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 (*AllPurposeFilterer) WatchMinterAdded

func (_AllPurpose *AllPurposeFilterer) WatchMinterAdded(opts *bind.WatchOpts, sink chan<- *AllPurposeMinterAdded, account []common.Address) (event.Subscription, error)

WatchMinterAdded is a free log subscription operation binding the contract event 0x6ae172837ea30b801fbfcdd4108aa1d5bf8ff775444fd70256b44e6bf3dfc3f6.

Solidity: event MinterAdded(address indexed account)

func (*AllPurposeFilterer) WatchMinterRemoved

func (_AllPurpose *AllPurposeFilterer) WatchMinterRemoved(opts *bind.WatchOpts, sink chan<- *AllPurposeMinterRemoved, account []common.Address) (event.Subscription, error)

WatchMinterRemoved is a free log subscription operation binding the contract event 0xe94479a9f7e1952cc78f2d6baab678adc1b772d936c6583def489e524cb66692.

Solidity: event MinterRemoved(address indexed account)

func (*AllPurposeFilterer) WatchPaused

func (_AllPurpose *AllPurposeFilterer) WatchPaused(opts *bind.WatchOpts, sink chan<- *AllPurposePaused) (event.Subscription, error)

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

Solidity: event Paused(address account)

func (*AllPurposeFilterer) WatchPauserAdded

func (_AllPurpose *AllPurposeFilterer) WatchPauserAdded(opts *bind.WatchOpts, sink chan<- *AllPurposePauserAdded, account []common.Address) (event.Subscription, error)

WatchPauserAdded is a free log subscription operation binding the contract event 0x6719d08c1888103bea251a4ed56406bd0c3e69723c8a1686e017e7bbe159b6f8.

Solidity: event PauserAdded(address indexed account)

func (*AllPurposeFilterer) WatchPauserRemoved

func (_AllPurpose *AllPurposeFilterer) WatchPauserRemoved(opts *bind.WatchOpts, sink chan<- *AllPurposePauserRemoved, account []common.Address) (event.Subscription, error)

WatchPauserRemoved is a free log subscription operation binding the contract event 0xcd265ebaf09df2871cc7bd4133404a235ba12eff2041bb89d9c714a2621c7c7e.

Solidity: event PauserRemoved(address indexed account)

func (*AllPurposeFilterer) WatchTransfer

func (_AllPurpose *AllPurposeFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *AllPurposeTransfer, 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)

func (*AllPurposeFilterer) WatchUnpaused

func (_AllPurpose *AllPurposeFilterer) WatchUnpaused(opts *bind.WatchOpts, sink chan<- *AllPurposeUnpaused) (event.Subscription, error)

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

Solidity: event Unpaused(address account)

type AllPurposeMinterAdded

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

AllPurposeMinterAdded represents a MinterAdded event raised by the AllPurpose contract.

type AllPurposeMinterAddedIterator

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

AllPurposeMinterAddedIterator is returned from FilterMinterAdded and is used to iterate over the raw logs and unpacked data for MinterAdded events raised by the AllPurpose contract.

func (*AllPurposeMinterAddedIterator) Close

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

func (*AllPurposeMinterAddedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*AllPurposeMinterAddedIterator) 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 AllPurposeMinterRemoved

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

AllPurposeMinterRemoved represents a MinterRemoved event raised by the AllPurpose contract.

type AllPurposeMinterRemovedIterator

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

AllPurposeMinterRemovedIterator is returned from FilterMinterRemoved and is used to iterate over the raw logs and unpacked data for MinterRemoved events raised by the AllPurpose contract.

func (*AllPurposeMinterRemovedIterator) Close

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

func (*AllPurposeMinterRemovedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*AllPurposeMinterRemovedIterator) 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 AllPurposePaused

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

AllPurposePaused represents a Paused event raised by the AllPurpose contract.

type AllPurposePausedIterator

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

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

func (*AllPurposePausedIterator) Close

func (it *AllPurposePausedIterator) Close() error

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

func (*AllPurposePausedIterator) Error

func (it *AllPurposePausedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*AllPurposePausedIterator) Next

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

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

AllPurposePauserAdded represents a PauserAdded event raised by the AllPurpose contract.

type AllPurposePauserAddedIterator

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

AllPurposePauserAddedIterator is returned from FilterPauserAdded and is used to iterate over the raw logs and unpacked data for PauserAdded events raised by the AllPurpose contract.

func (*AllPurposePauserAddedIterator) Close

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

func (*AllPurposePauserAddedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*AllPurposePauserAddedIterator) 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 AllPurposePauserRemoved

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

AllPurposePauserRemoved represents a PauserRemoved event raised by the AllPurpose contract.

type AllPurposePauserRemovedIterator

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

AllPurposePauserRemovedIterator is returned from FilterPauserRemoved and is used to iterate over the raw logs and unpacked data for PauserRemoved events raised by the AllPurpose contract.

func (*AllPurposePauserRemovedIterator) Close

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

func (*AllPurposePauserRemovedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*AllPurposePauserRemovedIterator) 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 AllPurposeRaw

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

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

func (*AllPurposeRaw) Call

func (_AllPurpose *AllPurposeRaw) 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 (*AllPurposeRaw) Transact

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

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

func (*AllPurposeRaw) Transfer

func (_AllPurpose *AllPurposeRaw) 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 AllPurposeSession

type AllPurposeSession struct {
	Contract     *AllPurpose       // 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
}

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

func (*AllPurposeSession) AddMinter

func (_AllPurpose *AllPurposeSession) AddMinter(account common.Address) (*types.Transaction, error)

AddMinter is a paid mutator transaction binding the contract method 0x983b2d56.

Solidity: function addMinter(address account) returns()

func (*AllPurposeSession) AddPauser

func (_AllPurpose *AllPurposeSession) AddPauser(account common.Address) (*types.Transaction, error)

AddPauser is a paid mutator transaction binding the contract method 0x82dc1ec4.

Solidity: function addPauser(address account) returns()

func (*AllPurposeSession) Allowance

func (_AllPurpose *AllPurposeSession) 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 (*AllPurposeSession) Approve

func (_AllPurpose *AllPurposeSession) Approve(spender common.Address, value *big.Int) (*types.Transaction, error)

Approve is a paid mutator transaction binding the contract method 0x095ea7b3.

Solidity: function approve(address spender, uint256 value) returns(bool)

func (*AllPurposeSession) BalanceOf

func (_AllPurpose *AllPurposeSession) BalanceOf(owner common.Address) (*big.Int, error)

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

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

func (*AllPurposeSession) Burn

func (_AllPurpose *AllPurposeSession) Burn(value *big.Int) (*types.Transaction, error)

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

Solidity: function burn(uint256 value) returns()

func (*AllPurposeSession) BurnFrom

func (_AllPurpose *AllPurposeSession) BurnFrom(from common.Address, value *big.Int) (*types.Transaction, error)

BurnFrom is a paid mutator transaction binding the contract method 0x79cc6790.

Solidity: function burnFrom(address from, uint256 value) returns()

func (*AllPurposeSession) Decimals

func (_AllPurpose *AllPurposeSession) Decimals() (uint8, error)

Decimals is a free data retrieval call binding the contract method 0x313ce567.

Solidity: function decimals() constant returns(uint8)

func (*AllPurposeSession) DecreaseAllowance

func (_AllPurpose *AllPurposeSession) DecreaseAllowance(spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)

DecreaseAllowance is a paid mutator transaction binding the contract method 0xa457c2d7.

Solidity: function decreaseAllowance(address spender, uint256 subtractedValue) returns(bool success)

func (*AllPurposeSession) IncreaseAllowance

func (_AllPurpose *AllPurposeSession) IncreaseAllowance(spender common.Address, addedValue *big.Int) (*types.Transaction, error)

IncreaseAllowance is a paid mutator transaction binding the contract method 0x39509351.

Solidity: function increaseAllowance(address spender, uint256 addedValue) returns(bool success)

func (*AllPurposeSession) IsBurnable

func (_AllPurpose *AllPurposeSession) IsBurnable() (bool, error)

IsBurnable is a free data retrieval call binding the contract method 0x883356d9.

Solidity: function isBurnable() constant returns(bool)

func (*AllPurposeSession) IsMintable

func (_AllPurpose *AllPurposeSession) IsMintable() (bool, error)

IsMintable is a free data retrieval call binding the contract method 0x46b45af7.

Solidity: function isMintable() constant returns(bool)

func (*AllPurposeSession) IsMinter

func (_AllPurpose *AllPurposeSession) IsMinter(account common.Address) (bool, error)

IsMinter is a free data retrieval call binding the contract method 0xaa271e1a.

Solidity: function isMinter(address account) constant returns(bool)

func (*AllPurposeSession) IsPauser

func (_AllPurpose *AllPurposeSession) IsPauser(account common.Address) (bool, error)

IsPauser is a free data retrieval call binding the contract method 0x46fbf68e.

Solidity: function isPauser(address account) constant returns(bool)

func (*AllPurposeSession) IsTransferable

func (_AllPurpose *AllPurposeSession) IsTransferable() (bool, error)

IsTransferable is a free data retrieval call binding the contract method 0x2121dc75.

Solidity: function isTransferable() constant returns(bool)

func (*AllPurposeSession) Mint

func (_AllPurpose *AllPurposeSession) Mint(to common.Address, value *big.Int) (*types.Transaction, error)

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

Solidity: function mint(address to, uint256 value) returns(bool)

func (*AllPurposeSession) Name

func (_AllPurpose *AllPurposeSession) Name() (string, error)

Name is a free data retrieval call binding the contract method 0x06fdde03.

Solidity: function name() constant returns(string)

func (*AllPurposeSession) Pause

func (_AllPurpose *AllPurposeSession) Pause() (*types.Transaction, error)

Pause is a paid mutator transaction binding the contract method 0x8456cb59.

Solidity: function pause() returns()

func (*AllPurposeSession) Paused

func (_AllPurpose *AllPurposeSession) Paused() (bool, error)

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

Solidity: function paused() constant returns(bool)

func (*AllPurposeSession) RenounceMinter

func (_AllPurpose *AllPurposeSession) RenounceMinter() (*types.Transaction, error)

RenounceMinter is a paid mutator transaction binding the contract method 0x98650275.

Solidity: function renounceMinter() returns()

func (*AllPurposeSession) RenouncePauser

func (_AllPurpose *AllPurposeSession) RenouncePauser() (*types.Transaction, error)

RenouncePauser is a paid mutator transaction binding the contract method 0x6ef8d66d.

Solidity: function renouncePauser() returns()

func (*AllPurposeSession) Symbol

func (_AllPurpose *AllPurposeSession) Symbol() (string, error)

Symbol is a free data retrieval call binding the contract method 0x95d89b41.

Solidity: function symbol() constant returns(string)

func (*AllPurposeSession) TotalSupply

func (_AllPurpose *AllPurposeSession) TotalSupply() (*big.Int, error)

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

Solidity: function totalSupply() constant returns(uint256)

func (*AllPurposeSession) Transfer

func (_AllPurpose *AllPurposeSession) Transfer(to common.Address, value *big.Int) (*types.Transaction, error)

Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.

Solidity: function transfer(address to, uint256 value) returns(bool)

func (*AllPurposeSession) TransferFrom

func (_AllPurpose *AllPurposeSession) 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(address from, address to, uint256 value) returns(bool)

func (*AllPurposeSession) Unpause

func (_AllPurpose *AllPurposeSession) Unpause() (*types.Transaction, error)

Unpause is a paid mutator transaction binding the contract method 0x3f4ba83a.

Solidity: function unpause() returns()

type AllPurposeTransactor

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

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

func NewAllPurposeTransactor

func NewAllPurposeTransactor(address common.Address, transactor bind.ContractTransactor) (*AllPurposeTransactor, error)

NewAllPurposeTransactor creates a new write-only instance of AllPurpose, bound to a specific deployed contract.

func (*AllPurposeTransactor) AddMinter

func (_AllPurpose *AllPurposeTransactor) AddMinter(opts *bind.TransactOpts, account common.Address) (*types.Transaction, error)

AddMinter is a paid mutator transaction binding the contract method 0x983b2d56.

Solidity: function addMinter(address account) returns()

func (*AllPurposeTransactor) AddPauser

func (_AllPurpose *AllPurposeTransactor) AddPauser(opts *bind.TransactOpts, account common.Address) (*types.Transaction, error)

AddPauser is a paid mutator transaction binding the contract method 0x82dc1ec4.

Solidity: function addPauser(address account) returns()

func (*AllPurposeTransactor) Approve

func (_AllPurpose *AllPurposeTransactor) 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(address spender, uint256 value) returns(bool)

func (*AllPurposeTransactor) Burn

func (_AllPurpose *AllPurposeTransactor) Burn(opts *bind.TransactOpts, value *big.Int) (*types.Transaction, error)

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

Solidity: function burn(uint256 value) returns()

func (*AllPurposeTransactor) BurnFrom

func (_AllPurpose *AllPurposeTransactor) BurnFrom(opts *bind.TransactOpts, from common.Address, value *big.Int) (*types.Transaction, error)

BurnFrom is a paid mutator transaction binding the contract method 0x79cc6790.

Solidity: function burnFrom(address from, uint256 value) returns()

func (*AllPurposeTransactor) DecreaseAllowance

func (_AllPurpose *AllPurposeTransactor) DecreaseAllowance(opts *bind.TransactOpts, spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)

DecreaseAllowance is a paid mutator transaction binding the contract method 0xa457c2d7.

Solidity: function decreaseAllowance(address spender, uint256 subtractedValue) returns(bool success)

func (*AllPurposeTransactor) IncreaseAllowance

func (_AllPurpose *AllPurposeTransactor) IncreaseAllowance(opts *bind.TransactOpts, spender common.Address, addedValue *big.Int) (*types.Transaction, error)

IncreaseAllowance is a paid mutator transaction binding the contract method 0x39509351.

Solidity: function increaseAllowance(address spender, uint256 addedValue) returns(bool success)

func (*AllPurposeTransactor) Mint

func (_AllPurpose *AllPurposeTransactor) Mint(opts *bind.TransactOpts, to common.Address, value *big.Int) (*types.Transaction, error)

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

Solidity: function mint(address to, uint256 value) returns(bool)

func (*AllPurposeTransactor) Pause

func (_AllPurpose *AllPurposeTransactor) Pause(opts *bind.TransactOpts) (*types.Transaction, error)

Pause is a paid mutator transaction binding the contract method 0x8456cb59.

Solidity: function pause() returns()

func (*AllPurposeTransactor) RenounceMinter

func (_AllPurpose *AllPurposeTransactor) RenounceMinter(opts *bind.TransactOpts) (*types.Transaction, error)

RenounceMinter is a paid mutator transaction binding the contract method 0x98650275.

Solidity: function renounceMinter() returns()

func (*AllPurposeTransactor) RenouncePauser

func (_AllPurpose *AllPurposeTransactor) RenouncePauser(opts *bind.TransactOpts) (*types.Transaction, error)

RenouncePauser is a paid mutator transaction binding the contract method 0x6ef8d66d.

Solidity: function renouncePauser() returns()

func (*AllPurposeTransactor) Transfer

func (_AllPurpose *AllPurposeTransactor) 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(address to, uint256 value) returns(bool)

func (*AllPurposeTransactor) TransferFrom

func (_AllPurpose *AllPurposeTransactor) 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(address from, address to, uint256 value) returns(bool)

func (*AllPurposeTransactor) Unpause

func (_AllPurpose *AllPurposeTransactor) Unpause(opts *bind.TransactOpts) (*types.Transaction, error)

Unpause is a paid mutator transaction binding the contract method 0x3f4ba83a.

Solidity: function unpause() returns()

type AllPurposeTransactorRaw

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

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

func (*AllPurposeTransactorRaw) Transact

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

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

func (*AllPurposeTransactorRaw) Transfer

func (_AllPurpose *AllPurposeTransactorRaw) 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 AllPurposeTransactorSession

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

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

func (*AllPurposeTransactorSession) AddMinter

func (_AllPurpose *AllPurposeTransactorSession) AddMinter(account common.Address) (*types.Transaction, error)

AddMinter is a paid mutator transaction binding the contract method 0x983b2d56.

Solidity: function addMinter(address account) returns()

func (*AllPurposeTransactorSession) AddPauser

func (_AllPurpose *AllPurposeTransactorSession) AddPauser(account common.Address) (*types.Transaction, error)

AddPauser is a paid mutator transaction binding the contract method 0x82dc1ec4.

Solidity: function addPauser(address account) returns()

func (*AllPurposeTransactorSession) Approve

func (_AllPurpose *AllPurposeTransactorSession) Approve(spender common.Address, value *big.Int) (*types.Transaction, error)

Approve is a paid mutator transaction binding the contract method 0x095ea7b3.

Solidity: function approve(address spender, uint256 value) returns(bool)

func (*AllPurposeTransactorSession) Burn

func (_AllPurpose *AllPurposeTransactorSession) Burn(value *big.Int) (*types.Transaction, error)

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

Solidity: function burn(uint256 value) returns()

func (*AllPurposeTransactorSession) BurnFrom

func (_AllPurpose *AllPurposeTransactorSession) BurnFrom(from common.Address, value *big.Int) (*types.Transaction, error)

BurnFrom is a paid mutator transaction binding the contract method 0x79cc6790.

Solidity: function burnFrom(address from, uint256 value) returns()

func (*AllPurposeTransactorSession) DecreaseAllowance

func (_AllPurpose *AllPurposeTransactorSession) DecreaseAllowance(spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)

DecreaseAllowance is a paid mutator transaction binding the contract method 0xa457c2d7.

Solidity: function decreaseAllowance(address spender, uint256 subtractedValue) returns(bool success)

func (*AllPurposeTransactorSession) IncreaseAllowance

func (_AllPurpose *AllPurposeTransactorSession) IncreaseAllowance(spender common.Address, addedValue *big.Int) (*types.Transaction, error)

IncreaseAllowance is a paid mutator transaction binding the contract method 0x39509351.

Solidity: function increaseAllowance(address spender, uint256 addedValue) returns(bool success)

func (*AllPurposeTransactorSession) Mint

func (_AllPurpose *AllPurposeTransactorSession) Mint(to common.Address, value *big.Int) (*types.Transaction, error)

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

Solidity: function mint(address to, uint256 value) returns(bool)

func (*AllPurposeTransactorSession) Pause

func (_AllPurpose *AllPurposeTransactorSession) Pause() (*types.Transaction, error)

Pause is a paid mutator transaction binding the contract method 0x8456cb59.

Solidity: function pause() returns()

func (*AllPurposeTransactorSession) RenounceMinter

func (_AllPurpose *AllPurposeTransactorSession) RenounceMinter() (*types.Transaction, error)

RenounceMinter is a paid mutator transaction binding the contract method 0x98650275.

Solidity: function renounceMinter() returns()

func (*AllPurposeTransactorSession) RenouncePauser

func (_AllPurpose *AllPurposeTransactorSession) RenouncePauser() (*types.Transaction, error)

RenouncePauser is a paid mutator transaction binding the contract method 0x6ef8d66d.

Solidity: function renouncePauser() returns()

func (*AllPurposeTransactorSession) Transfer

func (_AllPurpose *AllPurposeTransactorSession) Transfer(to common.Address, value *big.Int) (*types.Transaction, error)

Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.

Solidity: function transfer(address to, uint256 value) returns(bool)

func (*AllPurposeTransactorSession) TransferFrom

func (_AllPurpose *AllPurposeTransactorSession) 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(address from, address to, uint256 value) returns(bool)

func (*AllPurposeTransactorSession) Unpause

func (_AllPurpose *AllPurposeTransactorSession) Unpause() (*types.Transaction, error)

Unpause is a paid mutator transaction binding the contract method 0x3f4ba83a.

Solidity: function unpause() returns()

type AllPurposeTransfer

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

AllPurposeTransfer represents a Transfer event raised by the AllPurpose contract.

type AllPurposeTransferIterator

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

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

func (*AllPurposeTransferIterator) Close

func (it *AllPurposeTransferIterator) Close() error

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

func (*AllPurposeTransferIterator) Error

func (it *AllPurposeTransferIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*AllPurposeTransferIterator) Next

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

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

AllPurposeUnpaused represents a Unpaused event raised by the AllPurpose contract.

type AllPurposeUnpausedIterator

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

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

func (*AllPurposeUnpausedIterator) Close

func (it *AllPurposeUnpausedIterator) Close() error

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

func (*AllPurposeUnpausedIterator) Error

func (it *AllPurposeUnpausedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*AllPurposeUnpausedIterator) Next

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

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

Ethereum ethereum struct to implement crypto interface

func MustNewEthereum

func MustNewEthereum() *Ethereum

MustNewEthereum create new Ethereum interface, panic if no connection

func (*Ethereum) CreateNewAddress

func (b *Ethereum) CreateNewAddress() (string, error)

CreateNewAddress returns best blocknumber in the blockchain

func (*Ethereum) DeployAllPurpose

func (b *Ethereum) DeployAllPurpose(
	name_ string,
	symbol_ string,
	decimals_ uint8,
	minter common.Address,
	isBurnable_ bool,
	isTransferable_ bool,
	isMintable_ bool,
	cap uint64,
) (common.Address, *types.Transaction, error)

DeployAllPurpose deploys new AllPurpose (or AllPurposeCapped) token to Ethereum from server account

func (*Ethereum) DeployMintable

func (b *Ethereum) DeployMintable(
	name_ string,
	symbol_ string,
	decimals_ uint8,
	minter common.Address,
) (common.Address, *types.Transaction, error)

DeployMintable deployes new Mintable token to Ethereum from server account

func (*Ethereum) Mint

func (b *Ethereum) Mint(
	tokenAddress common.Address,
	toAddress common.Address,
	amount int64,
) (*types.Transaction, error)

Mint mints a new currency units to the passed token and toAddress

type Mintable

type Mintable struct {
	MintableCaller     // Read-only binding to the contract
	MintableTransactor // Write-only binding to the contract
	MintableFilterer   // Log filterer for contract events
}

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

func DeployMintable

func DeployMintable(auth *bind.TransactOpts, backend bind.ContractBackend, name_ string, symbol_ string, decimals_ uint8, minter common.Address) (common.Address, *types.Transaction, *Mintable, error)

DeployMintable deploys a new Ethereum contract, binding an instance of Mintable to it.

func NewMintable

func NewMintable(address common.Address, backend bind.ContractBackend) (*Mintable, error)

NewMintable creates a new instance of Mintable, bound to a specific deployed contract.

type MintableApproval

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

MintableApproval represents a Approval event raised by the Mintable contract.

type MintableApprovalIterator

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

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

func (*MintableApprovalIterator) Close

func (it *MintableApprovalIterator) Close() error

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

func (*MintableApprovalIterator) Error

func (it *MintableApprovalIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*MintableApprovalIterator) Next

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

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

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

func NewMintableCaller

func NewMintableCaller(address common.Address, caller bind.ContractCaller) (*MintableCaller, error)

NewMintableCaller creates a new read-only instance of Mintable, bound to a specific deployed contract.

func (*MintableCaller) Allowance

func (_Mintable *MintableCaller) 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 (*MintableCaller) BalanceOf

func (_Mintable *MintableCaller) 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(uint256)

func (*MintableCaller) Decimals

func (_Mintable *MintableCaller) 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 (*MintableCaller) INITIALSUPPLY

func (_Mintable *MintableCaller) INITIALSUPPLY(opts *bind.CallOpts) (*big.Int, error)

INITIALSUPPLY is a free data retrieval call binding the contract method 0x2ff2e9dc.

Solidity: function INITIAL_SUPPLY() constant returns(uint256)

func (*MintableCaller) IsMinter

func (_Mintable *MintableCaller) IsMinter(opts *bind.CallOpts, account common.Address) (bool, error)

IsMinter is a free data retrieval call binding the contract method 0xaa271e1a.

Solidity: function isMinter(account address) constant returns(bool)

func (*MintableCaller) Name

func (_Mintable *MintableCaller) 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 (*MintableCaller) Symbol

func (_Mintable *MintableCaller) 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 (*MintableCaller) TotalSupply

func (_Mintable *MintableCaller) 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 MintableCallerRaw

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

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

func (*MintableCallerRaw) Call

func (_Mintable *MintableCallerRaw) 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 MintableCallerSession

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

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

func (*MintableCallerSession) Allowance

func (_Mintable *MintableCallerSession) 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 (*MintableCallerSession) BalanceOf

func (_Mintable *MintableCallerSession) BalanceOf(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(uint256)

func (*MintableCallerSession) Decimals

func (_Mintable *MintableCallerSession) Decimals() (uint8, error)

Decimals is a free data retrieval call binding the contract method 0x313ce567.

Solidity: function decimals() constant returns(uint8)

func (*MintableCallerSession) INITIALSUPPLY

func (_Mintable *MintableCallerSession) INITIALSUPPLY() (*big.Int, error)

INITIALSUPPLY is a free data retrieval call binding the contract method 0x2ff2e9dc.

Solidity: function INITIAL_SUPPLY() constant returns(uint256)

func (*MintableCallerSession) IsMinter

func (_Mintable *MintableCallerSession) IsMinter(account common.Address) (bool, error)

IsMinter is a free data retrieval call binding the contract method 0xaa271e1a.

Solidity: function isMinter(account address) constant returns(bool)

func (*MintableCallerSession) Name

func (_Mintable *MintableCallerSession) Name() (string, error)

Name is a free data retrieval call binding the contract method 0x06fdde03.

Solidity: function name() constant returns(string)

func (*MintableCallerSession) Symbol

func (_Mintable *MintableCallerSession) Symbol() (string, error)

Symbol is a free data retrieval call binding the contract method 0x95d89b41.

Solidity: function symbol() constant returns(string)

func (*MintableCallerSession) TotalSupply

func (_Mintable *MintableCallerSession) TotalSupply() (*big.Int, error)

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

Solidity: function totalSupply() constant returns(uint256)

type MintableFilterer

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

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

func NewMintableFilterer

func NewMintableFilterer(address common.Address, filterer bind.ContractFilterer) (*MintableFilterer, error)

NewMintableFilterer creates a new log filterer instance of Mintable, bound to a specific deployed contract.

func (*MintableFilterer) FilterApproval

func (_Mintable *MintableFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*MintableApprovalIterator, error)

FilterApproval is a free log retrieval operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.

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

func (*MintableFilterer) FilterMinterAdded

func (_Mintable *MintableFilterer) FilterMinterAdded(opts *bind.FilterOpts, account []common.Address) (*MintableMinterAddedIterator, error)

FilterMinterAdded is a free log retrieval operation binding the contract event 0x6ae172837ea30b801fbfcdd4108aa1d5bf8ff775444fd70256b44e6bf3dfc3f6.

Solidity: e MinterAdded(account indexed address)

func (*MintableFilterer) FilterMinterRemoved

func (_Mintable *MintableFilterer) FilterMinterRemoved(opts *bind.FilterOpts, account []common.Address) (*MintableMinterRemovedIterator, error)

FilterMinterRemoved is a free log retrieval operation binding the contract event 0xe94479a9f7e1952cc78f2d6baab678adc1b772d936c6583def489e524cb66692.

Solidity: e MinterRemoved(account indexed address)

func (*MintableFilterer) FilterTransfer

func (_Mintable *MintableFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*MintableTransferIterator, error)

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

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

func (*MintableFilterer) WatchApproval

func (_Mintable *MintableFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *MintableApproval, owner []common.Address, spender []common.Address) (event.Subscription, error)

WatchApproval is a free log subscription operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.

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

func (*MintableFilterer) WatchMinterAdded

func (_Mintable *MintableFilterer) WatchMinterAdded(opts *bind.WatchOpts, sink chan<- *MintableMinterAdded, account []common.Address) (event.Subscription, error)

WatchMinterAdded is a free log subscription operation binding the contract event 0x6ae172837ea30b801fbfcdd4108aa1d5bf8ff775444fd70256b44e6bf3dfc3f6.

Solidity: e MinterAdded(account indexed address)

func (*MintableFilterer) WatchMinterRemoved

func (_Mintable *MintableFilterer) WatchMinterRemoved(opts *bind.WatchOpts, sink chan<- *MintableMinterRemoved, account []common.Address) (event.Subscription, error)

WatchMinterRemoved is a free log subscription operation binding the contract event 0xe94479a9f7e1952cc78f2d6baab678adc1b772d936c6583def489e524cb66692.

Solidity: e MinterRemoved(account indexed address)

func (*MintableFilterer) WatchTransfer

func (_Mintable *MintableFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *MintableTransfer, from []common.Address, to []common.Address) (event.Subscription, error)

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

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

type MintableMinterAdded

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

MintableMinterAdded represents a MinterAdded event raised by the Mintable contract.

type MintableMinterAddedIterator

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

MintableMinterAddedIterator is returned from FilterMinterAdded and is used to iterate over the raw logs and unpacked data for MinterAdded events raised by the Mintable contract.

func (*MintableMinterAddedIterator) Close

func (it *MintableMinterAddedIterator) Close() error

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

func (*MintableMinterAddedIterator) Error

func (it *MintableMinterAddedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*MintableMinterAddedIterator) Next

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

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

MintableMinterRemoved represents a MinterRemoved event raised by the Mintable contract.

type MintableMinterRemovedIterator

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

MintableMinterRemovedIterator is returned from FilterMinterRemoved and is used to iterate over the raw logs and unpacked data for MinterRemoved events raised by the Mintable contract.

func (*MintableMinterRemovedIterator) Close

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

func (*MintableMinterRemovedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*MintableMinterRemovedIterator) 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 MintableRaw

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

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

func (*MintableRaw) Call

func (_Mintable *MintableRaw) 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 (*MintableRaw) Transact

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

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

func (*MintableRaw) Transfer

func (_Mintable *MintableRaw) 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 MintableSession

type MintableSession struct {
	Contract     *Mintable         // 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
}

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

func (*MintableSession) AddMinter

func (_Mintable *MintableSession) AddMinter(account common.Address) (*types.Transaction, error)

AddMinter is a paid mutator transaction binding the contract method 0x983b2d56.

Solidity: function addMinter(account address) returns()

func (*MintableSession) Allowance

func (_Mintable *MintableSession) 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 (*MintableSession) Approve

func (_Mintable *MintableSession) 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 (*MintableSession) BalanceOf

func (_Mintable *MintableSession) BalanceOf(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(uint256)

func (*MintableSession) Decimals

func (_Mintable *MintableSession) Decimals() (uint8, error)

Decimals is a free data retrieval call binding the contract method 0x313ce567.

Solidity: function decimals() constant returns(uint8)

func (*MintableSession) DecreaseAllowance

func (_Mintable *MintableSession) DecreaseAllowance(spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)

DecreaseAllowance is a paid mutator transaction binding the contract method 0xa457c2d7.

Solidity: function decreaseAllowance(spender address, subtractedValue uint256) returns(bool)

func (*MintableSession) INITIALSUPPLY

func (_Mintable *MintableSession) INITIALSUPPLY() (*big.Int, error)

INITIALSUPPLY is a free data retrieval call binding the contract method 0x2ff2e9dc.

Solidity: function INITIAL_SUPPLY() constant returns(uint256)

func (*MintableSession) IncreaseAllowance

func (_Mintable *MintableSession) IncreaseAllowance(spender common.Address, addedValue *big.Int) (*types.Transaction, error)

IncreaseAllowance is a paid mutator transaction binding the contract method 0x39509351.

Solidity: function increaseAllowance(spender address, addedValue uint256) returns(bool)

func (*MintableSession) IsMinter

func (_Mintable *MintableSession) IsMinter(account common.Address) (bool, error)

IsMinter is a free data retrieval call binding the contract method 0xaa271e1a.

Solidity: function isMinter(account address) constant returns(bool)

func (*MintableSession) Mint

func (_Mintable *MintableSession) Mint(to common.Address, value *big.Int) (*types.Transaction, error)

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

Solidity: function mint(to address, value uint256) returns(bool)

func (*MintableSession) Name

func (_Mintable *MintableSession) Name() (string, error)

Name is a free data retrieval call binding the contract method 0x06fdde03.

Solidity: function name() constant returns(string)

func (*MintableSession) RenounceMinter

func (_Mintable *MintableSession) RenounceMinter() (*types.Transaction, error)

RenounceMinter is a paid mutator transaction binding the contract method 0x98650275.

Solidity: function renounceMinter() returns()

func (*MintableSession) Symbol

func (_Mintable *MintableSession) Symbol() (string, error)

Symbol is a free data retrieval call binding the contract method 0x95d89b41.

Solidity: function symbol() constant returns(string)

func (*MintableSession) TotalSupply

func (_Mintable *MintableSession) TotalSupply() (*big.Int, error)

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

Solidity: function totalSupply() constant returns(uint256)

func (*MintableSession) Transfer

func (_Mintable *MintableSession) 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 (*MintableSession) TransferFrom

func (_Mintable *MintableSession) 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)

type MintableTransactor

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

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

func NewMintableTransactor

func NewMintableTransactor(address common.Address, transactor bind.ContractTransactor) (*MintableTransactor, error)

NewMintableTransactor creates a new write-only instance of Mintable, bound to a specific deployed contract.

func (*MintableTransactor) AddMinter

func (_Mintable *MintableTransactor) AddMinter(opts *bind.TransactOpts, account common.Address) (*types.Transaction, error)

AddMinter is a paid mutator transaction binding the contract method 0x983b2d56.

Solidity: function addMinter(account address) returns()

func (*MintableTransactor) Approve

func (_Mintable *MintableTransactor) 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 (*MintableTransactor) DecreaseAllowance

func (_Mintable *MintableTransactor) DecreaseAllowance(opts *bind.TransactOpts, spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)

DecreaseAllowance is a paid mutator transaction binding the contract method 0xa457c2d7.

Solidity: function decreaseAllowance(spender address, subtractedValue uint256) returns(bool)

func (*MintableTransactor) IncreaseAllowance

func (_Mintable *MintableTransactor) IncreaseAllowance(opts *bind.TransactOpts, spender common.Address, addedValue *big.Int) (*types.Transaction, error)

IncreaseAllowance is a paid mutator transaction binding the contract method 0x39509351.

Solidity: function increaseAllowance(spender address, addedValue uint256) returns(bool)

func (*MintableTransactor) Mint

func (_Mintable *MintableTransactor) Mint(opts *bind.TransactOpts, to common.Address, value *big.Int) (*types.Transaction, error)

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

Solidity: function mint(to address, value uint256) returns(bool)

func (*MintableTransactor) RenounceMinter

func (_Mintable *MintableTransactor) RenounceMinter(opts *bind.TransactOpts) (*types.Transaction, error)

RenounceMinter is a paid mutator transaction binding the contract method 0x98650275.

Solidity: function renounceMinter() returns()

func (*MintableTransactor) Transfer

func (_Mintable *MintableTransactor) 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 (*MintableTransactor) TransferFrom

func (_Mintable *MintableTransactor) 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)

type MintableTransactorRaw

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

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

func (*MintableTransactorRaw) Transact

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

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

func (*MintableTransactorRaw) Transfer

func (_Mintable *MintableTransactorRaw) 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 MintableTransactorSession

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

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

func (*MintableTransactorSession) AddMinter

func (_Mintable *MintableTransactorSession) AddMinter(account common.Address) (*types.Transaction, error)

AddMinter is a paid mutator transaction binding the contract method 0x983b2d56.

Solidity: function addMinter(account address) returns()

func (*MintableTransactorSession) Approve

func (_Mintable *MintableTransactorSession) 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 (*MintableTransactorSession) DecreaseAllowance

func (_Mintable *MintableTransactorSession) DecreaseAllowance(spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)

DecreaseAllowance is a paid mutator transaction binding the contract method 0xa457c2d7.

Solidity: function decreaseAllowance(spender address, subtractedValue uint256) returns(bool)

func (*MintableTransactorSession) IncreaseAllowance

func (_Mintable *MintableTransactorSession) IncreaseAllowance(spender common.Address, addedValue *big.Int) (*types.Transaction, error)

IncreaseAllowance is a paid mutator transaction binding the contract method 0x39509351.

Solidity: function increaseAllowance(spender address, addedValue uint256) returns(bool)

func (*MintableTransactorSession) Mint

func (_Mintable *MintableTransactorSession) Mint(to common.Address, value *big.Int) (*types.Transaction, error)

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

Solidity: function mint(to address, value uint256) returns(bool)

func (*MintableTransactorSession) RenounceMinter

func (_Mintable *MintableTransactorSession) RenounceMinter() (*types.Transaction, error)

RenounceMinter is a paid mutator transaction binding the contract method 0x98650275.

Solidity: function renounceMinter() returns()

func (*MintableTransactorSession) Transfer

func (_Mintable *MintableTransactorSession) 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 (*MintableTransactorSession) TransferFrom

func (_Mintable *MintableTransactorSession) 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)

type MintableTransfer

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

MintableTransfer represents a Transfer event raised by the Mintable contract.

type MintableTransferIterator

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

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

func (*MintableTransferIterator) Close

func (it *MintableTransferIterator) Close() error

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

func (*MintableTransferIterator) Error

func (it *MintableTransferIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*MintableTransferIterator) Next

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