Documentation ¶
Index ¶
- Constants
- type BasicToken
- type BasicTokenCaller
- type BasicTokenCallerRaw
- type BasicTokenCallerSession
- type BasicTokenFilterer
- func (_BasicToken *BasicTokenFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*BasicTokenTransferIterator, error)
- func (_BasicToken *BasicTokenFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *BasicTokenTransfer, from []common.Address, ...) (event.Subscription, error)
- type BasicTokenRaw
- func (_BasicToken *BasicTokenRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error
- func (_BasicToken *BasicTokenRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_BasicToken *BasicTokenRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type BasicTokenSession
- type BasicTokenTransactor
- type BasicTokenTransactorRaw
- type BasicTokenTransactorSession
- type BasicTokenTransfer
- type BasicTokenTransferIterator
- type Blacklist
- type BlacklistAddedToBlacklist
- type BlacklistAddedToBlacklistIterator
- type BlacklistCaller
- type BlacklistCallerRaw
- type BlacklistCallerSession
- type BlacklistFilterer
- func (_Blacklist *BlacklistFilterer) FilterAddedToBlacklist(opts *bind.FilterOpts, adder []common.Address, addee []common.Address) (*BlacklistAddedToBlacklistIterator, error)
- func (_Blacklist *BlacklistFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, ...) (*BlacklistOwnershipTransferredIterator, error)
- func (_Blacklist *BlacklistFilterer) FilterRemovedFromBlacklist(opts *bind.FilterOpts, remover []common.Address, removee []common.Address) (*BlacklistRemovedFromBlacklistIterator, error)
- func (_Blacklist *BlacklistFilterer) WatchAddedToBlacklist(opts *bind.WatchOpts, sink chan<- *BlacklistAddedToBlacklist, ...) (event.Subscription, error)
- func (_Blacklist *BlacklistFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *BlacklistOwnershipTransferred, ...) (event.Subscription, error)
- func (_Blacklist *BlacklistFilterer) WatchRemovedFromBlacklist(opts *bind.WatchOpts, sink chan<- *BlacklistRemovedFromBlacklist, ...) (event.Subscription, error)
- type BlacklistOwnershipTransferred
- type BlacklistOwnershipTransferredIterator
- type BlacklistRaw
- func (_Blacklist *BlacklistRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error
- func (_Blacklist *BlacklistRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_Blacklist *BlacklistRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type BlacklistRemovedFromBlacklist
- type BlacklistRemovedFromBlacklistIterator
- type BlacklistSession
- func (_Blacklist *BlacklistSession) Add(_who common.Address, _whom common.Address) (*types.Transaction, error)
- func (_Blacklist *BlacklistSession) AddMaster(_root common.Address) (*types.Transaction, error)
- func (_Blacklist *BlacklistSession) Check(_who common.Address, _whom common.Address) (bool, error)
- func (_Blacklist *BlacklistSession) Market() (common.Address, error)
- func (_Blacklist *BlacklistSession) Owner() (common.Address, error)
- func (_Blacklist *BlacklistSession) Remove(_whom common.Address) (*types.Transaction, error)
- func (_Blacklist *BlacklistSession) RemoveMaster(_root common.Address) (*types.Transaction, error)
- func (_Blacklist *BlacklistSession) SetMarketAddress(_market common.Address) (*types.Transaction, error)
- func (_Blacklist *BlacklistSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
- type BlacklistTransactor
- func (_Blacklist *BlacklistTransactor) Add(opts *bind.TransactOpts, _who common.Address, _whom common.Address) (*types.Transaction, error)
- func (_Blacklist *BlacklistTransactor) AddMaster(opts *bind.TransactOpts, _root common.Address) (*types.Transaction, error)
- func (_Blacklist *BlacklistTransactor) Remove(opts *bind.TransactOpts, _whom common.Address) (*types.Transaction, error)
- func (_Blacklist *BlacklistTransactor) RemoveMaster(opts *bind.TransactOpts, _root common.Address) (*types.Transaction, error)
- func (_Blacklist *BlacklistTransactor) SetMarketAddress(opts *bind.TransactOpts, _market common.Address) (*types.Transaction, error)
- func (_Blacklist *BlacklistTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)
- type BlacklistTransactorRaw
- type BlacklistTransactorSession
- func (_Blacklist *BlacklistTransactorSession) Add(_who common.Address, _whom common.Address) (*types.Transaction, error)
- func (_Blacklist *BlacklistTransactorSession) AddMaster(_root common.Address) (*types.Transaction, error)
- func (_Blacklist *BlacklistTransactorSession) Remove(_whom common.Address) (*types.Transaction, error)
- func (_Blacklist *BlacklistTransactorSession) RemoveMaster(_root common.Address) (*types.Transaction, error)
- func (_Blacklist *BlacklistTransactorSession) SetMarketAddress(_market common.Address) (*types.Transaction, error)
- func (_Blacklist *BlacklistTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
- type ERC20
- type ERC20Approval
- type ERC20ApprovalIterator
- type ERC20Basic
- type ERC20BasicCaller
- type ERC20BasicCallerRaw
- type ERC20BasicCallerSession
- type ERC20BasicFilterer
- func (_ERC20Basic *ERC20BasicFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*ERC20BasicTransferIterator, error)
- func (_ERC20Basic *ERC20BasicFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *ERC20BasicTransfer, from []common.Address, ...) (event.Subscription, error)
- type ERC20BasicRaw
- func (_ERC20Basic *ERC20BasicRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error
- func (_ERC20Basic *ERC20BasicRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_ERC20Basic *ERC20BasicRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type ERC20BasicSession
- type ERC20BasicTransactor
- type ERC20BasicTransactorRaw
- type ERC20BasicTransactorSession
- type ERC20BasicTransfer
- type ERC20BasicTransferIterator
- type ERC20Caller
- type ERC20CallerRaw
- type ERC20CallerSession
- type ERC20Filterer
- func (_ERC20 *ERC20Filterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*ERC20ApprovalIterator, error)
- func (_ERC20 *ERC20Filterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*ERC20TransferIterator, error)
- func (_ERC20 *ERC20Filterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *ERC20Approval, owner []common.Address, ...) (event.Subscription, error)
- func (_ERC20 *ERC20Filterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *ERC20Transfer, from []common.Address, ...) (event.Subscription, error)
- type ERC20Raw
- func (_ERC20 *ERC20Raw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error
- func (_ERC20 *ERC20Raw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_ERC20 *ERC20Raw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type ERC20Session
- func (_ERC20 *ERC20Session) Allowance(owner common.Address, spender common.Address) (*big.Int, error)
- func (_ERC20 *ERC20Session) Approve(spender common.Address, value *big.Int) (*types.Transaction, error)
- func (_ERC20 *ERC20Session) BalanceOf(who common.Address) (*big.Int, error)
- func (_ERC20 *ERC20Session) TotalSupply() (*big.Int, error)
- func (_ERC20 *ERC20Session) Transfer(to common.Address, value *big.Int) (*types.Transaction, error)
- func (_ERC20 *ERC20Session) TransferFrom(from common.Address, to common.Address, value *big.Int) (*types.Transaction, error)
- type ERC20Transactor
- func (_ERC20 *ERC20Transactor) Approve(opts *bind.TransactOpts, spender common.Address, value *big.Int) (*types.Transaction, error)
- func (_ERC20 *ERC20Transactor) Transfer(opts *bind.TransactOpts, to common.Address, value *big.Int) (*types.Transaction, error)
- func (_ERC20 *ERC20Transactor) TransferFrom(opts *bind.TransactOpts, from common.Address, to common.Address, ...) (*types.Transaction, error)
- type ERC20TransactorRaw
- type ERC20TransactorSession
- func (_ERC20 *ERC20TransactorSession) Approve(spender common.Address, value *big.Int) (*types.Transaction, error)
- func (_ERC20 *ERC20TransactorSession) Transfer(to common.Address, value *big.Int) (*types.Transaction, error)
- func (_ERC20 *ERC20TransactorSession) TransferFrom(from common.Address, to common.Address, value *big.Int) (*types.Transaction, error)
- type ERC20Transfer
- type ERC20TransferIterator
- type Market
- type MarketBilled
- type MarketBilledIterator
- type MarketCaller
- func (_Market *MarketCaller) Deals(opts *bind.CallOpts, arg0 *big.Int) (struct{ ... }, error)
- func (_Market *MarketCaller) GetBenchmarksQuantity(opts *bind.CallOpts) (*big.Int, error)
- func (_Market *MarketCaller) GetChangeRequestInfo(opts *bind.CallOpts, changeRequestID *big.Int) (struct{ ... }, error)
- func (_Market *MarketCaller) GetChangeRequestsAmount(opts *bind.CallOpts) (*big.Int, error)
- func (_Market *MarketCaller) GetDealInfo(opts *bind.CallOpts, dealID *big.Int) (struct{ ... }, error)
- func (_Market *MarketCaller) GetDealParams(opts *bind.CallOpts, dealID *big.Int) (struct{ ... }, error)
- func (_Market *MarketCaller) GetDealsAmount(opts *bind.CallOpts) (*big.Int, error)
- func (_Market *MarketCaller) GetMaster(opts *bind.CallOpts, _worker common.Address) (common.Address, error)
- func (_Market *MarketCaller) GetOrderInfo(opts *bind.CallOpts, orderID *big.Int) (struct{ ... }, error)
- func (_Market *MarketCaller) GetOrderParams(opts *bind.CallOpts, orderID *big.Int) (struct{ ... }, error)
- func (_Market *MarketCaller) GetOrdersAmount(opts *bind.CallOpts) (*big.Int, error)
- func (_Market *MarketCaller) Orders(opts *bind.CallOpts, arg0 *big.Int) (struct{ ... }, error)
- func (_Market *MarketCaller) Owner(opts *bind.CallOpts) (common.Address, error)
- type MarketCallerRaw
- type MarketCallerSession
- func (_Market *MarketCallerSession) Deals(arg0 *big.Int) (struct{ ... }, error)
- func (_Market *MarketCallerSession) GetBenchmarksQuantity() (*big.Int, error)
- func (_Market *MarketCallerSession) GetChangeRequestInfo(changeRequestID *big.Int) (struct{ ... }, error)
- func (_Market *MarketCallerSession) GetChangeRequestsAmount() (*big.Int, error)
- func (_Market *MarketCallerSession) GetDealInfo(dealID *big.Int) (struct{ ... }, error)
- func (_Market *MarketCallerSession) GetDealParams(dealID *big.Int) (struct{ ... }, error)
- func (_Market *MarketCallerSession) GetDealsAmount() (*big.Int, error)
- func (_Market *MarketCallerSession) GetMaster(_worker common.Address) (common.Address, error)
- func (_Market *MarketCallerSession) GetOrderInfo(orderID *big.Int) (struct{ ... }, error)
- func (_Market *MarketCallerSession) GetOrderParams(orderID *big.Int) (struct{ ... }, error)
- func (_Market *MarketCallerSession) GetOrdersAmount() (*big.Int, error)
- func (_Market *MarketCallerSession) Orders(arg0 *big.Int) (struct{ ... }, error)
- func (_Market *MarketCallerSession) Owner() (common.Address, error)
- type MarketDealChangeRequestSet
- type MarketDealChangeRequestSetIterator
- type MarketDealChangeRequestUpdated
- type MarketDealChangeRequestUpdatedIterator
- type MarketDealOpened
- type MarketDealOpenedIterator
- type MarketDealUpdated
- type MarketDealUpdatedIterator
- type MarketFilterer
- func (_Market *MarketFilterer) FilterBilled(opts *bind.FilterOpts, dealID []*big.Int, paidAmount []*big.Int) (*MarketBilledIterator, error)
- func (_Market *MarketFilterer) FilterDealChangeRequestSet(opts *bind.FilterOpts, changeRequestID []*big.Int) (*MarketDealChangeRequestSetIterator, error)
- func (_Market *MarketFilterer) FilterDealChangeRequestUpdated(opts *bind.FilterOpts, changeRequestID []*big.Int) (*MarketDealChangeRequestUpdatedIterator, error)
- func (_Market *MarketFilterer) FilterDealOpened(opts *bind.FilterOpts, dealID []*big.Int) (*MarketDealOpenedIterator, error)
- func (_Market *MarketFilterer) FilterDealUpdated(opts *bind.FilterOpts, dealID []*big.Int) (*MarketDealUpdatedIterator, error)
- func (_Market *MarketFilterer) FilterNumBenchmarksUpdated(opts *bind.FilterOpts, newNum []*big.Int) (*MarketNumBenchmarksUpdatedIterator, error)
- func (_Market *MarketFilterer) FilterOrderPlaced(opts *bind.FilterOpts, orderID []*big.Int) (*MarketOrderPlacedIterator, error)
- func (_Market *MarketFilterer) FilterOrderUpdated(opts *bind.FilterOpts, orderID []*big.Int) (*MarketOrderUpdatedIterator, error)
- func (_Market *MarketFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, ...) (*MarketOwnershipTransferredIterator, error)
- func (_Market *MarketFilterer) FilterWorkerAnnounced(opts *bind.FilterOpts, worker []common.Address, master []common.Address) (*MarketWorkerAnnouncedIterator, error)
- func (_Market *MarketFilterer) FilterWorkerConfirmed(opts *bind.FilterOpts, worker []common.Address, master []common.Address) (*MarketWorkerConfirmedIterator, error)
- func (_Market *MarketFilterer) FilterWorkerRemoved(opts *bind.FilterOpts, worker []common.Address, master []common.Address) (*MarketWorkerRemovedIterator, error)
- func (_Market *MarketFilterer) WatchBilled(opts *bind.WatchOpts, sink chan<- *MarketBilled, dealID []*big.Int, ...) (event.Subscription, error)
- func (_Market *MarketFilterer) WatchDealChangeRequestSet(opts *bind.WatchOpts, sink chan<- *MarketDealChangeRequestSet, ...) (event.Subscription, error)
- func (_Market *MarketFilterer) WatchDealChangeRequestUpdated(opts *bind.WatchOpts, sink chan<- *MarketDealChangeRequestUpdated, ...) (event.Subscription, error)
- func (_Market *MarketFilterer) WatchDealOpened(opts *bind.WatchOpts, sink chan<- *MarketDealOpened, dealID []*big.Int) (event.Subscription, error)
- func (_Market *MarketFilterer) WatchDealUpdated(opts *bind.WatchOpts, sink chan<- *MarketDealUpdated, dealID []*big.Int) (event.Subscription, error)
- func (_Market *MarketFilterer) WatchNumBenchmarksUpdated(opts *bind.WatchOpts, sink chan<- *MarketNumBenchmarksUpdated, ...) (event.Subscription, error)
- func (_Market *MarketFilterer) WatchOrderPlaced(opts *bind.WatchOpts, sink chan<- *MarketOrderPlaced, orderID []*big.Int) (event.Subscription, error)
- func (_Market *MarketFilterer) WatchOrderUpdated(opts *bind.WatchOpts, sink chan<- *MarketOrderUpdated, orderID []*big.Int) (event.Subscription, error)
- func (_Market *MarketFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *MarketOwnershipTransferred, ...) (event.Subscription, error)
- func (_Market *MarketFilterer) WatchWorkerAnnounced(opts *bind.WatchOpts, sink chan<- *MarketWorkerAnnounced, ...) (event.Subscription, error)
- func (_Market *MarketFilterer) WatchWorkerConfirmed(opts *bind.WatchOpts, sink chan<- *MarketWorkerConfirmed, ...) (event.Subscription, error)
- func (_Market *MarketFilterer) WatchWorkerRemoved(opts *bind.WatchOpts, sink chan<- *MarketWorkerRemoved, ...) (event.Subscription, error)
- type MarketNumBenchmarksUpdated
- type MarketNumBenchmarksUpdatedIterator
- type MarketOrderPlaced
- type MarketOrderPlacedIterator
- type MarketOrderUpdated
- type MarketOrderUpdatedIterator
- type MarketOwnershipTransferred
- type MarketOwnershipTransferredIterator
- type MarketRaw
- func (_Market *MarketRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error
- func (_Market *MarketRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_Market *MarketRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type MarketSession
- func (_Market *MarketSession) Bill(dealID *big.Int) (*types.Transaction, error)
- func (_Market *MarketSession) CancelChangeRequest(changeRequestID *big.Int) (*types.Transaction, error)
- func (_Market *MarketSession) CancelOrder(orderID *big.Int) (*types.Transaction, error)
- func (_Market *MarketSession) CloseDeal(dealID *big.Int, blacklisted bool) (*types.Transaction, error)
- func (_Market *MarketSession) ConfirmWorker(_worker common.Address) (*types.Transaction, error)
- func (_Market *MarketSession) CreateChangeRequest(dealID *big.Int, newPrice *big.Int, newDuration *big.Int) (*types.Transaction, error)
- func (_Market *MarketSession) Deals(arg0 *big.Int) (struct{ ... }, error)
- func (_Market *MarketSession) GetBenchmarksQuantity() (*big.Int, error)
- func (_Market *MarketSession) GetChangeRequestInfo(changeRequestID *big.Int) (struct{ ... }, error)
- func (_Market *MarketSession) GetChangeRequestsAmount() (*big.Int, error)
- func (_Market *MarketSession) GetDealInfo(dealID *big.Int) (struct{ ... }, error)
- func (_Market *MarketSession) GetDealParams(dealID *big.Int) (struct{ ... }, error)
- func (_Market *MarketSession) GetDealsAmount() (*big.Int, error)
- func (_Market *MarketSession) GetMaster(_worker common.Address) (common.Address, error)
- func (_Market *MarketSession) GetOrderInfo(orderID *big.Int) (struct{ ... }, error)
- func (_Market *MarketSession) GetOrderParams(orderID *big.Int) (struct{ ... }, error)
- func (_Market *MarketSession) GetOrdersAmount() (*big.Int, error)
- func (_Market *MarketSession) OpenDeal(_askID *big.Int, _bidID *big.Int) (*types.Transaction, error)
- func (_Market *MarketSession) Orders(arg0 *big.Int) (struct{ ... }, error)
- func (_Market *MarketSession) Owner() (common.Address, error)
- func (_Market *MarketSession) PlaceOrder(_orderType uint8, _id_counterparty common.Address, _duration *big.Int, ...) (*types.Transaction, error)
- func (_Market *MarketSession) QuickBuy(askID *big.Int) (*types.Transaction, error)
- func (_Market *MarketSession) RegisterWorker(_master common.Address) (*types.Transaction, error)
- func (_Market *MarketSession) RemoveWorker(_worker common.Address, _master common.Address) (*types.Transaction, error)
- func (_Market *MarketSession) SetBenchmarksQuantity(_newQuantity *big.Int) (*types.Transaction, error)
- func (_Market *MarketSession) SetBlacklistAddress(_newBL common.Address) (*types.Transaction, error)
- func (_Market *MarketSession) SetOracleAddress(_newOracle common.Address) (*types.Transaction, error)
- func (_Market *MarketSession) SetProfileRegistryAddress(_newPR common.Address) (*types.Transaction, error)
- func (_Market *MarketSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
- type MarketTransactor
- func (_Market *MarketTransactor) Bill(opts *bind.TransactOpts, dealID *big.Int) (*types.Transaction, error)
- func (_Market *MarketTransactor) CancelChangeRequest(opts *bind.TransactOpts, changeRequestID *big.Int) (*types.Transaction, error)
- func (_Market *MarketTransactor) CancelOrder(opts *bind.TransactOpts, orderID *big.Int) (*types.Transaction, error)
- func (_Market *MarketTransactor) CloseDeal(opts *bind.TransactOpts, dealID *big.Int, blacklisted bool) (*types.Transaction, error)
- func (_Market *MarketTransactor) ConfirmWorker(opts *bind.TransactOpts, _worker common.Address) (*types.Transaction, error)
- func (_Market *MarketTransactor) CreateChangeRequest(opts *bind.TransactOpts, dealID *big.Int, newPrice *big.Int, ...) (*types.Transaction, error)
- func (_Market *MarketTransactor) OpenDeal(opts *bind.TransactOpts, _askID *big.Int, _bidID *big.Int) (*types.Transaction, error)
- func (_Market *MarketTransactor) PlaceOrder(opts *bind.TransactOpts, _orderType uint8, _id_counterparty common.Address, ...) (*types.Transaction, error)
- func (_Market *MarketTransactor) QuickBuy(opts *bind.TransactOpts, askID *big.Int) (*types.Transaction, error)
- func (_Market *MarketTransactor) RegisterWorker(opts *bind.TransactOpts, _master common.Address) (*types.Transaction, error)
- func (_Market *MarketTransactor) RemoveWorker(opts *bind.TransactOpts, _worker common.Address, _master common.Address) (*types.Transaction, error)
- func (_Market *MarketTransactor) SetBenchmarksQuantity(opts *bind.TransactOpts, _newQuantity *big.Int) (*types.Transaction, error)
- func (_Market *MarketTransactor) SetBlacklistAddress(opts *bind.TransactOpts, _newBL common.Address) (*types.Transaction, error)
- func (_Market *MarketTransactor) SetOracleAddress(opts *bind.TransactOpts, _newOracle common.Address) (*types.Transaction, error)
- func (_Market *MarketTransactor) SetProfileRegistryAddress(opts *bind.TransactOpts, _newPR common.Address) (*types.Transaction, error)
- func (_Market *MarketTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)
- type MarketTransactorRaw
- type MarketTransactorSession
- func (_Market *MarketTransactorSession) Bill(dealID *big.Int) (*types.Transaction, error)
- func (_Market *MarketTransactorSession) CancelChangeRequest(changeRequestID *big.Int) (*types.Transaction, error)
- func (_Market *MarketTransactorSession) CancelOrder(orderID *big.Int) (*types.Transaction, error)
- func (_Market *MarketTransactorSession) CloseDeal(dealID *big.Int, blacklisted bool) (*types.Transaction, error)
- func (_Market *MarketTransactorSession) ConfirmWorker(_worker common.Address) (*types.Transaction, error)
- func (_Market *MarketTransactorSession) CreateChangeRequest(dealID *big.Int, newPrice *big.Int, newDuration *big.Int) (*types.Transaction, error)
- func (_Market *MarketTransactorSession) OpenDeal(_askID *big.Int, _bidID *big.Int) (*types.Transaction, error)
- func (_Market *MarketTransactorSession) PlaceOrder(_orderType uint8, _id_counterparty common.Address, _duration *big.Int, ...) (*types.Transaction, error)
- func (_Market *MarketTransactorSession) QuickBuy(askID *big.Int) (*types.Transaction, error)
- func (_Market *MarketTransactorSession) RegisterWorker(_master common.Address) (*types.Transaction, error)
- func (_Market *MarketTransactorSession) RemoveWorker(_worker common.Address, _master common.Address) (*types.Transaction, error)
- func (_Market *MarketTransactorSession) SetBenchmarksQuantity(_newQuantity *big.Int) (*types.Transaction, error)
- func (_Market *MarketTransactorSession) SetBlacklistAddress(_newBL common.Address) (*types.Transaction, error)
- func (_Market *MarketTransactorSession) SetOracleAddress(_newOracle common.Address) (*types.Transaction, error)
- func (_Market *MarketTransactorSession) SetProfileRegistryAddress(_newPR common.Address) (*types.Transaction, error)
- func (_Market *MarketTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
- type MarketWorkerAnnounced
- type MarketWorkerAnnouncedIterator
- type MarketWorkerConfirmed
- type MarketWorkerConfirmedIterator
- type MarketWorkerRemoved
- type MarketWorkerRemovedIterator
- type Migrations
- type MigrationsCaller
- type MigrationsCallerRaw
- type MigrationsCallerSession
- type MigrationsFilterer
- type MigrationsRaw
- func (_Migrations *MigrationsRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error
- func (_Migrations *MigrationsRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_Migrations *MigrationsRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type MigrationsSession
- func (_Migrations *MigrationsSession) Last_completed_migration() (*big.Int, error)
- func (_Migrations *MigrationsSession) Owner() (common.Address, error)
- func (_Migrations *MigrationsSession) SetCompleted(completed *big.Int) (*types.Transaction, error)
- func (_Migrations *MigrationsSession) Upgrade(new_address common.Address) (*types.Transaction, error)
- type MigrationsTransactor
- type MigrationsTransactorRaw
- type MigrationsTransactorSession
- type OracleUSD
- type OracleUSDCaller
- type OracleUSDCallerRaw
- type OracleUSDCallerSession
- type OracleUSDFilterer
- func (_OracleUSD *OracleUSDFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, ...) (*OracleUSDOwnershipTransferredIterator, error)
- func (_OracleUSD *OracleUSDFilterer) FilterPriceChanged(opts *bind.FilterOpts) (*OracleUSDPriceChangedIterator, error)
- func (_OracleUSD *OracleUSDFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *OracleUSDOwnershipTransferred, ...) (event.Subscription, error)
- func (_OracleUSD *OracleUSDFilterer) WatchPriceChanged(opts *bind.WatchOpts, sink chan<- *OracleUSDPriceChanged) (event.Subscription, error)
- type OracleUSDOwnershipTransferred
- type OracleUSDOwnershipTransferredIterator
- type OracleUSDPriceChanged
- type OracleUSDPriceChangedIterator
- type OracleUSDRaw
- func (_OracleUSD *OracleUSDRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error
- func (_OracleUSD *OracleUSDRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_OracleUSD *OracleUSDRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type OracleUSDSession
- func (_OracleUSD *OracleUSDSession) GetCurrentPrice() (*big.Int, error)
- func (_OracleUSD *OracleUSDSession) Owner() (common.Address, error)
- func (_OracleUSD *OracleUSDSession) SetCurrentPrice(_price *big.Int) (*types.Transaction, error)
- func (_OracleUSD *OracleUSDSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
- type OracleUSDTransactor
- type OracleUSDTransactorRaw
- type OracleUSDTransactorSession
- type Ownable
- type OwnableCaller
- type OwnableCallerRaw
- type OwnableCallerSession
- type OwnableFilterer
- func (_Ownable *OwnableFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, ...) (*OwnableOwnershipTransferredIterator, error)
- func (_Ownable *OwnableFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *OwnableOwnershipTransferred, ...) (event.Subscription, error)
- type OwnableOwnershipTransferred
- type OwnableOwnershipTransferredIterator
- type OwnableRaw
- func (_Ownable *OwnableRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error
- func (_Ownable *OwnableRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_Ownable *OwnableRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type OwnableSession
- type OwnableTransactor
- type OwnableTransactorRaw
- type OwnableTransactorSession
- type ProfileRegistry
- type ProfileRegistryCaller
- func (_ProfileRegistry *ProfileRegistryCaller) Certificates(opts *bind.CallOpts, arg0 *big.Int) (struct{ ... }, error)
- func (_ProfileRegistry *ProfileRegistryCaller) CheckProfileLevel(opts *bind.CallOpts, _owner common.Address, _levelRequired *big.Int) (bool, error)
- func (_ProfileRegistry *ProfileRegistryCaller) GetAttributeCount(opts *bind.CallOpts, _owner common.Address, _type *big.Int) (*big.Int, error)
- func (_ProfileRegistry *ProfileRegistryCaller) GetAttributeValue(opts *bind.CallOpts, _owner common.Address, _type *big.Int) ([]byte, error)
- func (_ProfileRegistry *ProfileRegistryCaller) GetCertificate(opts *bind.CallOpts, _id *big.Int) (common.Address, common.Address, *big.Int, []byte, error)
- func (_ProfileRegistry *ProfileRegistryCaller) GetValidatorLevel(opts *bind.CallOpts, _validator common.Address) (int8, error)
- func (_ProfileRegistry *ProfileRegistryCaller) Validators(opts *bind.CallOpts, arg0 common.Address) (int8, error)
- type ProfileRegistryCallerRaw
- type ProfileRegistryCallerSession
- func (_ProfileRegistry *ProfileRegistryCallerSession) Certificates(arg0 *big.Int) (struct{ ... }, error)
- func (_ProfileRegistry *ProfileRegistryCallerSession) CheckProfileLevel(_owner common.Address, _levelRequired *big.Int) (bool, error)
- func (_ProfileRegistry *ProfileRegistryCallerSession) GetAttributeCount(_owner common.Address, _type *big.Int) (*big.Int, error)
- func (_ProfileRegistry *ProfileRegistryCallerSession) GetAttributeValue(_owner common.Address, _type *big.Int) ([]byte, error)
- func (_ProfileRegistry *ProfileRegistryCallerSession) GetCertificate(_id *big.Int) (common.Address, common.Address, *big.Int, []byte, error)
- func (_ProfileRegistry *ProfileRegistryCallerSession) GetValidatorLevel(_validator common.Address) (int8, error)
- func (_ProfileRegistry *ProfileRegistryCallerSession) Validators(arg0 common.Address) (int8, error)
- type ProfileRegistryCertificateCreated
- type ProfileRegistryCertificateCreatedIterator
- type ProfileRegistryCertificateUpdated
- type ProfileRegistryCertificateUpdatedIterator
- type ProfileRegistryFilterer
- func (_ProfileRegistry *ProfileRegistryFilterer) FilterCertificateCreated(opts *bind.FilterOpts, id []*big.Int) (*ProfileRegistryCertificateCreatedIterator, error)
- func (_ProfileRegistry *ProfileRegistryFilterer) FilterCertificateUpdated(opts *bind.FilterOpts, id []*big.Int) (*ProfileRegistryCertificateUpdatedIterator, error)
- func (_ProfileRegistry *ProfileRegistryFilterer) FilterValidatorCreated(opts *bind.FilterOpts, validator []common.Address) (*ProfileRegistryValidatorCreatedIterator, error)
- func (_ProfileRegistry *ProfileRegistryFilterer) FilterValidatorDeleted(opts *bind.FilterOpts, validator []common.Address) (*ProfileRegistryValidatorDeletedIterator, error)
- func (_ProfileRegistry *ProfileRegistryFilterer) WatchCertificateCreated(opts *bind.WatchOpts, sink chan<- *ProfileRegistryCertificateCreated, ...) (event.Subscription, error)
- func (_ProfileRegistry *ProfileRegistryFilterer) WatchCertificateUpdated(opts *bind.WatchOpts, sink chan<- *ProfileRegistryCertificateUpdated, ...) (event.Subscription, error)
- func (_ProfileRegistry *ProfileRegistryFilterer) WatchValidatorCreated(opts *bind.WatchOpts, sink chan<- *ProfileRegistryValidatorCreated, ...) (event.Subscription, error)
- func (_ProfileRegistry *ProfileRegistryFilterer) WatchValidatorDeleted(opts *bind.WatchOpts, sink chan<- *ProfileRegistryValidatorDeleted, ...) (event.Subscription, error)
- type ProfileRegistryRaw
- func (_ProfileRegistry *ProfileRegistryRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error
- func (_ProfileRegistry *ProfileRegistryRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_ProfileRegistry *ProfileRegistryRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type ProfileRegistrySession
- func (_ProfileRegistry *ProfileRegistrySession) AddValidator(_validator common.Address, _level int8) (*types.Transaction, error)
- func (_ProfileRegistry *ProfileRegistrySession) Certificates(arg0 *big.Int) (struct{ ... }, error)
- func (_ProfileRegistry *ProfileRegistrySession) CheckProfileLevel(_owner common.Address, _levelRequired *big.Int) (bool, error)
- func (_ProfileRegistry *ProfileRegistrySession) CreateCertificate(_owner common.Address, _type *big.Int, _value []byte) (*types.Transaction, error)
- func (_ProfileRegistry *ProfileRegistrySession) GetAttributeCount(_owner common.Address, _type *big.Int) (*big.Int, error)
- func (_ProfileRegistry *ProfileRegistrySession) GetAttributeValue(_owner common.Address, _type *big.Int) ([]byte, error)
- func (_ProfileRegistry *ProfileRegistrySession) GetCertificate(_id *big.Int) (common.Address, common.Address, *big.Int, []byte, error)
- func (_ProfileRegistry *ProfileRegistrySession) GetValidatorLevel(_validator common.Address) (int8, error)
- func (_ProfileRegistry *ProfileRegistrySession) RemoveCertificate(_id *big.Int) (*types.Transaction, error)
- func (_ProfileRegistry *ProfileRegistrySession) RemoveValidator(_validator common.Address) (*types.Transaction, error)
- func (_ProfileRegistry *ProfileRegistrySession) Validators(arg0 common.Address) (int8, error)
- type ProfileRegistryTransactor
- func (_ProfileRegistry *ProfileRegistryTransactor) AddValidator(opts *bind.TransactOpts, _validator common.Address, _level int8) (*types.Transaction, error)
- func (_ProfileRegistry *ProfileRegistryTransactor) CreateCertificate(opts *bind.TransactOpts, _owner common.Address, _type *big.Int, _value []byte) (*types.Transaction, error)
- func (_ProfileRegistry *ProfileRegistryTransactor) RemoveCertificate(opts *bind.TransactOpts, _id *big.Int) (*types.Transaction, error)
- func (_ProfileRegistry *ProfileRegistryTransactor) RemoveValidator(opts *bind.TransactOpts, _validator common.Address) (*types.Transaction, error)
- type ProfileRegistryTransactorRaw
- type ProfileRegistryTransactorSession
- func (_ProfileRegistry *ProfileRegistryTransactorSession) AddValidator(_validator common.Address, _level int8) (*types.Transaction, error)
- func (_ProfileRegistry *ProfileRegistryTransactorSession) CreateCertificate(_owner common.Address, _type *big.Int, _value []byte) (*types.Transaction, error)
- func (_ProfileRegistry *ProfileRegistryTransactorSession) RemoveCertificate(_id *big.Int) (*types.Transaction, error)
- func (_ProfileRegistry *ProfileRegistryTransactorSession) RemoveValidator(_validator common.Address) (*types.Transaction, error)
- type ProfileRegistryValidatorCreated
- type ProfileRegistryValidatorCreatedIterator
- type ProfileRegistryValidatorDeleted
- type ProfileRegistryValidatorDeletedIterator
- type SNM
- type SNMApproval
- type SNMApprovalIterator
- type SNMCaller
- func (_SNM *SNMCaller) Allowance(opts *bind.CallOpts, _owner common.Address, _spender common.Address) (*big.Int, error)
- func (_SNM *SNMCaller) BalanceOf(opts *bind.CallOpts, _owner common.Address) (*big.Int, error)
- func (_SNM *SNMCaller) Decimals(opts *bind.CallOpts) (*big.Int, error)
- func (_SNM *SNMCaller) Name(opts *bind.CallOpts) (string, error)
- func (_SNM *SNMCaller) Owner(opts *bind.CallOpts) (common.Address, error)
- func (_SNM *SNMCaller) Symbol(opts *bind.CallOpts) (string, error)
- func (_SNM *SNMCaller) TotalSupply(opts *bind.CallOpts) (*big.Int, error)
- type SNMCallerRaw
- type SNMCallerSession
- func (_SNM *SNMCallerSession) Allowance(_owner common.Address, _spender common.Address) (*big.Int, error)
- func (_SNM *SNMCallerSession) BalanceOf(_owner common.Address) (*big.Int, error)
- func (_SNM *SNMCallerSession) Decimals() (*big.Int, error)
- func (_SNM *SNMCallerSession) Name() (string, error)
- func (_SNM *SNMCallerSession) Owner() (common.Address, error)
- func (_SNM *SNMCallerSession) Symbol() (string, error)
- func (_SNM *SNMCallerSession) TotalSupply() (*big.Int, error)
- type SNMD
- type SNMDApproval
- type SNMDApprovalIterator
- type SNMDCaller
- func (_SNMD *SNMDCaller) Allowance(opts *bind.CallOpts, _owner common.Address, _spender common.Address) (*big.Int, error)
- func (_SNMD *SNMDCaller) BalanceOf(opts *bind.CallOpts, _owner common.Address) (*big.Int, error)
- func (_SNMD *SNMDCaller) Decimals(opts *bind.CallOpts) (*big.Int, error)
- func (_SNMD *SNMDCaller) Name(opts *bind.CallOpts) (string, error)
- func (_SNMD *SNMDCaller) Owner(opts *bind.CallOpts) (common.Address, error)
- func (_SNMD *SNMDCaller) Symbol(opts *bind.CallOpts) (string, error)
- func (_SNMD *SNMDCaller) TotalSupply(opts *bind.CallOpts) (*big.Int, error)
- type SNMDCallerRaw
- type SNMDCallerSession
- func (_SNMD *SNMDCallerSession) Allowance(_owner common.Address, _spender common.Address) (*big.Int, error)
- func (_SNMD *SNMDCallerSession) BalanceOf(_owner common.Address) (*big.Int, error)
- func (_SNMD *SNMDCallerSession) Decimals() (*big.Int, error)
- func (_SNMD *SNMDCallerSession) Name() (string, error)
- func (_SNMD *SNMDCallerSession) Owner() (common.Address, error)
- func (_SNMD *SNMDCallerSession) Symbol() (string, error)
- func (_SNMD *SNMDCallerSession) TotalSupply() (*big.Int, error)
- type SNMDFilterer
- func (_SNMD *SNMDFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*SNMDApprovalIterator, error)
- func (_SNMD *SNMDFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, ...) (*SNMDOwnershipTransferredIterator, error)
- func (_SNMD *SNMDFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*SNMDTransferIterator, error)
- func (_SNMD *SNMDFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *SNMDApproval, owner []common.Address, ...) (event.Subscription, error)
- func (_SNMD *SNMDFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *SNMDOwnershipTransferred, ...) (event.Subscription, error)
- func (_SNMD *SNMDFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *SNMDTransfer, from []common.Address, ...) (event.Subscription, error)
- type SNMDOwnershipTransferred
- type SNMDOwnershipTransferredIterator
- type SNMDRaw
- func (_SNMD *SNMDRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error
- func (_SNMD *SNMDRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_SNMD *SNMDRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type SNMDSession
- func (_SNMD *SNMDSession) AddMarket(_newMarket common.Address) (*types.Transaction, error)
- func (_SNMD *SNMDSession) Allowance(_owner common.Address, _spender common.Address) (*big.Int, error)
- func (_SNMD *SNMDSession) Approve(_spender common.Address, _value *big.Int) (*types.Transaction, error)
- func (_SNMD *SNMDSession) BalanceOf(_owner common.Address) (*big.Int, error)
- func (_SNMD *SNMDSession) Decimals() (*big.Int, error)
- func (_SNMD *SNMDSession) DecreaseApproval(_spender common.Address, _subtractedValue *big.Int) (*types.Transaction, error)
- func (_SNMD *SNMDSession) IncreaseApproval(_spender common.Address, _addedValue *big.Int) (*types.Transaction, error)
- func (_SNMD *SNMDSession) Name() (string, error)
- func (_SNMD *SNMDSession) Owner() (common.Address, error)
- func (_SNMD *SNMDSession) Symbol() (string, error)
- func (_SNMD *SNMDSession) TotalSupply() (*big.Int, error)
- func (_SNMD *SNMDSession) Transfer(_to common.Address, _value *big.Int) (*types.Transaction, error)
- func (_SNMD *SNMDSession) TransferFrom(_from common.Address, _to common.Address, _value *big.Int) (*types.Transaction, error)
- func (_SNMD *SNMDSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
- type SNMDTransactor
- func (_SNMD *SNMDTransactor) AddMarket(opts *bind.TransactOpts, _newMarket common.Address) (*types.Transaction, error)
- func (_SNMD *SNMDTransactor) Approve(opts *bind.TransactOpts, _spender common.Address, _value *big.Int) (*types.Transaction, error)
- func (_SNMD *SNMDTransactor) DecreaseApproval(opts *bind.TransactOpts, _spender common.Address, _subtractedValue *big.Int) (*types.Transaction, error)
- func (_SNMD *SNMDTransactor) IncreaseApproval(opts *bind.TransactOpts, _spender common.Address, _addedValue *big.Int) (*types.Transaction, error)
- func (_SNMD *SNMDTransactor) Transfer(opts *bind.TransactOpts, _to common.Address, _value *big.Int) (*types.Transaction, error)
- func (_SNMD *SNMDTransactor) TransferFrom(opts *bind.TransactOpts, _from common.Address, _to common.Address, ...) (*types.Transaction, error)
- func (_SNMD *SNMDTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)
- type SNMDTransactorRaw
- type SNMDTransactorSession
- func (_SNMD *SNMDTransactorSession) AddMarket(_newMarket common.Address) (*types.Transaction, error)
- func (_SNMD *SNMDTransactorSession) Approve(_spender common.Address, _value *big.Int) (*types.Transaction, error)
- func (_SNMD *SNMDTransactorSession) DecreaseApproval(_spender common.Address, _subtractedValue *big.Int) (*types.Transaction, error)
- func (_SNMD *SNMDTransactorSession) IncreaseApproval(_spender common.Address, _addedValue *big.Int) (*types.Transaction, error)
- func (_SNMD *SNMDTransactorSession) Transfer(_to common.Address, _value *big.Int) (*types.Transaction, error)
- func (_SNMD *SNMDTransactorSession) TransferFrom(_from common.Address, _to common.Address, _value *big.Int) (*types.Transaction, error)
- func (_SNMD *SNMDTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
- type SNMDTransfer
- type SNMDTransferIterator
- type SNMFilterer
- func (_SNM *SNMFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*SNMApprovalIterator, error)
- func (_SNM *SNMFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, ...) (*SNMOwnershipTransferredIterator, error)
- func (_SNM *SNMFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*SNMTransferIterator, error)
- func (_SNM *SNMFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *SNMApproval, owner []common.Address, ...) (event.Subscription, error)
- func (_SNM *SNMFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *SNMOwnershipTransferred, ...) (event.Subscription, error)
- func (_SNM *SNMFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *SNMTransfer, from []common.Address, ...) (event.Subscription, error)
- type SNMOwnershipTransferred
- type SNMOwnershipTransferredIterator
- type SNMRaw
- func (_SNM *SNMRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error
- func (_SNM *SNMRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_SNM *SNMRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type SNMSession
- func (_SNM *SNMSession) Allowance(_owner common.Address, _spender common.Address) (*big.Int, error)
- func (_SNM *SNMSession) Approve(_spender common.Address, _value *big.Int) (*types.Transaction, error)
- func (_SNM *SNMSession) BalanceOf(_owner common.Address) (*big.Int, error)
- func (_SNM *SNMSession) Decimals() (*big.Int, error)
- func (_SNM *SNMSession) DecreaseApproval(_spender common.Address, _subtractedValue *big.Int) (*types.Transaction, error)
- func (_SNM *SNMSession) IncreaseApproval(_spender common.Address, _addedValue *big.Int) (*types.Transaction, error)
- func (_SNM *SNMSession) Name() (string, error)
- func (_SNM *SNMSession) Owner() (common.Address, error)
- func (_SNM *SNMSession) Symbol() (string, error)
- func (_SNM *SNMSession) TotalSupply() (*big.Int, error)
- func (_SNM *SNMSession) Transfer(_to common.Address, _value *big.Int) (*types.Transaction, error)
- func (_SNM *SNMSession) TransferFrom(_from common.Address, _to common.Address, _value *big.Int) (*types.Transaction, error)
- func (_SNM *SNMSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
- type SNMTToken
- type SNMTTokenApproval
- type SNMTTokenApprovalIterator
- type SNMTTokenCaller
- func (_SNMTToken *SNMTTokenCaller) Allowance(opts *bind.CallOpts, _owner common.Address, _spender common.Address) (*big.Int, error)
- func (_SNMTToken *SNMTTokenCaller) BalanceOf(opts *bind.CallOpts, _owner common.Address) (*big.Int, error)
- func (_SNMTToken *SNMTTokenCaller) Decimals(opts *bind.CallOpts) (*big.Int, error)
- func (_SNMTToken *SNMTTokenCaller) Name(opts *bind.CallOpts) (string, error)
- func (_SNMTToken *SNMTTokenCaller) Owner(opts *bind.CallOpts) (common.Address, error)
- func (_SNMTToken *SNMTTokenCaller) Symbol(opts *bind.CallOpts) (string, error)
- func (_SNMTToken *SNMTTokenCaller) TotalSupply(opts *bind.CallOpts) (*big.Int, error)
- type SNMTTokenCallerRaw
- type SNMTTokenCallerSession
- func (_SNMTToken *SNMTTokenCallerSession) Allowance(_owner common.Address, _spender common.Address) (*big.Int, error)
- func (_SNMTToken *SNMTTokenCallerSession) BalanceOf(_owner common.Address) (*big.Int, error)
- func (_SNMTToken *SNMTTokenCallerSession) Decimals() (*big.Int, error)
- func (_SNMTToken *SNMTTokenCallerSession) Name() (string, error)
- func (_SNMTToken *SNMTTokenCallerSession) Owner() (common.Address, error)
- func (_SNMTToken *SNMTTokenCallerSession) Symbol() (string, error)
- func (_SNMTToken *SNMTTokenCallerSession) TotalSupply() (*big.Int, error)
- type SNMTTokenFilterer
- func (_SNMTToken *SNMTTokenFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*SNMTTokenApprovalIterator, error)
- func (_SNMTToken *SNMTTokenFilterer) FilterGiveAway(opts *bind.FilterOpts) (*SNMTTokenGiveAwayIterator, error)
- func (_SNMTToken *SNMTTokenFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*SNMTTokenTransferIterator, error)
- func (_SNMTToken *SNMTTokenFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *SNMTTokenApproval, owner []common.Address, ...) (event.Subscription, error)
- func (_SNMTToken *SNMTTokenFilterer) WatchGiveAway(opts *bind.WatchOpts, sink chan<- *SNMTTokenGiveAway) (event.Subscription, error)
- func (_SNMTToken *SNMTTokenFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *SNMTTokenTransfer, from []common.Address, ...) (event.Subscription, error)
- type SNMTTokenGiveAway
- type SNMTTokenGiveAwayIterator
- type SNMTTokenRaw
- func (_SNMTToken *SNMTTokenRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error
- func (_SNMTToken *SNMTTokenRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_SNMTToken *SNMTTokenRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type SNMTTokenSession
- func (_SNMTToken *SNMTTokenSession) Allowance(_owner common.Address, _spender common.Address) (*big.Int, error)
- func (_SNMTToken *SNMTTokenSession) Approve(_spender common.Address, _value *big.Int) (*types.Transaction, error)
- func (_SNMTToken *SNMTTokenSession) BalanceOf(_owner common.Address) (*big.Int, error)
- func (_SNMTToken *SNMTTokenSession) Decimals() (*big.Int, error)
- func (_SNMTToken *SNMTTokenSession) GetTokens() (*types.Transaction, error)
- func (_SNMTToken *SNMTTokenSession) MintToken(target common.Address, mintedAmount *big.Int) (*types.Transaction, error)
- func (_SNMTToken *SNMTTokenSession) Name() (string, error)
- func (_SNMTToken *SNMTTokenSession) Owner() (common.Address, error)
- func (_SNMTToken *SNMTTokenSession) Symbol() (string, error)
- func (_SNMTToken *SNMTTokenSession) TotalSupply() (*big.Int, error)
- func (_SNMTToken *SNMTTokenSession) Transfer(_to common.Address, _value *big.Int) (*types.Transaction, error)
- func (_SNMTToken *SNMTTokenSession) TransferFrom(_from common.Address, _to common.Address, _value *big.Int) (*types.Transaction, error)
- func (_SNMTToken *SNMTTokenSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
- type SNMTTokenTransactor
- func (_SNMTToken *SNMTTokenTransactor) Approve(opts *bind.TransactOpts, _spender common.Address, _value *big.Int) (*types.Transaction, error)
- func (_SNMTToken *SNMTTokenTransactor) GetTokens(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_SNMTToken *SNMTTokenTransactor) MintToken(opts *bind.TransactOpts, target common.Address, mintedAmount *big.Int) (*types.Transaction, error)
- func (_SNMTToken *SNMTTokenTransactor) Transfer(opts *bind.TransactOpts, _to common.Address, _value *big.Int) (*types.Transaction, error)
- func (_SNMTToken *SNMTTokenTransactor) TransferFrom(opts *bind.TransactOpts, _from common.Address, _to common.Address, ...) (*types.Transaction, error)
- func (_SNMTToken *SNMTTokenTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)
- type SNMTTokenTransactorRaw
- type SNMTTokenTransactorSession
- func (_SNMTToken *SNMTTokenTransactorSession) Approve(_spender common.Address, _value *big.Int) (*types.Transaction, error)
- func (_SNMTToken *SNMTTokenTransactorSession) GetTokens() (*types.Transaction, error)
- func (_SNMTToken *SNMTTokenTransactorSession) MintToken(target common.Address, mintedAmount *big.Int) (*types.Transaction, error)
- func (_SNMTToken *SNMTTokenTransactorSession) Transfer(_to common.Address, _value *big.Int) (*types.Transaction, error)
- func (_SNMTToken *SNMTTokenTransactorSession) TransferFrom(_from common.Address, _to common.Address, _value *big.Int) (*types.Transaction, error)
- func (_SNMTToken *SNMTTokenTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
- type SNMTTokenTransfer
- type SNMTTokenTransferIterator
- type SNMTransactor
- func (_SNM *SNMTransactor) Approve(opts *bind.TransactOpts, _spender common.Address, _value *big.Int) (*types.Transaction, error)
- func (_SNM *SNMTransactor) DecreaseApproval(opts *bind.TransactOpts, _spender common.Address, _subtractedValue *big.Int) (*types.Transaction, error)
- func (_SNM *SNMTransactor) IncreaseApproval(opts *bind.TransactOpts, _spender common.Address, _addedValue *big.Int) (*types.Transaction, error)
- func (_SNM *SNMTransactor) Transfer(opts *bind.TransactOpts, _to common.Address, _value *big.Int) (*types.Transaction, error)
- func (_SNM *SNMTransactor) TransferFrom(opts *bind.TransactOpts, _from common.Address, _to common.Address, ...) (*types.Transaction, error)
- func (_SNM *SNMTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)
- type SNMTransactorRaw
- type SNMTransactorSession
- func (_SNM *SNMTransactorSession) Approve(_spender common.Address, _value *big.Int) (*types.Transaction, error)
- func (_SNM *SNMTransactorSession) DecreaseApproval(_spender common.Address, _subtractedValue *big.Int) (*types.Transaction, error)
- func (_SNM *SNMTransactorSession) IncreaseApproval(_spender common.Address, _addedValue *big.Int) (*types.Transaction, error)
- func (_SNM *SNMTransactorSession) Transfer(_to common.Address, _value *big.Int) (*types.Transaction, error)
- func (_SNM *SNMTransactorSession) TransferFrom(_from common.Address, _to common.Address, _value *big.Int) (*types.Transaction, error)
- func (_SNM *SNMTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
- type SNMTransfer
- type SNMTransferIterator
- type SafeMath
- type SafeMathCaller
- type SafeMathCallerRaw
- type SafeMathCallerSession
- type SafeMathFilterer
- type SafeMathRaw
- func (_SafeMath *SafeMathRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error
- func (_SafeMath *SafeMathRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_SafeMath *SafeMathRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type SafeMathSession
- type SafeMathTransactor
- type SafeMathTransactorRaw
- type SafeMathTransactorSession
- type SimpleGatekeeper
- type SimpleGatekeeperCaller
- func (_SimpleGatekeeper *SimpleGatekeeperCaller) Owner(opts *bind.CallOpts) (common.Address, error)
- func (_SimpleGatekeeper *SimpleGatekeeperCaller) Paid(opts *bind.CallOpts, arg0 [32]byte) (bool, error)
- func (_SimpleGatekeeper *SimpleGatekeeperCaller) TransactionAmount(opts *bind.CallOpts) (*big.Int, error)
- type SimpleGatekeeperCallerRaw
- type SimpleGatekeeperCallerSession
- type SimpleGatekeeperFilterer
- func (_SimpleGatekeeper *SimpleGatekeeperFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, ...) (*SimpleGatekeeperOwnershipTransferredIterator, error)
- func (_SimpleGatekeeper *SimpleGatekeeperFilterer) FilterPayInTx(opts *bind.FilterOpts, from []common.Address, txNumber []*big.Int, ...) (*SimpleGatekeeperPayInTxIterator, error)
- func (_SimpleGatekeeper *SimpleGatekeeperFilterer) FilterPayoutTx(opts *bind.FilterOpts, from []common.Address, txNumber []*big.Int, ...) (*SimpleGatekeeperPayoutTxIterator, error)
- func (_SimpleGatekeeper *SimpleGatekeeperFilterer) FilterSuicide(opts *bind.FilterOpts) (*SimpleGatekeeperSuicideIterator, error)
- func (_SimpleGatekeeper *SimpleGatekeeperFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *SimpleGatekeeperOwnershipTransferred, ...) (event.Subscription, error)
- func (_SimpleGatekeeper *SimpleGatekeeperFilterer) WatchPayInTx(opts *bind.WatchOpts, sink chan<- *SimpleGatekeeperPayInTx, ...) (event.Subscription, error)
- func (_SimpleGatekeeper *SimpleGatekeeperFilterer) WatchPayoutTx(opts *bind.WatchOpts, sink chan<- *SimpleGatekeeperPayoutTx, ...) (event.Subscription, error)
- func (_SimpleGatekeeper *SimpleGatekeeperFilterer) WatchSuicide(opts *bind.WatchOpts, sink chan<- *SimpleGatekeeperSuicide) (event.Subscription, error)
- type SimpleGatekeeperOwnershipTransferred
- type SimpleGatekeeperOwnershipTransferredIterator
- type SimpleGatekeeperPayInTx
- type SimpleGatekeeperPayInTxIterator
- type SimpleGatekeeperPayoutTx
- type SimpleGatekeeperPayoutTxIterator
- type SimpleGatekeeperRaw
- func (_SimpleGatekeeper *SimpleGatekeeperRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error
- func (_SimpleGatekeeper *SimpleGatekeeperRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_SimpleGatekeeper *SimpleGatekeeperRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type SimpleGatekeeperSession
- func (_SimpleGatekeeper *SimpleGatekeeperSession) Kill() (*types.Transaction, error)
- func (_SimpleGatekeeper *SimpleGatekeeperSession) Owner() (common.Address, error)
- func (_SimpleGatekeeper *SimpleGatekeeperSession) Paid(arg0 [32]byte) (bool, error)
- func (_SimpleGatekeeper *SimpleGatekeeperSession) PayIn(_value *big.Int) (*types.Transaction, error)
- func (_SimpleGatekeeper *SimpleGatekeeperSession) Payout(_to common.Address, _value *big.Int, _txNumber *big.Int) (*types.Transaction, error)
- func (_SimpleGatekeeper *SimpleGatekeeperSession) TransactionAmount() (*big.Int, error)
- func (_SimpleGatekeeper *SimpleGatekeeperSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
- type SimpleGatekeeperSuicide
- type SimpleGatekeeperSuicideIterator
- type SimpleGatekeeperTransactor
- func (_SimpleGatekeeper *SimpleGatekeeperTransactor) Kill(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_SimpleGatekeeper *SimpleGatekeeperTransactor) PayIn(opts *bind.TransactOpts, _value *big.Int) (*types.Transaction, error)
- func (_SimpleGatekeeper *SimpleGatekeeperTransactor) Payout(opts *bind.TransactOpts, _to common.Address, _value *big.Int, ...) (*types.Transaction, error)
- func (_SimpleGatekeeper *SimpleGatekeeperTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)
- type SimpleGatekeeperTransactorRaw
- type SimpleGatekeeperTransactorSession
- func (_SimpleGatekeeper *SimpleGatekeeperTransactorSession) Kill() (*types.Transaction, error)
- func (_SimpleGatekeeper *SimpleGatekeeperTransactorSession) PayIn(_value *big.Int) (*types.Transaction, error)
- func (_SimpleGatekeeper *SimpleGatekeeperTransactorSession) Payout(_to common.Address, _value *big.Int, _txNumber *big.Int) (*types.Transaction, error)
- func (_SimpleGatekeeper *SimpleGatekeeperTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
- type StandardToken
- type StandardTokenApproval
- type StandardTokenApprovalIterator
- type StandardTokenCaller
- func (_StandardToken *StandardTokenCaller) Allowance(opts *bind.CallOpts, _owner common.Address, _spender common.Address) (*big.Int, error)
- func (_StandardToken *StandardTokenCaller) BalanceOf(opts *bind.CallOpts, _owner common.Address) (*big.Int, error)
- func (_StandardToken *StandardTokenCaller) TotalSupply(opts *bind.CallOpts) (*big.Int, error)
- type StandardTokenCallerRaw
- type StandardTokenCallerSession
- func (_StandardToken *StandardTokenCallerSession) Allowance(_owner common.Address, _spender common.Address) (*big.Int, error)
- func (_StandardToken *StandardTokenCallerSession) BalanceOf(_owner common.Address) (*big.Int, error)
- func (_StandardToken *StandardTokenCallerSession) TotalSupply() (*big.Int, error)
- type StandardTokenFilterer
- func (_StandardToken *StandardTokenFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*StandardTokenApprovalIterator, error)
- func (_StandardToken *StandardTokenFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*StandardTokenTransferIterator, error)
- func (_StandardToken *StandardTokenFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *StandardTokenApproval, ...) (event.Subscription, error)
- func (_StandardToken *StandardTokenFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *StandardTokenTransfer, ...) (event.Subscription, error)
- type StandardTokenRaw
- func (_StandardToken *StandardTokenRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error
- func (_StandardToken *StandardTokenRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_StandardToken *StandardTokenRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type StandardTokenSession
- func (_StandardToken *StandardTokenSession) Allowance(_owner common.Address, _spender common.Address) (*big.Int, error)
- func (_StandardToken *StandardTokenSession) Approve(_spender common.Address, _value *big.Int) (*types.Transaction, error)
- func (_StandardToken *StandardTokenSession) BalanceOf(_owner common.Address) (*big.Int, error)
- func (_StandardToken *StandardTokenSession) DecreaseApproval(_spender common.Address, _subtractedValue *big.Int) (*types.Transaction, error)
- func (_StandardToken *StandardTokenSession) IncreaseApproval(_spender common.Address, _addedValue *big.Int) (*types.Transaction, error)
- func (_StandardToken *StandardTokenSession) TotalSupply() (*big.Int, error)
- func (_StandardToken *StandardTokenSession) Transfer(_to common.Address, _value *big.Int) (*types.Transaction, error)
- func (_StandardToken *StandardTokenSession) TransferFrom(_from common.Address, _to common.Address, _value *big.Int) (*types.Transaction, error)
- type StandardTokenTransactor
- func (_StandardToken *StandardTokenTransactor) Approve(opts *bind.TransactOpts, _spender common.Address, _value *big.Int) (*types.Transaction, error)
- func (_StandardToken *StandardTokenTransactor) DecreaseApproval(opts *bind.TransactOpts, _spender common.Address, _subtractedValue *big.Int) (*types.Transaction, error)
- func (_StandardToken *StandardTokenTransactor) IncreaseApproval(opts *bind.TransactOpts, _spender common.Address, _addedValue *big.Int) (*types.Transaction, error)
- func (_StandardToken *StandardTokenTransactor) Transfer(opts *bind.TransactOpts, _to common.Address, _value *big.Int) (*types.Transaction, error)
- func (_StandardToken *StandardTokenTransactor) TransferFrom(opts *bind.TransactOpts, _from common.Address, _to common.Address, ...) (*types.Transaction, error)
- type StandardTokenTransactorRaw
- type StandardTokenTransactorSession
- func (_StandardToken *StandardTokenTransactorSession) Approve(_spender common.Address, _value *big.Int) (*types.Transaction, error)
- func (_StandardToken *StandardTokenTransactorSession) DecreaseApproval(_spender common.Address, _subtractedValue *big.Int) (*types.Transaction, error)
- func (_StandardToken *StandardTokenTransactorSession) IncreaseApproval(_spender common.Address, _addedValue *big.Int) (*types.Transaction, error)
- func (_StandardToken *StandardTokenTransactorSession) Transfer(_to common.Address, _value *big.Int) (*types.Transaction, error)
- func (_StandardToken *StandardTokenTransactorSession) TransferFrom(_from common.Address, _to common.Address, _value *big.Int) (*types.Transaction, error)
- type StandardTokenTransfer
- type StandardTokenTransferIterator
Constants ¶
const BasicTokenABI = "" /* 911-byte string literal not displayed */
BasicTokenABI is the input ABI used to generate the binding from.
const BasicTokenBin = `` /* 1338-byte string literal not displayed */
BasicTokenBin is the compiled bytecode used for deploying new contracts.
const BlacklistABI = "" /* 2677-byte string literal not displayed */
BlacklistABI is the input ABI used to generate the binding from.
const BlacklistBin = `` /* 2866-byte string literal not displayed */
BlacklistBin is the compiled bytecode used for deploying new contracts.
const ERC20ABI = "" /* 1993-byte string literal not displayed */
ERC20ABI is the input ABI used to generate the binding from.
const ERC20BasicABI = "" /* 906-byte string literal not displayed */
ERC20BasicABI is the input ABI used to generate the binding from.
const ERC20BasicBin = `0x`
ERC20BasicBin is the compiled bytecode used for deploying new contracts.
const ERC20Bin = `0x`
ERC20Bin is the compiled bytecode used for deploying new contracts.
const MarketABI = "" /* 11530-byte string literal not displayed */
MarketABI is the input ABI used to generate the binding from.
const MarketBin = `` /* 33224-byte string literal not displayed */
MarketBin is the compiled bytecode used for deploying new contracts.
const MigrationsABI = "" /* 849-byte string literal not displayed */
MigrationsABI is the input ABI used to generate the binding from.
const MigrationsBin = `` /* 1246-byte string literal not displayed */
MigrationsBin is the compiled bytecode used for deploying new contracts.
const OracleUSDABI = "" /* 1204-byte string literal not displayed */
OracleUSDABI is the input ABI used to generate the binding from.
const OracleUSDBin = `` /* 1240-byte string literal not displayed */
OracleUSDBin is the compiled bytecode used for deploying new contracts.
const OwnableABI = "" /* 685-byte string literal not displayed */
OwnableABI is the input ABI used to generate the binding from.
const OwnableBin = `` /* 844-byte string literal not displayed */
OwnableBin is the compiled bytecode used for deploying new contracts.
const ProfileRegistryABI = "" /* 3587-byte string literal not displayed */
ProfileRegistryABI is the input ABI used to generate the binding from.
const ProfileRegistryBin = `` /* 7938-byte string literal not displayed */
ProfileRegistryBin is the compiled bytecode used for deploying new contracts.
const SNMABI = "" /* 3774-byte string literal not displayed */
SNMABI is the input ABI used to generate the binding from.
const SNMBin = `` /* 5648-byte string literal not displayed */
SNMBin is the compiled bytecode used for deploying new contracts.
const SNMDABI = "" /* 3968-byte string literal not displayed */
SNMDABI is the input ABI used to generate the binding from.
const SNMDBin = `` /* 6486-byte string literal not displayed */
SNMDBin is the compiled bytecode used for deploying new contracts.
const SNMTTokenABI = "" /* 3730-byte string literal not displayed */
SNMTTokenABI is the input ABI used to generate the binding from.
const SNMTTokenBin = `` /* 5134-byte string literal not displayed */
SNMTTokenBin is the compiled bytecode used for deploying new contracts.
const SafeMathABI = "[]"
SafeMathABI is the input ABI used to generate the binding from.
const SafeMathBin = `` /* 242-byte string literal not displayed */
SafeMathBin is the compiled bytecode used for deploying new contracts.
const SimpleGatekeeperABI = "" /* 2363-byte string literal not displayed */
SimpleGatekeeperABI is the input ABI used to generate the binding from.
const SimpleGatekeeperBin = `` /* 3436-byte string literal not displayed */
SimpleGatekeeperBin is the compiled bytecode used for deploying new contracts.
const StandardTokenABI = "" /* 2570-byte string literal not displayed */
StandardTokenABI is the input ABI used to generate the binding from.
const StandardTokenBin = `` /* 3496-byte string literal not displayed */
StandardTokenBin is the compiled bytecode used for deploying new contracts.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BasicToken ¶
type BasicToken struct { BasicTokenCaller // Read-only binding to the contract BasicTokenTransactor // Write-only binding to the contract BasicTokenFilterer // Log filterer for contract events }
BasicToken is an auto generated Go binding around an Ethereum contract.
func DeployBasicToken ¶
func DeployBasicToken(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *BasicToken, error)
DeployBasicToken deploys a new Ethereum contract, binding an instance of BasicToken to it.
func NewBasicToken ¶
func NewBasicToken(address common.Address, backend bind.ContractBackend) (*BasicToken, error)
NewBasicToken creates a new instance of BasicToken, bound to a specific deployed contract.
type BasicTokenCaller ¶
type BasicTokenCaller struct {
// contains filtered or unexported fields
}
BasicTokenCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewBasicTokenCaller ¶
func NewBasicTokenCaller(address common.Address, caller bind.ContractCaller) (*BasicTokenCaller, error)
NewBasicTokenCaller creates a new read-only instance of BasicToken, bound to a specific deployed contract.
func (*BasicTokenCaller) BalanceOf ¶
func (_BasicToken *BasicTokenCaller) 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 (*BasicTokenCaller) TotalSupply ¶
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() constant returns(uint256)
type BasicTokenCallerRaw ¶
type BasicTokenCallerRaw struct {
Contract *BasicTokenCaller // Generic read-only contract binding to access the raw methods on
}
BasicTokenCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*BasicTokenCallerRaw) Call ¶
func (_BasicToken *BasicTokenCallerRaw) 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 BasicTokenCallerSession ¶
type BasicTokenCallerSession struct { Contract *BasicTokenCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
BasicTokenCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*BasicTokenCallerSession) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(_owner address) constant returns(uint256)
func (*BasicTokenCallerSession) TotalSupply ¶
func (_BasicToken *BasicTokenCallerSession) TotalSupply() (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() constant returns(uint256)
type BasicTokenFilterer ¶
type BasicTokenFilterer struct {
// contains filtered or unexported fields
}
BasicTokenFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewBasicTokenFilterer ¶
func NewBasicTokenFilterer(address common.Address, filterer bind.ContractFilterer) (*BasicTokenFilterer, error)
NewBasicTokenFilterer creates a new log filterer instance of BasicToken, bound to a specific deployed contract.
func (*BasicTokenFilterer) FilterTransfer ¶
func (_BasicToken *BasicTokenFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*BasicTokenTransferIterator, error)
FilterTransfer is a free log retrieval operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.
Solidity: event Transfer(from indexed address, to indexed address, value uint256)
func (*BasicTokenFilterer) WatchTransfer ¶
func (_BasicToken *BasicTokenFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *BasicTokenTransfer, from []common.Address, to []common.Address) (event.Subscription, error)
WatchTransfer is a free log subscription operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.
Solidity: event Transfer(from indexed address, to indexed address, value uint256)
type BasicTokenRaw ¶
type BasicTokenRaw struct {
Contract *BasicToken // Generic contract binding to access the raw methods on
}
BasicTokenRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*BasicTokenRaw) Call ¶
func (_BasicToken *BasicTokenRaw) 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 (*BasicTokenRaw) Transact ¶
func (_BasicToken *BasicTokenRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*BasicTokenRaw) Transfer ¶
func (_BasicToken *BasicTokenRaw) 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 BasicTokenSession ¶
type BasicTokenSession struct { Contract *BasicToken // 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 }
BasicTokenSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*BasicTokenSession) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(_owner address) constant returns(uint256)
func (*BasicTokenSession) TotalSupply ¶
func (_BasicToken *BasicTokenSession) TotalSupply() (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() constant returns(uint256)
func (*BasicTokenSession) Transfer ¶
func (_BasicToken *BasicTokenSession) 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)
type BasicTokenTransactor ¶
type BasicTokenTransactor struct {
// contains filtered or unexported fields
}
BasicTokenTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewBasicTokenTransactor ¶
func NewBasicTokenTransactor(address common.Address, transactor bind.ContractTransactor) (*BasicTokenTransactor, error)
NewBasicTokenTransactor creates a new write-only instance of BasicToken, bound to a specific deployed contract.
func (*BasicTokenTransactor) Transfer ¶
func (_BasicToken *BasicTokenTransactor) 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)
type BasicTokenTransactorRaw ¶
type BasicTokenTransactorRaw struct {
Contract *BasicTokenTransactor // Generic write-only contract binding to access the raw methods on
}
BasicTokenTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*BasicTokenTransactorRaw) Transact ¶
func (_BasicToken *BasicTokenTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*BasicTokenTransactorRaw) Transfer ¶
func (_BasicToken *BasicTokenTransactorRaw) 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 BasicTokenTransactorSession ¶
type BasicTokenTransactorSession struct { Contract *BasicTokenTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
BasicTokenTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*BasicTokenTransactorSession) Transfer ¶
func (_BasicToken *BasicTokenTransactorSession) 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)
type BasicTokenTransfer ¶
type BasicTokenTransfer struct { From common.Address To common.Address Value *big.Int Raw types.Log // Blockchain specific contextual infos }
BasicTokenTransfer represents a Transfer event raised by the BasicToken contract.
type BasicTokenTransferIterator ¶
type BasicTokenTransferIterator struct { Event *BasicTokenTransfer // Event containing the contract specifics and raw log // contains filtered or unexported fields }
BasicTokenTransferIterator is returned from FilterTransfer and is used to iterate over the raw logs and unpacked data for Transfer events raised by the BasicToken contract.
func (*BasicTokenTransferIterator) Close ¶
func (it *BasicTokenTransferIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*BasicTokenTransferIterator) Error ¶
func (it *BasicTokenTransferIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*BasicTokenTransferIterator) Next ¶
func (it *BasicTokenTransferIterator) 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 Blacklist ¶
type Blacklist struct { BlacklistCaller // Read-only binding to the contract BlacklistTransactor // Write-only binding to the contract BlacklistFilterer // Log filterer for contract events }
Blacklist is an auto generated Go binding around an Ethereum contract.
func DeployBlacklist ¶
func DeployBlacklist(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *Blacklist, error)
DeployBlacklist deploys a new Ethereum contract, binding an instance of Blacklist to it.
func NewBlacklist ¶
NewBlacklist creates a new instance of Blacklist, bound to a specific deployed contract.
type BlacklistAddedToBlacklist ¶
type BlacklistAddedToBlacklist struct { Adder common.Address Addee common.Address Raw types.Log // Blockchain specific contextual infos }
BlacklistAddedToBlacklist represents a AddedToBlacklist event raised by the Blacklist contract.
type BlacklistAddedToBlacklistIterator ¶
type BlacklistAddedToBlacklistIterator struct { Event *BlacklistAddedToBlacklist // Event containing the contract specifics and raw log // contains filtered or unexported fields }
BlacklistAddedToBlacklistIterator is returned from FilterAddedToBlacklist and is used to iterate over the raw logs and unpacked data for AddedToBlacklist events raised by the Blacklist contract.
func (*BlacklistAddedToBlacklistIterator) Close ¶
func (it *BlacklistAddedToBlacklistIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*BlacklistAddedToBlacklistIterator) Error ¶
func (it *BlacklistAddedToBlacklistIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*BlacklistAddedToBlacklistIterator) Next ¶
func (it *BlacklistAddedToBlacklistIterator) 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 BlacklistCaller ¶
type BlacklistCaller struct {
// contains filtered or unexported fields
}
BlacklistCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewBlacklistCaller ¶
func NewBlacklistCaller(address common.Address, caller bind.ContractCaller) (*BlacklistCaller, error)
NewBlacklistCaller creates a new read-only instance of Blacklist, bound to a specific deployed contract.
func (*BlacklistCaller) Check ¶
func (_Blacklist *BlacklistCaller) Check(opts *bind.CallOpts, _who common.Address, _whom common.Address) (bool, error)
Check is a free data retrieval call binding the contract method 0x968f600c.
Solidity: function Check(_who address, _whom address) constant returns(bool)
type BlacklistCallerRaw ¶
type BlacklistCallerRaw struct {
Contract *BlacklistCaller // Generic read-only contract binding to access the raw methods on
}
BlacklistCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*BlacklistCallerRaw) Call ¶
func (_Blacklist *BlacklistCallerRaw) 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 BlacklistCallerSession ¶
type BlacklistCallerSession struct { Contract *BlacklistCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
BlacklistCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*BlacklistCallerSession) Check ¶
func (_Blacklist *BlacklistCallerSession) Check(_who common.Address, _whom common.Address) (bool, error)
Check is a free data retrieval call binding the contract method 0x968f600c.
Solidity: function Check(_who address, _whom address) constant returns(bool)
type BlacklistFilterer ¶
type BlacklistFilterer struct {
// contains filtered or unexported fields
}
BlacklistFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewBlacklistFilterer ¶
func NewBlacklistFilterer(address common.Address, filterer bind.ContractFilterer) (*BlacklistFilterer, error)
NewBlacklistFilterer creates a new log filterer instance of Blacklist, bound to a specific deployed contract.
func (*BlacklistFilterer) FilterAddedToBlacklist ¶
func (_Blacklist *BlacklistFilterer) FilterAddedToBlacklist(opts *bind.FilterOpts, adder []common.Address, addee []common.Address) (*BlacklistAddedToBlacklistIterator, error)
FilterAddedToBlacklist is a free log retrieval operation binding the contract event 0x708802ac7da0a63d9f6b2df693b53345ad263e42d74c245110e1ec1e03a1567e.
Solidity: event AddedToBlacklist(adder indexed address, addee indexed address)
func (*BlacklistFilterer) FilterOwnershipTransferred ¶
func (_Blacklist *BlacklistFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*BlacklistOwnershipTransferredIterator, error)
FilterOwnershipTransferred is a free log retrieval operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(previousOwner indexed address, newOwner indexed address)
func (*BlacklistFilterer) FilterRemovedFromBlacklist ¶
func (_Blacklist *BlacklistFilterer) FilterRemovedFromBlacklist(opts *bind.FilterOpts, remover []common.Address, removee []common.Address) (*BlacklistRemovedFromBlacklistIterator, error)
FilterRemovedFromBlacklist is a free log retrieval operation binding the contract event 0x576a9aef294e1b4baf3617fde4cbc80ba5344d5eb508222f29e558981704a457.
Solidity: event RemovedFromBlacklist(remover indexed address, removee indexed address)
func (*BlacklistFilterer) WatchAddedToBlacklist ¶
func (_Blacklist *BlacklistFilterer) WatchAddedToBlacklist(opts *bind.WatchOpts, sink chan<- *BlacklistAddedToBlacklist, adder []common.Address, addee []common.Address) (event.Subscription, error)
WatchAddedToBlacklist is a free log subscription operation binding the contract event 0x708802ac7da0a63d9f6b2df693b53345ad263e42d74c245110e1ec1e03a1567e.
Solidity: event AddedToBlacklist(adder indexed address, addee indexed address)
func (*BlacklistFilterer) WatchOwnershipTransferred ¶
func (_Blacklist *BlacklistFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *BlacklistOwnershipTransferred, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error)
WatchOwnershipTransferred is a free log subscription operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(previousOwner indexed address, newOwner indexed address)
func (*BlacklistFilterer) WatchRemovedFromBlacklist ¶
func (_Blacklist *BlacklistFilterer) WatchRemovedFromBlacklist(opts *bind.WatchOpts, sink chan<- *BlacklistRemovedFromBlacklist, remover []common.Address, removee []common.Address) (event.Subscription, error)
WatchRemovedFromBlacklist is a free log subscription operation binding the contract event 0x576a9aef294e1b4baf3617fde4cbc80ba5344d5eb508222f29e558981704a457.
Solidity: event RemovedFromBlacklist(remover indexed address, removee indexed address)
type BlacklistOwnershipTransferred ¶
type BlacklistOwnershipTransferred struct { PreviousOwner common.Address NewOwner common.Address Raw types.Log // Blockchain specific contextual infos }
BlacklistOwnershipTransferred represents a OwnershipTransferred event raised by the Blacklist contract.
type BlacklistOwnershipTransferredIterator ¶
type BlacklistOwnershipTransferredIterator struct { Event *BlacklistOwnershipTransferred // Event containing the contract specifics and raw log // contains filtered or unexported fields }
BlacklistOwnershipTransferredIterator is returned from FilterOwnershipTransferred and is used to iterate over the raw logs and unpacked data for OwnershipTransferred events raised by the Blacklist contract.
func (*BlacklistOwnershipTransferredIterator) Close ¶
func (it *BlacklistOwnershipTransferredIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*BlacklistOwnershipTransferredIterator) Error ¶
func (it *BlacklistOwnershipTransferredIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*BlacklistOwnershipTransferredIterator) Next ¶
func (it *BlacklistOwnershipTransferredIterator) 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 BlacklistRaw ¶
type BlacklistRaw struct {
Contract *Blacklist // Generic contract binding to access the raw methods on
}
BlacklistRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*BlacklistRaw) Call ¶
func (_Blacklist *BlacklistRaw) 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 (*BlacklistRaw) Transact ¶
func (_Blacklist *BlacklistRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*BlacklistRaw) Transfer ¶
func (_Blacklist *BlacklistRaw) 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 BlacklistRemovedFromBlacklist ¶
type BlacklistRemovedFromBlacklist struct { Remover common.Address Removee common.Address Raw types.Log // Blockchain specific contextual infos }
BlacklistRemovedFromBlacklist represents a RemovedFromBlacklist event raised by the Blacklist contract.
type BlacklistRemovedFromBlacklistIterator ¶
type BlacklistRemovedFromBlacklistIterator struct { Event *BlacklistRemovedFromBlacklist // Event containing the contract specifics and raw log // contains filtered or unexported fields }
BlacklistRemovedFromBlacklistIterator is returned from FilterRemovedFromBlacklist and is used to iterate over the raw logs and unpacked data for RemovedFromBlacklist events raised by the Blacklist contract.
func (*BlacklistRemovedFromBlacklistIterator) Close ¶
func (it *BlacklistRemovedFromBlacklistIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*BlacklistRemovedFromBlacklistIterator) Error ¶
func (it *BlacklistRemovedFromBlacklistIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*BlacklistRemovedFromBlacklistIterator) Next ¶
func (it *BlacklistRemovedFromBlacklistIterator) 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 BlacklistSession ¶
type BlacklistSession struct { Contract *Blacklist // 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 }
BlacklistSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*BlacklistSession) Add ¶
func (_Blacklist *BlacklistSession) Add(_who common.Address, _whom common.Address) (*types.Transaction, error)
Add is a paid mutator transaction binding the contract method 0x473b736f.
Solidity: function Add(_who address, _whom address) returns(bool)
func (*BlacklistSession) AddMaster ¶
func (_Blacklist *BlacklistSession) AddMaster(_root common.Address) (*types.Transaction, error)
AddMaster is a paid mutator transaction binding the contract method 0x8a1051f8.
Solidity: function AddMaster(_root address) returns(bool)
func (*BlacklistSession) Check ¶
Check is a free data retrieval call binding the contract method 0x968f600c.
Solidity: function Check(_who address, _whom address) constant returns(bool)
func (*BlacklistSession) Market ¶
func (_Blacklist *BlacklistSession) Market() (common.Address, error)
Market is a free data retrieval call binding the contract method 0x80f55605.
Solidity: function market() constant returns(address)
func (*BlacklistSession) Owner ¶
func (_Blacklist *BlacklistSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() constant returns(address)
func (*BlacklistSession) Remove ¶
func (_Blacklist *BlacklistSession) Remove(_whom common.Address) (*types.Transaction, error)
Remove is a paid mutator transaction binding the contract method 0xbe7c7ac3.
Solidity: function Remove(_whom address) returns(bool)
func (*BlacklistSession) RemoveMaster ¶
func (_Blacklist *BlacklistSession) RemoveMaster(_root common.Address) (*types.Transaction, error)
RemoveMaster is a paid mutator transaction binding the contract method 0x584720f5.
Solidity: function RemoveMaster(_root address) returns(bool)
func (*BlacklistSession) SetMarketAddress ¶
func (_Blacklist *BlacklistSession) SetMarketAddress(_market common.Address) (*types.Transaction, error)
SetMarketAddress is a paid mutator transaction binding the contract method 0x77d58a15.
Solidity: function SetMarketAddress(_market address) returns(bool)
func (*BlacklistSession) TransferOwnership ¶
func (_Blacklist *BlacklistSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(newOwner address) returns()
type BlacklistTransactor ¶
type BlacklistTransactor struct {
// contains filtered or unexported fields
}
BlacklistTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewBlacklistTransactor ¶
func NewBlacklistTransactor(address common.Address, transactor bind.ContractTransactor) (*BlacklistTransactor, error)
NewBlacklistTransactor creates a new write-only instance of Blacklist, bound to a specific deployed contract.
func (*BlacklistTransactor) Add ¶
func (_Blacklist *BlacklistTransactor) Add(opts *bind.TransactOpts, _who common.Address, _whom common.Address) (*types.Transaction, error)
Add is a paid mutator transaction binding the contract method 0x473b736f.
Solidity: function Add(_who address, _whom address) returns(bool)
func (*BlacklistTransactor) AddMaster ¶
func (_Blacklist *BlacklistTransactor) AddMaster(opts *bind.TransactOpts, _root common.Address) (*types.Transaction, error)
AddMaster is a paid mutator transaction binding the contract method 0x8a1051f8.
Solidity: function AddMaster(_root address) returns(bool)
func (*BlacklistTransactor) Remove ¶
func (_Blacklist *BlacklistTransactor) Remove(opts *bind.TransactOpts, _whom common.Address) (*types.Transaction, error)
Remove is a paid mutator transaction binding the contract method 0xbe7c7ac3.
Solidity: function Remove(_whom address) returns(bool)
func (*BlacklistTransactor) RemoveMaster ¶
func (_Blacklist *BlacklistTransactor) RemoveMaster(opts *bind.TransactOpts, _root common.Address) (*types.Transaction, error)
RemoveMaster is a paid mutator transaction binding the contract method 0x584720f5.
Solidity: function RemoveMaster(_root address) returns(bool)
func (*BlacklistTransactor) SetMarketAddress ¶
func (_Blacklist *BlacklistTransactor) SetMarketAddress(opts *bind.TransactOpts, _market common.Address) (*types.Transaction, error)
SetMarketAddress is a paid mutator transaction binding the contract method 0x77d58a15.
Solidity: function SetMarketAddress(_market address) returns(bool)
func (*BlacklistTransactor) TransferOwnership ¶
func (_Blacklist *BlacklistTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(newOwner address) returns()
type BlacklistTransactorRaw ¶
type BlacklistTransactorRaw struct {
Contract *BlacklistTransactor // Generic write-only contract binding to access the raw methods on
}
BlacklistTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*BlacklistTransactorRaw) Transact ¶
func (_Blacklist *BlacklistTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*BlacklistTransactorRaw) Transfer ¶
func (_Blacklist *BlacklistTransactorRaw) 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 BlacklistTransactorSession ¶
type BlacklistTransactorSession struct { Contract *BlacklistTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
BlacklistTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*BlacklistTransactorSession) Add ¶
func (_Blacklist *BlacklistTransactorSession) Add(_who common.Address, _whom common.Address) (*types.Transaction, error)
Add is a paid mutator transaction binding the contract method 0x473b736f.
Solidity: function Add(_who address, _whom address) returns(bool)
func (*BlacklistTransactorSession) AddMaster ¶
func (_Blacklist *BlacklistTransactorSession) AddMaster(_root common.Address) (*types.Transaction, error)
AddMaster is a paid mutator transaction binding the contract method 0x8a1051f8.
Solidity: function AddMaster(_root address) returns(bool)
func (*BlacklistTransactorSession) Remove ¶
func (_Blacklist *BlacklistTransactorSession) Remove(_whom common.Address) (*types.Transaction, error)
Remove is a paid mutator transaction binding the contract method 0xbe7c7ac3.
Solidity: function Remove(_whom address) returns(bool)
func (*BlacklistTransactorSession) RemoveMaster ¶
func (_Blacklist *BlacklistTransactorSession) RemoveMaster(_root common.Address) (*types.Transaction, error)
RemoveMaster is a paid mutator transaction binding the contract method 0x584720f5.
Solidity: function RemoveMaster(_root address) returns(bool)
func (*BlacklistTransactorSession) SetMarketAddress ¶
func (_Blacklist *BlacklistTransactorSession) SetMarketAddress(_market common.Address) (*types.Transaction, error)
SetMarketAddress is a paid mutator transaction binding the contract method 0x77d58a15.
Solidity: function SetMarketAddress(_market address) returns(bool)
func (*BlacklistTransactorSession) TransferOwnership ¶
func (_Blacklist *BlacklistTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(newOwner address) returns()
type ERC20 ¶
type ERC20 struct { ERC20Caller // Read-only binding to the contract ERC20Transactor // Write-only binding to the contract ERC20Filterer // Log filterer for contract events }
ERC20 is an auto generated Go binding around an Ethereum contract.
func DeployERC20 ¶
func DeployERC20(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *ERC20, error)
DeployERC20 deploys a new Ethereum contract, binding an instance of ERC20 to it.
type ERC20Approval ¶
type ERC20Approval struct { Owner common.Address Spender common.Address Value *big.Int Raw types.Log // Blockchain specific contextual infos }
ERC20Approval represents a Approval event raised by the ERC20 contract.
type ERC20ApprovalIterator ¶
type ERC20ApprovalIterator struct { Event *ERC20Approval // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ERC20ApprovalIterator is returned from FilterApproval and is used to iterate over the raw logs and unpacked data for Approval events raised by the ERC20 contract.
func (*ERC20ApprovalIterator) Close ¶
func (it *ERC20ApprovalIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ERC20ApprovalIterator) Error ¶
func (it *ERC20ApprovalIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ERC20ApprovalIterator) Next ¶
func (it *ERC20ApprovalIterator) 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 ERC20Basic ¶
type ERC20Basic struct { ERC20BasicCaller // Read-only binding to the contract ERC20BasicTransactor // Write-only binding to the contract ERC20BasicFilterer // Log filterer for contract events }
ERC20Basic is an auto generated Go binding around an Ethereum contract.
func DeployERC20Basic ¶
func DeployERC20Basic(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *ERC20Basic, error)
DeployERC20Basic deploys a new Ethereum contract, binding an instance of ERC20Basic to it.
func NewERC20Basic ¶
func NewERC20Basic(address common.Address, backend bind.ContractBackend) (*ERC20Basic, error)
NewERC20Basic creates a new instance of ERC20Basic, bound to a specific deployed contract.
type ERC20BasicCaller ¶
type ERC20BasicCaller struct {
// contains filtered or unexported fields
}
ERC20BasicCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewERC20BasicCaller ¶
func NewERC20BasicCaller(address common.Address, caller bind.ContractCaller) (*ERC20BasicCaller, error)
NewERC20BasicCaller creates a new read-only instance of ERC20Basic, bound to a specific deployed contract.
func (*ERC20BasicCaller) BalanceOf ¶
func (_ERC20Basic *ERC20BasicCaller) BalanceOf(opts *bind.CallOpts, who common.Address) (*big.Int, error)
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(who address) constant returns(uint256)
func (*ERC20BasicCaller) TotalSupply ¶
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() constant returns(uint256)
type ERC20BasicCallerRaw ¶
type ERC20BasicCallerRaw struct {
Contract *ERC20BasicCaller // Generic read-only contract binding to access the raw methods on
}
ERC20BasicCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*ERC20BasicCallerRaw) Call ¶
func (_ERC20Basic *ERC20BasicCallerRaw) 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 ERC20BasicCallerSession ¶
type ERC20BasicCallerSession struct { Contract *ERC20BasicCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
ERC20BasicCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*ERC20BasicCallerSession) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(who address) constant returns(uint256)
func (*ERC20BasicCallerSession) TotalSupply ¶
func (_ERC20Basic *ERC20BasicCallerSession) TotalSupply() (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() constant returns(uint256)
type ERC20BasicFilterer ¶
type ERC20BasicFilterer struct {
// contains filtered or unexported fields
}
ERC20BasicFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewERC20BasicFilterer ¶
func NewERC20BasicFilterer(address common.Address, filterer bind.ContractFilterer) (*ERC20BasicFilterer, error)
NewERC20BasicFilterer creates a new log filterer instance of ERC20Basic, bound to a specific deployed contract.
func (*ERC20BasicFilterer) FilterTransfer ¶
func (_ERC20Basic *ERC20BasicFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*ERC20BasicTransferIterator, error)
FilterTransfer is a free log retrieval operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.
Solidity: event Transfer(from indexed address, to indexed address, value uint256)
func (*ERC20BasicFilterer) WatchTransfer ¶
func (_ERC20Basic *ERC20BasicFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *ERC20BasicTransfer, from []common.Address, to []common.Address) (event.Subscription, error)
WatchTransfer is a free log subscription operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.
Solidity: event Transfer(from indexed address, to indexed address, value uint256)
type ERC20BasicRaw ¶
type ERC20BasicRaw struct {
Contract *ERC20Basic // Generic contract binding to access the raw methods on
}
ERC20BasicRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*ERC20BasicRaw) Call ¶
func (_ERC20Basic *ERC20BasicRaw) 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 (*ERC20BasicRaw) Transact ¶
func (_ERC20Basic *ERC20BasicRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*ERC20BasicRaw) Transfer ¶
func (_ERC20Basic *ERC20BasicRaw) 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 ERC20BasicSession ¶
type ERC20BasicSession struct { Contract *ERC20Basic // 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 }
ERC20BasicSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*ERC20BasicSession) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(who address) constant returns(uint256)
func (*ERC20BasicSession) TotalSupply ¶
func (_ERC20Basic *ERC20BasicSession) TotalSupply() (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() constant returns(uint256)
func (*ERC20BasicSession) Transfer ¶
func (_ERC20Basic *ERC20BasicSession) 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)
type ERC20BasicTransactor ¶
type ERC20BasicTransactor struct {
// contains filtered or unexported fields
}
ERC20BasicTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewERC20BasicTransactor ¶
func NewERC20BasicTransactor(address common.Address, transactor bind.ContractTransactor) (*ERC20BasicTransactor, error)
NewERC20BasicTransactor creates a new write-only instance of ERC20Basic, bound to a specific deployed contract.
func (*ERC20BasicTransactor) Transfer ¶
func (_ERC20Basic *ERC20BasicTransactor) 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)
type ERC20BasicTransactorRaw ¶
type ERC20BasicTransactorRaw struct {
Contract *ERC20BasicTransactor // Generic write-only contract binding to access the raw methods on
}
ERC20BasicTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*ERC20BasicTransactorRaw) Transact ¶
func (_ERC20Basic *ERC20BasicTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*ERC20BasicTransactorRaw) Transfer ¶
func (_ERC20Basic *ERC20BasicTransactorRaw) 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 ERC20BasicTransactorSession ¶
type ERC20BasicTransactorSession struct { Contract *ERC20BasicTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
ERC20BasicTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*ERC20BasicTransactorSession) Transfer ¶
func (_ERC20Basic *ERC20BasicTransactorSession) 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)
type ERC20BasicTransfer ¶
type ERC20BasicTransfer struct { From common.Address To common.Address Value *big.Int Raw types.Log // Blockchain specific contextual infos }
ERC20BasicTransfer represents a Transfer event raised by the ERC20Basic contract.
type ERC20BasicTransferIterator ¶
type ERC20BasicTransferIterator struct { Event *ERC20BasicTransfer // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ERC20BasicTransferIterator is returned from FilterTransfer and is used to iterate over the raw logs and unpacked data for Transfer events raised by the ERC20Basic contract.
func (*ERC20BasicTransferIterator) Close ¶
func (it *ERC20BasicTransferIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ERC20BasicTransferIterator) Error ¶
func (it *ERC20BasicTransferIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ERC20BasicTransferIterator) Next ¶
func (it *ERC20BasicTransferIterator) 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 ERC20Caller ¶
type ERC20Caller struct {
// contains filtered or unexported fields
}
ERC20Caller is an auto generated read-only Go binding around an Ethereum contract.
func NewERC20Caller ¶
func NewERC20Caller(address common.Address, caller bind.ContractCaller) (*ERC20Caller, error)
NewERC20Caller creates a new read-only instance of ERC20, bound to a specific deployed contract.
func (*ERC20Caller) Allowance ¶
func (_ERC20 *ERC20Caller) 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 (*ERC20Caller) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(who address) constant returns(uint256)
func (*ERC20Caller) TotalSupply ¶
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() constant returns(uint256)
type ERC20CallerRaw ¶
type ERC20CallerRaw struct {
Contract *ERC20Caller // Generic read-only contract binding to access the raw methods on
}
ERC20CallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*ERC20CallerRaw) Call ¶
func (_ERC20 *ERC20CallerRaw) 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 ERC20CallerSession ¶
type ERC20CallerSession struct { Contract *ERC20Caller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
ERC20CallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*ERC20CallerSession) Allowance ¶
func (_ERC20 *ERC20CallerSession) 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 (*ERC20CallerSession) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(who address) constant returns(uint256)
func (*ERC20CallerSession) TotalSupply ¶
func (_ERC20 *ERC20CallerSession) TotalSupply() (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() constant returns(uint256)
type ERC20Filterer ¶
type ERC20Filterer struct {
// contains filtered or unexported fields
}
ERC20Filterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewERC20Filterer ¶
func NewERC20Filterer(address common.Address, filterer bind.ContractFilterer) (*ERC20Filterer, error)
NewERC20Filterer creates a new log filterer instance of ERC20, bound to a specific deployed contract.
func (*ERC20Filterer) FilterApproval ¶
func (_ERC20 *ERC20Filterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*ERC20ApprovalIterator, error)
FilterApproval is a free log retrieval operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.
Solidity: event Approval(owner indexed address, spender indexed address, value uint256)
func (*ERC20Filterer) FilterTransfer ¶
func (_ERC20 *ERC20Filterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*ERC20TransferIterator, error)
FilterTransfer is a free log retrieval operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.
Solidity: event Transfer(from indexed address, to indexed address, value uint256)
func (*ERC20Filterer) WatchApproval ¶
func (_ERC20 *ERC20Filterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *ERC20Approval, owner []common.Address, spender []common.Address) (event.Subscription, error)
WatchApproval is a free log subscription operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.
Solidity: event Approval(owner indexed address, spender indexed address, value uint256)
func (*ERC20Filterer) WatchTransfer ¶
func (_ERC20 *ERC20Filterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *ERC20Transfer, from []common.Address, to []common.Address) (event.Subscription, error)
WatchTransfer is a free log subscription operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.
Solidity: event Transfer(from indexed address, to indexed address, value uint256)
type ERC20Raw ¶
type ERC20Raw struct {
Contract *ERC20 // Generic contract binding to access the raw methods on
}
ERC20Raw is an auto generated low-level Go binding around an Ethereum contract.
func (*ERC20Raw) Call ¶
func (_ERC20 *ERC20Raw) 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 (*ERC20Raw) Transact ¶
func (_ERC20 *ERC20Raw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*ERC20Raw) Transfer ¶
func (_ERC20 *ERC20Raw) 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 ERC20Session ¶
type ERC20Session struct { Contract *ERC20 // 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 }
ERC20Session is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*ERC20Session) Allowance ¶
func (_ERC20 *ERC20Session) 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 (*ERC20Session) Approve ¶
func (_ERC20 *ERC20Session) 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 (*ERC20Session) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(who address) constant returns(uint256)
func (*ERC20Session) TotalSupply ¶
func (_ERC20 *ERC20Session) TotalSupply() (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() constant returns(uint256)
func (*ERC20Session) Transfer ¶
func (_ERC20 *ERC20Session) 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 (*ERC20Session) TransferFrom ¶
func (_ERC20 *ERC20Session) 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 ERC20Transactor ¶
type ERC20Transactor struct {
// contains filtered or unexported fields
}
ERC20Transactor is an auto generated write-only Go binding around an Ethereum contract.
func NewERC20Transactor ¶
func NewERC20Transactor(address common.Address, transactor bind.ContractTransactor) (*ERC20Transactor, error)
NewERC20Transactor creates a new write-only instance of ERC20, bound to a specific deployed contract.
func (*ERC20Transactor) Approve ¶
func (_ERC20 *ERC20Transactor) 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 (*ERC20Transactor) Transfer ¶
func (_ERC20 *ERC20Transactor) 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 (*ERC20Transactor) TransferFrom ¶
func (_ERC20 *ERC20Transactor) 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 ERC20TransactorRaw ¶
type ERC20TransactorRaw struct {
Contract *ERC20Transactor // Generic write-only contract binding to access the raw methods on
}
ERC20TransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*ERC20TransactorRaw) Transact ¶
func (_ERC20 *ERC20TransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*ERC20TransactorRaw) Transfer ¶
func (_ERC20 *ERC20TransactorRaw) 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 ERC20TransactorSession ¶
type ERC20TransactorSession struct { Contract *ERC20Transactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
ERC20TransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*ERC20TransactorSession) Approve ¶
func (_ERC20 *ERC20TransactorSession) 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 (*ERC20TransactorSession) Transfer ¶
func (_ERC20 *ERC20TransactorSession) 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 (*ERC20TransactorSession) TransferFrom ¶
func (_ERC20 *ERC20TransactorSession) 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 ERC20Transfer ¶
type ERC20Transfer struct { From common.Address To common.Address Value *big.Int Raw types.Log // Blockchain specific contextual infos }
ERC20Transfer represents a Transfer event raised by the ERC20 contract.
type ERC20TransferIterator ¶
type ERC20TransferIterator struct { Event *ERC20Transfer // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ERC20TransferIterator is returned from FilterTransfer and is used to iterate over the raw logs and unpacked data for Transfer events raised by the ERC20 contract.
func (*ERC20TransferIterator) Close ¶
func (it *ERC20TransferIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ERC20TransferIterator) Error ¶
func (it *ERC20TransferIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ERC20TransferIterator) Next ¶
func (it *ERC20TransferIterator) 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 Market ¶
type Market struct { MarketCaller // Read-only binding to the contract MarketTransactor // Write-only binding to the contract MarketFilterer // Log filterer for contract events }
Market is an auto generated Go binding around an Ethereum contract.
func DeployMarket ¶
func DeployMarket(auth *bind.TransactOpts, backend bind.ContractBackend, _token common.Address, _blacklist common.Address, _oracle common.Address, _profileRegistry common.Address, _benchmarksQuantity *big.Int) (common.Address, *types.Transaction, *Market, error)
DeployMarket deploys a new Ethereum contract, binding an instance of Market to it.
type MarketBilled ¶
type MarketBilled struct { DealID *big.Int PaidAmount *big.Int Raw types.Log // Blockchain specific contextual infos }
MarketBilled represents a Billed event raised by the Market contract.
type MarketBilledIterator ¶
type MarketBilledIterator struct { Event *MarketBilled // Event containing the contract specifics and raw log // contains filtered or unexported fields }
MarketBilledIterator is returned from FilterBilled and is used to iterate over the raw logs and unpacked data for Billed events raised by the Market contract.
func (*MarketBilledIterator) Close ¶
func (it *MarketBilledIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*MarketBilledIterator) Error ¶
func (it *MarketBilledIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*MarketBilledIterator) Next ¶
func (it *MarketBilledIterator) 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 MarketCaller ¶
type MarketCaller struct {
// contains filtered or unexported fields
}
MarketCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewMarketCaller ¶
func NewMarketCaller(address common.Address, caller bind.ContractCaller) (*MarketCaller, error)
NewMarketCaller creates a new read-only instance of Market, bound to a specific deployed contract.
func (*MarketCaller) Deals ¶
func (_Market *MarketCaller) Deals(opts *bind.CallOpts, arg0 *big.Int) (struct { SupplierID common.Address ConsumerID common.Address MasterID common.Address AskID *big.Int BidID *big.Int Duration *big.Int Price *big.Int StartTime *big.Int EndTime *big.Int Status uint8 BlockedBalance *big.Int TotalPayout *big.Int LastBillTS *big.Int }, error)
Deals is a free data retrieval call binding the contract method 0x03988f84.
Solidity: function deals( uint256) constant returns(supplierID address, consumerID address, masterID address, askID uint256, bidID uint256, duration uint256, price uint256, startTime uint256, endTime uint256, status uint8, blockedBalance uint256, totalPayout uint256, lastBillTS uint256)
func (*MarketCaller) GetBenchmarksQuantity ¶
GetBenchmarksQuantity is a free data retrieval call binding the contract method 0x348843cf.
Solidity: function GetBenchmarksQuantity() constant returns(uint256)
func (*MarketCaller) GetChangeRequestInfo ¶
func (_Market *MarketCaller) GetChangeRequestInfo(opts *bind.CallOpts, changeRequestID *big.Int) (struct { DealID *big.Int RequestType uint8 Price *big.Int Duration *big.Int Status uint8 }, error)
GetChangeRequestInfo is a free data retrieval call binding the contract method 0x616451c5.
Solidity: function GetChangeRequestInfo(changeRequestID uint256) constant returns(dealID uint256, requestType uint8, price uint256, duration uint256, status uint8)
func (*MarketCaller) GetChangeRequestsAmount ¶
GetChangeRequestsAmount is a free data retrieval call binding the contract method 0xb4bf396e.
Solidity: function GetChangeRequestsAmount() constant returns(uint256)
func (*MarketCaller) GetDealInfo ¶
func (_Market *MarketCaller) GetDealInfo(opts *bind.CallOpts, dealID *big.Int) (struct { Benchmarks []uint64 SupplierID common.Address ConsumerID common.Address MasterID common.Address AskID *big.Int BidID *big.Int StartTime *big.Int }, error)
GetDealInfo is a free data retrieval call binding the contract method 0x5ad5f6ae.
Solidity: function GetDealInfo(dealID uint256) constant returns(benchmarks uint64[], supplierID address, consumerID address, masterID address, askID uint256, bidID uint256, startTime uint256)
func (*MarketCaller) GetDealParams ¶
func (_Market *MarketCaller) GetDealParams(opts *bind.CallOpts, dealID *big.Int) (struct { Duration *big.Int Price *big.Int EndTime *big.Int Status uint8 BlockedBalance *big.Int TotalPayout *big.Int LastBillTS *big.Int }, error)
GetDealParams is a free data retrieval call binding the contract method 0x4fabdd4b.
Solidity: function GetDealParams(dealID uint256) constant returns(duration uint256, price uint256, endTime uint256, status uint8, blockedBalance uint256, totalPayout uint256, lastBillTS uint256)
func (*MarketCaller) GetDealsAmount ¶
GetDealsAmount is a free data retrieval call binding the contract method 0xe45ea8d3.
Solidity: function GetDealsAmount() constant returns(uint256)
func (*MarketCaller) GetMaster ¶
func (_Market *MarketCaller) GetMaster(opts *bind.CallOpts, _worker common.Address) (common.Address, error)
GetMaster is a free data retrieval call binding the contract method 0x289e77b3.
Solidity: function GetMaster(_worker address) constant returns(master address)
func (*MarketCaller) GetOrderInfo ¶
func (_Market *MarketCaller) GetOrderInfo(opts *bind.CallOpts, orderID *big.Int) (struct { OrderType uint8 Author common.Address Counterparty common.Address Duration *big.Int Price *big.Int Netflags [3]bool IdentityLevel uint8 Blacklist common.Address Tag [32]byte Benchmarks []uint64 FrozenSum *big.Int }, error)
GetOrderInfo is a free data retrieval call binding the contract method 0xe217866c.
Solidity: function GetOrderInfo(orderID uint256) constant returns(orderType uint8, author address, counterparty address, duration uint256, price uint256, netflags bool[3], identityLevel uint8, blacklist address, tag bytes32, benchmarks uint64[], frozenSum uint256)
func (*MarketCaller) GetOrderParams ¶
func (_Market *MarketCaller) GetOrderParams(opts *bind.CallOpts, orderID *big.Int) (struct { OrderStatus uint8 DealID *big.Int }, error)
GetOrderParams is a free data retrieval call binding the contract method 0x3a907227.
Solidity: function GetOrderParams(orderID uint256) constant returns(orderStatus uint8, dealID uint256)
func (*MarketCaller) GetOrdersAmount ¶
GetOrdersAmount is a free data retrieval call binding the contract method 0x63fb2929.
Solidity: function GetOrdersAmount() constant returns(uint256)
func (*MarketCaller) Orders ¶
func (_Market *MarketCaller) Orders(opts *bind.CallOpts, arg0 *big.Int) (struct { OrderType uint8 OrderStatus uint8 Author common.Address Counterparty common.Address Duration *big.Int Price *big.Int IdentityLevel uint8 Blacklist common.Address Tag [32]byte FrozenSum *big.Int DealID *big.Int }, error)
Orders is a free data retrieval call binding the contract method 0xa85c38ef.
Solidity: function orders( uint256) constant returns(orderType uint8, orderStatus uint8, author address, counterparty address, duration uint256, price uint256, identityLevel uint8, blacklist address, tag bytes32, frozenSum uint256, dealID uint256)
type MarketCallerRaw ¶
type MarketCallerRaw struct {
Contract *MarketCaller // Generic read-only contract binding to access the raw methods on
}
MarketCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*MarketCallerRaw) Call ¶
func (_Market *MarketCallerRaw) 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 MarketCallerSession ¶
type MarketCallerSession struct { Contract *MarketCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
MarketCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*MarketCallerSession) Deals ¶
func (_Market *MarketCallerSession) Deals(arg0 *big.Int) (struct { SupplierID common.Address ConsumerID common.Address MasterID common.Address AskID *big.Int BidID *big.Int Duration *big.Int Price *big.Int StartTime *big.Int EndTime *big.Int Status uint8 BlockedBalance *big.Int TotalPayout *big.Int LastBillTS *big.Int }, error)
Deals is a free data retrieval call binding the contract method 0x03988f84.
Solidity: function deals( uint256) constant returns(supplierID address, consumerID address, masterID address, askID uint256, bidID uint256, duration uint256, price uint256, startTime uint256, endTime uint256, status uint8, blockedBalance uint256, totalPayout uint256, lastBillTS uint256)
func (*MarketCallerSession) GetBenchmarksQuantity ¶
func (_Market *MarketCallerSession) GetBenchmarksQuantity() (*big.Int, error)
GetBenchmarksQuantity is a free data retrieval call binding the contract method 0x348843cf.
Solidity: function GetBenchmarksQuantity() constant returns(uint256)
func (*MarketCallerSession) GetChangeRequestInfo ¶
func (_Market *MarketCallerSession) GetChangeRequestInfo(changeRequestID *big.Int) (struct { DealID *big.Int RequestType uint8 Price *big.Int Duration *big.Int Status uint8 }, error)
GetChangeRequestInfo is a free data retrieval call binding the contract method 0x616451c5.
Solidity: function GetChangeRequestInfo(changeRequestID uint256) constant returns(dealID uint256, requestType uint8, price uint256, duration uint256, status uint8)
func (*MarketCallerSession) GetChangeRequestsAmount ¶
func (_Market *MarketCallerSession) GetChangeRequestsAmount() (*big.Int, error)
GetChangeRequestsAmount is a free data retrieval call binding the contract method 0xb4bf396e.
Solidity: function GetChangeRequestsAmount() constant returns(uint256)
func (*MarketCallerSession) GetDealInfo ¶
func (_Market *MarketCallerSession) GetDealInfo(dealID *big.Int) (struct { Benchmarks []uint64 SupplierID common.Address ConsumerID common.Address MasterID common.Address AskID *big.Int BidID *big.Int StartTime *big.Int }, error)
GetDealInfo is a free data retrieval call binding the contract method 0x5ad5f6ae.
Solidity: function GetDealInfo(dealID uint256) constant returns(benchmarks uint64[], supplierID address, consumerID address, masterID address, askID uint256, bidID uint256, startTime uint256)
func (*MarketCallerSession) GetDealParams ¶
func (_Market *MarketCallerSession) GetDealParams(dealID *big.Int) (struct { Duration *big.Int Price *big.Int EndTime *big.Int Status uint8 BlockedBalance *big.Int TotalPayout *big.Int LastBillTS *big.Int }, error)
GetDealParams is a free data retrieval call binding the contract method 0x4fabdd4b.
Solidity: function GetDealParams(dealID uint256) constant returns(duration uint256, price uint256, endTime uint256, status uint8, blockedBalance uint256, totalPayout uint256, lastBillTS uint256)
func (*MarketCallerSession) GetDealsAmount ¶
func (_Market *MarketCallerSession) GetDealsAmount() (*big.Int, error)
GetDealsAmount is a free data retrieval call binding the contract method 0xe45ea8d3.
Solidity: function GetDealsAmount() constant returns(uint256)
func (*MarketCallerSession) GetMaster ¶
GetMaster is a free data retrieval call binding the contract method 0x289e77b3.
Solidity: function GetMaster(_worker address) constant returns(master address)
func (*MarketCallerSession) GetOrderInfo ¶
func (_Market *MarketCallerSession) GetOrderInfo(orderID *big.Int) (struct { OrderType uint8 Author common.Address Counterparty common.Address Duration *big.Int Price *big.Int Netflags [3]bool IdentityLevel uint8 Blacklist common.Address Tag [32]byte Benchmarks []uint64 FrozenSum *big.Int }, error)
GetOrderInfo is a free data retrieval call binding the contract method 0xe217866c.
Solidity: function GetOrderInfo(orderID uint256) constant returns(orderType uint8, author address, counterparty address, duration uint256, price uint256, netflags bool[3], identityLevel uint8, blacklist address, tag bytes32, benchmarks uint64[], frozenSum uint256)
func (*MarketCallerSession) GetOrderParams ¶
func (_Market *MarketCallerSession) GetOrderParams(orderID *big.Int) (struct { OrderStatus uint8 DealID *big.Int }, error)
GetOrderParams is a free data retrieval call binding the contract method 0x3a907227.
Solidity: function GetOrderParams(orderID uint256) constant returns(orderStatus uint8, dealID uint256)
func (*MarketCallerSession) GetOrdersAmount ¶
func (_Market *MarketCallerSession) GetOrdersAmount() (*big.Int, error)
GetOrdersAmount is a free data retrieval call binding the contract method 0x63fb2929.
Solidity: function GetOrdersAmount() constant returns(uint256)
func (*MarketCallerSession) Orders ¶
func (_Market *MarketCallerSession) Orders(arg0 *big.Int) (struct { OrderType uint8 OrderStatus uint8 Author common.Address Counterparty common.Address Duration *big.Int Price *big.Int IdentityLevel uint8 Blacklist common.Address Tag [32]byte FrozenSum *big.Int DealID *big.Int }, error)
Orders is a free data retrieval call binding the contract method 0xa85c38ef.
Solidity: function orders( uint256) constant returns(orderType uint8, orderStatus uint8, author address, counterparty address, duration uint256, price uint256, identityLevel uint8, blacklist address, tag bytes32, frozenSum uint256, dealID uint256)
type MarketDealChangeRequestSet ¶
type MarketDealChangeRequestSet struct { ChangeRequestID *big.Int Raw types.Log // Blockchain specific contextual infos }
MarketDealChangeRequestSet represents a DealChangeRequestSet event raised by the Market contract.
type MarketDealChangeRequestSetIterator ¶
type MarketDealChangeRequestSetIterator struct { Event *MarketDealChangeRequestSet // Event containing the contract specifics and raw log // contains filtered or unexported fields }
MarketDealChangeRequestSetIterator is returned from FilterDealChangeRequestSet and is used to iterate over the raw logs and unpacked data for DealChangeRequestSet events raised by the Market contract.
func (*MarketDealChangeRequestSetIterator) Close ¶
func (it *MarketDealChangeRequestSetIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*MarketDealChangeRequestSetIterator) Error ¶
func (it *MarketDealChangeRequestSetIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*MarketDealChangeRequestSetIterator) Next ¶
func (it *MarketDealChangeRequestSetIterator) 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 MarketDealChangeRequestUpdated ¶
type MarketDealChangeRequestUpdated struct { ChangeRequestID *big.Int Raw types.Log // Blockchain specific contextual infos }
MarketDealChangeRequestUpdated represents a DealChangeRequestUpdated event raised by the Market contract.
type MarketDealChangeRequestUpdatedIterator ¶
type MarketDealChangeRequestUpdatedIterator struct { Event *MarketDealChangeRequestUpdated // Event containing the contract specifics and raw log // contains filtered or unexported fields }
MarketDealChangeRequestUpdatedIterator is returned from FilterDealChangeRequestUpdated and is used to iterate over the raw logs and unpacked data for DealChangeRequestUpdated events raised by the Market contract.
func (*MarketDealChangeRequestUpdatedIterator) Close ¶
func (it *MarketDealChangeRequestUpdatedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*MarketDealChangeRequestUpdatedIterator) Error ¶
func (it *MarketDealChangeRequestUpdatedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*MarketDealChangeRequestUpdatedIterator) Next ¶
func (it *MarketDealChangeRequestUpdatedIterator) 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 MarketDealOpened ¶
type MarketDealOpened struct { DealID *big.Int Raw types.Log // Blockchain specific contextual infos }
MarketDealOpened represents a DealOpened event raised by the Market contract.
type MarketDealOpenedIterator ¶
type MarketDealOpenedIterator struct { Event *MarketDealOpened // Event containing the contract specifics and raw log // contains filtered or unexported fields }
MarketDealOpenedIterator is returned from FilterDealOpened and is used to iterate over the raw logs and unpacked data for DealOpened events raised by the Market contract.
func (*MarketDealOpenedIterator) Close ¶
func (it *MarketDealOpenedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*MarketDealOpenedIterator) Error ¶
func (it *MarketDealOpenedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*MarketDealOpenedIterator) Next ¶
func (it *MarketDealOpenedIterator) 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 MarketDealUpdated ¶
type MarketDealUpdated struct { DealID *big.Int Raw types.Log // Blockchain specific contextual infos }
MarketDealUpdated represents a DealUpdated event raised by the Market contract.
type MarketDealUpdatedIterator ¶
type MarketDealUpdatedIterator struct { Event *MarketDealUpdated // Event containing the contract specifics and raw log // contains filtered or unexported fields }
MarketDealUpdatedIterator is returned from FilterDealUpdated and is used to iterate over the raw logs and unpacked data for DealUpdated events raised by the Market contract.
func (*MarketDealUpdatedIterator) Close ¶
func (it *MarketDealUpdatedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*MarketDealUpdatedIterator) Error ¶
func (it *MarketDealUpdatedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*MarketDealUpdatedIterator) Next ¶
func (it *MarketDealUpdatedIterator) 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 MarketFilterer ¶
type MarketFilterer struct {
// contains filtered or unexported fields
}
MarketFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewMarketFilterer ¶
func NewMarketFilterer(address common.Address, filterer bind.ContractFilterer) (*MarketFilterer, error)
NewMarketFilterer creates a new log filterer instance of Market, bound to a specific deployed contract.
func (*MarketFilterer) FilterBilled ¶
func (_Market *MarketFilterer) FilterBilled(opts *bind.FilterOpts, dealID []*big.Int, paidAmount []*big.Int) (*MarketBilledIterator, error)
FilterBilled is a free log retrieval operation binding the contract event 0x51f87cd83a2ce6c4ff7957861f7aba400dc3857d2325e0c94cc69f468874515c.
Solidity: event Billed(dealID indexed uint256, paidAmount indexed uint256)
func (*MarketFilterer) FilterDealChangeRequestSet ¶
func (_Market *MarketFilterer) FilterDealChangeRequestSet(opts *bind.FilterOpts, changeRequestID []*big.Int) (*MarketDealChangeRequestSetIterator, error)
FilterDealChangeRequestSet is a free log retrieval operation binding the contract event 0x7ff56b2eb3ce318aad93d0ba39a3e4a406992a136f9554f17f6bcc43509275d1.
Solidity: event DealChangeRequestSet(changeRequestID indexed uint256)
func (*MarketFilterer) FilterDealChangeRequestUpdated ¶
func (_Market *MarketFilterer) FilterDealChangeRequestUpdated(opts *bind.FilterOpts, changeRequestID []*big.Int) (*MarketDealChangeRequestUpdatedIterator, error)
FilterDealChangeRequestUpdated is a free log retrieval operation binding the contract event 0x4b92d35447745e95b7344414a41ae94984787d0ebcd2c12021169197bb59af39.
Solidity: event DealChangeRequestUpdated(changeRequestID indexed uint256)
func (*MarketFilterer) FilterDealOpened ¶
func (_Market *MarketFilterer) FilterDealOpened(opts *bind.FilterOpts, dealID []*big.Int) (*MarketDealOpenedIterator, error)
FilterDealOpened is a free log retrieval operation binding the contract event 0xb9ffc65567b7238dd641372277b8c93ed03df73945932dd84fd3cbb33f3eddbf.
Solidity: event DealOpened(dealID indexed uint256)
func (*MarketFilterer) FilterDealUpdated ¶
func (_Market *MarketFilterer) FilterDealUpdated(opts *bind.FilterOpts, dealID []*big.Int) (*MarketDealUpdatedIterator, error)
FilterDealUpdated is a free log retrieval operation binding the contract event 0x0b27183934cfdbeb1fbbe288c2e163ed7aa8f458a954054970f78446bccb36e0.
Solidity: event DealUpdated(dealID indexed uint256)
func (*MarketFilterer) FilterNumBenchmarksUpdated ¶
func (_Market *MarketFilterer) FilterNumBenchmarksUpdated(opts *bind.FilterOpts, newNum []*big.Int) (*MarketNumBenchmarksUpdatedIterator, error)
FilterNumBenchmarksUpdated is a free log retrieval operation binding the contract event 0x1acf16d0a0451282e1d2cac3f5473ca7c931bcda610ff6e061041af50e2abc13.
Solidity: event NumBenchmarksUpdated(newNum indexed uint256)
func (*MarketFilterer) FilterOrderPlaced ¶
func (_Market *MarketFilterer) FilterOrderPlaced(opts *bind.FilterOpts, orderID []*big.Int) (*MarketOrderPlacedIterator, error)
FilterOrderPlaced is a free log retrieval operation binding the contract event 0xffa896d8919f0556f53ace1395617969a3b53ab5271a085e28ac0c4a3724e63d.
Solidity: event OrderPlaced(orderID indexed uint256)
func (*MarketFilterer) FilterOrderUpdated ¶
func (_Market *MarketFilterer) FilterOrderUpdated(opts *bind.FilterOpts, orderID []*big.Int) (*MarketOrderUpdatedIterator, error)
FilterOrderUpdated is a free log retrieval operation binding the contract event 0xb8b459bc0688c37baf5f735d17f1711684bc14ab7db116f88bc18bf409b9309a.
Solidity: event OrderUpdated(orderID indexed uint256)
func (*MarketFilterer) FilterOwnershipTransferred ¶
func (_Market *MarketFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*MarketOwnershipTransferredIterator, error)
FilterOwnershipTransferred is a free log retrieval operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(previousOwner indexed address, newOwner indexed address)
func (*MarketFilterer) FilterWorkerAnnounced ¶
func (_Market *MarketFilterer) FilterWorkerAnnounced(opts *bind.FilterOpts, worker []common.Address, master []common.Address) (*MarketWorkerAnnouncedIterator, error)
FilterWorkerAnnounced is a free log retrieval operation binding the contract event 0xe398d33bf7e881cdfc9f34c743822904d4e45a0be0db740dd88cb132e4ce2ed9.
Solidity: event WorkerAnnounced(worker indexed address, master indexed address)
func (*MarketFilterer) FilterWorkerConfirmed ¶
func (_Market *MarketFilterer) FilterWorkerConfirmed(opts *bind.FilterOpts, worker []common.Address, master []common.Address) (*MarketWorkerConfirmedIterator, error)
FilterWorkerConfirmed is a free log retrieval operation binding the contract event 0x4940ef08d5aed63b7d3d3db293d69d6ed1d624995b90e9e944839c8ea0ae450d.
Solidity: event WorkerConfirmed(worker indexed address, master indexed address)
func (*MarketFilterer) FilterWorkerRemoved ¶
func (_Market *MarketFilterer) FilterWorkerRemoved(opts *bind.FilterOpts, worker []common.Address, master []common.Address) (*MarketWorkerRemovedIterator, error)
FilterWorkerRemoved is a free log retrieval operation binding the contract event 0x7822736ed69a5fe0ad6dc2c6669e8053495d711118e5435b047f9b83deda4c37.
Solidity: event WorkerRemoved(worker indexed address, master indexed address)
func (*MarketFilterer) WatchBilled ¶
func (_Market *MarketFilterer) WatchBilled(opts *bind.WatchOpts, sink chan<- *MarketBilled, dealID []*big.Int, paidAmount []*big.Int) (event.Subscription, error)
WatchBilled is a free log subscription operation binding the contract event 0x51f87cd83a2ce6c4ff7957861f7aba400dc3857d2325e0c94cc69f468874515c.
Solidity: event Billed(dealID indexed uint256, paidAmount indexed uint256)
func (*MarketFilterer) WatchDealChangeRequestSet ¶
func (_Market *MarketFilterer) WatchDealChangeRequestSet(opts *bind.WatchOpts, sink chan<- *MarketDealChangeRequestSet, changeRequestID []*big.Int) (event.Subscription, error)
WatchDealChangeRequestSet is a free log subscription operation binding the contract event 0x7ff56b2eb3ce318aad93d0ba39a3e4a406992a136f9554f17f6bcc43509275d1.
Solidity: event DealChangeRequestSet(changeRequestID indexed uint256)
func (*MarketFilterer) WatchDealChangeRequestUpdated ¶
func (_Market *MarketFilterer) WatchDealChangeRequestUpdated(opts *bind.WatchOpts, sink chan<- *MarketDealChangeRequestUpdated, changeRequestID []*big.Int) (event.Subscription, error)
WatchDealChangeRequestUpdated is a free log subscription operation binding the contract event 0x4b92d35447745e95b7344414a41ae94984787d0ebcd2c12021169197bb59af39.
Solidity: event DealChangeRequestUpdated(changeRequestID indexed uint256)
func (*MarketFilterer) WatchDealOpened ¶
func (_Market *MarketFilterer) WatchDealOpened(opts *bind.WatchOpts, sink chan<- *MarketDealOpened, dealID []*big.Int) (event.Subscription, error)
WatchDealOpened is a free log subscription operation binding the contract event 0xb9ffc65567b7238dd641372277b8c93ed03df73945932dd84fd3cbb33f3eddbf.
Solidity: event DealOpened(dealID indexed uint256)
func (*MarketFilterer) WatchDealUpdated ¶
func (_Market *MarketFilterer) WatchDealUpdated(opts *bind.WatchOpts, sink chan<- *MarketDealUpdated, dealID []*big.Int) (event.Subscription, error)
WatchDealUpdated is a free log subscription operation binding the contract event 0x0b27183934cfdbeb1fbbe288c2e163ed7aa8f458a954054970f78446bccb36e0.
Solidity: event DealUpdated(dealID indexed uint256)
func (*MarketFilterer) WatchNumBenchmarksUpdated ¶
func (_Market *MarketFilterer) WatchNumBenchmarksUpdated(opts *bind.WatchOpts, sink chan<- *MarketNumBenchmarksUpdated, newNum []*big.Int) (event.Subscription, error)
WatchNumBenchmarksUpdated is a free log subscription operation binding the contract event 0x1acf16d0a0451282e1d2cac3f5473ca7c931bcda610ff6e061041af50e2abc13.
Solidity: event NumBenchmarksUpdated(newNum indexed uint256)
func (*MarketFilterer) WatchOrderPlaced ¶
func (_Market *MarketFilterer) WatchOrderPlaced(opts *bind.WatchOpts, sink chan<- *MarketOrderPlaced, orderID []*big.Int) (event.Subscription, error)
WatchOrderPlaced is a free log subscription operation binding the contract event 0xffa896d8919f0556f53ace1395617969a3b53ab5271a085e28ac0c4a3724e63d.
Solidity: event OrderPlaced(orderID indexed uint256)
func (*MarketFilterer) WatchOrderUpdated ¶
func (_Market *MarketFilterer) WatchOrderUpdated(opts *bind.WatchOpts, sink chan<- *MarketOrderUpdated, orderID []*big.Int) (event.Subscription, error)
WatchOrderUpdated is a free log subscription operation binding the contract event 0xb8b459bc0688c37baf5f735d17f1711684bc14ab7db116f88bc18bf409b9309a.
Solidity: event OrderUpdated(orderID indexed uint256)
func (*MarketFilterer) WatchOwnershipTransferred ¶
func (_Market *MarketFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *MarketOwnershipTransferred, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error)
WatchOwnershipTransferred is a free log subscription operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(previousOwner indexed address, newOwner indexed address)
func (*MarketFilterer) WatchWorkerAnnounced ¶
func (_Market *MarketFilterer) WatchWorkerAnnounced(opts *bind.WatchOpts, sink chan<- *MarketWorkerAnnounced, worker []common.Address, master []common.Address) (event.Subscription, error)
WatchWorkerAnnounced is a free log subscription operation binding the contract event 0xe398d33bf7e881cdfc9f34c743822904d4e45a0be0db740dd88cb132e4ce2ed9.
Solidity: event WorkerAnnounced(worker indexed address, master indexed address)
func (*MarketFilterer) WatchWorkerConfirmed ¶
func (_Market *MarketFilterer) WatchWorkerConfirmed(opts *bind.WatchOpts, sink chan<- *MarketWorkerConfirmed, worker []common.Address, master []common.Address) (event.Subscription, error)
WatchWorkerConfirmed is a free log subscription operation binding the contract event 0x4940ef08d5aed63b7d3d3db293d69d6ed1d624995b90e9e944839c8ea0ae450d.
Solidity: event WorkerConfirmed(worker indexed address, master indexed address)
func (*MarketFilterer) WatchWorkerRemoved ¶
func (_Market *MarketFilterer) WatchWorkerRemoved(opts *bind.WatchOpts, sink chan<- *MarketWorkerRemoved, worker []common.Address, master []common.Address) (event.Subscription, error)
WatchWorkerRemoved is a free log subscription operation binding the contract event 0x7822736ed69a5fe0ad6dc2c6669e8053495d711118e5435b047f9b83deda4c37.
Solidity: event WorkerRemoved(worker indexed address, master indexed address)
type MarketNumBenchmarksUpdated ¶
type MarketNumBenchmarksUpdated struct { NewNum *big.Int Raw types.Log // Blockchain specific contextual infos }
MarketNumBenchmarksUpdated represents a NumBenchmarksUpdated event raised by the Market contract.
type MarketNumBenchmarksUpdatedIterator ¶
type MarketNumBenchmarksUpdatedIterator struct { Event *MarketNumBenchmarksUpdated // Event containing the contract specifics and raw log // contains filtered or unexported fields }
MarketNumBenchmarksUpdatedIterator is returned from FilterNumBenchmarksUpdated and is used to iterate over the raw logs and unpacked data for NumBenchmarksUpdated events raised by the Market contract.
func (*MarketNumBenchmarksUpdatedIterator) Close ¶
func (it *MarketNumBenchmarksUpdatedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*MarketNumBenchmarksUpdatedIterator) Error ¶
func (it *MarketNumBenchmarksUpdatedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*MarketNumBenchmarksUpdatedIterator) Next ¶
func (it *MarketNumBenchmarksUpdatedIterator) 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 MarketOrderPlaced ¶
type MarketOrderPlaced struct { OrderID *big.Int Raw types.Log // Blockchain specific contextual infos }
MarketOrderPlaced represents a OrderPlaced event raised by the Market contract.
type MarketOrderPlacedIterator ¶
type MarketOrderPlacedIterator struct { Event *MarketOrderPlaced // Event containing the contract specifics and raw log // contains filtered or unexported fields }
MarketOrderPlacedIterator is returned from FilterOrderPlaced and is used to iterate over the raw logs and unpacked data for OrderPlaced events raised by the Market contract.
func (*MarketOrderPlacedIterator) Close ¶
func (it *MarketOrderPlacedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*MarketOrderPlacedIterator) Error ¶
func (it *MarketOrderPlacedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*MarketOrderPlacedIterator) Next ¶
func (it *MarketOrderPlacedIterator) 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 MarketOrderUpdated ¶
type MarketOrderUpdated struct { OrderID *big.Int Raw types.Log // Blockchain specific contextual infos }
MarketOrderUpdated represents a OrderUpdated event raised by the Market contract.
type MarketOrderUpdatedIterator ¶
type MarketOrderUpdatedIterator struct { Event *MarketOrderUpdated // Event containing the contract specifics and raw log // contains filtered or unexported fields }
MarketOrderUpdatedIterator is returned from FilterOrderUpdated and is used to iterate over the raw logs and unpacked data for OrderUpdated events raised by the Market contract.
func (*MarketOrderUpdatedIterator) Close ¶
func (it *MarketOrderUpdatedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*MarketOrderUpdatedIterator) Error ¶
func (it *MarketOrderUpdatedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*MarketOrderUpdatedIterator) Next ¶
func (it *MarketOrderUpdatedIterator) 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 MarketOwnershipTransferred ¶
type MarketOwnershipTransferred struct { PreviousOwner common.Address NewOwner common.Address Raw types.Log // Blockchain specific contextual infos }
MarketOwnershipTransferred represents a OwnershipTransferred event raised by the Market contract.
type MarketOwnershipTransferredIterator ¶
type MarketOwnershipTransferredIterator struct { Event *MarketOwnershipTransferred // Event containing the contract specifics and raw log // contains filtered or unexported fields }
MarketOwnershipTransferredIterator is returned from FilterOwnershipTransferred and is used to iterate over the raw logs and unpacked data for OwnershipTransferred events raised by the Market contract.
func (*MarketOwnershipTransferredIterator) Close ¶
func (it *MarketOwnershipTransferredIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*MarketOwnershipTransferredIterator) Error ¶
func (it *MarketOwnershipTransferredIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*MarketOwnershipTransferredIterator) Next ¶
func (it *MarketOwnershipTransferredIterator) 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 MarketRaw ¶
type MarketRaw struct {
Contract *Market // Generic contract binding to access the raw methods on
}
MarketRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*MarketRaw) Call ¶
func (_Market *MarketRaw) 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 (*MarketRaw) Transact ¶
func (_Market *MarketRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*MarketRaw) Transfer ¶
func (_Market *MarketRaw) 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 MarketSession ¶
type MarketSession struct { Contract *Market // 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 }
MarketSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*MarketSession) Bill ¶
func (_Market *MarketSession) Bill(dealID *big.Int) (*types.Transaction, error)
Bill is a paid mutator transaction binding the contract method 0xc86c16f2.
Solidity: function Bill(dealID uint256) returns(bool)
func (*MarketSession) CancelChangeRequest ¶
func (_Market *MarketSession) CancelChangeRequest(changeRequestID *big.Int) (*types.Transaction, error)
CancelChangeRequest is a paid mutator transaction binding the contract method 0x9a1ea609.
Solidity: function CancelChangeRequest(changeRequestID uint256) returns(bool)
func (*MarketSession) CancelOrder ¶
func (_Market *MarketSession) CancelOrder(orderID *big.Int) (*types.Transaction, error)
CancelOrder is a paid mutator transaction binding the contract method 0x935c9ad2.
Solidity: function CancelOrder(orderID uint256) returns(bool)
func (*MarketSession) CloseDeal ¶
func (_Market *MarketSession) CloseDeal(dealID *big.Int, blacklisted bool) (*types.Transaction, error)
CloseDeal is a paid mutator transaction binding the contract method 0x5e18373d.
Solidity: function CloseDeal(dealID uint256, blacklisted bool) returns(bool)
func (*MarketSession) ConfirmWorker ¶
func (_Market *MarketSession) ConfirmWorker(_worker common.Address) (*types.Transaction, error)
ConfirmWorker is a paid mutator transaction binding the contract method 0x1a3d5f82.
Solidity: function ConfirmWorker(_worker address) returns(bool)
func (*MarketSession) CreateChangeRequest ¶
func (_Market *MarketSession) CreateChangeRequest(dealID *big.Int, newPrice *big.Int, newDuration *big.Int) (*types.Transaction, error)
CreateChangeRequest is a paid mutator transaction binding the contract method 0x3c1cbb34.
Solidity: function CreateChangeRequest(dealID uint256, newPrice uint256, newDuration uint256) returns(changeRequestID uint256)
func (*MarketSession) Deals ¶
func (_Market *MarketSession) Deals(arg0 *big.Int) (struct { SupplierID common.Address ConsumerID common.Address MasterID common.Address AskID *big.Int BidID *big.Int Duration *big.Int Price *big.Int StartTime *big.Int EndTime *big.Int Status uint8 BlockedBalance *big.Int TotalPayout *big.Int LastBillTS *big.Int }, error)
Deals is a free data retrieval call binding the contract method 0x03988f84.
Solidity: function deals( uint256) constant returns(supplierID address, consumerID address, masterID address, askID uint256, bidID uint256, duration uint256, price uint256, startTime uint256, endTime uint256, status uint8, blockedBalance uint256, totalPayout uint256, lastBillTS uint256)
func (*MarketSession) GetBenchmarksQuantity ¶
func (_Market *MarketSession) GetBenchmarksQuantity() (*big.Int, error)
GetBenchmarksQuantity is a free data retrieval call binding the contract method 0x348843cf.
Solidity: function GetBenchmarksQuantity() constant returns(uint256)
func (*MarketSession) GetChangeRequestInfo ¶
func (_Market *MarketSession) GetChangeRequestInfo(changeRequestID *big.Int) (struct { DealID *big.Int RequestType uint8 Price *big.Int Duration *big.Int Status uint8 }, error)
GetChangeRequestInfo is a free data retrieval call binding the contract method 0x616451c5.
Solidity: function GetChangeRequestInfo(changeRequestID uint256) constant returns(dealID uint256, requestType uint8, price uint256, duration uint256, status uint8)
func (*MarketSession) GetChangeRequestsAmount ¶
func (_Market *MarketSession) GetChangeRequestsAmount() (*big.Int, error)
GetChangeRequestsAmount is a free data retrieval call binding the contract method 0xb4bf396e.
Solidity: function GetChangeRequestsAmount() constant returns(uint256)
func (*MarketSession) GetDealInfo ¶
func (_Market *MarketSession) GetDealInfo(dealID *big.Int) (struct { Benchmarks []uint64 SupplierID common.Address ConsumerID common.Address MasterID common.Address AskID *big.Int BidID *big.Int StartTime *big.Int }, error)
GetDealInfo is a free data retrieval call binding the contract method 0x5ad5f6ae.
Solidity: function GetDealInfo(dealID uint256) constant returns(benchmarks uint64[], supplierID address, consumerID address, masterID address, askID uint256, bidID uint256, startTime uint256)
func (*MarketSession) GetDealParams ¶
func (_Market *MarketSession) GetDealParams(dealID *big.Int) (struct { Duration *big.Int Price *big.Int EndTime *big.Int Status uint8 BlockedBalance *big.Int TotalPayout *big.Int LastBillTS *big.Int }, error)
GetDealParams is a free data retrieval call binding the contract method 0x4fabdd4b.
Solidity: function GetDealParams(dealID uint256) constant returns(duration uint256, price uint256, endTime uint256, status uint8, blockedBalance uint256, totalPayout uint256, lastBillTS uint256)
func (*MarketSession) GetDealsAmount ¶
func (_Market *MarketSession) GetDealsAmount() (*big.Int, error)
GetDealsAmount is a free data retrieval call binding the contract method 0xe45ea8d3.
Solidity: function GetDealsAmount() constant returns(uint256)
func (*MarketSession) GetMaster ¶
GetMaster is a free data retrieval call binding the contract method 0x289e77b3.
Solidity: function GetMaster(_worker address) constant returns(master address)
func (*MarketSession) GetOrderInfo ¶
func (_Market *MarketSession) GetOrderInfo(orderID *big.Int) (struct { OrderType uint8 Author common.Address Counterparty common.Address Duration *big.Int Price *big.Int Netflags [3]bool IdentityLevel uint8 Blacklist common.Address Tag [32]byte Benchmarks []uint64 FrozenSum *big.Int }, error)
GetOrderInfo is a free data retrieval call binding the contract method 0xe217866c.
Solidity: function GetOrderInfo(orderID uint256) constant returns(orderType uint8, author address, counterparty address, duration uint256, price uint256, netflags bool[3], identityLevel uint8, blacklist address, tag bytes32, benchmarks uint64[], frozenSum uint256)
func (*MarketSession) GetOrderParams ¶
func (_Market *MarketSession) GetOrderParams(orderID *big.Int) (struct { OrderStatus uint8 DealID *big.Int }, error)
GetOrderParams is a free data retrieval call binding the contract method 0x3a907227.
Solidity: function GetOrderParams(orderID uint256) constant returns(orderStatus uint8, dealID uint256)
func (*MarketSession) GetOrdersAmount ¶
func (_Market *MarketSession) GetOrdersAmount() (*big.Int, error)
GetOrdersAmount is a free data retrieval call binding the contract method 0x63fb2929.
Solidity: function GetOrdersAmount() constant returns(uint256)
func (*MarketSession) OpenDeal ¶
func (_Market *MarketSession) OpenDeal(_askID *big.Int, _bidID *big.Int) (*types.Transaction, error)
OpenDeal is a paid mutator transaction binding the contract method 0xb1defc89.
Solidity: function OpenDeal(_askID uint256, _bidID uint256) returns()
func (*MarketSession) Orders ¶
func (_Market *MarketSession) Orders(arg0 *big.Int) (struct { OrderType uint8 OrderStatus uint8 Author common.Address Counterparty common.Address Duration *big.Int Price *big.Int IdentityLevel uint8 Blacklist common.Address Tag [32]byte FrozenSum *big.Int DealID *big.Int }, error)
Orders is a free data retrieval call binding the contract method 0xa85c38ef.
Solidity: function orders( uint256) constant returns(orderType uint8, orderStatus uint8, author address, counterparty address, duration uint256, price uint256, identityLevel uint8, blacklist address, tag bytes32, frozenSum uint256, dealID uint256)
func (*MarketSession) Owner ¶
func (_Market *MarketSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() constant returns(address)
func (*MarketSession) PlaceOrder ¶
func (_Market *MarketSession) PlaceOrder(_orderType uint8, _id_counterparty common.Address, _duration *big.Int, _price *big.Int, _netflags [3]bool, _identityLevel uint8, _blacklist common.Address, _tag [32]byte, _benchmarks []uint64) (*types.Transaction, error)
PlaceOrder is a paid mutator transaction binding the contract method 0xa11bb037.
Solidity: function PlaceOrder(_orderType uint8, _id_counterparty address, _duration uint256, _price uint256, _netflags bool[3], _identityLevel uint8, _blacklist address, _tag bytes32, _benchmarks uint64[]) returns(uint256)
func (*MarketSession) QuickBuy ¶
func (_Market *MarketSession) QuickBuy(askID *big.Int) (*types.Transaction, error)
QuickBuy is a paid mutator transaction binding the contract method 0x2afc342a.
Solidity: function QuickBuy(askID uint256) returns()
func (*MarketSession) RegisterWorker ¶
func (_Market *MarketSession) RegisterWorker(_master common.Address) (*types.Transaction, error)
RegisterWorker is a paid mutator transaction binding the contract method 0xa70a7af0.
Solidity: function RegisterWorker(_master address) returns(bool)
func (*MarketSession) RemoveWorker ¶
func (_Market *MarketSession) RemoveWorker(_worker common.Address, _master common.Address) (*types.Transaction, error)
RemoveWorker is a paid mutator transaction binding the contract method 0xd3623432.
Solidity: function RemoveWorker(_worker address, _master address) returns(bool)
func (*MarketSession) SetBenchmarksQuantity ¶
func (_Market *MarketSession) SetBenchmarksQuantity(_newQuantity *big.Int) (*types.Transaction, error)
SetBenchmarksQuantity is a paid mutator transaction binding the contract method 0xef78b8d3.
Solidity: function SetBenchmarksQuantity(_newQuantity uint256) returns(bool)
func (*MarketSession) SetBlacklistAddress ¶
func (_Market *MarketSession) SetBlacklistAddress(_newBL common.Address) (*types.Transaction, error)
SetBlacklistAddress is a paid mutator transaction binding the contract method 0xd85e6776.
Solidity: function SetBlacklistAddress(_newBL address) returns(bool)
func (*MarketSession) SetOracleAddress ¶
func (_Market *MarketSession) SetOracleAddress(_newOracle common.Address) (*types.Transaction, error)
SetOracleAddress is a paid mutator transaction binding the contract method 0x0adef86c.
Solidity: function SetOracleAddress(_newOracle address) returns(bool)
func (*MarketSession) SetProfileRegistryAddress ¶
func (_Market *MarketSession) SetProfileRegistryAddress(_newPR common.Address) (*types.Transaction, error)
SetProfileRegistryAddress is a paid mutator transaction binding the contract method 0xf1bf6fd5.
Solidity: function SetProfileRegistryAddress(_newPR address) returns(bool)
func (*MarketSession) TransferOwnership ¶
func (_Market *MarketSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(newOwner address) returns()
type MarketTransactor ¶
type MarketTransactor struct {
// contains filtered or unexported fields
}
MarketTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewMarketTransactor ¶
func NewMarketTransactor(address common.Address, transactor bind.ContractTransactor) (*MarketTransactor, error)
NewMarketTransactor creates a new write-only instance of Market, bound to a specific deployed contract.
func (*MarketTransactor) Bill ¶
func (_Market *MarketTransactor) Bill(opts *bind.TransactOpts, dealID *big.Int) (*types.Transaction, error)
Bill is a paid mutator transaction binding the contract method 0xc86c16f2.
Solidity: function Bill(dealID uint256) returns(bool)
func (*MarketTransactor) CancelChangeRequest ¶
func (_Market *MarketTransactor) CancelChangeRequest(opts *bind.TransactOpts, changeRequestID *big.Int) (*types.Transaction, error)
CancelChangeRequest is a paid mutator transaction binding the contract method 0x9a1ea609.
Solidity: function CancelChangeRequest(changeRequestID uint256) returns(bool)
func (*MarketTransactor) CancelOrder ¶
func (_Market *MarketTransactor) CancelOrder(opts *bind.TransactOpts, orderID *big.Int) (*types.Transaction, error)
CancelOrder is a paid mutator transaction binding the contract method 0x935c9ad2.
Solidity: function CancelOrder(orderID uint256) returns(bool)
func (*MarketTransactor) CloseDeal ¶
func (_Market *MarketTransactor) CloseDeal(opts *bind.TransactOpts, dealID *big.Int, blacklisted bool) (*types.Transaction, error)
CloseDeal is a paid mutator transaction binding the contract method 0x5e18373d.
Solidity: function CloseDeal(dealID uint256, blacklisted bool) returns(bool)
func (*MarketTransactor) ConfirmWorker ¶
func (_Market *MarketTransactor) ConfirmWorker(opts *bind.TransactOpts, _worker common.Address) (*types.Transaction, error)
ConfirmWorker is a paid mutator transaction binding the contract method 0x1a3d5f82.
Solidity: function ConfirmWorker(_worker address) returns(bool)
func (*MarketTransactor) CreateChangeRequest ¶
func (_Market *MarketTransactor) CreateChangeRequest(opts *bind.TransactOpts, dealID *big.Int, newPrice *big.Int, newDuration *big.Int) (*types.Transaction, error)
CreateChangeRequest is a paid mutator transaction binding the contract method 0x3c1cbb34.
Solidity: function CreateChangeRequest(dealID uint256, newPrice uint256, newDuration uint256) returns(changeRequestID uint256)
func (*MarketTransactor) OpenDeal ¶
func (_Market *MarketTransactor) OpenDeal(opts *bind.TransactOpts, _askID *big.Int, _bidID *big.Int) (*types.Transaction, error)
OpenDeal is a paid mutator transaction binding the contract method 0xb1defc89.
Solidity: function OpenDeal(_askID uint256, _bidID uint256) returns()
func (*MarketTransactor) PlaceOrder ¶
func (_Market *MarketTransactor) PlaceOrder(opts *bind.TransactOpts, _orderType uint8, _id_counterparty common.Address, _duration *big.Int, _price *big.Int, _netflags [3]bool, _identityLevel uint8, _blacklist common.Address, _tag [32]byte, _benchmarks []uint64) (*types.Transaction, error)
PlaceOrder is a paid mutator transaction binding the contract method 0xa11bb037.
Solidity: function PlaceOrder(_orderType uint8, _id_counterparty address, _duration uint256, _price uint256, _netflags bool[3], _identityLevel uint8, _blacklist address, _tag bytes32, _benchmarks uint64[]) returns(uint256)
func (*MarketTransactor) QuickBuy ¶
func (_Market *MarketTransactor) QuickBuy(opts *bind.TransactOpts, askID *big.Int) (*types.Transaction, error)
QuickBuy is a paid mutator transaction binding the contract method 0x2afc342a.
Solidity: function QuickBuy(askID uint256) returns()
func (*MarketTransactor) RegisterWorker ¶
func (_Market *MarketTransactor) RegisterWorker(opts *bind.TransactOpts, _master common.Address) (*types.Transaction, error)
RegisterWorker is a paid mutator transaction binding the contract method 0xa70a7af0.
Solidity: function RegisterWorker(_master address) returns(bool)
func (*MarketTransactor) RemoveWorker ¶
func (_Market *MarketTransactor) RemoveWorker(opts *bind.TransactOpts, _worker common.Address, _master common.Address) (*types.Transaction, error)
RemoveWorker is a paid mutator transaction binding the contract method 0xd3623432.
Solidity: function RemoveWorker(_worker address, _master address) returns(bool)
func (*MarketTransactor) SetBenchmarksQuantity ¶
func (_Market *MarketTransactor) SetBenchmarksQuantity(opts *bind.TransactOpts, _newQuantity *big.Int) (*types.Transaction, error)
SetBenchmarksQuantity is a paid mutator transaction binding the contract method 0xef78b8d3.
Solidity: function SetBenchmarksQuantity(_newQuantity uint256) returns(bool)
func (*MarketTransactor) SetBlacklistAddress ¶
func (_Market *MarketTransactor) SetBlacklistAddress(opts *bind.TransactOpts, _newBL common.Address) (*types.Transaction, error)
SetBlacklistAddress is a paid mutator transaction binding the contract method 0xd85e6776.
Solidity: function SetBlacklistAddress(_newBL address) returns(bool)
func (*MarketTransactor) SetOracleAddress ¶
func (_Market *MarketTransactor) SetOracleAddress(opts *bind.TransactOpts, _newOracle common.Address) (*types.Transaction, error)
SetOracleAddress is a paid mutator transaction binding the contract method 0x0adef86c.
Solidity: function SetOracleAddress(_newOracle address) returns(bool)
func (*MarketTransactor) SetProfileRegistryAddress ¶
func (_Market *MarketTransactor) SetProfileRegistryAddress(opts *bind.TransactOpts, _newPR common.Address) (*types.Transaction, error)
SetProfileRegistryAddress is a paid mutator transaction binding the contract method 0xf1bf6fd5.
Solidity: function SetProfileRegistryAddress(_newPR address) returns(bool)
func (*MarketTransactor) TransferOwnership ¶
func (_Market *MarketTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(newOwner address) returns()
type MarketTransactorRaw ¶
type MarketTransactorRaw struct {
Contract *MarketTransactor // Generic write-only contract binding to access the raw methods on
}
MarketTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*MarketTransactorRaw) Transact ¶
func (_Market *MarketTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*MarketTransactorRaw) Transfer ¶
func (_Market *MarketTransactorRaw) 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 MarketTransactorSession ¶
type MarketTransactorSession struct { Contract *MarketTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
MarketTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*MarketTransactorSession) Bill ¶
func (_Market *MarketTransactorSession) Bill(dealID *big.Int) (*types.Transaction, error)
Bill is a paid mutator transaction binding the contract method 0xc86c16f2.
Solidity: function Bill(dealID uint256) returns(bool)
func (*MarketTransactorSession) CancelChangeRequest ¶
func (_Market *MarketTransactorSession) CancelChangeRequest(changeRequestID *big.Int) (*types.Transaction, error)
CancelChangeRequest is a paid mutator transaction binding the contract method 0x9a1ea609.
Solidity: function CancelChangeRequest(changeRequestID uint256) returns(bool)
func (*MarketTransactorSession) CancelOrder ¶
func (_Market *MarketTransactorSession) CancelOrder(orderID *big.Int) (*types.Transaction, error)
CancelOrder is a paid mutator transaction binding the contract method 0x935c9ad2.
Solidity: function CancelOrder(orderID uint256) returns(bool)
func (*MarketTransactorSession) CloseDeal ¶
func (_Market *MarketTransactorSession) CloseDeal(dealID *big.Int, blacklisted bool) (*types.Transaction, error)
CloseDeal is a paid mutator transaction binding the contract method 0x5e18373d.
Solidity: function CloseDeal(dealID uint256, blacklisted bool) returns(bool)
func (*MarketTransactorSession) ConfirmWorker ¶
func (_Market *MarketTransactorSession) ConfirmWorker(_worker common.Address) (*types.Transaction, error)
ConfirmWorker is a paid mutator transaction binding the contract method 0x1a3d5f82.
Solidity: function ConfirmWorker(_worker address) returns(bool)
func (*MarketTransactorSession) CreateChangeRequest ¶
func (_Market *MarketTransactorSession) CreateChangeRequest(dealID *big.Int, newPrice *big.Int, newDuration *big.Int) (*types.Transaction, error)
CreateChangeRequest is a paid mutator transaction binding the contract method 0x3c1cbb34.
Solidity: function CreateChangeRequest(dealID uint256, newPrice uint256, newDuration uint256) returns(changeRequestID uint256)
func (*MarketTransactorSession) OpenDeal ¶
func (_Market *MarketTransactorSession) OpenDeal(_askID *big.Int, _bidID *big.Int) (*types.Transaction, error)
OpenDeal is a paid mutator transaction binding the contract method 0xb1defc89.
Solidity: function OpenDeal(_askID uint256, _bidID uint256) returns()
func (*MarketTransactorSession) PlaceOrder ¶
func (_Market *MarketTransactorSession) PlaceOrder(_orderType uint8, _id_counterparty common.Address, _duration *big.Int, _price *big.Int, _netflags [3]bool, _identityLevel uint8, _blacklist common.Address, _tag [32]byte, _benchmarks []uint64) (*types.Transaction, error)
PlaceOrder is a paid mutator transaction binding the contract method 0xa11bb037.
Solidity: function PlaceOrder(_orderType uint8, _id_counterparty address, _duration uint256, _price uint256, _netflags bool[3], _identityLevel uint8, _blacklist address, _tag bytes32, _benchmarks uint64[]) returns(uint256)
func (*MarketTransactorSession) QuickBuy ¶
func (_Market *MarketTransactorSession) QuickBuy(askID *big.Int) (*types.Transaction, error)
QuickBuy is a paid mutator transaction binding the contract method 0x2afc342a.
Solidity: function QuickBuy(askID uint256) returns()
func (*MarketTransactorSession) RegisterWorker ¶
func (_Market *MarketTransactorSession) RegisterWorker(_master common.Address) (*types.Transaction, error)
RegisterWorker is a paid mutator transaction binding the contract method 0xa70a7af0.
Solidity: function RegisterWorker(_master address) returns(bool)
func (*MarketTransactorSession) RemoveWorker ¶
func (_Market *MarketTransactorSession) RemoveWorker(_worker common.Address, _master common.Address) (*types.Transaction, error)
RemoveWorker is a paid mutator transaction binding the contract method 0xd3623432.
Solidity: function RemoveWorker(_worker address, _master address) returns(bool)
func (*MarketTransactorSession) SetBenchmarksQuantity ¶
func (_Market *MarketTransactorSession) SetBenchmarksQuantity(_newQuantity *big.Int) (*types.Transaction, error)
SetBenchmarksQuantity is a paid mutator transaction binding the contract method 0xef78b8d3.
Solidity: function SetBenchmarksQuantity(_newQuantity uint256) returns(bool)
func (*MarketTransactorSession) SetBlacklistAddress ¶
func (_Market *MarketTransactorSession) SetBlacklistAddress(_newBL common.Address) (*types.Transaction, error)
SetBlacklistAddress is a paid mutator transaction binding the contract method 0xd85e6776.
Solidity: function SetBlacklistAddress(_newBL address) returns(bool)
func (*MarketTransactorSession) SetOracleAddress ¶
func (_Market *MarketTransactorSession) SetOracleAddress(_newOracle common.Address) (*types.Transaction, error)
SetOracleAddress is a paid mutator transaction binding the contract method 0x0adef86c.
Solidity: function SetOracleAddress(_newOracle address) returns(bool)
func (*MarketTransactorSession) SetProfileRegistryAddress ¶
func (_Market *MarketTransactorSession) SetProfileRegistryAddress(_newPR common.Address) (*types.Transaction, error)
SetProfileRegistryAddress is a paid mutator transaction binding the contract method 0xf1bf6fd5.
Solidity: function SetProfileRegistryAddress(_newPR address) returns(bool)
func (*MarketTransactorSession) TransferOwnership ¶
func (_Market *MarketTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(newOwner address) returns()
type MarketWorkerAnnounced ¶
type MarketWorkerAnnounced struct { Worker common.Address Master common.Address Raw types.Log // Blockchain specific contextual infos }
MarketWorkerAnnounced represents a WorkerAnnounced event raised by the Market contract.
type MarketWorkerAnnouncedIterator ¶
type MarketWorkerAnnouncedIterator struct { Event *MarketWorkerAnnounced // Event containing the contract specifics and raw log // contains filtered or unexported fields }
MarketWorkerAnnouncedIterator is returned from FilterWorkerAnnounced and is used to iterate over the raw logs and unpacked data for WorkerAnnounced events raised by the Market contract.
func (*MarketWorkerAnnouncedIterator) Close ¶
func (it *MarketWorkerAnnouncedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*MarketWorkerAnnouncedIterator) Error ¶
func (it *MarketWorkerAnnouncedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*MarketWorkerAnnouncedIterator) Next ¶
func (it *MarketWorkerAnnouncedIterator) 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 MarketWorkerConfirmed ¶
type MarketWorkerConfirmed struct { Worker common.Address Master common.Address Raw types.Log // Blockchain specific contextual infos }
MarketWorkerConfirmed represents a WorkerConfirmed event raised by the Market contract.
type MarketWorkerConfirmedIterator ¶
type MarketWorkerConfirmedIterator struct { Event *MarketWorkerConfirmed // Event containing the contract specifics and raw log // contains filtered or unexported fields }
MarketWorkerConfirmedIterator is returned from FilterWorkerConfirmed and is used to iterate over the raw logs and unpacked data for WorkerConfirmed events raised by the Market contract.
func (*MarketWorkerConfirmedIterator) Close ¶
func (it *MarketWorkerConfirmedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*MarketWorkerConfirmedIterator) Error ¶
func (it *MarketWorkerConfirmedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*MarketWorkerConfirmedIterator) Next ¶
func (it *MarketWorkerConfirmedIterator) 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 MarketWorkerRemoved ¶
type MarketWorkerRemoved struct { Worker common.Address Master common.Address Raw types.Log // Blockchain specific contextual infos }
MarketWorkerRemoved represents a WorkerRemoved event raised by the Market contract.
type MarketWorkerRemovedIterator ¶
type MarketWorkerRemovedIterator struct { Event *MarketWorkerRemoved // Event containing the contract specifics and raw log // contains filtered or unexported fields }
MarketWorkerRemovedIterator is returned from FilterWorkerRemoved and is used to iterate over the raw logs and unpacked data for WorkerRemoved events raised by the Market contract.
func (*MarketWorkerRemovedIterator) Close ¶
func (it *MarketWorkerRemovedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*MarketWorkerRemovedIterator) Error ¶
func (it *MarketWorkerRemovedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*MarketWorkerRemovedIterator) Next ¶
func (it *MarketWorkerRemovedIterator) 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 Migrations ¶
type Migrations struct { MigrationsCaller // Read-only binding to the contract MigrationsTransactor // Write-only binding to the contract MigrationsFilterer // Log filterer for contract events }
Migrations is an auto generated Go binding around an Ethereum contract.
func DeployMigrations ¶
func DeployMigrations(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *Migrations, error)
DeployMigrations deploys a new Ethereum contract, binding an instance of Migrations to it.
func NewMigrations ¶
func NewMigrations(address common.Address, backend bind.ContractBackend) (*Migrations, error)
NewMigrations creates a new instance of Migrations, bound to a specific deployed contract.
type MigrationsCaller ¶
type MigrationsCaller struct {
// contains filtered or unexported fields
}
MigrationsCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewMigrationsCaller ¶
func NewMigrationsCaller(address common.Address, caller bind.ContractCaller) (*MigrationsCaller, error)
NewMigrationsCaller creates a new read-only instance of Migrations, bound to a specific deployed contract.
func (*MigrationsCaller) Last_completed_migration ¶
func (_Migrations *MigrationsCaller) Last_completed_migration(opts *bind.CallOpts) (*big.Int, error)
Last_completed_migration is a free data retrieval call binding the contract method 0x445df0ac.
Solidity: function last_completed_migration() constant returns(uint256)
type MigrationsCallerRaw ¶
type MigrationsCallerRaw struct {
Contract *MigrationsCaller // Generic read-only contract binding to access the raw methods on
}
MigrationsCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*MigrationsCallerRaw) Call ¶
func (_Migrations *MigrationsCallerRaw) 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 MigrationsCallerSession ¶
type MigrationsCallerSession struct { Contract *MigrationsCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
MigrationsCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*MigrationsCallerSession) Last_completed_migration ¶
func (_Migrations *MigrationsCallerSession) Last_completed_migration() (*big.Int, error)
Last_completed_migration is a free data retrieval call binding the contract method 0x445df0ac.
Solidity: function last_completed_migration() constant returns(uint256)
type MigrationsFilterer ¶
type MigrationsFilterer struct {
// contains filtered or unexported fields
}
MigrationsFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewMigrationsFilterer ¶
func NewMigrationsFilterer(address common.Address, filterer bind.ContractFilterer) (*MigrationsFilterer, error)
NewMigrationsFilterer creates a new log filterer instance of Migrations, bound to a specific deployed contract.
type MigrationsRaw ¶
type MigrationsRaw struct {
Contract *Migrations // Generic contract binding to access the raw methods on
}
MigrationsRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*MigrationsRaw) Call ¶
func (_Migrations *MigrationsRaw) 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 (*MigrationsRaw) Transact ¶
func (_Migrations *MigrationsRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*MigrationsRaw) Transfer ¶
func (_Migrations *MigrationsRaw) 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 MigrationsSession ¶
type MigrationsSession struct { Contract *Migrations // 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 }
MigrationsSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*MigrationsSession) Last_completed_migration ¶
func (_Migrations *MigrationsSession) Last_completed_migration() (*big.Int, error)
Last_completed_migration is a free data retrieval call binding the contract method 0x445df0ac.
Solidity: function last_completed_migration() constant returns(uint256)
func (*MigrationsSession) Owner ¶
func (_Migrations *MigrationsSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() constant returns(address)
func (*MigrationsSession) SetCompleted ¶
func (_Migrations *MigrationsSession) SetCompleted(completed *big.Int) (*types.Transaction, error)
SetCompleted is a paid mutator transaction binding the contract method 0xfdacd576.
Solidity: function setCompleted(completed uint256) returns()
func (*MigrationsSession) Upgrade ¶
func (_Migrations *MigrationsSession) Upgrade(new_address common.Address) (*types.Transaction, error)
Upgrade is a paid mutator transaction binding the contract method 0x0900f010.
Solidity: function upgrade(new_address address) returns()
type MigrationsTransactor ¶
type MigrationsTransactor struct {
// contains filtered or unexported fields
}
MigrationsTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewMigrationsTransactor ¶
func NewMigrationsTransactor(address common.Address, transactor bind.ContractTransactor) (*MigrationsTransactor, error)
NewMigrationsTransactor creates a new write-only instance of Migrations, bound to a specific deployed contract.
func (*MigrationsTransactor) SetCompleted ¶
func (_Migrations *MigrationsTransactor) SetCompleted(opts *bind.TransactOpts, completed *big.Int) (*types.Transaction, error)
SetCompleted is a paid mutator transaction binding the contract method 0xfdacd576.
Solidity: function setCompleted(completed uint256) returns()
func (*MigrationsTransactor) Upgrade ¶
func (_Migrations *MigrationsTransactor) Upgrade(opts *bind.TransactOpts, new_address common.Address) (*types.Transaction, error)
Upgrade is a paid mutator transaction binding the contract method 0x0900f010.
Solidity: function upgrade(new_address address) returns()
type MigrationsTransactorRaw ¶
type MigrationsTransactorRaw struct {
Contract *MigrationsTransactor // Generic write-only contract binding to access the raw methods on
}
MigrationsTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*MigrationsTransactorRaw) Transact ¶
func (_Migrations *MigrationsTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*MigrationsTransactorRaw) Transfer ¶
func (_Migrations *MigrationsTransactorRaw) 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 MigrationsTransactorSession ¶
type MigrationsTransactorSession struct { Contract *MigrationsTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
MigrationsTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*MigrationsTransactorSession) SetCompleted ¶
func (_Migrations *MigrationsTransactorSession) SetCompleted(completed *big.Int) (*types.Transaction, error)
SetCompleted is a paid mutator transaction binding the contract method 0xfdacd576.
Solidity: function setCompleted(completed uint256) returns()
func (*MigrationsTransactorSession) Upgrade ¶
func (_Migrations *MigrationsTransactorSession) Upgrade(new_address common.Address) (*types.Transaction, error)
Upgrade is a paid mutator transaction binding the contract method 0x0900f010.
Solidity: function upgrade(new_address address) returns()
type OracleUSD ¶
type OracleUSD struct { OracleUSDCaller // Read-only binding to the contract OracleUSDTransactor // Write-only binding to the contract OracleUSDFilterer // Log filterer for contract events }
OracleUSD is an auto generated Go binding around an Ethereum contract.
func DeployOracleUSD ¶
func DeployOracleUSD(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *OracleUSD, error)
DeployOracleUSD deploys a new Ethereum contract, binding an instance of OracleUSD to it.
func NewOracleUSD ¶
NewOracleUSD creates a new instance of OracleUSD, bound to a specific deployed contract.
type OracleUSDCaller ¶
type OracleUSDCaller struct {
// contains filtered or unexported fields
}
OracleUSDCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewOracleUSDCaller ¶
func NewOracleUSDCaller(address common.Address, caller bind.ContractCaller) (*OracleUSDCaller, error)
NewOracleUSDCaller creates a new read-only instance of OracleUSD, bound to a specific deployed contract.
func (*OracleUSDCaller) GetCurrentPrice ¶
GetCurrentPrice is a free data retrieval call binding the contract method 0xeb91d37e.
Solidity: function getCurrentPrice() constant returns(uint256)
type OracleUSDCallerRaw ¶
type OracleUSDCallerRaw struct {
Contract *OracleUSDCaller // Generic read-only contract binding to access the raw methods on
}
OracleUSDCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*OracleUSDCallerRaw) Call ¶
func (_OracleUSD *OracleUSDCallerRaw) 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 OracleUSDCallerSession ¶
type OracleUSDCallerSession struct { Contract *OracleUSDCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
OracleUSDCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*OracleUSDCallerSession) GetCurrentPrice ¶
func (_OracleUSD *OracleUSDCallerSession) GetCurrentPrice() (*big.Int, error)
GetCurrentPrice is a free data retrieval call binding the contract method 0xeb91d37e.
Solidity: function getCurrentPrice() constant returns(uint256)
type OracleUSDFilterer ¶
type OracleUSDFilterer struct {
// contains filtered or unexported fields
}
OracleUSDFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewOracleUSDFilterer ¶
func NewOracleUSDFilterer(address common.Address, filterer bind.ContractFilterer) (*OracleUSDFilterer, error)
NewOracleUSDFilterer creates a new log filterer instance of OracleUSD, bound to a specific deployed contract.
func (*OracleUSDFilterer) FilterOwnershipTransferred ¶
func (_OracleUSD *OracleUSDFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*OracleUSDOwnershipTransferredIterator, error)
FilterOwnershipTransferred is a free log retrieval operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(previousOwner indexed address, newOwner indexed address)
func (*OracleUSDFilterer) FilterPriceChanged ¶
func (_OracleUSD *OracleUSDFilterer) FilterPriceChanged(opts *bind.FilterOpts) (*OracleUSDPriceChangedIterator, error)
FilterPriceChanged is a free log retrieval operation binding the contract event 0xa6dc15bdb68da224c66db4b3838d9a2b205138e8cff6774e57d0af91e196d622.
Solidity: event PriceChanged(price uint256)
func (*OracleUSDFilterer) WatchOwnershipTransferred ¶
func (_OracleUSD *OracleUSDFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *OracleUSDOwnershipTransferred, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error)
WatchOwnershipTransferred is a free log subscription operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(previousOwner indexed address, newOwner indexed address)
func (*OracleUSDFilterer) WatchPriceChanged ¶
func (_OracleUSD *OracleUSDFilterer) WatchPriceChanged(opts *bind.WatchOpts, sink chan<- *OracleUSDPriceChanged) (event.Subscription, error)
WatchPriceChanged is a free log subscription operation binding the contract event 0xa6dc15bdb68da224c66db4b3838d9a2b205138e8cff6774e57d0af91e196d622.
Solidity: event PriceChanged(price uint256)
type OracleUSDOwnershipTransferred ¶
type OracleUSDOwnershipTransferred struct { PreviousOwner common.Address NewOwner common.Address Raw types.Log // Blockchain specific contextual infos }
OracleUSDOwnershipTransferred represents a OwnershipTransferred event raised by the OracleUSD contract.
type OracleUSDOwnershipTransferredIterator ¶
type OracleUSDOwnershipTransferredIterator struct { Event *OracleUSDOwnershipTransferred // Event containing the contract specifics and raw log // contains filtered or unexported fields }
OracleUSDOwnershipTransferredIterator is returned from FilterOwnershipTransferred and is used to iterate over the raw logs and unpacked data for OwnershipTransferred events raised by the OracleUSD contract.
func (*OracleUSDOwnershipTransferredIterator) Close ¶
func (it *OracleUSDOwnershipTransferredIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*OracleUSDOwnershipTransferredIterator) Error ¶
func (it *OracleUSDOwnershipTransferredIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*OracleUSDOwnershipTransferredIterator) Next ¶
func (it *OracleUSDOwnershipTransferredIterator) 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 OracleUSDPriceChanged ¶
type OracleUSDPriceChanged struct { Price *big.Int Raw types.Log // Blockchain specific contextual infos }
OracleUSDPriceChanged represents a PriceChanged event raised by the OracleUSD contract.
type OracleUSDPriceChangedIterator ¶
type OracleUSDPriceChangedIterator struct { Event *OracleUSDPriceChanged // Event containing the contract specifics and raw log // contains filtered or unexported fields }
OracleUSDPriceChangedIterator is returned from FilterPriceChanged and is used to iterate over the raw logs and unpacked data for PriceChanged events raised by the OracleUSD contract.
func (*OracleUSDPriceChangedIterator) Close ¶
func (it *OracleUSDPriceChangedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*OracleUSDPriceChangedIterator) Error ¶
func (it *OracleUSDPriceChangedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*OracleUSDPriceChangedIterator) Next ¶
func (it *OracleUSDPriceChangedIterator) 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 OracleUSDRaw ¶
type OracleUSDRaw struct {
Contract *OracleUSD // Generic contract binding to access the raw methods on
}
OracleUSDRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*OracleUSDRaw) Call ¶
func (_OracleUSD *OracleUSDRaw) 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 (*OracleUSDRaw) Transact ¶
func (_OracleUSD *OracleUSDRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*OracleUSDRaw) Transfer ¶
func (_OracleUSD *OracleUSDRaw) 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 OracleUSDSession ¶
type OracleUSDSession struct { Contract *OracleUSD // 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 }
OracleUSDSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*OracleUSDSession) GetCurrentPrice ¶
func (_OracleUSD *OracleUSDSession) GetCurrentPrice() (*big.Int, error)
GetCurrentPrice is a free data retrieval call binding the contract method 0xeb91d37e.
Solidity: function getCurrentPrice() constant returns(uint256)
func (*OracleUSDSession) Owner ¶
func (_OracleUSD *OracleUSDSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() constant returns(address)
func (*OracleUSDSession) SetCurrentPrice ¶
func (_OracleUSD *OracleUSDSession) SetCurrentPrice(_price *big.Int) (*types.Transaction, error)
SetCurrentPrice is a paid mutator transaction binding the contract method 0x18b20071.
Solidity: function setCurrentPrice(_price uint256) returns()
func (*OracleUSDSession) TransferOwnership ¶
func (_OracleUSD *OracleUSDSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(newOwner address) returns()
type OracleUSDTransactor ¶
type OracleUSDTransactor struct {
// contains filtered or unexported fields
}
OracleUSDTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewOracleUSDTransactor ¶
func NewOracleUSDTransactor(address common.Address, transactor bind.ContractTransactor) (*OracleUSDTransactor, error)
NewOracleUSDTransactor creates a new write-only instance of OracleUSD, bound to a specific deployed contract.
func (*OracleUSDTransactor) SetCurrentPrice ¶
func (_OracleUSD *OracleUSDTransactor) SetCurrentPrice(opts *bind.TransactOpts, _price *big.Int) (*types.Transaction, error)
SetCurrentPrice is a paid mutator transaction binding the contract method 0x18b20071.
Solidity: function setCurrentPrice(_price uint256) returns()
func (*OracleUSDTransactor) TransferOwnership ¶
func (_OracleUSD *OracleUSDTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(newOwner address) returns()
type OracleUSDTransactorRaw ¶
type OracleUSDTransactorRaw struct {
Contract *OracleUSDTransactor // Generic write-only contract binding to access the raw methods on
}
OracleUSDTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*OracleUSDTransactorRaw) Transact ¶
func (_OracleUSD *OracleUSDTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*OracleUSDTransactorRaw) Transfer ¶
func (_OracleUSD *OracleUSDTransactorRaw) 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 OracleUSDTransactorSession ¶
type OracleUSDTransactorSession struct { Contract *OracleUSDTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
OracleUSDTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*OracleUSDTransactorSession) SetCurrentPrice ¶
func (_OracleUSD *OracleUSDTransactorSession) SetCurrentPrice(_price *big.Int) (*types.Transaction, error)
SetCurrentPrice is a paid mutator transaction binding the contract method 0x18b20071.
Solidity: function setCurrentPrice(_price uint256) returns()
func (*OracleUSDTransactorSession) TransferOwnership ¶
func (_OracleUSD *OracleUSDTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(newOwner address) returns()
type Ownable ¶
type Ownable struct { OwnableCaller // Read-only binding to the contract OwnableTransactor // Write-only binding to the contract OwnableFilterer // Log filterer for contract events }
Ownable is an auto generated Go binding around an Ethereum contract.
func DeployOwnable ¶
func DeployOwnable(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *Ownable, error)
DeployOwnable deploys a new Ethereum contract, binding an instance of Ownable to it.
func NewOwnable ¶
NewOwnable creates a new instance of Ownable, bound to a specific deployed contract.
type OwnableCaller ¶
type OwnableCaller struct {
// contains filtered or unexported fields
}
OwnableCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewOwnableCaller ¶
func NewOwnableCaller(address common.Address, caller bind.ContractCaller) (*OwnableCaller, error)
NewOwnableCaller creates a new read-only instance of Ownable, bound to a specific deployed contract.
type OwnableCallerRaw ¶
type OwnableCallerRaw struct {
Contract *OwnableCaller // Generic read-only contract binding to access the raw methods on
}
OwnableCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*OwnableCallerRaw) Call ¶
func (_Ownable *OwnableCallerRaw) 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 OwnableCallerSession ¶
type OwnableCallerSession struct { Contract *OwnableCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
OwnableCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
type OwnableFilterer ¶
type OwnableFilterer struct {
// contains filtered or unexported fields
}
OwnableFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewOwnableFilterer ¶
func NewOwnableFilterer(address common.Address, filterer bind.ContractFilterer) (*OwnableFilterer, error)
NewOwnableFilterer creates a new log filterer instance of Ownable, bound to a specific deployed contract.
func (*OwnableFilterer) FilterOwnershipTransferred ¶
func (_Ownable *OwnableFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*OwnableOwnershipTransferredIterator, error)
FilterOwnershipTransferred is a free log retrieval operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(previousOwner indexed address, newOwner indexed address)
func (*OwnableFilterer) WatchOwnershipTransferred ¶
func (_Ownable *OwnableFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *OwnableOwnershipTransferred, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error)
WatchOwnershipTransferred is a free log subscription operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(previousOwner indexed address, newOwner indexed address)
type OwnableOwnershipTransferred ¶
type OwnableOwnershipTransferred struct { PreviousOwner common.Address NewOwner common.Address Raw types.Log // Blockchain specific contextual infos }
OwnableOwnershipTransferred represents a OwnershipTransferred event raised by the Ownable contract.
type OwnableOwnershipTransferredIterator ¶
type OwnableOwnershipTransferredIterator struct { Event *OwnableOwnershipTransferred // Event containing the contract specifics and raw log // contains filtered or unexported fields }
OwnableOwnershipTransferredIterator is returned from FilterOwnershipTransferred and is used to iterate over the raw logs and unpacked data for OwnershipTransferred events raised by the Ownable contract.
func (*OwnableOwnershipTransferredIterator) Close ¶
func (it *OwnableOwnershipTransferredIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*OwnableOwnershipTransferredIterator) Error ¶
func (it *OwnableOwnershipTransferredIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*OwnableOwnershipTransferredIterator) Next ¶
func (it *OwnableOwnershipTransferredIterator) 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 OwnableRaw ¶
type OwnableRaw struct {
Contract *Ownable // Generic contract binding to access the raw methods on
}
OwnableRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*OwnableRaw) Call ¶
func (_Ownable *OwnableRaw) 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 (*OwnableRaw) Transact ¶
func (_Ownable *OwnableRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*OwnableRaw) Transfer ¶
func (_Ownable *OwnableRaw) 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 OwnableSession ¶
type OwnableSession struct { Contract *Ownable // 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 }
OwnableSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*OwnableSession) Owner ¶
func (_Ownable *OwnableSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() constant returns(address)
func (*OwnableSession) TransferOwnership ¶
func (_Ownable *OwnableSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(newOwner address) returns()
type OwnableTransactor ¶
type OwnableTransactor struct {
// contains filtered or unexported fields
}
OwnableTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewOwnableTransactor ¶
func NewOwnableTransactor(address common.Address, transactor bind.ContractTransactor) (*OwnableTransactor, error)
NewOwnableTransactor creates a new write-only instance of Ownable, bound to a specific deployed contract.
func (*OwnableTransactor) TransferOwnership ¶
func (_Ownable *OwnableTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(newOwner address) returns()
type OwnableTransactorRaw ¶
type OwnableTransactorRaw struct {
Contract *OwnableTransactor // Generic write-only contract binding to access the raw methods on
}
OwnableTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*OwnableTransactorRaw) Transact ¶
func (_Ownable *OwnableTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*OwnableTransactorRaw) Transfer ¶
func (_Ownable *OwnableTransactorRaw) 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 OwnableTransactorSession ¶
type OwnableTransactorSession struct { Contract *OwnableTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
OwnableTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*OwnableTransactorSession) TransferOwnership ¶
func (_Ownable *OwnableTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(newOwner address) returns()
type ProfileRegistry ¶
type ProfileRegistry struct { ProfileRegistryCaller // Read-only binding to the contract ProfileRegistryTransactor // Write-only binding to the contract ProfileRegistryFilterer // Log filterer for contract events }
ProfileRegistry is an auto generated Go binding around an Ethereum contract.
func DeployProfileRegistry ¶
func DeployProfileRegistry(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *ProfileRegistry, error)
DeployProfileRegistry deploys a new Ethereum contract, binding an instance of ProfileRegistry to it.
func NewProfileRegistry ¶
func NewProfileRegistry(address common.Address, backend bind.ContractBackend) (*ProfileRegistry, error)
NewProfileRegistry creates a new instance of ProfileRegistry, bound to a specific deployed contract.
type ProfileRegistryCaller ¶
type ProfileRegistryCaller struct {
// contains filtered or unexported fields
}
ProfileRegistryCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewProfileRegistryCaller ¶
func NewProfileRegistryCaller(address common.Address, caller bind.ContractCaller) (*ProfileRegistryCaller, error)
NewProfileRegistryCaller creates a new read-only instance of ProfileRegistry, bound to a specific deployed contract.
func (*ProfileRegistryCaller) Certificates ¶
func (_ProfileRegistry *ProfileRegistryCaller) Certificates(opts *bind.CallOpts, arg0 *big.Int) (struct { From common.Address To common.Address AttributeType *big.Int Value []byte }, error)
Certificates is a free data retrieval call binding the contract method 0x663b3e22.
Solidity: function certificates( uint256) constant returns(from address, to address, attributeType uint256, value bytes)
func (*ProfileRegistryCaller) CheckProfileLevel ¶
func (_ProfileRegistry *ProfileRegistryCaller) CheckProfileLevel(opts *bind.CallOpts, _owner common.Address, _levelRequired *big.Int) (bool, error)
CheckProfileLevel is a free data retrieval call binding the contract method 0xce0d6edb.
Solidity: function CheckProfileLevel(_owner address, _levelRequired uint256) constant returns(bool)
func (*ProfileRegistryCaller) GetAttributeCount ¶
func (_ProfileRegistry *ProfileRegistryCaller) GetAttributeCount(opts *bind.CallOpts, _owner common.Address, _type *big.Int) (*big.Int, error)
GetAttributeCount is a free data retrieval call binding the contract method 0x6209a633.
Solidity: function GetAttributeCount(_owner address, _type uint256) constant returns(uint256)
func (*ProfileRegistryCaller) GetAttributeValue ¶
func (_ProfileRegistry *ProfileRegistryCaller) GetAttributeValue(opts *bind.CallOpts, _owner common.Address, _type *big.Int) ([]byte, error)
GetAttributeValue is a free data retrieval call binding the contract method 0x0074fc39.
Solidity: function GetAttributeValue(_owner address, _type uint256) constant returns(bytes)
func (*ProfileRegistryCaller) GetCertificate ¶
func (_ProfileRegistry *ProfileRegistryCaller) GetCertificate(opts *bind.CallOpts, _id *big.Int) (common.Address, common.Address, *big.Int, []byte, error)
GetCertificate is a free data retrieval call binding the contract method 0x3e34e129.
Solidity: function GetCertificate(_id uint256) constant returns(address, address, uint256, bytes)
func (*ProfileRegistryCaller) GetValidatorLevel ¶
func (_ProfileRegistry *ProfileRegistryCaller) GetValidatorLevel(opts *bind.CallOpts, _validator common.Address) (int8, error)
GetValidatorLevel is a free data retrieval call binding the contract method 0x8997d27a.
Solidity: function GetValidatorLevel(_validator address) constant returns(int8)
func (*ProfileRegistryCaller) Validators ¶
func (_ProfileRegistry *ProfileRegistryCaller) Validators(opts *bind.CallOpts, arg0 common.Address) (int8, error)
Validators is a free data retrieval call binding the contract method 0xfa52c7d8.
Solidity: function validators( address) constant returns(int8)
type ProfileRegistryCallerRaw ¶
type ProfileRegistryCallerRaw struct {
Contract *ProfileRegistryCaller // Generic read-only contract binding to access the raw methods on
}
ProfileRegistryCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*ProfileRegistryCallerRaw) Call ¶
func (_ProfileRegistry *ProfileRegistryCallerRaw) 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 ProfileRegistryCallerSession ¶
type ProfileRegistryCallerSession struct { Contract *ProfileRegistryCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
ProfileRegistryCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*ProfileRegistryCallerSession) Certificates ¶
func (_ProfileRegistry *ProfileRegistryCallerSession) Certificates(arg0 *big.Int) (struct { From common.Address To common.Address AttributeType *big.Int Value []byte }, error)
Certificates is a free data retrieval call binding the contract method 0x663b3e22.
Solidity: function certificates( uint256) constant returns(from address, to address, attributeType uint256, value bytes)
func (*ProfileRegistryCallerSession) CheckProfileLevel ¶
func (_ProfileRegistry *ProfileRegistryCallerSession) CheckProfileLevel(_owner common.Address, _levelRequired *big.Int) (bool, error)
CheckProfileLevel is a free data retrieval call binding the contract method 0xce0d6edb.
Solidity: function CheckProfileLevel(_owner address, _levelRequired uint256) constant returns(bool)
func (*ProfileRegistryCallerSession) GetAttributeCount ¶
func (_ProfileRegistry *ProfileRegistryCallerSession) GetAttributeCount(_owner common.Address, _type *big.Int) (*big.Int, error)
GetAttributeCount is a free data retrieval call binding the contract method 0x6209a633.
Solidity: function GetAttributeCount(_owner address, _type uint256) constant returns(uint256)
func (*ProfileRegistryCallerSession) GetAttributeValue ¶
func (_ProfileRegistry *ProfileRegistryCallerSession) GetAttributeValue(_owner common.Address, _type *big.Int) ([]byte, error)
GetAttributeValue is a free data retrieval call binding the contract method 0x0074fc39.
Solidity: function GetAttributeValue(_owner address, _type uint256) constant returns(bytes)
func (*ProfileRegistryCallerSession) GetCertificate ¶
func (_ProfileRegistry *ProfileRegistryCallerSession) GetCertificate(_id *big.Int) (common.Address, common.Address, *big.Int, []byte, error)
GetCertificate is a free data retrieval call binding the contract method 0x3e34e129.
Solidity: function GetCertificate(_id uint256) constant returns(address, address, uint256, bytes)
func (*ProfileRegistryCallerSession) GetValidatorLevel ¶
func (_ProfileRegistry *ProfileRegistryCallerSession) GetValidatorLevel(_validator common.Address) (int8, error)
GetValidatorLevel is a free data retrieval call binding the contract method 0x8997d27a.
Solidity: function GetValidatorLevel(_validator address) constant returns(int8)
func (*ProfileRegistryCallerSession) Validators ¶
func (_ProfileRegistry *ProfileRegistryCallerSession) Validators(arg0 common.Address) (int8, error)
Validators is a free data retrieval call binding the contract method 0xfa52c7d8.
Solidity: function validators( address) constant returns(int8)
type ProfileRegistryCertificateCreated ¶
type ProfileRegistryCertificateCreated struct { Id *big.Int Raw types.Log // Blockchain specific contextual infos }
ProfileRegistryCertificateCreated represents a CertificateCreated event raised by the ProfileRegistry contract.
type ProfileRegistryCertificateCreatedIterator ¶
type ProfileRegistryCertificateCreatedIterator struct { Event *ProfileRegistryCertificateCreated // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ProfileRegistryCertificateCreatedIterator is returned from FilterCertificateCreated and is used to iterate over the raw logs and unpacked data for CertificateCreated events raised by the ProfileRegistry contract.
func (*ProfileRegistryCertificateCreatedIterator) Close ¶
func (it *ProfileRegistryCertificateCreatedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ProfileRegistryCertificateCreatedIterator) Error ¶
func (it *ProfileRegistryCertificateCreatedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ProfileRegistryCertificateCreatedIterator) Next ¶
func (it *ProfileRegistryCertificateCreatedIterator) 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 ProfileRegistryCertificateUpdated ¶
type ProfileRegistryCertificateUpdated struct { Id *big.Int Raw types.Log // Blockchain specific contextual infos }
ProfileRegistryCertificateUpdated represents a CertificateUpdated event raised by the ProfileRegistry contract.
type ProfileRegistryCertificateUpdatedIterator ¶
type ProfileRegistryCertificateUpdatedIterator struct { Event *ProfileRegistryCertificateUpdated // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ProfileRegistryCertificateUpdatedIterator is returned from FilterCertificateUpdated and is used to iterate over the raw logs and unpacked data for CertificateUpdated events raised by the ProfileRegistry contract.
func (*ProfileRegistryCertificateUpdatedIterator) Close ¶
func (it *ProfileRegistryCertificateUpdatedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ProfileRegistryCertificateUpdatedIterator) Error ¶
func (it *ProfileRegistryCertificateUpdatedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ProfileRegistryCertificateUpdatedIterator) Next ¶
func (it *ProfileRegistryCertificateUpdatedIterator) 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 ProfileRegistryFilterer ¶
type ProfileRegistryFilterer struct {
// contains filtered or unexported fields
}
ProfileRegistryFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewProfileRegistryFilterer ¶
func NewProfileRegistryFilterer(address common.Address, filterer bind.ContractFilterer) (*ProfileRegistryFilterer, error)
NewProfileRegistryFilterer creates a new log filterer instance of ProfileRegistry, bound to a specific deployed contract.
func (*ProfileRegistryFilterer) FilterCertificateCreated ¶
func (_ProfileRegistry *ProfileRegistryFilterer) FilterCertificateCreated(opts *bind.FilterOpts, id []*big.Int) (*ProfileRegistryCertificateCreatedIterator, error)
FilterCertificateCreated is a free log retrieval operation binding the contract event 0xb9bb1df26fde5c1295a7ccd167330e5d6cb9df14fe4c3884669a64433cc9e760.
Solidity: event CertificateCreated(id indexed uint256)
func (*ProfileRegistryFilterer) FilterCertificateUpdated ¶
func (_ProfileRegistry *ProfileRegistryFilterer) FilterCertificateUpdated(opts *bind.FilterOpts, id []*big.Int) (*ProfileRegistryCertificateUpdatedIterator, error)
FilterCertificateUpdated is a free log retrieval operation binding the contract event 0x9a100d2018161ede6ca34c8007992b09bbffc636a636014a922e4c8750412628.
Solidity: event CertificateUpdated(id indexed uint256)
func (*ProfileRegistryFilterer) FilterValidatorCreated ¶
func (_ProfileRegistry *ProfileRegistryFilterer) FilterValidatorCreated(opts *bind.FilterOpts, validator []common.Address) (*ProfileRegistryValidatorCreatedIterator, error)
FilterValidatorCreated is a free log retrieval operation binding the contract event 0x02db26aafd16e8ecd93c4fa202917d50b1693f30b1594e57f7a432ede944eefc.
Solidity: event ValidatorCreated(validator indexed address)
func (*ProfileRegistryFilterer) FilterValidatorDeleted ¶
func (_ProfileRegistry *ProfileRegistryFilterer) FilterValidatorDeleted(opts *bind.FilterOpts, validator []common.Address) (*ProfileRegistryValidatorDeletedIterator, error)
FilterValidatorDeleted is a free log retrieval operation binding the contract event 0xa7a579573d398d7b67cd7450121bb250bbd060b29eabafdebc3ce0918658635c.
Solidity: event ValidatorDeleted(validator indexed address)
func (*ProfileRegistryFilterer) WatchCertificateCreated ¶
func (_ProfileRegistry *ProfileRegistryFilterer) WatchCertificateCreated(opts *bind.WatchOpts, sink chan<- *ProfileRegistryCertificateCreated, id []*big.Int) (event.Subscription, error)
WatchCertificateCreated is a free log subscription operation binding the contract event 0xb9bb1df26fde5c1295a7ccd167330e5d6cb9df14fe4c3884669a64433cc9e760.
Solidity: event CertificateCreated(id indexed uint256)
func (*ProfileRegistryFilterer) WatchCertificateUpdated ¶
func (_ProfileRegistry *ProfileRegistryFilterer) WatchCertificateUpdated(opts *bind.WatchOpts, sink chan<- *ProfileRegistryCertificateUpdated, id []*big.Int) (event.Subscription, error)
WatchCertificateUpdated is a free log subscription operation binding the contract event 0x9a100d2018161ede6ca34c8007992b09bbffc636a636014a922e4c8750412628.
Solidity: event CertificateUpdated(id indexed uint256)
func (*ProfileRegistryFilterer) WatchValidatorCreated ¶
func (_ProfileRegistry *ProfileRegistryFilterer) WatchValidatorCreated(opts *bind.WatchOpts, sink chan<- *ProfileRegistryValidatorCreated, validator []common.Address) (event.Subscription, error)
WatchValidatorCreated is a free log subscription operation binding the contract event 0x02db26aafd16e8ecd93c4fa202917d50b1693f30b1594e57f7a432ede944eefc.
Solidity: event ValidatorCreated(validator indexed address)
func (*ProfileRegistryFilterer) WatchValidatorDeleted ¶
func (_ProfileRegistry *ProfileRegistryFilterer) WatchValidatorDeleted(opts *bind.WatchOpts, sink chan<- *ProfileRegistryValidatorDeleted, validator []common.Address) (event.Subscription, error)
WatchValidatorDeleted is a free log subscription operation binding the contract event 0xa7a579573d398d7b67cd7450121bb250bbd060b29eabafdebc3ce0918658635c.
Solidity: event ValidatorDeleted(validator indexed address)
type ProfileRegistryRaw ¶
type ProfileRegistryRaw struct {
Contract *ProfileRegistry // Generic contract binding to access the raw methods on
}
ProfileRegistryRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*ProfileRegistryRaw) Call ¶
func (_ProfileRegistry *ProfileRegistryRaw) 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 (*ProfileRegistryRaw) Transact ¶
func (_ProfileRegistry *ProfileRegistryRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*ProfileRegistryRaw) Transfer ¶
func (_ProfileRegistry *ProfileRegistryRaw) 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 ProfileRegistrySession ¶
type ProfileRegistrySession struct { Contract *ProfileRegistry // 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 }
ProfileRegistrySession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*ProfileRegistrySession) AddValidator ¶
func (_ProfileRegistry *ProfileRegistrySession) AddValidator(_validator common.Address, _level int8) (*types.Transaction, error)
AddValidator is a paid mutator transaction binding the contract method 0xe7bcef44.
Solidity: function AddValidator(_validator address, _level int8) returns(address)
func (*ProfileRegistrySession) Certificates ¶
func (_ProfileRegistry *ProfileRegistrySession) Certificates(arg0 *big.Int) (struct { From common.Address To common.Address AttributeType *big.Int Value []byte }, error)
Certificates is a free data retrieval call binding the contract method 0x663b3e22.
Solidity: function certificates( uint256) constant returns(from address, to address, attributeType uint256, value bytes)
func (*ProfileRegistrySession) CheckProfileLevel ¶
func (_ProfileRegistry *ProfileRegistrySession) CheckProfileLevel(_owner common.Address, _levelRequired *big.Int) (bool, error)
CheckProfileLevel is a free data retrieval call binding the contract method 0xce0d6edb.
Solidity: function CheckProfileLevel(_owner address, _levelRequired uint256) constant returns(bool)
func (*ProfileRegistrySession) CreateCertificate ¶
func (_ProfileRegistry *ProfileRegistrySession) CreateCertificate(_owner common.Address, _type *big.Int, _value []byte) (*types.Transaction, error)
CreateCertificate is a paid mutator transaction binding the contract method 0x93d76742.
Solidity: function CreateCertificate(_owner address, _type uint256, _value bytes) returns()
func (*ProfileRegistrySession) GetAttributeCount ¶
func (_ProfileRegistry *ProfileRegistrySession) GetAttributeCount(_owner common.Address, _type *big.Int) (*big.Int, error)
GetAttributeCount is a free data retrieval call binding the contract method 0x6209a633.
Solidity: function GetAttributeCount(_owner address, _type uint256) constant returns(uint256)
func (*ProfileRegistrySession) GetAttributeValue ¶
func (_ProfileRegistry *ProfileRegistrySession) GetAttributeValue(_owner common.Address, _type *big.Int) ([]byte, error)
GetAttributeValue is a free data retrieval call binding the contract method 0x0074fc39.
Solidity: function GetAttributeValue(_owner address, _type uint256) constant returns(bytes)
func (*ProfileRegistrySession) GetCertificate ¶
func (_ProfileRegistry *ProfileRegistrySession) GetCertificate(_id *big.Int) (common.Address, common.Address, *big.Int, []byte, error)
GetCertificate is a free data retrieval call binding the contract method 0x3e34e129.
Solidity: function GetCertificate(_id uint256) constant returns(address, address, uint256, bytes)
func (*ProfileRegistrySession) GetValidatorLevel ¶
func (_ProfileRegistry *ProfileRegistrySession) GetValidatorLevel(_validator common.Address) (int8, error)
GetValidatorLevel is a free data retrieval call binding the contract method 0x8997d27a.
Solidity: function GetValidatorLevel(_validator address) constant returns(int8)
func (*ProfileRegistrySession) RemoveCertificate ¶
func (_ProfileRegistry *ProfileRegistrySession) RemoveCertificate(_id *big.Int) (*types.Transaction, error)
RemoveCertificate is a paid mutator transaction binding the contract method 0x2eb4b2a5.
Solidity: function RemoveCertificate(_id uint256) returns()
func (*ProfileRegistrySession) RemoveValidator ¶
func (_ProfileRegistry *ProfileRegistrySession) RemoveValidator(_validator common.Address) (*types.Transaction, error)
RemoveValidator is a paid mutator transaction binding the contract method 0x1af60f72.
Solidity: function RemoveValidator(_validator address) returns(address)
func (*ProfileRegistrySession) Validators ¶
func (_ProfileRegistry *ProfileRegistrySession) Validators(arg0 common.Address) (int8, error)
Validators is a free data retrieval call binding the contract method 0xfa52c7d8.
Solidity: function validators( address) constant returns(int8)
type ProfileRegistryTransactor ¶
type ProfileRegistryTransactor struct {
// contains filtered or unexported fields
}
ProfileRegistryTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewProfileRegistryTransactor ¶
func NewProfileRegistryTransactor(address common.Address, transactor bind.ContractTransactor) (*ProfileRegistryTransactor, error)
NewProfileRegistryTransactor creates a new write-only instance of ProfileRegistry, bound to a specific deployed contract.
func (*ProfileRegistryTransactor) AddValidator ¶
func (_ProfileRegistry *ProfileRegistryTransactor) AddValidator(opts *bind.TransactOpts, _validator common.Address, _level int8) (*types.Transaction, error)
AddValidator is a paid mutator transaction binding the contract method 0xe7bcef44.
Solidity: function AddValidator(_validator address, _level int8) returns(address)
func (*ProfileRegistryTransactor) CreateCertificate ¶
func (_ProfileRegistry *ProfileRegistryTransactor) CreateCertificate(opts *bind.TransactOpts, _owner common.Address, _type *big.Int, _value []byte) (*types.Transaction, error)
CreateCertificate is a paid mutator transaction binding the contract method 0x93d76742.
Solidity: function CreateCertificate(_owner address, _type uint256, _value bytes) returns()
func (*ProfileRegistryTransactor) RemoveCertificate ¶
func (_ProfileRegistry *ProfileRegistryTransactor) RemoveCertificate(opts *bind.TransactOpts, _id *big.Int) (*types.Transaction, error)
RemoveCertificate is a paid mutator transaction binding the contract method 0x2eb4b2a5.
Solidity: function RemoveCertificate(_id uint256) returns()
func (*ProfileRegistryTransactor) RemoveValidator ¶
func (_ProfileRegistry *ProfileRegistryTransactor) RemoveValidator(opts *bind.TransactOpts, _validator common.Address) (*types.Transaction, error)
RemoveValidator is a paid mutator transaction binding the contract method 0x1af60f72.
Solidity: function RemoveValidator(_validator address) returns(address)
type ProfileRegistryTransactorRaw ¶
type ProfileRegistryTransactorRaw struct {
Contract *ProfileRegistryTransactor // Generic write-only contract binding to access the raw methods on
}
ProfileRegistryTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*ProfileRegistryTransactorRaw) Transact ¶
func (_ProfileRegistry *ProfileRegistryTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*ProfileRegistryTransactorRaw) Transfer ¶
func (_ProfileRegistry *ProfileRegistryTransactorRaw) 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 ProfileRegistryTransactorSession ¶
type ProfileRegistryTransactorSession struct { Contract *ProfileRegistryTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
ProfileRegistryTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*ProfileRegistryTransactorSession) AddValidator ¶
func (_ProfileRegistry *ProfileRegistryTransactorSession) AddValidator(_validator common.Address, _level int8) (*types.Transaction, error)
AddValidator is a paid mutator transaction binding the contract method 0xe7bcef44.
Solidity: function AddValidator(_validator address, _level int8) returns(address)
func (*ProfileRegistryTransactorSession) CreateCertificate ¶
func (_ProfileRegistry *ProfileRegistryTransactorSession) CreateCertificate(_owner common.Address, _type *big.Int, _value []byte) (*types.Transaction, error)
CreateCertificate is a paid mutator transaction binding the contract method 0x93d76742.
Solidity: function CreateCertificate(_owner address, _type uint256, _value bytes) returns()
func (*ProfileRegistryTransactorSession) RemoveCertificate ¶
func (_ProfileRegistry *ProfileRegistryTransactorSession) RemoveCertificate(_id *big.Int) (*types.Transaction, error)
RemoveCertificate is a paid mutator transaction binding the contract method 0x2eb4b2a5.
Solidity: function RemoveCertificate(_id uint256) returns()
func (*ProfileRegistryTransactorSession) RemoveValidator ¶
func (_ProfileRegistry *ProfileRegistryTransactorSession) RemoveValidator(_validator common.Address) (*types.Transaction, error)
RemoveValidator is a paid mutator transaction binding the contract method 0x1af60f72.
Solidity: function RemoveValidator(_validator address) returns(address)
type ProfileRegistryValidatorCreated ¶
type ProfileRegistryValidatorCreated struct { Validator common.Address Raw types.Log // Blockchain specific contextual infos }
ProfileRegistryValidatorCreated represents a ValidatorCreated event raised by the ProfileRegistry contract.
type ProfileRegistryValidatorCreatedIterator ¶
type ProfileRegistryValidatorCreatedIterator struct { Event *ProfileRegistryValidatorCreated // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ProfileRegistryValidatorCreatedIterator is returned from FilterValidatorCreated and is used to iterate over the raw logs and unpacked data for ValidatorCreated events raised by the ProfileRegistry contract.
func (*ProfileRegistryValidatorCreatedIterator) Close ¶
func (it *ProfileRegistryValidatorCreatedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ProfileRegistryValidatorCreatedIterator) Error ¶
func (it *ProfileRegistryValidatorCreatedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ProfileRegistryValidatorCreatedIterator) Next ¶
func (it *ProfileRegistryValidatorCreatedIterator) 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 ProfileRegistryValidatorDeleted ¶
type ProfileRegistryValidatorDeleted struct { Validator common.Address Raw types.Log // Blockchain specific contextual infos }
ProfileRegistryValidatorDeleted represents a ValidatorDeleted event raised by the ProfileRegistry contract.
type ProfileRegistryValidatorDeletedIterator ¶
type ProfileRegistryValidatorDeletedIterator struct { Event *ProfileRegistryValidatorDeleted // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ProfileRegistryValidatorDeletedIterator is returned from FilterValidatorDeleted and is used to iterate over the raw logs and unpacked data for ValidatorDeleted events raised by the ProfileRegistry contract.
func (*ProfileRegistryValidatorDeletedIterator) Close ¶
func (it *ProfileRegistryValidatorDeletedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ProfileRegistryValidatorDeletedIterator) Error ¶
func (it *ProfileRegistryValidatorDeletedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ProfileRegistryValidatorDeletedIterator) Next ¶
func (it *ProfileRegistryValidatorDeletedIterator) 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 SNM ¶
type SNM struct { SNMCaller // Read-only binding to the contract SNMTransactor // Write-only binding to the contract SNMFilterer // Log filterer for contract events }
SNM is an auto generated Go binding around an Ethereum contract.
func DeploySNM ¶
func DeploySNM(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *SNM, error)
DeploySNM deploys a new Ethereum contract, binding an instance of SNM to it.
type SNMApproval ¶
type SNMApproval struct { Owner common.Address Spender common.Address Value *big.Int Raw types.Log // Blockchain specific contextual infos }
SNMApproval represents a Approval event raised by the SNM contract.
type SNMApprovalIterator ¶
type SNMApprovalIterator struct { Event *SNMApproval // Event containing the contract specifics and raw log // contains filtered or unexported fields }
SNMApprovalIterator is returned from FilterApproval and is used to iterate over the raw logs and unpacked data for Approval events raised by the SNM contract.
func (*SNMApprovalIterator) Close ¶
func (it *SNMApprovalIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*SNMApprovalIterator) Error ¶
func (it *SNMApprovalIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*SNMApprovalIterator) Next ¶
func (it *SNMApprovalIterator) 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 SNMCaller ¶
type SNMCaller struct {
// contains filtered or unexported fields
}
SNMCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewSNMCaller ¶
NewSNMCaller creates a new read-only instance of SNM, bound to a specific deployed contract.
func (*SNMCaller) Allowance ¶
func (_SNM *SNMCaller) 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 (*SNMCaller) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(_owner address) constant returns(uint256)
func (*SNMCaller) Decimals ¶
Decimals is a free data retrieval call binding the contract method 0x313ce567.
Solidity: function decimals() constant returns(uint256)
func (*SNMCaller) Name ¶
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() constant returns(string)
func (*SNMCaller) Owner ¶
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() constant returns(address)
type SNMCallerRaw ¶
type SNMCallerRaw struct {
Contract *SNMCaller // Generic read-only contract binding to access the raw methods on
}
SNMCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*SNMCallerRaw) Call ¶
func (_SNM *SNMCallerRaw) 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 SNMCallerSession ¶
type SNMCallerSession struct { Contract *SNMCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
SNMCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*SNMCallerSession) Allowance ¶
func (_SNM *SNMCallerSession) 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 (*SNMCallerSession) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(_owner address) constant returns(uint256)
func (*SNMCallerSession) Decimals ¶
func (_SNM *SNMCallerSession) Decimals() (*big.Int, error)
Decimals is a free data retrieval call binding the contract method 0x313ce567.
Solidity: function decimals() constant returns(uint256)
func (*SNMCallerSession) Name ¶
func (_SNM *SNMCallerSession) Name() (string, error)
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() constant returns(string)
func (*SNMCallerSession) Owner ¶
func (_SNM *SNMCallerSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() constant returns(address)
func (*SNMCallerSession) Symbol ¶
func (_SNM *SNMCallerSession) Symbol() (string, error)
Symbol is a free data retrieval call binding the contract method 0x95d89b41.
Solidity: function symbol() constant returns(string)
func (*SNMCallerSession) TotalSupply ¶
func (_SNM *SNMCallerSession) TotalSupply() (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() constant returns(uint256)
type SNMD ¶
type SNMD struct { SNMDCaller // Read-only binding to the contract SNMDTransactor // Write-only binding to the contract SNMDFilterer // Log filterer for contract events }
SNMD is an auto generated Go binding around an Ethereum contract.
func DeploySNMD ¶
func DeploySNMD(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *SNMD, error)
DeploySNMD deploys a new Ethereum contract, binding an instance of SNMD to it.
type SNMDApproval ¶
type SNMDApproval struct { Owner common.Address Spender common.Address Value *big.Int Raw types.Log // Blockchain specific contextual infos }
SNMDApproval represents a Approval event raised by the SNMD contract.
type SNMDApprovalIterator ¶
type SNMDApprovalIterator struct { Event *SNMDApproval // Event containing the contract specifics and raw log // contains filtered or unexported fields }
SNMDApprovalIterator is returned from FilterApproval and is used to iterate over the raw logs and unpacked data for Approval events raised by the SNMD contract.
func (*SNMDApprovalIterator) Close ¶
func (it *SNMDApprovalIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*SNMDApprovalIterator) Error ¶
func (it *SNMDApprovalIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*SNMDApprovalIterator) Next ¶
func (it *SNMDApprovalIterator) 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 SNMDCaller ¶
type SNMDCaller struct {
// contains filtered or unexported fields
}
SNMDCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewSNMDCaller ¶
func NewSNMDCaller(address common.Address, caller bind.ContractCaller) (*SNMDCaller, error)
NewSNMDCaller creates a new read-only instance of SNMD, bound to a specific deployed contract.
func (*SNMDCaller) Allowance ¶
func (_SNMD *SNMDCaller) 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 (*SNMDCaller) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(_owner address) constant returns(uint256)
func (*SNMDCaller) Decimals ¶
Decimals is a free data retrieval call binding the contract method 0x313ce567.
Solidity: function decimals() constant returns(uint256)
func (*SNMDCaller) Name ¶
func (_SNMD *SNMDCaller) 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 (*SNMDCaller) Owner ¶
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() constant returns(address)
func (*SNMDCaller) Symbol ¶
func (_SNMD *SNMDCaller) 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 (*SNMDCaller) TotalSupply ¶
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() constant returns(uint256)
type SNMDCallerRaw ¶
type SNMDCallerRaw struct {
Contract *SNMDCaller // Generic read-only contract binding to access the raw methods on
}
SNMDCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*SNMDCallerRaw) Call ¶
func (_SNMD *SNMDCallerRaw) 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 SNMDCallerSession ¶
type SNMDCallerSession struct { Contract *SNMDCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
SNMDCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*SNMDCallerSession) Allowance ¶
func (_SNMD *SNMDCallerSession) 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 (*SNMDCallerSession) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(_owner address) constant returns(uint256)
func (*SNMDCallerSession) Decimals ¶
func (_SNMD *SNMDCallerSession) Decimals() (*big.Int, error)
Decimals is a free data retrieval call binding the contract method 0x313ce567.
Solidity: function decimals() constant returns(uint256)
func (*SNMDCallerSession) Name ¶
func (_SNMD *SNMDCallerSession) Name() (string, error)
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() constant returns(string)
func (*SNMDCallerSession) Owner ¶
func (_SNMD *SNMDCallerSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() constant returns(address)
func (*SNMDCallerSession) Symbol ¶
func (_SNMD *SNMDCallerSession) Symbol() (string, error)
Symbol is a free data retrieval call binding the contract method 0x95d89b41.
Solidity: function symbol() constant returns(string)
func (*SNMDCallerSession) TotalSupply ¶
func (_SNMD *SNMDCallerSession) TotalSupply() (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() constant returns(uint256)
type SNMDFilterer ¶
type SNMDFilterer struct {
// contains filtered or unexported fields
}
SNMDFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewSNMDFilterer ¶
func NewSNMDFilterer(address common.Address, filterer bind.ContractFilterer) (*SNMDFilterer, error)
NewSNMDFilterer creates a new log filterer instance of SNMD, bound to a specific deployed contract.
func (*SNMDFilterer) FilterApproval ¶
func (_SNMD *SNMDFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*SNMDApprovalIterator, error)
FilterApproval is a free log retrieval operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.
Solidity: event Approval(owner indexed address, spender indexed address, value uint256)
func (*SNMDFilterer) FilterOwnershipTransferred ¶
func (_SNMD *SNMDFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*SNMDOwnershipTransferredIterator, error)
FilterOwnershipTransferred is a free log retrieval operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(previousOwner indexed address, newOwner indexed address)
func (*SNMDFilterer) FilterTransfer ¶
func (_SNMD *SNMDFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*SNMDTransferIterator, error)
FilterTransfer is a free log retrieval operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.
Solidity: event Transfer(from indexed address, to indexed address, value uint256)
func (*SNMDFilterer) WatchApproval ¶
func (_SNMD *SNMDFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *SNMDApproval, owner []common.Address, spender []common.Address) (event.Subscription, error)
WatchApproval is a free log subscription operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.
Solidity: event Approval(owner indexed address, spender indexed address, value uint256)
func (*SNMDFilterer) WatchOwnershipTransferred ¶
func (_SNMD *SNMDFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *SNMDOwnershipTransferred, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error)
WatchOwnershipTransferred is a free log subscription operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(previousOwner indexed address, newOwner indexed address)
func (*SNMDFilterer) WatchTransfer ¶
func (_SNMD *SNMDFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *SNMDTransfer, from []common.Address, to []common.Address) (event.Subscription, error)
WatchTransfer is a free log subscription operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.
Solidity: event Transfer(from indexed address, to indexed address, value uint256)
type SNMDOwnershipTransferred ¶
type SNMDOwnershipTransferred struct { PreviousOwner common.Address NewOwner common.Address Raw types.Log // Blockchain specific contextual infos }
SNMDOwnershipTransferred represents a OwnershipTransferred event raised by the SNMD contract.
type SNMDOwnershipTransferredIterator ¶
type SNMDOwnershipTransferredIterator struct { Event *SNMDOwnershipTransferred // Event containing the contract specifics and raw log // contains filtered or unexported fields }
SNMDOwnershipTransferredIterator is returned from FilterOwnershipTransferred and is used to iterate over the raw logs and unpacked data for OwnershipTransferred events raised by the SNMD contract.
func (*SNMDOwnershipTransferredIterator) Close ¶
func (it *SNMDOwnershipTransferredIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*SNMDOwnershipTransferredIterator) Error ¶
func (it *SNMDOwnershipTransferredIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*SNMDOwnershipTransferredIterator) Next ¶
func (it *SNMDOwnershipTransferredIterator) 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 SNMDRaw ¶
type SNMDRaw struct {
Contract *SNMD // Generic contract binding to access the raw methods on
}
SNMDRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*SNMDRaw) Call ¶
func (_SNMD *SNMDRaw) 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 (*SNMDRaw) Transact ¶
func (_SNMD *SNMDRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*SNMDRaw) Transfer ¶
func (_SNMD *SNMDRaw) 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 SNMDSession ¶
type SNMDSession struct { Contract *SNMD // 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 }
SNMDSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*SNMDSession) AddMarket ¶
func (_SNMD *SNMDSession) AddMarket(_newMarket common.Address) (*types.Transaction, error)
AddMarket is a paid mutator transaction binding the contract method 0xc3dfb88e.
Solidity: function AddMarket(_newMarket address) returns()
func (*SNMDSession) Allowance ¶
func (_SNMD *SNMDSession) 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 (*SNMDSession) Approve ¶
func (_SNMD *SNMDSession) 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 (*SNMDSession) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(_owner address) constant returns(uint256)
func (*SNMDSession) Decimals ¶
func (_SNMD *SNMDSession) Decimals() (*big.Int, error)
Decimals is a free data retrieval call binding the contract method 0x313ce567.
Solidity: function decimals() constant returns(uint256)
func (*SNMDSession) DecreaseApproval ¶
func (_SNMD *SNMDSession) DecreaseApproval(_spender common.Address, _subtractedValue *big.Int) (*types.Transaction, error)
DecreaseApproval is a paid mutator transaction binding the contract method 0x66188463.
Solidity: function decreaseApproval(_spender address, _subtractedValue uint256) returns(bool)
func (*SNMDSession) IncreaseApproval ¶
func (_SNMD *SNMDSession) IncreaseApproval(_spender common.Address, _addedValue *big.Int) (*types.Transaction, error)
IncreaseApproval is a paid mutator transaction binding the contract method 0xd73dd623.
Solidity: function increaseApproval(_spender address, _addedValue uint256) returns(bool)
func (*SNMDSession) Name ¶
func (_SNMD *SNMDSession) Name() (string, error)
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() constant returns(string)
func (*SNMDSession) Owner ¶
func (_SNMD *SNMDSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() constant returns(address)
func (*SNMDSession) Symbol ¶
func (_SNMD *SNMDSession) Symbol() (string, error)
Symbol is a free data retrieval call binding the contract method 0x95d89b41.
Solidity: function symbol() constant returns(string)
func (*SNMDSession) TotalSupply ¶
func (_SNMD *SNMDSession) TotalSupply() (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() constant returns(uint256)
func (*SNMDSession) Transfer ¶
func (_SNMD *SNMDSession) 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 (*SNMDSession) TransferFrom ¶
func (_SNMD *SNMDSession) TransferFrom(_from common.Address, _to common.Address, _value *big.Int) (*types.Transaction, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(_from address, _to address, _value uint256) returns(bool)
func (*SNMDSession) TransferOwnership ¶
func (_SNMD *SNMDSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(newOwner address) returns()
type SNMDTransactor ¶
type SNMDTransactor struct {
// contains filtered or unexported fields
}
SNMDTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewSNMDTransactor ¶
func NewSNMDTransactor(address common.Address, transactor bind.ContractTransactor) (*SNMDTransactor, error)
NewSNMDTransactor creates a new write-only instance of SNMD, bound to a specific deployed contract.
func (*SNMDTransactor) AddMarket ¶
func (_SNMD *SNMDTransactor) AddMarket(opts *bind.TransactOpts, _newMarket common.Address) (*types.Transaction, error)
AddMarket is a paid mutator transaction binding the contract method 0xc3dfb88e.
Solidity: function AddMarket(_newMarket address) returns()
func (*SNMDTransactor) Approve ¶
func (_SNMD *SNMDTransactor) 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 (*SNMDTransactor) DecreaseApproval ¶
func (_SNMD *SNMDTransactor) DecreaseApproval(opts *bind.TransactOpts, _spender common.Address, _subtractedValue *big.Int) (*types.Transaction, error)
DecreaseApproval is a paid mutator transaction binding the contract method 0x66188463.
Solidity: function decreaseApproval(_spender address, _subtractedValue uint256) returns(bool)
func (*SNMDTransactor) IncreaseApproval ¶
func (_SNMD *SNMDTransactor) IncreaseApproval(opts *bind.TransactOpts, _spender common.Address, _addedValue *big.Int) (*types.Transaction, error)
IncreaseApproval is a paid mutator transaction binding the contract method 0xd73dd623.
Solidity: function increaseApproval(_spender address, _addedValue uint256) returns(bool)
func (*SNMDTransactor) Transfer ¶
func (_SNMD *SNMDTransactor) 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 (*SNMDTransactor) TransferFrom ¶
func (_SNMD *SNMDTransactor) TransferFrom(opts *bind.TransactOpts, _from common.Address, _to common.Address, _value *big.Int) (*types.Transaction, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(_from address, _to address, _value uint256) returns(bool)
func (*SNMDTransactor) TransferOwnership ¶
func (_SNMD *SNMDTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(newOwner address) returns()
type SNMDTransactorRaw ¶
type SNMDTransactorRaw struct {
Contract *SNMDTransactor // Generic write-only contract binding to access the raw methods on
}
SNMDTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*SNMDTransactorRaw) Transact ¶
func (_SNMD *SNMDTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*SNMDTransactorRaw) Transfer ¶
func (_SNMD *SNMDTransactorRaw) 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 SNMDTransactorSession ¶
type SNMDTransactorSession struct { Contract *SNMDTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
SNMDTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*SNMDTransactorSession) AddMarket ¶
func (_SNMD *SNMDTransactorSession) AddMarket(_newMarket common.Address) (*types.Transaction, error)
AddMarket is a paid mutator transaction binding the contract method 0xc3dfb88e.
Solidity: function AddMarket(_newMarket address) returns()
func (*SNMDTransactorSession) Approve ¶
func (_SNMD *SNMDTransactorSession) 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 (*SNMDTransactorSession) DecreaseApproval ¶
func (_SNMD *SNMDTransactorSession) DecreaseApproval(_spender common.Address, _subtractedValue *big.Int) (*types.Transaction, error)
DecreaseApproval is a paid mutator transaction binding the contract method 0x66188463.
Solidity: function decreaseApproval(_spender address, _subtractedValue uint256) returns(bool)
func (*SNMDTransactorSession) IncreaseApproval ¶
func (_SNMD *SNMDTransactorSession) IncreaseApproval(_spender common.Address, _addedValue *big.Int) (*types.Transaction, error)
IncreaseApproval is a paid mutator transaction binding the contract method 0xd73dd623.
Solidity: function increaseApproval(_spender address, _addedValue uint256) returns(bool)
func (*SNMDTransactorSession) Transfer ¶
func (_SNMD *SNMDTransactorSession) 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 (*SNMDTransactorSession) TransferFrom ¶
func (_SNMD *SNMDTransactorSession) TransferFrom(_from common.Address, _to common.Address, _value *big.Int) (*types.Transaction, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(_from address, _to address, _value uint256) returns(bool)
func (*SNMDTransactorSession) TransferOwnership ¶
func (_SNMD *SNMDTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(newOwner address) returns()
type SNMDTransfer ¶
type SNMDTransfer struct { From common.Address To common.Address Value *big.Int Raw types.Log // Blockchain specific contextual infos }
SNMDTransfer represents a Transfer event raised by the SNMD contract.
type SNMDTransferIterator ¶
type SNMDTransferIterator struct { Event *SNMDTransfer // Event containing the contract specifics and raw log // contains filtered or unexported fields }
SNMDTransferIterator is returned from FilterTransfer and is used to iterate over the raw logs and unpacked data for Transfer events raised by the SNMD contract.
func (*SNMDTransferIterator) Close ¶
func (it *SNMDTransferIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*SNMDTransferIterator) Error ¶
func (it *SNMDTransferIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*SNMDTransferIterator) Next ¶
func (it *SNMDTransferIterator) 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 SNMFilterer ¶
type SNMFilterer struct {
// contains filtered or unexported fields
}
SNMFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewSNMFilterer ¶
func NewSNMFilterer(address common.Address, filterer bind.ContractFilterer) (*SNMFilterer, error)
NewSNMFilterer creates a new log filterer instance of SNM, bound to a specific deployed contract.
func (*SNMFilterer) FilterApproval ¶
func (_SNM *SNMFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*SNMApprovalIterator, error)
FilterApproval is a free log retrieval operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.
Solidity: event Approval(owner indexed address, spender indexed address, value uint256)
func (*SNMFilterer) FilterOwnershipTransferred ¶
func (_SNM *SNMFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*SNMOwnershipTransferredIterator, error)
FilterOwnershipTransferred is a free log retrieval operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(previousOwner indexed address, newOwner indexed address)
func (*SNMFilterer) FilterTransfer ¶
func (_SNM *SNMFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*SNMTransferIterator, error)
FilterTransfer is a free log retrieval operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.
Solidity: event Transfer(from indexed address, to indexed address, value uint256)
func (*SNMFilterer) WatchApproval ¶
func (_SNM *SNMFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *SNMApproval, owner []common.Address, spender []common.Address) (event.Subscription, error)
WatchApproval is a free log subscription operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.
Solidity: event Approval(owner indexed address, spender indexed address, value uint256)
func (*SNMFilterer) WatchOwnershipTransferred ¶
func (_SNM *SNMFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *SNMOwnershipTransferred, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error)
WatchOwnershipTransferred is a free log subscription operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(previousOwner indexed address, newOwner indexed address)
func (*SNMFilterer) WatchTransfer ¶
func (_SNM *SNMFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *SNMTransfer, from []common.Address, to []common.Address) (event.Subscription, error)
WatchTransfer is a free log subscription operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.
Solidity: event Transfer(from indexed address, to indexed address, value uint256)
type SNMOwnershipTransferred ¶
type SNMOwnershipTransferred struct { PreviousOwner common.Address NewOwner common.Address Raw types.Log // Blockchain specific contextual infos }
SNMOwnershipTransferred represents a OwnershipTransferred event raised by the SNM contract.
type SNMOwnershipTransferredIterator ¶
type SNMOwnershipTransferredIterator struct { Event *SNMOwnershipTransferred // Event containing the contract specifics and raw log // contains filtered or unexported fields }
SNMOwnershipTransferredIterator is returned from FilterOwnershipTransferred and is used to iterate over the raw logs and unpacked data for OwnershipTransferred events raised by the SNM contract.
func (*SNMOwnershipTransferredIterator) Close ¶
func (it *SNMOwnershipTransferredIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*SNMOwnershipTransferredIterator) Error ¶
func (it *SNMOwnershipTransferredIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*SNMOwnershipTransferredIterator) Next ¶
func (it *SNMOwnershipTransferredIterator) 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 SNMRaw ¶
type SNMRaw struct {
Contract *SNM // Generic contract binding to access the raw methods on
}
SNMRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*SNMRaw) Call ¶
func (_SNM *SNMRaw) 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 (*SNMRaw) Transact ¶
func (_SNM *SNMRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*SNMRaw) Transfer ¶
func (_SNM *SNMRaw) 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 SNMSession ¶
type SNMSession struct { Contract *SNM // 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 }
SNMSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*SNMSession) Allowance ¶
Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.
Solidity: function allowance(_owner address, _spender address) constant returns(uint256)
func (*SNMSession) Approve ¶
func (_SNM *SNMSession) 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 (*SNMSession) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(_owner address) constant returns(uint256)
func (*SNMSession) Decimals ¶
func (_SNM *SNMSession) Decimals() (*big.Int, error)
Decimals is a free data retrieval call binding the contract method 0x313ce567.
Solidity: function decimals() constant returns(uint256)
func (*SNMSession) DecreaseApproval ¶
func (_SNM *SNMSession) DecreaseApproval(_spender common.Address, _subtractedValue *big.Int) (*types.Transaction, error)
DecreaseApproval is a paid mutator transaction binding the contract method 0x66188463.
Solidity: function decreaseApproval(_spender address, _subtractedValue uint256) returns(bool)
func (*SNMSession) IncreaseApproval ¶
func (_SNM *SNMSession) IncreaseApproval(_spender common.Address, _addedValue *big.Int) (*types.Transaction, error)
IncreaseApproval is a paid mutator transaction binding the contract method 0xd73dd623.
Solidity: function increaseApproval(_spender address, _addedValue uint256) returns(bool)
func (*SNMSession) Name ¶
func (_SNM *SNMSession) Name() (string, error)
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() constant returns(string)
func (*SNMSession) Owner ¶
func (_SNM *SNMSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() constant returns(address)
func (*SNMSession) Symbol ¶
func (_SNM *SNMSession) Symbol() (string, error)
Symbol is a free data retrieval call binding the contract method 0x95d89b41.
Solidity: function symbol() constant returns(string)
func (*SNMSession) TotalSupply ¶
func (_SNM *SNMSession) TotalSupply() (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() constant returns(uint256)
func (*SNMSession) Transfer ¶
func (_SNM *SNMSession) 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 (*SNMSession) TransferFrom ¶
func (_SNM *SNMSession) TransferFrom(_from common.Address, _to common.Address, _value *big.Int) (*types.Transaction, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(_from address, _to address, _value uint256) returns(bool)
func (*SNMSession) TransferOwnership ¶
func (_SNM *SNMSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(newOwner address) returns()
type SNMTToken ¶
type SNMTToken struct { SNMTTokenCaller // Read-only binding to the contract SNMTTokenTransactor // Write-only binding to the contract SNMTTokenFilterer // Log filterer for contract events }
SNMTToken is an auto generated Go binding around an Ethereum contract.
func DeploySNMTToken ¶
func DeploySNMTToken(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *SNMTToken, error)
DeploySNMTToken deploys a new Ethereum contract, binding an instance of SNMTToken to it.
func NewSNMTToken ¶
NewSNMTToken creates a new instance of SNMTToken, bound to a specific deployed contract.
type SNMTTokenApproval ¶
type SNMTTokenApproval struct { Owner common.Address Spender common.Address Value *big.Int Raw types.Log // Blockchain specific contextual infos }
SNMTTokenApproval represents a Approval event raised by the SNMTToken contract.
type SNMTTokenApprovalIterator ¶
type SNMTTokenApprovalIterator struct { Event *SNMTTokenApproval // Event containing the contract specifics and raw log // contains filtered or unexported fields }
SNMTTokenApprovalIterator is returned from FilterApproval and is used to iterate over the raw logs and unpacked data for Approval events raised by the SNMTToken contract.
func (*SNMTTokenApprovalIterator) Close ¶
func (it *SNMTTokenApprovalIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*SNMTTokenApprovalIterator) Error ¶
func (it *SNMTTokenApprovalIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*SNMTTokenApprovalIterator) Next ¶
func (it *SNMTTokenApprovalIterator) 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 SNMTTokenCaller ¶
type SNMTTokenCaller struct {
// contains filtered or unexported fields
}
SNMTTokenCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewSNMTTokenCaller ¶
func NewSNMTTokenCaller(address common.Address, caller bind.ContractCaller) (*SNMTTokenCaller, error)
NewSNMTTokenCaller creates a new read-only instance of SNMTToken, bound to a specific deployed contract.
func (*SNMTTokenCaller) Allowance ¶
func (_SNMTToken *SNMTTokenCaller) 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(remaining uint256)
func (*SNMTTokenCaller) BalanceOf ¶
func (_SNMTToken *SNMTTokenCaller) BalanceOf(opts *bind.CallOpts, _owner common.Address) (*big.Int, error)
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(_owner address) constant returns(balance uint256)
func (*SNMTTokenCaller) Decimals ¶
Decimals is a free data retrieval call binding the contract method 0x313ce567.
Solidity: function decimals() constant returns(uint256)
func (*SNMTTokenCaller) Name ¶
func (_SNMTToken *SNMTTokenCaller) 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 (*SNMTTokenCaller) Owner ¶
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() constant returns(address)
func (*SNMTTokenCaller) Symbol ¶
func (_SNMTToken *SNMTTokenCaller) 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 (*SNMTTokenCaller) TotalSupply ¶
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() constant returns(uint256)
type SNMTTokenCallerRaw ¶
type SNMTTokenCallerRaw struct {
Contract *SNMTTokenCaller // Generic read-only contract binding to access the raw methods on
}
SNMTTokenCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*SNMTTokenCallerRaw) Call ¶
func (_SNMTToken *SNMTTokenCallerRaw) 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 SNMTTokenCallerSession ¶
type SNMTTokenCallerSession struct { Contract *SNMTTokenCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
SNMTTokenCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*SNMTTokenCallerSession) Allowance ¶
func (_SNMTToken *SNMTTokenCallerSession) 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(remaining uint256)
func (*SNMTTokenCallerSession) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(_owner address) constant returns(balance uint256)
func (*SNMTTokenCallerSession) Decimals ¶
func (_SNMTToken *SNMTTokenCallerSession) Decimals() (*big.Int, error)
Decimals is a free data retrieval call binding the contract method 0x313ce567.
Solidity: function decimals() constant returns(uint256)
func (*SNMTTokenCallerSession) Name ¶
func (_SNMTToken *SNMTTokenCallerSession) Name() (string, error)
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() constant returns(string)
func (*SNMTTokenCallerSession) Owner ¶
func (_SNMTToken *SNMTTokenCallerSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() constant returns(address)
func (*SNMTTokenCallerSession) Symbol ¶
func (_SNMTToken *SNMTTokenCallerSession) Symbol() (string, error)
Symbol is a free data retrieval call binding the contract method 0x95d89b41.
Solidity: function symbol() constant returns(string)
func (*SNMTTokenCallerSession) TotalSupply ¶
func (_SNMTToken *SNMTTokenCallerSession) TotalSupply() (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() constant returns(uint256)
type SNMTTokenFilterer ¶
type SNMTTokenFilterer struct {
// contains filtered or unexported fields
}
SNMTTokenFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewSNMTTokenFilterer ¶
func NewSNMTTokenFilterer(address common.Address, filterer bind.ContractFilterer) (*SNMTTokenFilterer, error)
NewSNMTTokenFilterer creates a new log filterer instance of SNMTToken, bound to a specific deployed contract.
func (*SNMTTokenFilterer) FilterApproval ¶
func (_SNMTToken *SNMTTokenFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*SNMTTokenApprovalIterator, error)
FilterApproval is a free log retrieval operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.
Solidity: event Approval(owner indexed address, spender indexed address, value uint256)
func (*SNMTTokenFilterer) FilterGiveAway ¶
func (_SNMTToken *SNMTTokenFilterer) FilterGiveAway(opts *bind.FilterOpts) (*SNMTTokenGiveAwayIterator, error)
FilterGiveAway is a free log retrieval operation binding the contract event 0xe08e9d066634006283658128ec91f58d444719d7a07d49f72924da4352ff94ad.
Solidity: event GiveAway(whom address, amount uint256)
func (*SNMTTokenFilterer) FilterTransfer ¶
func (_SNMTToken *SNMTTokenFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*SNMTTokenTransferIterator, error)
FilterTransfer is a free log retrieval operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.
Solidity: event Transfer(from indexed address, to indexed address, value uint256)
func (*SNMTTokenFilterer) WatchApproval ¶
func (_SNMTToken *SNMTTokenFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *SNMTTokenApproval, owner []common.Address, spender []common.Address) (event.Subscription, error)
WatchApproval is a free log subscription operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.
Solidity: event Approval(owner indexed address, spender indexed address, value uint256)
func (*SNMTTokenFilterer) WatchGiveAway ¶
func (_SNMTToken *SNMTTokenFilterer) WatchGiveAway(opts *bind.WatchOpts, sink chan<- *SNMTTokenGiveAway) (event.Subscription, error)
WatchGiveAway is a free log subscription operation binding the contract event 0xe08e9d066634006283658128ec91f58d444719d7a07d49f72924da4352ff94ad.
Solidity: event GiveAway(whom address, amount uint256)
func (*SNMTTokenFilterer) WatchTransfer ¶
func (_SNMTToken *SNMTTokenFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *SNMTTokenTransfer, from []common.Address, to []common.Address) (event.Subscription, error)
WatchTransfer is a free log subscription operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.
Solidity: event Transfer(from indexed address, to indexed address, value uint256)
type SNMTTokenGiveAway ¶
type SNMTTokenGiveAway struct { Whom common.Address Amount *big.Int Raw types.Log // Blockchain specific contextual infos }
SNMTTokenGiveAway represents a GiveAway event raised by the SNMTToken contract.
type SNMTTokenGiveAwayIterator ¶
type SNMTTokenGiveAwayIterator struct { Event *SNMTTokenGiveAway // Event containing the contract specifics and raw log // contains filtered or unexported fields }
SNMTTokenGiveAwayIterator is returned from FilterGiveAway and is used to iterate over the raw logs and unpacked data for GiveAway events raised by the SNMTToken contract.
func (*SNMTTokenGiveAwayIterator) Close ¶
func (it *SNMTTokenGiveAwayIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*SNMTTokenGiveAwayIterator) Error ¶
func (it *SNMTTokenGiveAwayIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*SNMTTokenGiveAwayIterator) Next ¶
func (it *SNMTTokenGiveAwayIterator) 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 SNMTTokenRaw ¶
type SNMTTokenRaw struct {
Contract *SNMTToken // Generic contract binding to access the raw methods on
}
SNMTTokenRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*SNMTTokenRaw) Call ¶
func (_SNMTToken *SNMTTokenRaw) 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 (*SNMTTokenRaw) Transact ¶
func (_SNMTToken *SNMTTokenRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*SNMTTokenRaw) Transfer ¶
func (_SNMTToken *SNMTTokenRaw) 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 SNMTTokenSession ¶
type SNMTTokenSession struct { Contract *SNMTToken // 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 }
SNMTTokenSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*SNMTTokenSession) Allowance ¶
func (_SNMTToken *SNMTTokenSession) 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(remaining uint256)
func (*SNMTTokenSession) Approve ¶
func (_SNMTToken *SNMTTokenSession) 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 (*SNMTTokenSession) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(_owner address) constant returns(balance uint256)
func (*SNMTTokenSession) Decimals ¶
func (_SNMTToken *SNMTTokenSession) Decimals() (*big.Int, error)
Decimals is a free data retrieval call binding the contract method 0x313ce567.
Solidity: function decimals() constant returns(uint256)
func (*SNMTTokenSession) GetTokens ¶
func (_SNMTToken *SNMTTokenSession) GetTokens() (*types.Transaction, error)
GetTokens is a paid mutator transaction binding the contract method 0xaa6ca808.
Solidity: function getTokens() returns(bool)
func (*SNMTTokenSession) MintToken ¶
func (_SNMTToken *SNMTTokenSession) MintToken(target common.Address, mintedAmount *big.Int) (*types.Transaction, error)
MintToken is a paid mutator transaction binding the contract method 0x79c65068.
Solidity: function mintToken(target address, mintedAmount uint256) returns(bool)
func (*SNMTTokenSession) Name ¶
func (_SNMTToken *SNMTTokenSession) Name() (string, error)
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() constant returns(string)
func (*SNMTTokenSession) Owner ¶
func (_SNMTToken *SNMTTokenSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() constant returns(address)
func (*SNMTTokenSession) Symbol ¶
func (_SNMTToken *SNMTTokenSession) Symbol() (string, error)
Symbol is a free data retrieval call binding the contract method 0x95d89b41.
Solidity: function symbol() constant returns(string)
func (*SNMTTokenSession) TotalSupply ¶
func (_SNMTToken *SNMTTokenSession) TotalSupply() (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() constant returns(uint256)
func (*SNMTTokenSession) Transfer ¶
func (_SNMTToken *SNMTTokenSession) 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 (*SNMTTokenSession) TransferFrom ¶
func (_SNMTToken *SNMTTokenSession) TransferFrom(_from common.Address, _to common.Address, _value *big.Int) (*types.Transaction, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(_from address, _to address, _value uint256) returns(bool)
func (*SNMTTokenSession) TransferOwnership ¶
func (_SNMTToken *SNMTTokenSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(newOwner address) returns()
type SNMTTokenTransactor ¶
type SNMTTokenTransactor struct {
// contains filtered or unexported fields
}
SNMTTokenTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewSNMTTokenTransactor ¶
func NewSNMTTokenTransactor(address common.Address, transactor bind.ContractTransactor) (*SNMTTokenTransactor, error)
NewSNMTTokenTransactor creates a new write-only instance of SNMTToken, bound to a specific deployed contract.
func (*SNMTTokenTransactor) Approve ¶
func (_SNMTToken *SNMTTokenTransactor) 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 (*SNMTTokenTransactor) GetTokens ¶
func (_SNMTToken *SNMTTokenTransactor) GetTokens(opts *bind.TransactOpts) (*types.Transaction, error)
GetTokens is a paid mutator transaction binding the contract method 0xaa6ca808.
Solidity: function getTokens() returns(bool)
func (*SNMTTokenTransactor) MintToken ¶
func (_SNMTToken *SNMTTokenTransactor) MintToken(opts *bind.TransactOpts, target common.Address, mintedAmount *big.Int) (*types.Transaction, error)
MintToken is a paid mutator transaction binding the contract method 0x79c65068.
Solidity: function mintToken(target address, mintedAmount uint256) returns(bool)
func (*SNMTTokenTransactor) Transfer ¶
func (_SNMTToken *SNMTTokenTransactor) 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 (*SNMTTokenTransactor) TransferFrom ¶
func (_SNMTToken *SNMTTokenTransactor) TransferFrom(opts *bind.TransactOpts, _from common.Address, _to common.Address, _value *big.Int) (*types.Transaction, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(_from address, _to address, _value uint256) returns(bool)
func (*SNMTTokenTransactor) TransferOwnership ¶
func (_SNMTToken *SNMTTokenTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(newOwner address) returns()
type SNMTTokenTransactorRaw ¶
type SNMTTokenTransactorRaw struct {
Contract *SNMTTokenTransactor // Generic write-only contract binding to access the raw methods on
}
SNMTTokenTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*SNMTTokenTransactorRaw) Transact ¶
func (_SNMTToken *SNMTTokenTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*SNMTTokenTransactorRaw) Transfer ¶
func (_SNMTToken *SNMTTokenTransactorRaw) 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 SNMTTokenTransactorSession ¶
type SNMTTokenTransactorSession struct { Contract *SNMTTokenTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
SNMTTokenTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*SNMTTokenTransactorSession) Approve ¶
func (_SNMTToken *SNMTTokenTransactorSession) 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 (*SNMTTokenTransactorSession) GetTokens ¶
func (_SNMTToken *SNMTTokenTransactorSession) GetTokens() (*types.Transaction, error)
GetTokens is a paid mutator transaction binding the contract method 0xaa6ca808.
Solidity: function getTokens() returns(bool)
func (*SNMTTokenTransactorSession) MintToken ¶
func (_SNMTToken *SNMTTokenTransactorSession) MintToken(target common.Address, mintedAmount *big.Int) (*types.Transaction, error)
MintToken is a paid mutator transaction binding the contract method 0x79c65068.
Solidity: function mintToken(target address, mintedAmount uint256) returns(bool)
func (*SNMTTokenTransactorSession) Transfer ¶
func (_SNMTToken *SNMTTokenTransactorSession) 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 (*SNMTTokenTransactorSession) TransferFrom ¶
func (_SNMTToken *SNMTTokenTransactorSession) TransferFrom(_from common.Address, _to common.Address, _value *big.Int) (*types.Transaction, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(_from address, _to address, _value uint256) returns(bool)
func (*SNMTTokenTransactorSession) TransferOwnership ¶
func (_SNMTToken *SNMTTokenTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(newOwner address) returns()
type SNMTTokenTransfer ¶
type SNMTTokenTransfer struct { From common.Address To common.Address Value *big.Int Raw types.Log // Blockchain specific contextual infos }
SNMTTokenTransfer represents a Transfer event raised by the SNMTToken contract.
type SNMTTokenTransferIterator ¶
type SNMTTokenTransferIterator struct { Event *SNMTTokenTransfer // Event containing the contract specifics and raw log // contains filtered or unexported fields }
SNMTTokenTransferIterator is returned from FilterTransfer and is used to iterate over the raw logs and unpacked data for Transfer events raised by the SNMTToken contract.
func (*SNMTTokenTransferIterator) Close ¶
func (it *SNMTTokenTransferIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*SNMTTokenTransferIterator) Error ¶
func (it *SNMTTokenTransferIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*SNMTTokenTransferIterator) Next ¶
func (it *SNMTTokenTransferIterator) 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 SNMTransactor ¶
type SNMTransactor struct {
// contains filtered or unexported fields
}
SNMTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewSNMTransactor ¶
func NewSNMTransactor(address common.Address, transactor bind.ContractTransactor) (*SNMTransactor, error)
NewSNMTransactor creates a new write-only instance of SNM, bound to a specific deployed contract.
func (*SNMTransactor) Approve ¶
func (_SNM *SNMTransactor) 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 (*SNMTransactor) DecreaseApproval ¶
func (_SNM *SNMTransactor) DecreaseApproval(opts *bind.TransactOpts, _spender common.Address, _subtractedValue *big.Int) (*types.Transaction, error)
DecreaseApproval is a paid mutator transaction binding the contract method 0x66188463.
Solidity: function decreaseApproval(_spender address, _subtractedValue uint256) returns(bool)
func (*SNMTransactor) IncreaseApproval ¶
func (_SNM *SNMTransactor) IncreaseApproval(opts *bind.TransactOpts, _spender common.Address, _addedValue *big.Int) (*types.Transaction, error)
IncreaseApproval is a paid mutator transaction binding the contract method 0xd73dd623.
Solidity: function increaseApproval(_spender address, _addedValue uint256) returns(bool)
func (*SNMTransactor) Transfer ¶
func (_SNM *SNMTransactor) 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 (*SNMTransactor) TransferFrom ¶
func (_SNM *SNMTransactor) TransferFrom(opts *bind.TransactOpts, _from common.Address, _to common.Address, _value *big.Int) (*types.Transaction, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(_from address, _to address, _value uint256) returns(bool)
func (*SNMTransactor) TransferOwnership ¶
func (_SNM *SNMTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(newOwner address) returns()
type SNMTransactorRaw ¶
type SNMTransactorRaw struct {
Contract *SNMTransactor // Generic write-only contract binding to access the raw methods on
}
SNMTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*SNMTransactorRaw) Transact ¶
func (_SNM *SNMTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*SNMTransactorRaw) Transfer ¶
func (_SNM *SNMTransactorRaw) 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 SNMTransactorSession ¶
type SNMTransactorSession struct { Contract *SNMTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
SNMTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*SNMTransactorSession) Approve ¶
func (_SNM *SNMTransactorSession) 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 (*SNMTransactorSession) DecreaseApproval ¶
func (_SNM *SNMTransactorSession) DecreaseApproval(_spender common.Address, _subtractedValue *big.Int) (*types.Transaction, error)
DecreaseApproval is a paid mutator transaction binding the contract method 0x66188463.
Solidity: function decreaseApproval(_spender address, _subtractedValue uint256) returns(bool)
func (*SNMTransactorSession) IncreaseApproval ¶
func (_SNM *SNMTransactorSession) IncreaseApproval(_spender common.Address, _addedValue *big.Int) (*types.Transaction, error)
IncreaseApproval is a paid mutator transaction binding the contract method 0xd73dd623.
Solidity: function increaseApproval(_spender address, _addedValue uint256) returns(bool)
func (*SNMTransactorSession) Transfer ¶
func (_SNM *SNMTransactorSession) 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 (*SNMTransactorSession) TransferFrom ¶
func (_SNM *SNMTransactorSession) TransferFrom(_from common.Address, _to common.Address, _value *big.Int) (*types.Transaction, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(_from address, _to address, _value uint256) returns(bool)
func (*SNMTransactorSession) TransferOwnership ¶
func (_SNM *SNMTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(newOwner address) returns()
type SNMTransfer ¶
type SNMTransfer struct { From common.Address To common.Address Value *big.Int Raw types.Log // Blockchain specific contextual infos }
SNMTransfer represents a Transfer event raised by the SNM contract.
type SNMTransferIterator ¶
type SNMTransferIterator struct { Event *SNMTransfer // Event containing the contract specifics and raw log // contains filtered or unexported fields }
SNMTransferIterator is returned from FilterTransfer and is used to iterate over the raw logs and unpacked data for Transfer events raised by the SNM contract.
func (*SNMTransferIterator) Close ¶
func (it *SNMTransferIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*SNMTransferIterator) Error ¶
func (it *SNMTransferIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*SNMTransferIterator) Next ¶
func (it *SNMTransferIterator) 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 SafeMath ¶
type SafeMath struct { SafeMathCaller // Read-only binding to the contract SafeMathTransactor // Write-only binding to the contract SafeMathFilterer // Log filterer for contract events }
SafeMath is an auto generated Go binding around an Ethereum contract.
func DeploySafeMath ¶
func DeploySafeMath(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *SafeMath, error)
DeploySafeMath deploys a new Ethereum contract, binding an instance of SafeMath to it.
func NewSafeMath ¶
NewSafeMath creates a new instance of SafeMath, bound to a specific deployed contract.
type SafeMathCaller ¶
type SafeMathCaller struct {
// contains filtered or unexported fields
}
SafeMathCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewSafeMathCaller ¶
func NewSafeMathCaller(address common.Address, caller bind.ContractCaller) (*SafeMathCaller, error)
NewSafeMathCaller creates a new read-only instance of SafeMath, bound to a specific deployed contract.
type SafeMathCallerRaw ¶
type SafeMathCallerRaw struct {
Contract *SafeMathCaller // Generic read-only contract binding to access the raw methods on
}
SafeMathCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*SafeMathCallerRaw) Call ¶
func (_SafeMath *SafeMathCallerRaw) 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 SafeMathCallerSession ¶
type SafeMathCallerSession struct { Contract *SafeMathCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
SafeMathCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
type SafeMathFilterer ¶
type SafeMathFilterer struct {
// contains filtered or unexported fields
}
SafeMathFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewSafeMathFilterer ¶
func NewSafeMathFilterer(address common.Address, filterer bind.ContractFilterer) (*SafeMathFilterer, error)
NewSafeMathFilterer creates a new log filterer instance of SafeMath, bound to a specific deployed contract.
type SafeMathRaw ¶
type SafeMathRaw struct {
Contract *SafeMath // Generic contract binding to access the raw methods on
}
SafeMathRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*SafeMathRaw) Call ¶
func (_SafeMath *SafeMathRaw) 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 (*SafeMathRaw) Transact ¶
func (_SafeMath *SafeMathRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*SafeMathRaw) Transfer ¶
func (_SafeMath *SafeMathRaw) 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 SafeMathSession ¶
type SafeMathSession struct { Contract *SafeMath // 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 }
SafeMathSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
type SafeMathTransactor ¶
type SafeMathTransactor struct {
// contains filtered or unexported fields
}
SafeMathTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewSafeMathTransactor ¶
func NewSafeMathTransactor(address common.Address, transactor bind.ContractTransactor) (*SafeMathTransactor, error)
NewSafeMathTransactor creates a new write-only instance of SafeMath, bound to a specific deployed contract.
type SafeMathTransactorRaw ¶
type SafeMathTransactorRaw struct {
Contract *SafeMathTransactor // Generic write-only contract binding to access the raw methods on
}
SafeMathTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*SafeMathTransactorRaw) Transact ¶
func (_SafeMath *SafeMathTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*SafeMathTransactorRaw) Transfer ¶
func (_SafeMath *SafeMathTransactorRaw) 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 SafeMathTransactorSession ¶
type SafeMathTransactorSession struct { Contract *SafeMathTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
SafeMathTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
type SimpleGatekeeper ¶
type SimpleGatekeeper struct { SimpleGatekeeperCaller // Read-only binding to the contract SimpleGatekeeperTransactor // Write-only binding to the contract SimpleGatekeeperFilterer // Log filterer for contract events }
SimpleGatekeeper is an auto generated Go binding around an Ethereum contract.
func DeploySimpleGatekeeper ¶
func DeploySimpleGatekeeper(auth *bind.TransactOpts, backend bind.ContractBackend, _token common.Address) (common.Address, *types.Transaction, *SimpleGatekeeper, error)
DeploySimpleGatekeeper deploys a new Ethereum contract, binding an instance of SimpleGatekeeper to it.
func NewSimpleGatekeeper ¶
func NewSimpleGatekeeper(address common.Address, backend bind.ContractBackend) (*SimpleGatekeeper, error)
NewSimpleGatekeeper creates a new instance of SimpleGatekeeper, bound to a specific deployed contract.
type SimpleGatekeeperCaller ¶
type SimpleGatekeeperCaller struct {
// contains filtered or unexported fields
}
SimpleGatekeeperCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewSimpleGatekeeperCaller ¶
func NewSimpleGatekeeperCaller(address common.Address, caller bind.ContractCaller) (*SimpleGatekeeperCaller, error)
NewSimpleGatekeeperCaller creates a new read-only instance of SimpleGatekeeper, bound to a specific deployed contract.
func (*SimpleGatekeeperCaller) Owner ¶
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() constant returns(address)
func (*SimpleGatekeeperCaller) Paid ¶
func (_SimpleGatekeeper *SimpleGatekeeperCaller) Paid(opts *bind.CallOpts, arg0 [32]byte) (bool, error)
Paid is a free data retrieval call binding the contract method 0xadd89bb2.
Solidity: function paid( bytes32) constant returns(bool)
func (*SimpleGatekeeperCaller) TransactionAmount ¶
func (_SimpleGatekeeper *SimpleGatekeeperCaller) TransactionAmount(opts *bind.CallOpts) (*big.Int, error)
TransactionAmount is a free data retrieval call binding the contract method 0xd942bffa.
Solidity: function transactionAmount() constant returns(uint256)
type SimpleGatekeeperCallerRaw ¶
type SimpleGatekeeperCallerRaw struct {
Contract *SimpleGatekeeperCaller // Generic read-only contract binding to access the raw methods on
}
SimpleGatekeeperCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*SimpleGatekeeperCallerRaw) Call ¶
func (_SimpleGatekeeper *SimpleGatekeeperCallerRaw) 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 SimpleGatekeeperCallerSession ¶
type SimpleGatekeeperCallerSession struct { Contract *SimpleGatekeeperCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
SimpleGatekeeperCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*SimpleGatekeeperCallerSession) Owner ¶
func (_SimpleGatekeeper *SimpleGatekeeperCallerSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() constant returns(address)
func (*SimpleGatekeeperCallerSession) Paid ¶
func (_SimpleGatekeeper *SimpleGatekeeperCallerSession) Paid(arg0 [32]byte) (bool, error)
Paid is a free data retrieval call binding the contract method 0xadd89bb2.
Solidity: function paid( bytes32) constant returns(bool)
func (*SimpleGatekeeperCallerSession) TransactionAmount ¶
func (_SimpleGatekeeper *SimpleGatekeeperCallerSession) TransactionAmount() (*big.Int, error)
TransactionAmount is a free data retrieval call binding the contract method 0xd942bffa.
Solidity: function transactionAmount() constant returns(uint256)
type SimpleGatekeeperFilterer ¶
type SimpleGatekeeperFilterer struct {
// contains filtered or unexported fields
}
SimpleGatekeeperFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewSimpleGatekeeperFilterer ¶
func NewSimpleGatekeeperFilterer(address common.Address, filterer bind.ContractFilterer) (*SimpleGatekeeperFilterer, error)
NewSimpleGatekeeperFilterer creates a new log filterer instance of SimpleGatekeeper, bound to a specific deployed contract.
func (*SimpleGatekeeperFilterer) FilterOwnershipTransferred ¶
func (_SimpleGatekeeper *SimpleGatekeeperFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*SimpleGatekeeperOwnershipTransferredIterator, error)
FilterOwnershipTransferred is a free log retrieval operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(previousOwner indexed address, newOwner indexed address)
func (*SimpleGatekeeperFilterer) FilterPayInTx ¶
func (_SimpleGatekeeper *SimpleGatekeeperFilterer) FilterPayInTx(opts *bind.FilterOpts, from []common.Address, txNumber []*big.Int, value []*big.Int) (*SimpleGatekeeperPayInTxIterator, error)
FilterPayInTx is a free log retrieval operation binding the contract event 0x63768eabd21c026cb17439a3c6556436c1b0219c2046875297ad3f4b14e6700f.
Solidity: event PayInTx(from indexed address, txNumber indexed uint256, value indexed uint256)
func (*SimpleGatekeeperFilterer) FilterPayoutTx ¶
func (_SimpleGatekeeper *SimpleGatekeeperFilterer) FilterPayoutTx(opts *bind.FilterOpts, from []common.Address, txNumber []*big.Int, value []*big.Int) (*SimpleGatekeeperPayoutTxIterator, error)
FilterPayoutTx is a free log retrieval operation binding the contract event 0x731af16374848c2c73a6154fd410cb421138e7db45c5a904e5a475c756faa8d9.
Solidity: event PayoutTx(from indexed address, txNumber indexed uint256, value indexed uint256)
func (*SimpleGatekeeperFilterer) FilterSuicide ¶
func (_SimpleGatekeeper *SimpleGatekeeperFilterer) FilterSuicide(opts *bind.FilterOpts) (*SimpleGatekeeperSuicideIterator, error)
FilterSuicide is a free log retrieval operation binding the contract event 0xa1ea9b09ea114021983e9ecf71cf2ffddfd80f5cb4f925e5bf24f9bdb5e55fde.
Solidity: event Suicide(block uint256)
func (*SimpleGatekeeperFilterer) WatchOwnershipTransferred ¶
func (_SimpleGatekeeper *SimpleGatekeeperFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *SimpleGatekeeperOwnershipTransferred, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error)
WatchOwnershipTransferred is a free log subscription operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(previousOwner indexed address, newOwner indexed address)
func (*SimpleGatekeeperFilterer) WatchPayInTx ¶
func (_SimpleGatekeeper *SimpleGatekeeperFilterer) WatchPayInTx(opts *bind.WatchOpts, sink chan<- *SimpleGatekeeperPayInTx, from []common.Address, txNumber []*big.Int, value []*big.Int) (event.Subscription, error)
WatchPayInTx is a free log subscription operation binding the contract event 0x63768eabd21c026cb17439a3c6556436c1b0219c2046875297ad3f4b14e6700f.
Solidity: event PayInTx(from indexed address, txNumber indexed uint256, value indexed uint256)
func (*SimpleGatekeeperFilterer) WatchPayoutTx ¶
func (_SimpleGatekeeper *SimpleGatekeeperFilterer) WatchPayoutTx(opts *bind.WatchOpts, sink chan<- *SimpleGatekeeperPayoutTx, from []common.Address, txNumber []*big.Int, value []*big.Int) (event.Subscription, error)
WatchPayoutTx is a free log subscription operation binding the contract event 0x731af16374848c2c73a6154fd410cb421138e7db45c5a904e5a475c756faa8d9.
Solidity: event PayoutTx(from indexed address, txNumber indexed uint256, value indexed uint256)
func (*SimpleGatekeeperFilterer) WatchSuicide ¶
func (_SimpleGatekeeper *SimpleGatekeeperFilterer) WatchSuicide(opts *bind.WatchOpts, sink chan<- *SimpleGatekeeperSuicide) (event.Subscription, error)
WatchSuicide is a free log subscription operation binding the contract event 0xa1ea9b09ea114021983e9ecf71cf2ffddfd80f5cb4f925e5bf24f9bdb5e55fde.
Solidity: event Suicide(block uint256)
type SimpleGatekeeperOwnershipTransferred ¶
type SimpleGatekeeperOwnershipTransferred struct { PreviousOwner common.Address NewOwner common.Address Raw types.Log // Blockchain specific contextual infos }
SimpleGatekeeperOwnershipTransferred represents a OwnershipTransferred event raised by the SimpleGatekeeper contract.
type SimpleGatekeeperOwnershipTransferredIterator ¶
type SimpleGatekeeperOwnershipTransferredIterator struct { Event *SimpleGatekeeperOwnershipTransferred // Event containing the contract specifics and raw log // contains filtered or unexported fields }
SimpleGatekeeperOwnershipTransferredIterator is returned from FilterOwnershipTransferred and is used to iterate over the raw logs and unpacked data for OwnershipTransferred events raised by the SimpleGatekeeper contract.
func (*SimpleGatekeeperOwnershipTransferredIterator) Close ¶
func (it *SimpleGatekeeperOwnershipTransferredIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*SimpleGatekeeperOwnershipTransferredIterator) Error ¶
func (it *SimpleGatekeeperOwnershipTransferredIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*SimpleGatekeeperOwnershipTransferredIterator) Next ¶
func (it *SimpleGatekeeperOwnershipTransferredIterator) 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 SimpleGatekeeperPayInTx ¶
type SimpleGatekeeperPayInTx struct { From common.Address TxNumber *big.Int Value *big.Int Raw types.Log // Blockchain specific contextual infos }
SimpleGatekeeperPayInTx represents a PayInTx event raised by the SimpleGatekeeper contract.
type SimpleGatekeeperPayInTxIterator ¶
type SimpleGatekeeperPayInTxIterator struct { Event *SimpleGatekeeperPayInTx // Event containing the contract specifics and raw log // contains filtered or unexported fields }
SimpleGatekeeperPayInTxIterator is returned from FilterPayInTx and is used to iterate over the raw logs and unpacked data for PayInTx events raised by the SimpleGatekeeper contract.
func (*SimpleGatekeeperPayInTxIterator) Close ¶
func (it *SimpleGatekeeperPayInTxIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*SimpleGatekeeperPayInTxIterator) Error ¶
func (it *SimpleGatekeeperPayInTxIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*SimpleGatekeeperPayInTxIterator) Next ¶
func (it *SimpleGatekeeperPayInTxIterator) 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 SimpleGatekeeperPayoutTx ¶
type SimpleGatekeeperPayoutTx struct { From common.Address TxNumber *big.Int Value *big.Int Raw types.Log // Blockchain specific contextual infos }
SimpleGatekeeperPayoutTx represents a PayoutTx event raised by the SimpleGatekeeper contract.
type SimpleGatekeeperPayoutTxIterator ¶
type SimpleGatekeeperPayoutTxIterator struct { Event *SimpleGatekeeperPayoutTx // Event containing the contract specifics and raw log // contains filtered or unexported fields }
SimpleGatekeeperPayoutTxIterator is returned from FilterPayoutTx and is used to iterate over the raw logs and unpacked data for PayoutTx events raised by the SimpleGatekeeper contract.
func (*SimpleGatekeeperPayoutTxIterator) Close ¶
func (it *SimpleGatekeeperPayoutTxIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*SimpleGatekeeperPayoutTxIterator) Error ¶
func (it *SimpleGatekeeperPayoutTxIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*SimpleGatekeeperPayoutTxIterator) Next ¶
func (it *SimpleGatekeeperPayoutTxIterator) 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 SimpleGatekeeperRaw ¶
type SimpleGatekeeperRaw struct {
Contract *SimpleGatekeeper // Generic contract binding to access the raw methods on
}
SimpleGatekeeperRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*SimpleGatekeeperRaw) Call ¶
func (_SimpleGatekeeper *SimpleGatekeeperRaw) 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 (*SimpleGatekeeperRaw) Transact ¶
func (_SimpleGatekeeper *SimpleGatekeeperRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*SimpleGatekeeperRaw) Transfer ¶
func (_SimpleGatekeeper *SimpleGatekeeperRaw) 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 SimpleGatekeeperSession ¶
type SimpleGatekeeperSession struct { Contract *SimpleGatekeeper // 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 }
SimpleGatekeeperSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*SimpleGatekeeperSession) Kill ¶
func (_SimpleGatekeeper *SimpleGatekeeperSession) Kill() (*types.Transaction, error)
Kill is a paid mutator transaction binding the contract method 0x41c0e1b5.
Solidity: function kill() returns()
func (*SimpleGatekeeperSession) Owner ¶
func (_SimpleGatekeeper *SimpleGatekeeperSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() constant returns(address)
func (*SimpleGatekeeperSession) Paid ¶
func (_SimpleGatekeeper *SimpleGatekeeperSession) Paid(arg0 [32]byte) (bool, error)
Paid is a free data retrieval call binding the contract method 0xadd89bb2.
Solidity: function paid( bytes32) constant returns(bool)
func (*SimpleGatekeeperSession) PayIn ¶
func (_SimpleGatekeeper *SimpleGatekeeperSession) PayIn(_value *big.Int) (*types.Transaction, error)
PayIn is a paid mutator transaction binding the contract method 0x9fab56ac.
Solidity: function PayIn(_value uint256) returns()
func (*SimpleGatekeeperSession) Payout ¶
func (_SimpleGatekeeper *SimpleGatekeeperSession) Payout(_to common.Address, _value *big.Int, _txNumber *big.Int) (*types.Transaction, error)
Payout is a paid mutator transaction binding the contract method 0x634235fc.
Solidity: function Payout(_to address, _value uint256, _txNumber uint256) returns()
func (*SimpleGatekeeperSession) TransactionAmount ¶
func (_SimpleGatekeeper *SimpleGatekeeperSession) TransactionAmount() (*big.Int, error)
TransactionAmount is a free data retrieval call binding the contract method 0xd942bffa.
Solidity: function transactionAmount() constant returns(uint256)
func (*SimpleGatekeeperSession) TransferOwnership ¶
func (_SimpleGatekeeper *SimpleGatekeeperSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(newOwner address) returns()
type SimpleGatekeeperSuicide ¶
type SimpleGatekeeperSuicide struct { Block *big.Int Raw types.Log // Blockchain specific contextual infos }
SimpleGatekeeperSuicide represents a Suicide event raised by the SimpleGatekeeper contract.
type SimpleGatekeeperSuicideIterator ¶
type SimpleGatekeeperSuicideIterator struct { Event *SimpleGatekeeperSuicide // Event containing the contract specifics and raw log // contains filtered or unexported fields }
SimpleGatekeeperSuicideIterator is returned from FilterSuicide and is used to iterate over the raw logs and unpacked data for Suicide events raised by the SimpleGatekeeper contract.
func (*SimpleGatekeeperSuicideIterator) Close ¶
func (it *SimpleGatekeeperSuicideIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*SimpleGatekeeperSuicideIterator) Error ¶
func (it *SimpleGatekeeperSuicideIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*SimpleGatekeeperSuicideIterator) Next ¶
func (it *SimpleGatekeeperSuicideIterator) 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 SimpleGatekeeperTransactor ¶
type SimpleGatekeeperTransactor struct {
// contains filtered or unexported fields
}
SimpleGatekeeperTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewSimpleGatekeeperTransactor ¶
func NewSimpleGatekeeperTransactor(address common.Address, transactor bind.ContractTransactor) (*SimpleGatekeeperTransactor, error)
NewSimpleGatekeeperTransactor creates a new write-only instance of SimpleGatekeeper, bound to a specific deployed contract.
func (*SimpleGatekeeperTransactor) Kill ¶
func (_SimpleGatekeeper *SimpleGatekeeperTransactor) Kill(opts *bind.TransactOpts) (*types.Transaction, error)
Kill is a paid mutator transaction binding the contract method 0x41c0e1b5.
Solidity: function kill() returns()
func (*SimpleGatekeeperTransactor) PayIn ¶
func (_SimpleGatekeeper *SimpleGatekeeperTransactor) PayIn(opts *bind.TransactOpts, _value *big.Int) (*types.Transaction, error)
PayIn is a paid mutator transaction binding the contract method 0x9fab56ac.
Solidity: function PayIn(_value uint256) returns()
func (*SimpleGatekeeperTransactor) Payout ¶
func (_SimpleGatekeeper *SimpleGatekeeperTransactor) Payout(opts *bind.TransactOpts, _to common.Address, _value *big.Int, _txNumber *big.Int) (*types.Transaction, error)
Payout is a paid mutator transaction binding the contract method 0x634235fc.
Solidity: function Payout(_to address, _value uint256, _txNumber uint256) returns()
func (*SimpleGatekeeperTransactor) TransferOwnership ¶
func (_SimpleGatekeeper *SimpleGatekeeperTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(newOwner address) returns()
type SimpleGatekeeperTransactorRaw ¶
type SimpleGatekeeperTransactorRaw struct {
Contract *SimpleGatekeeperTransactor // Generic write-only contract binding to access the raw methods on
}
SimpleGatekeeperTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*SimpleGatekeeperTransactorRaw) Transact ¶
func (_SimpleGatekeeper *SimpleGatekeeperTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*SimpleGatekeeperTransactorRaw) Transfer ¶
func (_SimpleGatekeeper *SimpleGatekeeperTransactorRaw) 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 SimpleGatekeeperTransactorSession ¶
type SimpleGatekeeperTransactorSession struct { Contract *SimpleGatekeeperTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
SimpleGatekeeperTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*SimpleGatekeeperTransactorSession) Kill ¶
func (_SimpleGatekeeper *SimpleGatekeeperTransactorSession) Kill() (*types.Transaction, error)
Kill is a paid mutator transaction binding the contract method 0x41c0e1b5.
Solidity: function kill() returns()
func (*SimpleGatekeeperTransactorSession) PayIn ¶
func (_SimpleGatekeeper *SimpleGatekeeperTransactorSession) PayIn(_value *big.Int) (*types.Transaction, error)
PayIn is a paid mutator transaction binding the contract method 0x9fab56ac.
Solidity: function PayIn(_value uint256) returns()
func (*SimpleGatekeeperTransactorSession) Payout ¶
func (_SimpleGatekeeper *SimpleGatekeeperTransactorSession) Payout(_to common.Address, _value *big.Int, _txNumber *big.Int) (*types.Transaction, error)
Payout is a paid mutator transaction binding the contract method 0x634235fc.
Solidity: function Payout(_to address, _value uint256, _txNumber uint256) returns()
func (*SimpleGatekeeperTransactorSession) TransferOwnership ¶
func (_SimpleGatekeeper *SimpleGatekeeperTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(newOwner address) returns()
type StandardToken ¶
type StandardToken struct { StandardTokenCaller // Read-only binding to the contract StandardTokenTransactor // Write-only binding to the contract StandardTokenFilterer // Log filterer for contract events }
StandardToken is an auto generated Go binding around an Ethereum contract.
func DeployStandardToken ¶
func DeployStandardToken(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *StandardToken, error)
DeployStandardToken deploys a new Ethereum contract, binding an instance of StandardToken to it.
func NewStandardToken ¶
func NewStandardToken(address common.Address, backend bind.ContractBackend) (*StandardToken, error)
NewStandardToken creates a new instance of StandardToken, bound to a specific deployed contract.
type StandardTokenApproval ¶
type StandardTokenApproval struct { Owner common.Address Spender common.Address Value *big.Int Raw types.Log // Blockchain specific contextual infos }
StandardTokenApproval represents a Approval event raised by the StandardToken contract.
type StandardTokenApprovalIterator ¶
type StandardTokenApprovalIterator struct { Event *StandardTokenApproval // Event containing the contract specifics and raw log // contains filtered or unexported fields }
StandardTokenApprovalIterator is returned from FilterApproval and is used to iterate over the raw logs and unpacked data for Approval events raised by the StandardToken contract.
func (*StandardTokenApprovalIterator) Close ¶
func (it *StandardTokenApprovalIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*StandardTokenApprovalIterator) Error ¶
func (it *StandardTokenApprovalIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*StandardTokenApprovalIterator) Next ¶
func (it *StandardTokenApprovalIterator) 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 StandardTokenCaller ¶
type StandardTokenCaller struct {
// contains filtered or unexported fields
}
StandardTokenCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewStandardTokenCaller ¶
func NewStandardTokenCaller(address common.Address, caller bind.ContractCaller) (*StandardTokenCaller, error)
NewStandardTokenCaller creates a new read-only instance of StandardToken, bound to a specific deployed contract.
func (*StandardTokenCaller) Allowance ¶
func (_StandardToken *StandardTokenCaller) 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 (*StandardTokenCaller) BalanceOf ¶
func (_StandardToken *StandardTokenCaller) 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 (*StandardTokenCaller) TotalSupply ¶
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() constant returns(uint256)
type StandardTokenCallerRaw ¶
type StandardTokenCallerRaw struct {
Contract *StandardTokenCaller // Generic read-only contract binding to access the raw methods on
}
StandardTokenCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*StandardTokenCallerRaw) Call ¶
func (_StandardToken *StandardTokenCallerRaw) 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 StandardTokenCallerSession ¶
type StandardTokenCallerSession struct { Contract *StandardTokenCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
StandardTokenCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*StandardTokenCallerSession) Allowance ¶
func (_StandardToken *StandardTokenCallerSession) 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 (*StandardTokenCallerSession) BalanceOf ¶
func (_StandardToken *StandardTokenCallerSession) 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 (*StandardTokenCallerSession) TotalSupply ¶
func (_StandardToken *StandardTokenCallerSession) TotalSupply() (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() constant returns(uint256)
type StandardTokenFilterer ¶
type StandardTokenFilterer struct {
// contains filtered or unexported fields
}
StandardTokenFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewStandardTokenFilterer ¶
func NewStandardTokenFilterer(address common.Address, filterer bind.ContractFilterer) (*StandardTokenFilterer, error)
NewStandardTokenFilterer creates a new log filterer instance of StandardToken, bound to a specific deployed contract.
func (*StandardTokenFilterer) FilterApproval ¶
func (_StandardToken *StandardTokenFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*StandardTokenApprovalIterator, error)
FilterApproval is a free log retrieval operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.
Solidity: event Approval(owner indexed address, spender indexed address, value uint256)
func (*StandardTokenFilterer) FilterTransfer ¶
func (_StandardToken *StandardTokenFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*StandardTokenTransferIterator, error)
FilterTransfer is a free log retrieval operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.
Solidity: event Transfer(from indexed address, to indexed address, value uint256)
func (*StandardTokenFilterer) WatchApproval ¶
func (_StandardToken *StandardTokenFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *StandardTokenApproval, owner []common.Address, spender []common.Address) (event.Subscription, error)
WatchApproval is a free log subscription operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.
Solidity: event Approval(owner indexed address, spender indexed address, value uint256)
func (*StandardTokenFilterer) WatchTransfer ¶
func (_StandardToken *StandardTokenFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *StandardTokenTransfer, from []common.Address, to []common.Address) (event.Subscription, error)
WatchTransfer is a free log subscription operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.
Solidity: event Transfer(from indexed address, to indexed address, value uint256)
type StandardTokenRaw ¶
type StandardTokenRaw struct {
Contract *StandardToken // Generic contract binding to access the raw methods on
}
StandardTokenRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*StandardTokenRaw) Call ¶
func (_StandardToken *StandardTokenRaw) 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 (*StandardTokenRaw) Transact ¶
func (_StandardToken *StandardTokenRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*StandardTokenRaw) Transfer ¶
func (_StandardToken *StandardTokenRaw) 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 StandardTokenSession ¶
type StandardTokenSession struct { Contract *StandardToken // 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 }
StandardTokenSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*StandardTokenSession) Allowance ¶
func (_StandardToken *StandardTokenSession) 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 (*StandardTokenSession) Approve ¶
func (_StandardToken *StandardTokenSession) 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 (*StandardTokenSession) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(_owner address) constant returns(uint256)
func (*StandardTokenSession) DecreaseApproval ¶
func (_StandardToken *StandardTokenSession) DecreaseApproval(_spender common.Address, _subtractedValue *big.Int) (*types.Transaction, error)
DecreaseApproval is a paid mutator transaction binding the contract method 0x66188463.
Solidity: function decreaseApproval(_spender address, _subtractedValue uint256) returns(bool)
func (*StandardTokenSession) IncreaseApproval ¶
func (_StandardToken *StandardTokenSession) IncreaseApproval(_spender common.Address, _addedValue *big.Int) (*types.Transaction, error)
IncreaseApproval is a paid mutator transaction binding the contract method 0xd73dd623.
Solidity: function increaseApproval(_spender address, _addedValue uint256) returns(bool)
func (*StandardTokenSession) TotalSupply ¶
func (_StandardToken *StandardTokenSession) TotalSupply() (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() constant returns(uint256)
func (*StandardTokenSession) Transfer ¶
func (_StandardToken *StandardTokenSession) 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 (*StandardTokenSession) TransferFrom ¶
func (_StandardToken *StandardTokenSession) 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 StandardTokenTransactor ¶
type StandardTokenTransactor struct {
// contains filtered or unexported fields
}
StandardTokenTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewStandardTokenTransactor ¶
func NewStandardTokenTransactor(address common.Address, transactor bind.ContractTransactor) (*StandardTokenTransactor, error)
NewStandardTokenTransactor creates a new write-only instance of StandardToken, bound to a specific deployed contract.
func (*StandardTokenTransactor) Approve ¶
func (_StandardToken *StandardTokenTransactor) 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 (*StandardTokenTransactor) DecreaseApproval ¶
func (_StandardToken *StandardTokenTransactor) DecreaseApproval(opts *bind.TransactOpts, _spender common.Address, _subtractedValue *big.Int) (*types.Transaction, error)
DecreaseApproval is a paid mutator transaction binding the contract method 0x66188463.
Solidity: function decreaseApproval(_spender address, _subtractedValue uint256) returns(bool)
func (*StandardTokenTransactor) IncreaseApproval ¶
func (_StandardToken *StandardTokenTransactor) IncreaseApproval(opts *bind.TransactOpts, _spender common.Address, _addedValue *big.Int) (*types.Transaction, error)
IncreaseApproval is a paid mutator transaction binding the contract method 0xd73dd623.
Solidity: function increaseApproval(_spender address, _addedValue uint256) returns(bool)
func (*StandardTokenTransactor) Transfer ¶
func (_StandardToken *StandardTokenTransactor) 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 (*StandardTokenTransactor) TransferFrom ¶
func (_StandardToken *StandardTokenTransactor) 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 StandardTokenTransactorRaw ¶
type StandardTokenTransactorRaw struct {
Contract *StandardTokenTransactor // Generic write-only contract binding to access the raw methods on
}
StandardTokenTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*StandardTokenTransactorRaw) Transact ¶
func (_StandardToken *StandardTokenTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*StandardTokenTransactorRaw) Transfer ¶
func (_StandardToken *StandardTokenTransactorRaw) 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 StandardTokenTransactorSession ¶
type StandardTokenTransactorSession struct { Contract *StandardTokenTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
StandardTokenTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*StandardTokenTransactorSession) Approve ¶
func (_StandardToken *StandardTokenTransactorSession) 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 (*StandardTokenTransactorSession) DecreaseApproval ¶
func (_StandardToken *StandardTokenTransactorSession) DecreaseApproval(_spender common.Address, _subtractedValue *big.Int) (*types.Transaction, error)
DecreaseApproval is a paid mutator transaction binding the contract method 0x66188463.
Solidity: function decreaseApproval(_spender address, _subtractedValue uint256) returns(bool)
func (*StandardTokenTransactorSession) IncreaseApproval ¶
func (_StandardToken *StandardTokenTransactorSession) IncreaseApproval(_spender common.Address, _addedValue *big.Int) (*types.Transaction, error)
IncreaseApproval is a paid mutator transaction binding the contract method 0xd73dd623.
Solidity: function increaseApproval(_spender address, _addedValue uint256) returns(bool)
func (*StandardTokenTransactorSession) Transfer ¶
func (_StandardToken *StandardTokenTransactorSession) 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 (*StandardTokenTransactorSession) TransferFrom ¶
func (_StandardToken *StandardTokenTransactorSession) 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 StandardTokenTransfer ¶
type StandardTokenTransfer struct { From common.Address To common.Address Value *big.Int Raw types.Log // Blockchain specific contextual infos }
StandardTokenTransfer represents a Transfer event raised by the StandardToken contract.
type StandardTokenTransferIterator ¶
type StandardTokenTransferIterator struct { Event *StandardTokenTransfer // Event containing the contract specifics and raw log // contains filtered or unexported fields }
StandardTokenTransferIterator is returned from FilterTransfer and is used to iterate over the raw logs and unpacked data for Transfer events raised by the StandardToken contract.
func (*StandardTokenTransferIterator) Close ¶
func (it *StandardTokenTransferIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*StandardTokenTransferIterator) Error ¶
func (it *StandardTokenTransferIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*StandardTokenTransferIterator) Next ¶
func (it *StandardTokenTransferIterator) 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.