Documentation
¶
Index ¶
- Variables
- type GamInfoOnChain
- type KolKeySimple
- type KolKeySimpleAdminOperation
- type KolKeySimpleAdminOperationIterator
- type KolKeySimpleCaller
- func (_KolKeySimple *KolKeySimpleCaller) Admins(opts *bind.CallOpts, arg0 common.Address) (bool, error)
- func (_KolKeySimple *KolKeySimpleCaller) AllIncomeOfAllKol(opts *bind.CallOpts, investor common.Address) (*big.Int, error)
- func (_KolKeySimple *KolKeySimpleCaller) AllIncomeOfOneKol(opts *bind.CallOpts, kol common.Address, investor common.Address) (*big.Int, error)
- func (_KolKeySimple *KolKeySimpleCaller) AllKolAddr(opts *bind.CallOpts) ([]common.Address, error)
- func (_KolKeySimple *KolKeySimpleCaller) AllKolInSystem(opts *bind.CallOpts, arg0 *big.Int) (common.Address, error)
- func (_KolKeySimple *KolKeySimpleCaller) Balance(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)
- func (_KolKeySimple *KolKeySimpleCaller) CheckPluginInterface(opts *bind.CallOpts) (bool, error)
- func (_KolKeySimple *KolKeySimpleCaller) GetOwner(opts *bind.CallOpts) (common.Address, error)
- func (_KolKeySimple *KolKeySimpleCaller) IncomeOfOneNonce(opts *bind.CallOpts, kol common.Address, nonce *big.Int, ...) (*big.Int, error)
- func (_KolKeySimple *KolKeySimpleCaller) IncomeOfOneNonceByAmount(opts *bind.CallOpts, kol common.Address, nonce *big.Int, amount *big.Int) (*big.Int, error)
- func (_KolKeySimple *KolKeySimpleCaller) IncomePerNoncePerKey(opts *bind.CallOpts, arg0 common.Address, arg1 *big.Int) (*big.Int, error)
- func (_KolKeySimple *KolKeySimpleCaller) InvestorAllKeysOfKol(opts *bind.CallOpts, investor common.Address, kol common.Address) (struct{ ... }, error)
- func (_KolKeySimple *KolKeySimpleCaller) InvestorOfKol(opts *bind.CallOpts, kol common.Address) ([]common.Address, error)
- func (_KolKeySimple *KolKeySimpleCaller) KeySettingsRecord(opts *bind.CallOpts, arg0 common.Address) (struct{ ... }, error)
- func (_KolKeySimple *KolKeySimpleCaller) KolIncomeRatePerKeyBuy(opts *bind.CallOpts) (uint8, error)
- func (_KolKeySimple *KolKeySimpleCaller) KolOfOneInvestor(opts *bind.CallOpts, investor common.Address) ([]common.Address, error)
- func (_KolKeySimple *KolKeySimpleCaller) KolOpenKeyPool(opts *bind.CallOpts, sourceAddr common.Address) (bool, error)
- func (_KolKeySimple *KolKeySimpleCaller) MaxKeyNoForKol(opts *bind.CallOpts) (*big.Int, error)
- func (_KolKeySimple *KolKeySimpleCaller) MinValCheck(opts *bind.CallOpts) (*big.Int, error)
- func (_KolKeySimple *KolKeySimpleCaller) ServiceFeeRatePerKeyBuy(opts *bind.CallOpts) (uint8, error)
- func (_KolKeySimple *KolKeySimpleCaller) ServiceFeeReceived(opts *bind.CallOpts) (*big.Int, error)
- func (_KolKeySimple *KolKeySimpleCaller) WithdrawFeeRate(opts *bind.CallOpts) (*big.Int, error)
- type KolKeySimpleCallerRaw
- type KolKeySimpleCallerSession
- func (_KolKeySimple *KolKeySimpleCallerSession) Admins(arg0 common.Address) (bool, error)
- func (_KolKeySimple *KolKeySimpleCallerSession) AllIncomeOfAllKol(investor common.Address) (*big.Int, error)
- func (_KolKeySimple *KolKeySimpleCallerSession) AllIncomeOfOneKol(kol common.Address, investor common.Address) (*big.Int, error)
- func (_KolKeySimple *KolKeySimpleCallerSession) AllKolAddr() ([]common.Address, error)
- func (_KolKeySimple *KolKeySimpleCallerSession) AllKolInSystem(arg0 *big.Int) (common.Address, error)
- func (_KolKeySimple *KolKeySimpleCallerSession) Balance(arg0 common.Address) (*big.Int, error)
- func (_KolKeySimple *KolKeySimpleCallerSession) CheckPluginInterface() (bool, error)
- func (_KolKeySimple *KolKeySimpleCallerSession) GetOwner() (common.Address, error)
- func (_KolKeySimple *KolKeySimpleCallerSession) IncomeOfOneNonce(kol common.Address, nonce *big.Int, investor common.Address) (*big.Int, error)
- func (_KolKeySimple *KolKeySimpleCallerSession) IncomeOfOneNonceByAmount(kol common.Address, nonce *big.Int, amount *big.Int) (*big.Int, error)
- func (_KolKeySimple *KolKeySimpleCallerSession) IncomePerNoncePerKey(arg0 common.Address, arg1 *big.Int) (*big.Int, error)
- func (_KolKeySimple *KolKeySimpleCallerSession) InvestorAllKeysOfKol(investor common.Address, kol common.Address) (struct{ ... }, error)
- func (_KolKeySimple *KolKeySimpleCallerSession) InvestorOfKol(kol common.Address) ([]common.Address, error)
- func (_KolKeySimple *KolKeySimpleCallerSession) KeySettingsRecord(arg0 common.Address) (struct{ ... }, error)
- func (_KolKeySimple *KolKeySimpleCallerSession) KolIncomeRatePerKeyBuy() (uint8, error)
- func (_KolKeySimple *KolKeySimpleCallerSession) KolOfOneInvestor(investor common.Address) ([]common.Address, error)
- func (_KolKeySimple *KolKeySimpleCallerSession) KolOpenKeyPool(sourceAddr common.Address) (bool, error)
- func (_KolKeySimple *KolKeySimpleCallerSession) MaxKeyNoForKol() (*big.Int, error)
- func (_KolKeySimple *KolKeySimpleCallerSession) MinValCheck() (*big.Int, error)
- func (_KolKeySimple *KolKeySimpleCallerSession) ServiceFeeRatePerKeyBuy() (uint8, error)
- func (_KolKeySimple *KolKeySimpleCallerSession) ServiceFeeReceived() (*big.Int, error)
- func (_KolKeySimple *KolKeySimpleCallerSession) WithdrawFeeRate() (*big.Int, error)
- type KolKeySimpleFilterer
- func (_KolKeySimple *KolKeySimpleFilterer) FilterAdminOperation(opts *bind.FilterOpts) (*KolKeySimpleAdminOperationIterator, error)
- func (_KolKeySimple *KolKeySimpleFilterer) FilterInvestorWithdrawAllIncome(opts *bind.FilterOpts) (*KolKeySimpleInvestorWithdrawAllIncomeIterator, error)
- func (_KolKeySimple *KolKeySimpleFilterer) FilterInvestorWithdrawByOneKol(opts *bind.FilterOpts) (*KolKeySimpleInvestorWithdrawByOneKolIterator, error)
- func (_KolKeySimple *KolKeySimpleFilterer) FilterInvestorWithdrawByOneNonce(opts *bind.FilterOpts) (*KolKeySimpleInvestorWithdrawByOneNonceIterator, error)
- func (_KolKeySimple *KolKeySimpleFilterer) FilterKeyRebound(opts *bind.FilterOpts) (*KolKeySimpleKeyReboundIterator, error)
- func (_KolKeySimple *KolKeySimpleFilterer) FilterKeyTransfer(opts *bind.FilterOpts) (*KolKeySimpleKeyTransferIterator, error)
- func (_KolKeySimple *KolKeySimpleFilterer) FilterKeyTransferAll(opts *bind.FilterOpts) (*KolKeySimpleKeyTransferAllIterator, error)
- func (_KolKeySimple *KolKeySimpleFilterer) FilterKolIncomeToPoolAction(opts *bind.FilterOpts) (*KolKeySimpleKolIncomeToPoolActionIterator, error)
- func (_KolKeySimple *KolKeySimpleFilterer) FilterKolKeyBought(opts *bind.FilterOpts) (*KolKeySimpleKolKeyBoughtIterator, error)
- func (_KolKeySimple *KolKeySimpleFilterer) FilterKolKeyOpened(opts *bind.FilterOpts) (*KolKeySimpleKolKeyOpenedIterator, error)
- func (_KolKeySimple *KolKeySimpleFilterer) FilterOwnerSet(opts *bind.FilterOpts, oldOwner []common.Address, newOwner []common.Address) (*KolKeySimpleOwnerSetIterator, error)
- func (_KolKeySimple *KolKeySimpleFilterer) FilterServiceFeeChanged(opts *bind.FilterOpts) (*KolKeySimpleServiceFeeChangedIterator, error)
- func (_KolKeySimple *KolKeySimpleFilterer) FilterSystemSet(opts *bind.FilterOpts) (*KolKeySimpleSystemSetIterator, error)
- func (_KolKeySimple *KolKeySimpleFilterer) FilterUpgradeToNewRule(opts *bind.FilterOpts) (*KolKeySimpleUpgradeToNewRuleIterator, error)
- func (_KolKeySimple *KolKeySimpleFilterer) FilterWithdrawService(opts *bind.FilterOpts) (*KolKeySimpleWithdrawServiceIterator, error)
- func (_KolKeySimple *KolKeySimpleFilterer) ParseAdminOperation(log types.Log) (*KolKeySimpleAdminOperation, error)
- func (_KolKeySimple *KolKeySimpleFilterer) ParseInvestorWithdrawAllIncome(log types.Log) (*KolKeySimpleInvestorWithdrawAllIncome, error)
- func (_KolKeySimple *KolKeySimpleFilterer) ParseInvestorWithdrawByOneKol(log types.Log) (*KolKeySimpleInvestorWithdrawByOneKol, error)
- func (_KolKeySimple *KolKeySimpleFilterer) ParseInvestorWithdrawByOneNonce(log types.Log) (*KolKeySimpleInvestorWithdrawByOneNonce, error)
- func (_KolKeySimple *KolKeySimpleFilterer) ParseKeyRebound(log types.Log) (*KolKeySimpleKeyRebound, error)
- func (_KolKeySimple *KolKeySimpleFilterer) ParseKeyTransfer(log types.Log) (*KolKeySimpleKeyTransfer, error)
- func (_KolKeySimple *KolKeySimpleFilterer) ParseKeyTransferAll(log types.Log) (*KolKeySimpleKeyTransferAll, error)
- func (_KolKeySimple *KolKeySimpleFilterer) ParseKolIncomeToPoolAction(log types.Log) (*KolKeySimpleKolIncomeToPoolAction, error)
- func (_KolKeySimple *KolKeySimpleFilterer) ParseKolKeyBought(log types.Log) (*KolKeySimpleKolKeyBought, error)
- func (_KolKeySimple *KolKeySimpleFilterer) ParseKolKeyOpened(log types.Log) (*KolKeySimpleKolKeyOpened, error)
- func (_KolKeySimple *KolKeySimpleFilterer) ParseOwnerSet(log types.Log) (*KolKeySimpleOwnerSet, error)
- func (_KolKeySimple *KolKeySimpleFilterer) ParseServiceFeeChanged(log types.Log) (*KolKeySimpleServiceFeeChanged, error)
- func (_KolKeySimple *KolKeySimpleFilterer) ParseSystemSet(log types.Log) (*KolKeySimpleSystemSet, error)
- func (_KolKeySimple *KolKeySimpleFilterer) ParseUpgradeToNewRule(log types.Log) (*KolKeySimpleUpgradeToNewRule, error)
- func (_KolKeySimple *KolKeySimpleFilterer) ParseWithdrawService(log types.Log) (*KolKeySimpleWithdrawService, error)
- func (_KolKeySimple *KolKeySimpleFilterer) WatchAdminOperation(opts *bind.WatchOpts, sink chan<- *KolKeySimpleAdminOperation) (event.Subscription, error)
- func (_KolKeySimple *KolKeySimpleFilterer) WatchInvestorWithdrawAllIncome(opts *bind.WatchOpts, sink chan<- *KolKeySimpleInvestorWithdrawAllIncome) (event.Subscription, error)
- func (_KolKeySimple *KolKeySimpleFilterer) WatchInvestorWithdrawByOneKol(opts *bind.WatchOpts, sink chan<- *KolKeySimpleInvestorWithdrawByOneKol) (event.Subscription, error)
- func (_KolKeySimple *KolKeySimpleFilterer) WatchInvestorWithdrawByOneNonce(opts *bind.WatchOpts, sink chan<- *KolKeySimpleInvestorWithdrawByOneNonce) (event.Subscription, error)
- func (_KolKeySimple *KolKeySimpleFilterer) WatchKeyRebound(opts *bind.WatchOpts, sink chan<- *KolKeySimpleKeyRebound) (event.Subscription, error)
- func (_KolKeySimple *KolKeySimpleFilterer) WatchKeyTransfer(opts *bind.WatchOpts, sink chan<- *KolKeySimpleKeyTransfer) (event.Subscription, error)
- func (_KolKeySimple *KolKeySimpleFilterer) WatchKeyTransferAll(opts *bind.WatchOpts, sink chan<- *KolKeySimpleKeyTransferAll) (event.Subscription, error)
- func (_KolKeySimple *KolKeySimpleFilterer) WatchKolIncomeToPoolAction(opts *bind.WatchOpts, sink chan<- *KolKeySimpleKolIncomeToPoolAction) (event.Subscription, error)
- func (_KolKeySimple *KolKeySimpleFilterer) WatchKolKeyBought(opts *bind.WatchOpts, sink chan<- *KolKeySimpleKolKeyBought) (event.Subscription, error)
- func (_KolKeySimple *KolKeySimpleFilterer) WatchKolKeyOpened(opts *bind.WatchOpts, sink chan<- *KolKeySimpleKolKeyOpened) (event.Subscription, error)
- func (_KolKeySimple *KolKeySimpleFilterer) WatchOwnerSet(opts *bind.WatchOpts, sink chan<- *KolKeySimpleOwnerSet, ...) (event.Subscription, error)
- func (_KolKeySimple *KolKeySimpleFilterer) WatchServiceFeeChanged(opts *bind.WatchOpts, sink chan<- *KolKeySimpleServiceFeeChanged) (event.Subscription, error)
- func (_KolKeySimple *KolKeySimpleFilterer) WatchSystemSet(opts *bind.WatchOpts, sink chan<- *KolKeySimpleSystemSet) (event.Subscription, error)
- func (_KolKeySimple *KolKeySimpleFilterer) WatchUpgradeToNewRule(opts *bind.WatchOpts, sink chan<- *KolKeySimpleUpgradeToNewRule) (event.Subscription, error)
- func (_KolKeySimple *KolKeySimpleFilterer) WatchWithdrawService(opts *bind.WatchOpts, sink chan<- *KolKeySimpleWithdrawService) (event.Subscription, error)
- type KolKeySimpleInvestorWithdrawAllIncome
- type KolKeySimpleInvestorWithdrawAllIncomeIterator
- type KolKeySimpleInvestorWithdrawByOneKol
- type KolKeySimpleInvestorWithdrawByOneKolIterator
- type KolKeySimpleInvestorWithdrawByOneNonce
- type KolKeySimpleInvestorWithdrawByOneNonceIterator
- type KolKeySimpleKeyRebound
- type KolKeySimpleKeyReboundIterator
- type KolKeySimpleKeyTransfer
- type KolKeySimpleKeyTransferAll
- type KolKeySimpleKeyTransferAllIterator
- type KolKeySimpleKeyTransferIterator
- type KolKeySimpleKolIncomeToPoolAction
- type KolKeySimpleKolIncomeToPoolActionIterator
- type KolKeySimpleKolKeyBought
- type KolKeySimpleKolKeyBoughtIterator
- type KolKeySimpleKolKeyOpened
- type KolKeySimpleKolKeyOpenedIterator
- type KolKeySimpleOwnerSet
- type KolKeySimpleOwnerSetIterator
- type KolKeySimpleRaw
- func (_KolKeySimple *KolKeySimpleRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_KolKeySimple *KolKeySimpleRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_KolKeySimple *KolKeySimpleRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type KolKeySimpleServiceFeeChanged
- type KolKeySimpleServiceFeeChangedIterator
- type KolKeySimpleSession
- func (_KolKeySimple *KolKeySimpleSession) AdminOperation(admin common.Address, isDelete bool) (*types.Transaction, error)
- func (_KolKeySimple *KolKeySimpleSession) AdminServiceFeeWithdraw() (*types.Transaction, error)
- func (_KolKeySimple *KolKeySimpleSession) AdminSetKeyFeeRate(newRate uint8) (*types.Transaction, error)
- func (_KolKeySimple *KolKeySimpleSession) AdminSetKolIncomeRate(newRate uint8) (*types.Transaction, error)
- func (_KolKeySimple *KolKeySimpleSession) AdminSetMaxKolKeyNo(keyNo *big.Int) (*types.Transaction, error)
- func (_KolKeySimple *KolKeySimpleSession) AdminSetWithdrawFeeRate(newRate uint8) (*types.Transaction, error)
- func (_KolKeySimple *KolKeySimpleSession) AdminUpgradeToNewRule(recipient common.Address) (*types.Transaction, error)
- func (_KolKeySimple *KolKeySimpleSession) Admins(arg0 common.Address) (bool, error)
- func (_KolKeySimple *KolKeySimpleSession) AllIncomeOfAllKol(investor common.Address) (*big.Int, error)
- func (_KolKeySimple *KolKeySimpleSession) AllIncomeOfOneKol(kol common.Address, investor common.Address) (*big.Int, error)
- func (_KolKeySimple *KolKeySimpleSession) AllKolAddr() ([]common.Address, error)
- func (_KolKeySimple *KolKeySimpleSession) AllKolInSystem(arg0 *big.Int) (common.Address, error)
- func (_KolKeySimple *KolKeySimpleSession) Balance(arg0 common.Address) (*big.Int, error)
- func (_KolKeySimple *KolKeySimpleSession) BuyKolKey(kolAddr common.Address, keyNo *big.Int) (*types.Transaction, error)
- func (_KolKeySimple *KolKeySimpleSession) ChangeOwner(newOwner common.Address) (*types.Transaction, error)
- func (_KolKeySimple *KolKeySimpleSession) ChangeStatus(stop bool) (*types.Transaction, error)
- func (_KolKeySimple *KolKeySimpleSession) CheckPluginInterface() (bool, error)
- func (_KolKeySimple *KolKeySimpleSession) GetOwner() (common.Address, error)
- func (_KolKeySimple *KolKeySimpleSession) IncomeOfOneNonce(kol common.Address, nonce *big.Int, investor common.Address) (*big.Int, error)
- func (_KolKeySimple *KolKeySimpleSession) IncomeOfOneNonceByAmount(kol common.Address, nonce *big.Int, amount *big.Int) (*big.Int, error)
- func (_KolKeySimple *KolKeySimpleSession) IncomePerNoncePerKey(arg0 common.Address, arg1 *big.Int) (*big.Int, error)
- func (_KolKeySimple *KolKeySimpleSession) InvestorAllKeysOfKol(investor common.Address, kol common.Address) (struct{ ... }, error)
- func (_KolKeySimple *KolKeySimpleSession) InvestorOfKol(kol common.Address) ([]common.Address, error)
- func (_KolKeySimple *KolKeySimpleSession) KeySettingsRecord(arg0 common.Address) (struct{ ... }, error)
- func (_KolKeySimple *KolKeySimpleSession) KolGotIncome(sourceID int8, kolAddr common.Address) (*types.Transaction, error)
- func (_KolKeySimple *KolKeySimpleSession) KolIncomeRatePerKeyBuy() (uint8, error)
- func (_KolKeySimple *KolKeySimpleSession) KolOfOneInvestor(investor common.Address) ([]common.Address, error)
- func (_KolKeySimple *KolKeySimpleSession) KolOpenKeyPool(sourceAddr common.Address) (bool, error)
- func (_KolKeySimple *KolKeySimpleSession) KolOpenKeySale(priceInFin *big.Int) (*types.Transaction, error)
- func (_KolKeySimple *KolKeySimpleSession) MaxKeyNoForKol() (*big.Int, error)
- func (_KolKeySimple *KolKeySimpleSession) MinValCheck() (*big.Int, error)
- func (_KolKeySimple *KolKeySimpleSession) RebindKolKey(to common.Address) (*types.Transaction, error)
- func (_KolKeySimple *KolKeySimpleSession) Receive() (*types.Transaction, error)
- func (_KolKeySimple *KolKeySimpleSession) ServiceFeeRatePerKeyBuy() (uint8, error)
- func (_KolKeySimple *KolKeySimpleSession) ServiceFeeReceived() (*big.Int, error)
- func (_KolKeySimple *KolKeySimpleSession) TransferAllKey(to common.Address, kol common.Address) (*types.Transaction, error)
- func (_KolKeySimple *KolKeySimpleSession) TransferKey(to common.Address, kol common.Address, nonce *big.Int, amount *big.Int) (*types.Transaction, error)
- func (_KolKeySimple *KolKeySimpleSession) WithdrawAllIncome() (*types.Transaction, error)
- func (_KolKeySimple *KolKeySimpleSession) WithdrawFeeRate() (*big.Int, error)
- func (_KolKeySimple *KolKeySimpleSession) WithdrawFromOneKol(kol common.Address) (*types.Transaction, error)
- func (_KolKeySimple *KolKeySimpleSession) WithdrawFromOneNonce(kol common.Address, nonce *big.Int) (*types.Transaction, error)
- type KolKeySimpleSystemSet
- type KolKeySimpleSystemSetIterator
- type KolKeySimpleTransactor
- func (_KolKeySimple *KolKeySimpleTransactor) AdminOperation(opts *bind.TransactOpts, admin common.Address, isDelete bool) (*types.Transaction, error)
- func (_KolKeySimple *KolKeySimpleTransactor) AdminServiceFeeWithdraw(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_KolKeySimple *KolKeySimpleTransactor) AdminSetKeyFeeRate(opts *bind.TransactOpts, newRate uint8) (*types.Transaction, error)
- func (_KolKeySimple *KolKeySimpleTransactor) AdminSetKolIncomeRate(opts *bind.TransactOpts, newRate uint8) (*types.Transaction, error)
- func (_KolKeySimple *KolKeySimpleTransactor) AdminSetMaxKolKeyNo(opts *bind.TransactOpts, keyNo *big.Int) (*types.Transaction, error)
- func (_KolKeySimple *KolKeySimpleTransactor) AdminSetWithdrawFeeRate(opts *bind.TransactOpts, newRate uint8) (*types.Transaction, error)
- func (_KolKeySimple *KolKeySimpleTransactor) AdminUpgradeToNewRule(opts *bind.TransactOpts, recipient common.Address) (*types.Transaction, error)
- func (_KolKeySimple *KolKeySimpleTransactor) BuyKolKey(opts *bind.TransactOpts, kolAddr common.Address, keyNo *big.Int) (*types.Transaction, error)
- func (_KolKeySimple *KolKeySimpleTransactor) ChangeOwner(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)
- func (_KolKeySimple *KolKeySimpleTransactor) ChangeStatus(opts *bind.TransactOpts, stop bool) (*types.Transaction, error)
- func (_KolKeySimple *KolKeySimpleTransactor) KolGotIncome(opts *bind.TransactOpts, sourceID int8, kolAddr common.Address) (*types.Transaction, error)
- func (_KolKeySimple *KolKeySimpleTransactor) KolOpenKeySale(opts *bind.TransactOpts, priceInFin *big.Int) (*types.Transaction, error)
- func (_KolKeySimple *KolKeySimpleTransactor) RebindKolKey(opts *bind.TransactOpts, to common.Address) (*types.Transaction, error)
- func (_KolKeySimple *KolKeySimpleTransactor) Receive(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_KolKeySimple *KolKeySimpleTransactor) TransferAllKey(opts *bind.TransactOpts, to common.Address, kol common.Address) (*types.Transaction, error)
- func (_KolKeySimple *KolKeySimpleTransactor) TransferKey(opts *bind.TransactOpts, to common.Address, kol common.Address, nonce *big.Int, ...) (*types.Transaction, error)
- func (_KolKeySimple *KolKeySimpleTransactor) WithdrawAllIncome(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_KolKeySimple *KolKeySimpleTransactor) WithdrawFromOneKol(opts *bind.TransactOpts, kol common.Address) (*types.Transaction, error)
- func (_KolKeySimple *KolKeySimpleTransactor) WithdrawFromOneNonce(opts *bind.TransactOpts, kol common.Address, nonce *big.Int) (*types.Transaction, error)
- type KolKeySimpleTransactorRaw
- type KolKeySimpleTransactorSession
- func (_KolKeySimple *KolKeySimpleTransactorSession) AdminOperation(admin common.Address, isDelete bool) (*types.Transaction, error)
- func (_KolKeySimple *KolKeySimpleTransactorSession) AdminServiceFeeWithdraw() (*types.Transaction, error)
- func (_KolKeySimple *KolKeySimpleTransactorSession) AdminSetKeyFeeRate(newRate uint8) (*types.Transaction, error)
- func (_KolKeySimple *KolKeySimpleTransactorSession) AdminSetKolIncomeRate(newRate uint8) (*types.Transaction, error)
- func (_KolKeySimple *KolKeySimpleTransactorSession) AdminSetMaxKolKeyNo(keyNo *big.Int) (*types.Transaction, error)
- func (_KolKeySimple *KolKeySimpleTransactorSession) AdminSetWithdrawFeeRate(newRate uint8) (*types.Transaction, error)
- func (_KolKeySimple *KolKeySimpleTransactorSession) AdminUpgradeToNewRule(recipient common.Address) (*types.Transaction, error)
- func (_KolKeySimple *KolKeySimpleTransactorSession) BuyKolKey(kolAddr common.Address, keyNo *big.Int) (*types.Transaction, error)
- func (_KolKeySimple *KolKeySimpleTransactorSession) ChangeOwner(newOwner common.Address) (*types.Transaction, error)
- func (_KolKeySimple *KolKeySimpleTransactorSession) ChangeStatus(stop bool) (*types.Transaction, error)
- func (_KolKeySimple *KolKeySimpleTransactorSession) KolGotIncome(sourceID int8, kolAddr common.Address) (*types.Transaction, error)
- func (_KolKeySimple *KolKeySimpleTransactorSession) KolOpenKeySale(priceInFin *big.Int) (*types.Transaction, error)
- func (_KolKeySimple *KolKeySimpleTransactorSession) RebindKolKey(to common.Address) (*types.Transaction, error)
- func (_KolKeySimple *KolKeySimpleTransactorSession) Receive() (*types.Transaction, error)
- func (_KolKeySimple *KolKeySimpleTransactorSession) TransferAllKey(to common.Address, kol common.Address) (*types.Transaction, error)
- func (_KolKeySimple *KolKeySimpleTransactorSession) TransferKey(to common.Address, kol common.Address, nonce *big.Int, amount *big.Int) (*types.Transaction, error)
- func (_KolKeySimple *KolKeySimpleTransactorSession) WithdrawAllIncome() (*types.Transaction, error)
- func (_KolKeySimple *KolKeySimpleTransactorSession) WithdrawFromOneKol(kol common.Address) (*types.Transaction, error)
- func (_KolKeySimple *KolKeySimpleTransactorSession) WithdrawFromOneNonce(kol common.Address, nonce *big.Int) (*types.Transaction, error)
- type KolKeySimpleUpgradeToNewRule
- type KolKeySimpleUpgradeToNewRuleIterator
- type KolKeySimpleWithdrawService
- type KolKeySimpleWithdrawServiceIterator
- type KolKeys
- type KolKeysAdminOperation
- type KolKeysAdminOperationIterator
- type KolKeysCaller
- func (_KolKeys *KolKeysCaller) Admins(opts *bind.CallOpts, arg0 common.Address) (bool, error)
- func (_KolKeys *KolKeysCaller) AllIncomeOfAllKol(opts *bind.CallOpts, investor common.Address) (*big.Int, error)
- func (_KolKeys *KolKeysCaller) AllIncomeOfOneKol(opts *bind.CallOpts, kol common.Address, investor common.Address) (*big.Int, error)
- func (_KolKeys *KolKeysCaller) AuctionData(opts *bind.CallOpts, start *big.Int, no *big.Int) ([]KolKeysKeyAuction, error)
- func (_KolKeys *KolKeysCaller) AuctionIdxMap(opts *bind.CallOpts, arg0 *big.Int) (*big.Int, error)
- func (_KolKeys *KolKeysCaller) Balance(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)
- func (_KolKeys *KolKeysCaller) CheckPluginInterface(opts *bind.CallOpts) (bool, error)
- func (_KolKeys *KolKeysCaller) CurrentAuctionID(opts *bind.CallOpts) (*big.Int, error)
- func (_KolKeys *KolKeysCaller) FeeForKeyBiddig(opts *bind.CallOpts) (*big.Int, error)
- func (_KolKeys *KolKeysCaller) FeeForKolKeyOp(opts *bind.CallOpts) (*big.Int, error)
- func (_KolKeys *KolKeysCaller) GetOwner(opts *bind.CallOpts) (common.Address, error)
- func (_KolKeys *KolKeysCaller) IncomeOfOneNonce(opts *bind.CallOpts, kol common.Address, nonce *big.Int, amount *big.Int) (*big.Int, error)
- func (_KolKeys *KolKeysCaller) IncomePerNoncePerKey(opts *bind.CallOpts, arg0 common.Address, arg1 *big.Int) (*big.Int, error)
- func (_KolKeys *KolKeysCaller) InvestorAllKeysOfKol(opts *bind.CallOpts, investor common.Address, kol common.Address) (struct{ ... }, error)
- func (_KolKeys *KolKeysCaller) InvestorOfKol(opts *bind.CallOpts, kol common.Address) ([]common.Address, error)
- func (_KolKeys *KolKeysCaller) KeyInAuction(opts *bind.CallOpts, arg0 *big.Int) (struct{ ... }, error)
- func (_KolKeys *KolKeysCaller) KeySettingsRecord(opts *bind.CallOpts, arg0 common.Address) (struct{ ... }, error)
- func (_KolKeys *KolKeysCaller) KeyStatusOfKol(opts *bind.CallOpts, kol common.Address) (KolKeysKeySettings, error)
- func (_KolKeys *KolKeysCaller) KolIncomeRatePerKeyBuy(opts *bind.CallOpts) (uint8, error)
- func (_KolKeys *KolKeysCaller) KolOfOneInvestor(opts *bind.CallOpts, investor common.Address) ([]common.Address, error)
- func (_KolKeys *KolKeysCaller) MinValCheck(opts *bind.CallOpts) (*big.Int, error)
- func (_KolKeys *KolKeysCaller) ServiceFeeRatePerKeyBuy(opts *bind.CallOpts) (uint8, error)
- func (_KolKeys *KolKeysCaller) ServiceFeeReceived(opts *bind.CallOpts) (*big.Int, error)
- func (_KolKeys *KolKeysCaller) WithdrawFeeRate(opts *bind.CallOpts) (*big.Int, error)
- type KolKeysCallerRaw
- type KolKeysCallerSession
- func (_KolKeys *KolKeysCallerSession) Admins(arg0 common.Address) (bool, error)
- func (_KolKeys *KolKeysCallerSession) AllIncomeOfAllKol(investor common.Address) (*big.Int, error)
- func (_KolKeys *KolKeysCallerSession) AllIncomeOfOneKol(kol common.Address, investor common.Address) (*big.Int, error)
- func (_KolKeys *KolKeysCallerSession) AuctionData(start *big.Int, no *big.Int) ([]KolKeysKeyAuction, error)
- func (_KolKeys *KolKeysCallerSession) AuctionIdxMap(arg0 *big.Int) (*big.Int, error)
- func (_KolKeys *KolKeysCallerSession) Balance(arg0 common.Address) (*big.Int, error)
- func (_KolKeys *KolKeysCallerSession) CheckPluginInterface() (bool, error)
- func (_KolKeys *KolKeysCallerSession) CurrentAuctionID() (*big.Int, error)
- func (_KolKeys *KolKeysCallerSession) FeeForKeyBiddig() (*big.Int, error)
- func (_KolKeys *KolKeysCallerSession) FeeForKolKeyOp() (*big.Int, error)
- func (_KolKeys *KolKeysCallerSession) GetOwner() (common.Address, error)
- func (_KolKeys *KolKeysCallerSession) IncomeOfOneNonce(kol common.Address, nonce *big.Int, amount *big.Int) (*big.Int, error)
- func (_KolKeys *KolKeysCallerSession) IncomePerNoncePerKey(arg0 common.Address, arg1 *big.Int) (*big.Int, error)
- func (_KolKeys *KolKeysCallerSession) InvestorAllKeysOfKol(investor common.Address, kol common.Address) (struct{ ... }, error)
- func (_KolKeys *KolKeysCallerSession) InvestorOfKol(kol common.Address) ([]common.Address, error)
- func (_KolKeys *KolKeysCallerSession) KeyInAuction(arg0 *big.Int) (struct{ ... }, error)
- func (_KolKeys *KolKeysCallerSession) KeySettingsRecord(arg0 common.Address) (struct{ ... }, error)
- func (_KolKeys *KolKeysCallerSession) KeyStatusOfKol(kol common.Address) (KolKeysKeySettings, error)
- func (_KolKeys *KolKeysCallerSession) KolIncomeRatePerKeyBuy() (uint8, error)
- func (_KolKeys *KolKeysCallerSession) KolOfOneInvestor(investor common.Address) ([]common.Address, error)
- func (_KolKeys *KolKeysCallerSession) MinValCheck() (*big.Int, error)
- func (_KolKeys *KolKeysCallerSession) ServiceFeeRatePerKeyBuy() (uint8, error)
- func (_KolKeys *KolKeysCallerSession) ServiceFeeReceived() (*big.Int, error)
- func (_KolKeys *KolKeysCallerSession) WithdrawFeeRate() (*big.Int, error)
- type KolKeysFilterer
- func (_KolKeys *KolKeysFilterer) FilterAdminOperation(opts *bind.FilterOpts) (*KolKeysAdminOperationIterator, error)
- func (_KolKeys *KolKeysFilterer) FilterInvestorWithdrawAllIncome(opts *bind.FilterOpts) (*KolKeysInvestorWithdrawAllIncomeIterator, error)
- func (_KolKeys *KolKeysFilterer) FilterInvestorWithdrawByOneKol(opts *bind.FilterOpts) (*KolKeysInvestorWithdrawByOneKolIterator, error)
- func (_KolKeys *KolKeysFilterer) FilterInvestorWithdrawByOneNonce(opts *bind.FilterOpts) (*KolKeysInvestorWithdrawByOneNonceIterator, error)
- func (_KolKeys *KolKeysFilterer) FilterKeyAuctionAction(opts *bind.FilterOpts) (*KolKeysKeyAuctionActionIterator, error)
- func (_KolKeys *KolKeysFilterer) FilterKeyTransfered(opts *bind.FilterOpts) (*KolKeysKeyTransferedIterator, error)
- func (_KolKeys *KolKeysFilterer) FilterKeyTransferedAll(opts *bind.FilterOpts) (*KolKeysKeyTransferedAllIterator, error)
- func (_KolKeys *KolKeysFilterer) FilterKolIpRightBought(opts *bind.FilterOpts) (*KolKeysKolIpRightBoughtIterator, error)
- func (_KolKeys *KolKeysFilterer) FilterKolKeyOperation(opts *bind.FilterOpts) (*KolKeysKolKeyOperationIterator, error)
- func (_KolKeys *KolKeysFilterer) FilterOwnerSet(opts *bind.FilterOpts, oldOwner []common.Address, newOwner []common.Address) (*KolKeysOwnerSetIterator, error)
- func (_KolKeys *KolKeysFilterer) FilterServiceFeeChanged(opts *bind.FilterOpts) (*KolKeysServiceFeeChangedIterator, error)
- func (_KolKeys *KolKeysFilterer) FilterSystemSet(opts *bind.FilterOpts) (*KolKeysSystemSetIterator, error)
- func (_KolKeys *KolKeysFilterer) FilterTweetBought(opts *bind.FilterOpts) (*KolKeysTweetBoughtIterator, error)
- func (_KolKeys *KolKeysFilterer) FilterUpgradeToNewRule(opts *bind.FilterOpts) (*KolKeysUpgradeToNewRuleIterator, error)
- func (_KolKeys *KolKeysFilterer) FilterWithdrawService(opts *bind.FilterOpts) (*KolKeysWithdrawServiceIterator, error)
- func (_KolKeys *KolKeysFilterer) ParseAdminOperation(log types.Log) (*KolKeysAdminOperation, error)
- func (_KolKeys *KolKeysFilterer) ParseInvestorWithdrawAllIncome(log types.Log) (*KolKeysInvestorWithdrawAllIncome, error)
- func (_KolKeys *KolKeysFilterer) ParseInvestorWithdrawByOneKol(log types.Log) (*KolKeysInvestorWithdrawByOneKol, error)
- func (_KolKeys *KolKeysFilterer) ParseInvestorWithdrawByOneNonce(log types.Log) (*KolKeysInvestorWithdrawByOneNonce, error)
- func (_KolKeys *KolKeysFilterer) ParseKeyAuctionAction(log types.Log) (*KolKeysKeyAuctionAction, error)
- func (_KolKeys *KolKeysFilterer) ParseKeyTransfered(log types.Log) (*KolKeysKeyTransfered, error)
- func (_KolKeys *KolKeysFilterer) ParseKeyTransferedAll(log types.Log) (*KolKeysKeyTransferedAll, error)
- func (_KolKeys *KolKeysFilterer) ParseKolIpRightBought(log types.Log) (*KolKeysKolIpRightBought, error)
- func (_KolKeys *KolKeysFilterer) ParseKolKeyOperation(log types.Log) (*KolKeysKolKeyOperation, error)
- func (_KolKeys *KolKeysFilterer) ParseOwnerSet(log types.Log) (*KolKeysOwnerSet, error)
- func (_KolKeys *KolKeysFilterer) ParseServiceFeeChanged(log types.Log) (*KolKeysServiceFeeChanged, error)
- func (_KolKeys *KolKeysFilterer) ParseSystemSet(log types.Log) (*KolKeysSystemSet, error)
- func (_KolKeys *KolKeysFilterer) ParseTweetBought(log types.Log) (*KolKeysTweetBought, error)
- func (_KolKeys *KolKeysFilterer) ParseUpgradeToNewRule(log types.Log) (*KolKeysUpgradeToNewRule, error)
- func (_KolKeys *KolKeysFilterer) ParseWithdrawService(log types.Log) (*KolKeysWithdrawService, error)
- func (_KolKeys *KolKeysFilterer) WatchAdminOperation(opts *bind.WatchOpts, sink chan<- *KolKeysAdminOperation) (event.Subscription, error)
- func (_KolKeys *KolKeysFilterer) WatchInvestorWithdrawAllIncome(opts *bind.WatchOpts, sink chan<- *KolKeysInvestorWithdrawAllIncome) (event.Subscription, error)
- func (_KolKeys *KolKeysFilterer) WatchInvestorWithdrawByOneKol(opts *bind.WatchOpts, sink chan<- *KolKeysInvestorWithdrawByOneKol) (event.Subscription, error)
- func (_KolKeys *KolKeysFilterer) WatchInvestorWithdrawByOneNonce(opts *bind.WatchOpts, sink chan<- *KolKeysInvestorWithdrawByOneNonce) (event.Subscription, error)
- func (_KolKeys *KolKeysFilterer) WatchKeyAuctionAction(opts *bind.WatchOpts, sink chan<- *KolKeysKeyAuctionAction) (event.Subscription, error)
- func (_KolKeys *KolKeysFilterer) WatchKeyTransfered(opts *bind.WatchOpts, sink chan<- *KolKeysKeyTransfered) (event.Subscription, error)
- func (_KolKeys *KolKeysFilterer) WatchKeyTransferedAll(opts *bind.WatchOpts, sink chan<- *KolKeysKeyTransferedAll) (event.Subscription, error)
- func (_KolKeys *KolKeysFilterer) WatchKolIpRightBought(opts *bind.WatchOpts, sink chan<- *KolKeysKolIpRightBought) (event.Subscription, error)
- func (_KolKeys *KolKeysFilterer) WatchKolKeyOperation(opts *bind.WatchOpts, sink chan<- *KolKeysKolKeyOperation) (event.Subscription, error)
- func (_KolKeys *KolKeysFilterer) WatchOwnerSet(opts *bind.WatchOpts, sink chan<- *KolKeysOwnerSet, oldOwner []common.Address, ...) (event.Subscription, error)
- func (_KolKeys *KolKeysFilterer) WatchServiceFeeChanged(opts *bind.WatchOpts, sink chan<- *KolKeysServiceFeeChanged) (event.Subscription, error)
- func (_KolKeys *KolKeysFilterer) WatchSystemSet(opts *bind.WatchOpts, sink chan<- *KolKeysSystemSet) (event.Subscription, error)
- func (_KolKeys *KolKeysFilterer) WatchTweetBought(opts *bind.WatchOpts, sink chan<- *KolKeysTweetBought) (event.Subscription, error)
- func (_KolKeys *KolKeysFilterer) WatchUpgradeToNewRule(opts *bind.WatchOpts, sink chan<- *KolKeysUpgradeToNewRule) (event.Subscription, error)
- func (_KolKeys *KolKeysFilterer) WatchWithdrawService(opts *bind.WatchOpts, sink chan<- *KolKeysWithdrawService) (event.Subscription, error)
- type KolKeysInvestorWithdrawAllIncome
- type KolKeysInvestorWithdrawAllIncomeIterator
- type KolKeysInvestorWithdrawByOneKol
- type KolKeysInvestorWithdrawByOneKolIterator
- type KolKeysInvestorWithdrawByOneNonce
- type KolKeysInvestorWithdrawByOneNonceIterator
- type KolKeysKeyAuction
- type KolKeysKeyAuctionAction
- type KolKeysKeyAuctionActionIterator
- type KolKeysKeySettings
- type KolKeysKeyTransfered
- type KolKeysKeyTransferedAll
- type KolKeysKeyTransferedAllIterator
- type KolKeysKeyTransferedIterator
- type KolKeysKolIpRightBought
- type KolKeysKolIpRightBoughtIterator
- type KolKeysKolKeyOperation
- type KolKeysKolKeyOperationIterator
- type KolKeysOwnerSet
- type KolKeysOwnerSetIterator
- type KolKeysRaw
- func (_KolKeys *KolKeysRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_KolKeys *KolKeysRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_KolKeys *KolKeysRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type KolKeysServiceFeeChanged
- type KolKeysServiceFeeChangedIterator
- type KolKeysSession
- func (_KolKeys *KolKeysSession) AdminOperation(admin common.Address, isDelete bool) (*types.Transaction, error)
- func (_KolKeys *KolKeysSession) AdminServiceFeeWithdraw() (*types.Transaction, error)
- func (_KolKeys *KolKeysSession) AdminSetBddingFee(newFeeInGwei *big.Int) (*types.Transaction, error)
- func (_KolKeys *KolKeysSession) AdminSetKeyFeeRate(newRate uint8) (*types.Transaction, error)
- func (_KolKeys *KolKeysSession) AdminSetKolIncomeRate(newRate uint8) (*types.Transaction, error)
- func (_KolKeys *KolKeysSession) AdminSetKolOperationFee(newFeeInGwei *big.Int) (*types.Transaction, error)
- func (_KolKeys *KolKeysSession) AdminSetWithdrawFeeRate(newRate uint8) (*types.Transaction, error)
- func (_KolKeys *KolKeysSession) AdminUpgradeToNewRule(recipient common.Address) (*types.Transaction, error)
- func (_KolKeys *KolKeysSession) Admins(arg0 common.Address) (bool, error)
- func (_KolKeys *KolKeysSession) AllIncomeOfAllKol(investor common.Address) (*big.Int, error)
- func (_KolKeys *KolKeysSession) AllIncomeOfOneKol(kol common.Address, investor common.Address) (*big.Int, error)
- func (_KolKeys *KolKeysSession) AuctionData(start *big.Int, no *big.Int) ([]KolKeysKeyAuction, error)
- func (_KolKeys *KolKeysSession) AuctionIdxMap(arg0 *big.Int) (*big.Int, error)
- func (_KolKeys *KolKeysSession) Balance(arg0 common.Address) (*big.Int, error)
- func (_KolKeys *KolKeysSession) Bid(bidID *big.Int) (*types.Transaction, error)
- func (_KolKeys *KolKeysSession) BuyKolKey(kolAddr common.Address, keyNo *big.Int) (*types.Transaction, error)
- func (_KolKeys *KolKeysSession) ChangeOwner(newOwner common.Address) (*types.Transaction, error)
- func (_KolKeys *KolKeysSession) ChangeStatus(stop bool) (*types.Transaction, error)
- func (_KolKeys *KolKeysSession) CheckPluginInterface() (bool, error)
- func (_KolKeys *KolKeysSession) CurrentAuctionID() (*big.Int, error)
- func (_KolKeys *KolKeysSession) FeeForKeyBiddig() (*big.Int, error)
- func (_KolKeys *KolKeysSession) FeeForKolKeyOp() (*big.Int, error)
- func (_KolKeys *KolKeysSession) GetOwner() (common.Address, error)
- func (_KolKeys *KolKeysSession) IncomeOfOneNonce(kol common.Address, nonce *big.Int, amount *big.Int) (*big.Int, error)
- func (_KolKeys *KolKeysSession) IncomePerNoncePerKey(arg0 common.Address, arg1 *big.Int) (*big.Int, error)
- func (_KolKeys *KolKeysSession) IncomeToKolPool(kol common.Address) (*types.Transaction, error)
- func (_KolKeys *KolKeysSession) InvestorAllKeysOfKol(investor common.Address, kol common.Address) (struct{ ... }, error)
- func (_KolKeys *KolKeysSession) InvestorOfKol(kol common.Address) ([]common.Address, error)
- func (_KolKeys *KolKeysSession) IssueBid(kol common.Address, nonce *big.Int, amount *big.Int, pricePerKey *big.Int) (*types.Transaction, error)
- func (_KolKeys *KolKeysSession) KeyInAuction(arg0 *big.Int) (struct{ ... }, error)
- func (_KolKeys *KolKeysSession) KeySettingsRecord(arg0 common.Address) (struct{ ... }, error)
- func (_KolKeys *KolKeysSession) KeyStatusOfKol(kol common.Address) (KolKeysKeySettings, error)
- func (_KolKeys *KolKeysSession) KolAddKeySupply(amount *big.Int) (*types.Transaction, error)
- func (_KolKeys *KolKeysSession) KolIncomeRatePerKeyBuy() (uint8, error)
- func (_KolKeys *KolKeysSession) KolOfOneInvestor(investor common.Address) ([]common.Address, error)
- func (_KolKeys *KolKeysSession) KolOpenKeySale(pricePerKey *big.Int, maxKeyNo *big.Int) (*types.Transaction, error)
- func (_KolKeys *KolKeysSession) KolSetKeyPrice(newPrice *big.Int) (*types.Transaction, error)
- func (_KolKeys *KolKeysSession) MinValCheck() (*big.Int, error)
- func (_KolKeys *KolKeysSession) Receive() (*types.Transaction, error)
- func (_KolKeys *KolKeysSession) RevokeBid(bidID *big.Int) (*types.Transaction, error)
- func (_KolKeys *KolKeysSession) ServiceFeeRatePerKeyBuy() (uint8, error)
- func (_KolKeys *KolKeysSession) ServiceFeeReceived() (*big.Int, error)
- func (_KolKeys *KolKeysSession) TransferAllKey(to common.Address, kol common.Address) (*types.Transaction, error)
- func (_KolKeys *KolKeysSession) TransferKey(to common.Address, kol common.Address, nonce *big.Int, amount *big.Int) (*types.Transaction, error)
- func (_KolKeys *KolKeysSession) TweetBought(tweetHash [32]byte, tweetOwner common.Address, buyer common.Address, ...) (*types.Transaction, error)
- func (_KolKeys *KolKeysSession) WithdrawAllIncome() (*types.Transaction, error)
- func (_KolKeys *KolKeysSession) WithdrawFeeRate() (*big.Int, error)
- func (_KolKeys *KolKeysSession) WithdrawFromOneKol(kol common.Address) (*types.Transaction, error)
- func (_KolKeys *KolKeysSession) WithdrawFromOneNonce(kol common.Address, nonce *big.Int) (*types.Transaction, error)
- type KolKeysSystemSet
- type KolKeysSystemSetIterator
- type KolKeysTransactor
- func (_KolKeys *KolKeysTransactor) AdminOperation(opts *bind.TransactOpts, admin common.Address, isDelete bool) (*types.Transaction, error)
- func (_KolKeys *KolKeysTransactor) AdminServiceFeeWithdraw(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_KolKeys *KolKeysTransactor) AdminSetBddingFee(opts *bind.TransactOpts, newFeeInGwei *big.Int) (*types.Transaction, error)
- func (_KolKeys *KolKeysTransactor) AdminSetKeyFeeRate(opts *bind.TransactOpts, newRate uint8) (*types.Transaction, error)
- func (_KolKeys *KolKeysTransactor) AdminSetKolIncomeRate(opts *bind.TransactOpts, newRate uint8) (*types.Transaction, error)
- func (_KolKeys *KolKeysTransactor) AdminSetKolOperationFee(opts *bind.TransactOpts, newFeeInGwei *big.Int) (*types.Transaction, error)
- func (_KolKeys *KolKeysTransactor) AdminSetWithdrawFeeRate(opts *bind.TransactOpts, newRate uint8) (*types.Transaction, error)
- func (_KolKeys *KolKeysTransactor) AdminUpgradeToNewRule(opts *bind.TransactOpts, recipient common.Address) (*types.Transaction, error)
- func (_KolKeys *KolKeysTransactor) Bid(opts *bind.TransactOpts, bidID *big.Int) (*types.Transaction, error)
- func (_KolKeys *KolKeysTransactor) BuyKolKey(opts *bind.TransactOpts, kolAddr common.Address, keyNo *big.Int) (*types.Transaction, error)
- func (_KolKeys *KolKeysTransactor) ChangeOwner(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)
- func (_KolKeys *KolKeysTransactor) ChangeStatus(opts *bind.TransactOpts, stop bool) (*types.Transaction, error)
- func (_KolKeys *KolKeysTransactor) IncomeToKolPool(opts *bind.TransactOpts, kol common.Address) (*types.Transaction, error)
- func (_KolKeys *KolKeysTransactor) IssueBid(opts *bind.TransactOpts, kol common.Address, nonce *big.Int, amount *big.Int, ...) (*types.Transaction, error)
- func (_KolKeys *KolKeysTransactor) KolAddKeySupply(opts *bind.TransactOpts, amount *big.Int) (*types.Transaction, error)
- func (_KolKeys *KolKeysTransactor) KolOpenKeySale(opts *bind.TransactOpts, pricePerKey *big.Int, maxKeyNo *big.Int) (*types.Transaction, error)
- func (_KolKeys *KolKeysTransactor) KolSetKeyPrice(opts *bind.TransactOpts, newPrice *big.Int) (*types.Transaction, error)
- func (_KolKeys *KolKeysTransactor) Receive(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_KolKeys *KolKeysTransactor) RevokeBid(opts *bind.TransactOpts, bidID *big.Int) (*types.Transaction, error)
- func (_KolKeys *KolKeysTransactor) TransferAllKey(opts *bind.TransactOpts, to common.Address, kol common.Address) (*types.Transaction, error)
- func (_KolKeys *KolKeysTransactor) TransferKey(opts *bind.TransactOpts, to common.Address, kol common.Address, nonce *big.Int, ...) (*types.Transaction, error)
- func (_KolKeys *KolKeysTransactor) TweetBought(opts *bind.TransactOpts, tweetHash [32]byte, tweetOwner common.Address, ...) (*types.Transaction, error)
- func (_KolKeys *KolKeysTransactor) WithdrawAllIncome(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_KolKeys *KolKeysTransactor) WithdrawFromOneKol(opts *bind.TransactOpts, kol common.Address) (*types.Transaction, error)
- func (_KolKeys *KolKeysTransactor) WithdrawFromOneNonce(opts *bind.TransactOpts, kol common.Address, nonce *big.Int) (*types.Transaction, error)
- type KolKeysTransactorRaw
- type KolKeysTransactorSession
- func (_KolKeys *KolKeysTransactorSession) AdminOperation(admin common.Address, isDelete bool) (*types.Transaction, error)
- func (_KolKeys *KolKeysTransactorSession) AdminServiceFeeWithdraw() (*types.Transaction, error)
- func (_KolKeys *KolKeysTransactorSession) AdminSetBddingFee(newFeeInGwei *big.Int) (*types.Transaction, error)
- func (_KolKeys *KolKeysTransactorSession) AdminSetKeyFeeRate(newRate uint8) (*types.Transaction, error)
- func (_KolKeys *KolKeysTransactorSession) AdminSetKolIncomeRate(newRate uint8) (*types.Transaction, error)
- func (_KolKeys *KolKeysTransactorSession) AdminSetKolOperationFee(newFeeInGwei *big.Int) (*types.Transaction, error)
- func (_KolKeys *KolKeysTransactorSession) AdminSetWithdrawFeeRate(newRate uint8) (*types.Transaction, error)
- func (_KolKeys *KolKeysTransactorSession) AdminUpgradeToNewRule(recipient common.Address) (*types.Transaction, error)
- func (_KolKeys *KolKeysTransactorSession) Bid(bidID *big.Int) (*types.Transaction, error)
- func (_KolKeys *KolKeysTransactorSession) BuyKolKey(kolAddr common.Address, keyNo *big.Int) (*types.Transaction, error)
- func (_KolKeys *KolKeysTransactorSession) ChangeOwner(newOwner common.Address) (*types.Transaction, error)
- func (_KolKeys *KolKeysTransactorSession) ChangeStatus(stop bool) (*types.Transaction, error)
- func (_KolKeys *KolKeysTransactorSession) IncomeToKolPool(kol common.Address) (*types.Transaction, error)
- func (_KolKeys *KolKeysTransactorSession) IssueBid(kol common.Address, nonce *big.Int, amount *big.Int, pricePerKey *big.Int) (*types.Transaction, error)
- func (_KolKeys *KolKeysTransactorSession) KolAddKeySupply(amount *big.Int) (*types.Transaction, error)
- func (_KolKeys *KolKeysTransactorSession) KolOpenKeySale(pricePerKey *big.Int, maxKeyNo *big.Int) (*types.Transaction, error)
- func (_KolKeys *KolKeysTransactorSession) KolSetKeyPrice(newPrice *big.Int) (*types.Transaction, error)
- func (_KolKeys *KolKeysTransactorSession) Receive() (*types.Transaction, error)
- func (_KolKeys *KolKeysTransactorSession) RevokeBid(bidID *big.Int) (*types.Transaction, error)
- func (_KolKeys *KolKeysTransactorSession) TransferAllKey(to common.Address, kol common.Address) (*types.Transaction, error)
- func (_KolKeys *KolKeysTransactorSession) TransferKey(to common.Address, kol common.Address, nonce *big.Int, amount *big.Int) (*types.Transaction, error)
- func (_KolKeys *KolKeysTransactorSession) TweetBought(tweetHash [32]byte, tweetOwner common.Address, buyer common.Address, ...) (*types.Transaction, error)
- func (_KolKeys *KolKeysTransactorSession) WithdrawAllIncome() (*types.Transaction, error)
- func (_KolKeys *KolKeysTransactorSession) WithdrawFromOneKol(kol common.Address) (*types.Transaction, error)
- func (_KolKeys *KolKeysTransactorSession) WithdrawFromOneNonce(kol common.Address, nonce *big.Int) (*types.Transaction, error)
- type KolKeysTweetBought
- type KolKeysTweetBoughtIterator
- type KolKeysUpgradeToNewRule
- type KolKeysUpgradeToNewRuleIterator
- type KolKeysWithdrawService
- type KolKeysWithdrawServiceIterator
- type TeamInfos
- type TweetLotteryGame
- type TweetLotteryGameAdminOperated
- type TweetLotteryGameAdminOperatedIterator
- type TweetLotteryGameAdminOperation
- type TweetLotteryGameAdminOperationIterator
- type TweetLotteryGameCaller
- func (_TweetLotteryGame *TweetLotteryGameCaller) Admins(opts *bind.CallOpts, arg0 common.Address) (bool, error)
- func (_TweetLotteryGame *TweetLotteryGameCaller) Balance(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)
- func (_TweetLotteryGame *TweetLotteryGameCaller) BonusForPoints(opts *bind.CallOpts) (*big.Int, error)
- func (_TweetLotteryGame *TweetLotteryGameCaller) BonusRateToWinner(opts *bind.CallOpts) (uint8, error)
- func (_TweetLotteryGame *TweetLotteryGameCaller) BuyerInfoIdxForTickets(opts *bind.CallOpts, arg0 *big.Int) (common.Address, error)
- func (_TweetLotteryGame *TweetLotteryGameCaller) CheckPluginInterface(opts *bind.CallOpts) (bool, error)
- func (_TweetLotteryGame *TweetLotteryGameCaller) CurrentLotteryTicketID(opts *bind.CallOpts) (*big.Int, error)
- func (_TweetLotteryGame *TweetLotteryGameCaller) CurrentRoundNo(opts *bind.CallOpts) (*big.Int, error)
- func (_TweetLotteryGame *TweetLotteryGameCaller) GameInfoRecord(opts *bind.CallOpts, arg0 *big.Int) (struct{ ... }, error)
- func (_TweetLotteryGame *TweetLotteryGameCaller) GameInfoRecordEx(opts *bind.CallOpts, roundNo *big.Int) (*GamInfoOnChain, error)
- func (_TweetLotteryGame *TweetLotteryGameCaller) GetOwner(opts *bind.CallOpts) (common.Address, error)
- func (_TweetLotteryGame *TweetLotteryGameCaller) HistoryRoundInfo(opts *bind.CallOpts, from *big.Int, to *big.Int) ([]TweetLotteryGameGameInfoOneRound, error)
- func (_TweetLotteryGame *TweetLotteryGameCaller) HistoryRoundInfoEx(opts *bind.CallOpts, from, to *big.Int) ([]*GamInfoOnChain, error)
- func (_TweetLotteryGame *TweetLotteryGameCaller) LotteryGameRoundTime(opts *bind.CallOpts) (*big.Int, error)
- func (_TweetLotteryGame *TweetLotteryGameCaller) MinValCheck(opts *bind.CallOpts) (*big.Int, error)
- func (_TweetLotteryGame *TweetLotteryGameCaller) OpenToOuterPlayer(opts *bind.CallOpts) (bool, error)
- func (_TweetLotteryGame *TweetLotteryGameCaller) ServiceFeeRateForTicketBuy(opts *bind.CallOpts) (uint8, error)
- func (_TweetLotteryGame *TweetLotteryGameCaller) ServiceFeeReceived(opts *bind.CallOpts) (*big.Int, error)
- func (_TweetLotteryGame *TweetLotteryGameCaller) SystemSettings(opts *bind.CallOpts) (struct{ ... }, error)
- func (_TweetLotteryGame *TweetLotteryGameCaller) TickList(opts *bind.CallOpts, round *big.Int, owner common.Address) ([]*big.Int, error)
- func (_TweetLotteryGame *TweetLotteryGameCaller) TicketPriceForOuter(opts *bind.CallOpts) (*big.Int, error)
- func (_TweetLotteryGame *TweetLotteryGameCaller) TicketsOfBuyer(opts *bind.CallOpts, arg0 *big.Int, arg1 common.Address, arg2 *big.Int) (*big.Int, error)
- func (_TweetLotteryGame *TweetLotteryGameCaller) TicketsRecords(opts *bind.CallOpts, arg0 *big.Int, arg1 *big.Int) (*big.Int, error)
- func (_TweetLotteryGame *TweetLotteryGameCaller) TotalBonus(opts *bind.CallOpts) (*big.Int, error)
- func (_TweetLotteryGame *TweetLotteryGameCaller) WithdrawFeeRate(opts *bind.CallOpts) (*big.Int, error)
- type TweetLotteryGameCallerRaw
- type TweetLotteryGameCallerSession
- func (_TweetLotteryGame *TweetLotteryGameCallerSession) Admins(arg0 common.Address) (bool, error)
- func (_TweetLotteryGame *TweetLotteryGameCallerSession) Balance(arg0 common.Address) (*big.Int, error)
- func (_TweetLotteryGame *TweetLotteryGameCallerSession) BonusForPoints() (*big.Int, error)
- func (_TweetLotteryGame *TweetLotteryGameCallerSession) BonusRateToWinner() (uint8, error)
- func (_TweetLotteryGame *TweetLotteryGameCallerSession) BuyerInfoIdxForTickets(arg0 *big.Int) (common.Address, error)
- func (_TweetLotteryGame *TweetLotteryGameCallerSession) CheckPluginInterface() (bool, error)
- func (_TweetLotteryGame *TweetLotteryGameCallerSession) CurrentLotteryTicketID() (*big.Int, error)
- func (_TweetLotteryGame *TweetLotteryGameCallerSession) CurrentRoundNo() (*big.Int, error)
- func (_TweetLotteryGame *TweetLotteryGameCallerSession) GameInfoRecord(arg0 *big.Int) (struct{ ... }, error)
- func (_TweetLotteryGame *TweetLotteryGameCallerSession) GetOwner() (common.Address, error)
- func (_TweetLotteryGame *TweetLotteryGameCallerSession) HistoryRoundInfo(from *big.Int, to *big.Int) ([]TweetLotteryGameGameInfoOneRound, error)
- func (_TweetLotteryGame *TweetLotteryGameCallerSession) LotteryGameRoundTime() (*big.Int, error)
- func (_TweetLotteryGame *TweetLotteryGameCallerSession) MinValCheck() (*big.Int, error)
- func (_TweetLotteryGame *TweetLotteryGameCallerSession) OpenToOuterPlayer() (bool, error)
- func (_TweetLotteryGame *TweetLotteryGameCallerSession) ServiceFeeRateForTicketBuy() (uint8, error)
- func (_TweetLotteryGame *TweetLotteryGameCallerSession) ServiceFeeReceived() (*big.Int, error)
- func (_TweetLotteryGame *TweetLotteryGameCallerSession) SystemSettings() (struct{ ... }, error)
- func (_TweetLotteryGame *TweetLotteryGameCallerSession) TickList(round *big.Int, owner common.Address) ([]*big.Int, error)
- func (_TweetLotteryGame *TweetLotteryGameCallerSession) TicketPriceForOuter() (*big.Int, error)
- func (_TweetLotteryGame *TweetLotteryGameCallerSession) TicketsOfBuyer(arg0 *big.Int, arg1 common.Address, arg2 *big.Int) (*big.Int, error)
- func (_TweetLotteryGame *TweetLotteryGameCallerSession) TicketsRecords(arg0 *big.Int, arg1 *big.Int) (*big.Int, error)
- func (_TweetLotteryGame *TweetLotteryGameCallerSession) TotalBonus() (*big.Int, error)
- func (_TweetLotteryGame *TweetLotteryGameCallerSession) WithdrawFeeRate() (*big.Int, error)
- type TweetLotteryGameDiscoverWinner
- type TweetLotteryGameDiscoverWinnerIterator
- type TweetLotteryGameFilterer
- func (_TweetLotteryGame *TweetLotteryGameFilterer) FilterAdminOperated(opts *bind.FilterOpts) (*TweetLotteryGameAdminOperatedIterator, error)
- func (_TweetLotteryGame *TweetLotteryGameFilterer) FilterAdminOperation(opts *bind.FilterOpts) (*TweetLotteryGameAdminOperationIterator, error)
- func (_TweetLotteryGame *TweetLotteryGameFilterer) FilterDiscoverWinner(opts *bind.FilterOpts) (*TweetLotteryGameDiscoverWinnerIterator, error)
- func (_TweetLotteryGame *TweetLotteryGameFilterer) FilterOwnerSet(opts *bind.FilterOpts, oldOwner []common.Address, newOwner []common.Address) (*TweetLotteryGameOwnerSetIterator, error)
- func (_TweetLotteryGame *TweetLotteryGameFilterer) FilterServiceFeeChanged(opts *bind.FilterOpts) (*TweetLotteryGameServiceFeeChangedIterator, error)
- func (_TweetLotteryGame *TweetLotteryGameFilterer) FilterSkipToNewRound(opts *bind.FilterOpts) (*TweetLotteryGameSkipToNewRoundIterator, error)
- func (_TweetLotteryGame *TweetLotteryGameFilterer) FilterTicketSold(opts *bind.FilterOpts) (*TweetLotteryGameTicketSoldIterator, error)
- func (_TweetLotteryGame *TweetLotteryGameFilterer) FilterTweetBought(opts *bind.FilterOpts) (*TweetLotteryGameTweetBoughtIterator, error)
- func (_TweetLotteryGame *TweetLotteryGameFilterer) FilterUpgradeToNewRule(opts *bind.FilterOpts) (*TweetLotteryGameUpgradeToNewRuleIterator, error)
- func (_TweetLotteryGame *TweetLotteryGameFilterer) FilterWithdrawService(opts *bind.FilterOpts) (*TweetLotteryGameWithdrawServiceIterator, error)
- func (_TweetLotteryGame *TweetLotteryGameFilterer) ParseAdminOperated(log types.Log) (*TweetLotteryGameAdminOperated, error)
- func (_TweetLotteryGame *TweetLotteryGameFilterer) ParseAdminOperation(log types.Log) (*TweetLotteryGameAdminOperation, error)
- func (_TweetLotteryGame *TweetLotteryGameFilterer) ParseDiscoverWinner(log types.Log) (*TweetLotteryGameDiscoverWinner, error)
- func (_TweetLotteryGame *TweetLotteryGameFilterer) ParseOwnerSet(log types.Log) (*TweetLotteryGameOwnerSet, error)
- func (_TweetLotteryGame *TweetLotteryGameFilterer) ParseServiceFeeChanged(log types.Log) (*TweetLotteryGameServiceFeeChanged, error)
- func (_TweetLotteryGame *TweetLotteryGameFilterer) ParseSkipToNewRound(log types.Log) (*TweetLotteryGameSkipToNewRound, error)
- func (_TweetLotteryGame *TweetLotteryGameFilterer) ParseTicketSold(log types.Log) (*TweetLotteryGameTicketSold, error)
- func (_TweetLotteryGame *TweetLotteryGameFilterer) ParseTweetBought(log types.Log) (*TweetLotteryGameTweetBought, error)
- func (_TweetLotteryGame *TweetLotteryGameFilterer) ParseUpgradeToNewRule(log types.Log) (*TweetLotteryGameUpgradeToNewRule, error)
- func (_TweetLotteryGame *TweetLotteryGameFilterer) ParseWithdrawService(log types.Log) (*TweetLotteryGameWithdrawService, error)
- func (_TweetLotteryGame *TweetLotteryGameFilterer) WatchAdminOperated(opts *bind.WatchOpts, sink chan<- *TweetLotteryGameAdminOperated) (event.Subscription, error)
- func (_TweetLotteryGame *TweetLotteryGameFilterer) WatchAdminOperation(opts *bind.WatchOpts, sink chan<- *TweetLotteryGameAdminOperation) (event.Subscription, error)
- func (_TweetLotteryGame *TweetLotteryGameFilterer) WatchDiscoverWinner(opts *bind.WatchOpts, sink chan<- *TweetLotteryGameDiscoverWinner) (event.Subscription, error)
- func (_TweetLotteryGame *TweetLotteryGameFilterer) WatchOwnerSet(opts *bind.WatchOpts, sink chan<- *TweetLotteryGameOwnerSet, ...) (event.Subscription, error)
- func (_TweetLotteryGame *TweetLotteryGameFilterer) WatchServiceFeeChanged(opts *bind.WatchOpts, sink chan<- *TweetLotteryGameServiceFeeChanged) (event.Subscription, error)
- func (_TweetLotteryGame *TweetLotteryGameFilterer) WatchSkipToNewRound(opts *bind.WatchOpts, sink chan<- *TweetLotteryGameSkipToNewRound) (event.Subscription, error)
- func (_TweetLotteryGame *TweetLotteryGameFilterer) WatchTicketSold(opts *bind.WatchOpts, sink chan<- *TweetLotteryGameTicketSold) (event.Subscription, error)
- func (_TweetLotteryGame *TweetLotteryGameFilterer) WatchTweetBought(opts *bind.WatchOpts, sink chan<- *TweetLotteryGameTweetBought) (event.Subscription, error)
- func (_TweetLotteryGame *TweetLotteryGameFilterer) WatchUpgradeToNewRule(opts *bind.WatchOpts, sink chan<- *TweetLotteryGameUpgradeToNewRule) (event.Subscription, error)
- func (_TweetLotteryGame *TweetLotteryGameFilterer) WatchWithdrawService(opts *bind.WatchOpts, sink chan<- *TweetLotteryGameWithdrawService) (event.Subscription, error)
- type TweetLotteryGameGameInfoOneRound
- type TweetLotteryGameOwnerSet
- type TweetLotteryGameOwnerSetIterator
- type TweetLotteryGameRaw
- func (_TweetLotteryGame *TweetLotteryGameRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_TweetLotteryGame *TweetLotteryGameRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_TweetLotteryGame *TweetLotteryGameRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type TweetLotteryGameServiceFeeChanged
- type TweetLotteryGameServiceFeeChangedIterator
- type TweetLotteryGameSession
- func (_TweetLotteryGame *TweetLotteryGameSession) AdminChangeBonusRateToWinner(newRate uint8) (*types.Transaction, error)
- func (_TweetLotteryGame *TweetLotteryGameSession) AdminChangeRoundTime(newTimeInMinutes *big.Int) (*types.Transaction, error)
- func (_TweetLotteryGame *TweetLotteryGameSession) AdminOpenToOuterPlayer(isOpen bool) (*types.Transaction, error)
- func (_TweetLotteryGame *TweetLotteryGameSession) AdminOperation(admin common.Address, isDelete bool) (*types.Transaction, error)
- func (_TweetLotteryGame *TweetLotteryGameSession) AdminServiceFeeWithdraw() (*types.Transaction, error)
- func (_TweetLotteryGame *TweetLotteryGameSession) AdminSetServiceFeeRateForTicketBuy(newRate uint8) (*types.Transaction, error)
- func (_TweetLotteryGame *TweetLotteryGameSession) AdminSetTicketPriceForOuter(priceInFinney *big.Int) (*types.Transaction, error)
- func (_TweetLotteryGame *TweetLotteryGameSession) AdminSetWithdrawFeeRate(newRate uint8) (*types.Transaction, error)
- func (_TweetLotteryGame *TweetLotteryGameSession) AdminUpgradeToNewRule(recipient common.Address) (*types.Transaction, error)
- func (_TweetLotteryGame *TweetLotteryGameSession) Admins(arg0 common.Address) (bool, error)
- func (_TweetLotteryGame *TweetLotteryGameSession) Balance(arg0 common.Address) (*big.Int, error)
- func (_TweetLotteryGame *TweetLotteryGameSession) BonusForPoints() (*big.Int, error)
- func (_TweetLotteryGame *TweetLotteryGameSession) BonusRateToWinner() (uint8, error)
- func (_TweetLotteryGame *TweetLotteryGameSession) BuyTicketFromOuter(ticketNo *big.Int) (*types.Transaction, error)
- func (_TweetLotteryGame *TweetLotteryGameSession) BuyerInfoIdxForTickets(arg0 *big.Int) (common.Address, error)
- func (_TweetLotteryGame *TweetLotteryGameSession) ChangeOwner(newOwner common.Address) (*types.Transaction, error)
- func (_TweetLotteryGame *TweetLotteryGameSession) ChangeStatus(stop bool) (*types.Transaction, error)
- func (_TweetLotteryGame *TweetLotteryGameSession) CheckPluginInterface() (bool, error)
- func (_TweetLotteryGame *TweetLotteryGameSession) CurrentLotteryTicketID() (*big.Int, error)
- func (_TweetLotteryGame *TweetLotteryGameSession) CurrentRoundNo() (*big.Int, error)
- func (_TweetLotteryGame *TweetLotteryGameSession) DiscoverWinner(random *big.Int, nextRoundRandomHash [32]byte) (*types.Transaction, error)
- func (_TweetLotteryGame *TweetLotteryGameSession) GameInfoRecord(arg0 *big.Int) (struct{ ... }, error)
- func (_TweetLotteryGame *TweetLotteryGameSession) GetOwner() (common.Address, error)
- func (_TweetLotteryGame *TweetLotteryGameSession) HistoryRoundInfo(from *big.Int, to *big.Int) ([]TweetLotteryGameGameInfoOneRound, error)
- func (_TweetLotteryGame *TweetLotteryGameSession) LotteryGameRoundTime() (*big.Int, error)
- func (_TweetLotteryGame *TweetLotteryGameSession) MinValCheck() (*big.Int, error)
- func (_TweetLotteryGame *TweetLotteryGameSession) OpenToOuterPlayer() (bool, error)
- func (_TweetLotteryGame *TweetLotteryGameSession) Receive() (*types.Transaction, error)
- func (_TweetLotteryGame *TweetLotteryGameSession) ServiceFeeRateForTicketBuy() (uint8, error)
- func (_TweetLotteryGame *TweetLotteryGameSession) ServiceFeeReceived() (*big.Int, error)
- func (_TweetLotteryGame *TweetLotteryGameSession) SkipToNextRound(hash [32]byte) (*types.Transaction, error)
- func (_TweetLotteryGame *TweetLotteryGameSession) SystemSettings() (struct{ ... }, error)
- func (_TweetLotteryGame *TweetLotteryGameSession) TickList(round *big.Int, owner common.Address) ([]*big.Int, error)
- func (_TweetLotteryGame *TweetLotteryGameSession) TicketPriceForOuter() (*big.Int, error)
- func (_TweetLotteryGame *TweetLotteryGameSession) TicketsOfBuyer(arg0 *big.Int, arg1 common.Address, arg2 *big.Int) (*big.Int, error)
- func (_TweetLotteryGame *TweetLotteryGameSession) TicketsRecords(arg0 *big.Int, arg1 *big.Int) (*big.Int, error)
- func (_TweetLotteryGame *TweetLotteryGameSession) TotalBonus() (*big.Int, error)
- func (_TweetLotteryGame *TweetLotteryGameSession) TransferBonusOfPoints(tokenContract common.Address) (*types.Transaction, error)
- func (_TweetLotteryGame *TweetLotteryGameSession) TweetBought(tweetHash [32]byte, tweetOwner common.Address, buyer common.Address, ...) (*types.Transaction, error)
- func (_TweetLotteryGame *TweetLotteryGameSession) Withdraw(amount *big.Int, all bool) (*types.Transaction, error)
- func (_TweetLotteryGame *TweetLotteryGameSession) WithdrawFeeRate() (*big.Int, error)
- type TweetLotteryGameSkipToNewRound
- type TweetLotteryGameSkipToNewRoundIterator
- type TweetLotteryGameTicketSold
- type TweetLotteryGameTicketSoldIterator
- type TweetLotteryGameTransactor
- func (_TweetLotteryGame *TweetLotteryGameTransactor) AdminChangeBonusRateToWinner(opts *bind.TransactOpts, newRate uint8) (*types.Transaction, error)
- func (_TweetLotteryGame *TweetLotteryGameTransactor) AdminChangeRoundTime(opts *bind.TransactOpts, newTimeInMinutes *big.Int) (*types.Transaction, error)
- func (_TweetLotteryGame *TweetLotteryGameTransactor) AdminOpenToOuterPlayer(opts *bind.TransactOpts, isOpen bool) (*types.Transaction, error)
- func (_TweetLotteryGame *TweetLotteryGameTransactor) AdminOperation(opts *bind.TransactOpts, admin common.Address, isDelete bool) (*types.Transaction, error)
- func (_TweetLotteryGame *TweetLotteryGameTransactor) AdminServiceFeeWithdraw(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_TweetLotteryGame *TweetLotteryGameTransactor) AdminSetServiceFeeRateForTicketBuy(opts *bind.TransactOpts, newRate uint8) (*types.Transaction, error)
- func (_TweetLotteryGame *TweetLotteryGameTransactor) AdminSetTicketPriceForOuter(opts *bind.TransactOpts, priceInFinney *big.Int) (*types.Transaction, error)
- func (_TweetLotteryGame *TweetLotteryGameTransactor) AdminSetWithdrawFeeRate(opts *bind.TransactOpts, newRate uint8) (*types.Transaction, error)
- func (_TweetLotteryGame *TweetLotteryGameTransactor) AdminUpgradeToNewRule(opts *bind.TransactOpts, recipient common.Address) (*types.Transaction, error)
- func (_TweetLotteryGame *TweetLotteryGameTransactor) BuyTicketFromOuter(opts *bind.TransactOpts, ticketNo *big.Int) (*types.Transaction, error)
- func (_TweetLotteryGame *TweetLotteryGameTransactor) ChangeOwner(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)
- func (_TweetLotteryGame *TweetLotteryGameTransactor) ChangeStatus(opts *bind.TransactOpts, stop bool) (*types.Transaction, error)
- func (_TweetLotteryGame *TweetLotteryGameTransactor) DiscoverWinner(opts *bind.TransactOpts, random *big.Int, nextRoundRandomHash [32]byte) (*types.Transaction, error)
- func (_TweetLotteryGame *TweetLotteryGameTransactor) Receive(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_TweetLotteryGame *TweetLotteryGameTransactor) SkipToNextRound(opts *bind.TransactOpts, hash [32]byte) (*types.Transaction, error)
- func (_TweetLotteryGame *TweetLotteryGameTransactor) TransferBonusOfPoints(opts *bind.TransactOpts, tokenContract common.Address) (*types.Transaction, error)
- func (_TweetLotteryGame *TweetLotteryGameTransactor) TweetBought(opts *bind.TransactOpts, tweetHash [32]byte, tweetOwner common.Address, ...) (*types.Transaction, error)
- func (_TweetLotteryGame *TweetLotteryGameTransactor) Withdraw(opts *bind.TransactOpts, amount *big.Int, all bool) (*types.Transaction, error)
- type TweetLotteryGameTransactorRaw
- type TweetLotteryGameTransactorSession
- func (_TweetLotteryGame *TweetLotteryGameTransactorSession) AdminChangeBonusRateToWinner(newRate uint8) (*types.Transaction, error)
- func (_TweetLotteryGame *TweetLotteryGameTransactorSession) AdminChangeRoundTime(newTimeInMinutes *big.Int) (*types.Transaction, error)
- func (_TweetLotteryGame *TweetLotteryGameTransactorSession) AdminOpenToOuterPlayer(isOpen bool) (*types.Transaction, error)
- func (_TweetLotteryGame *TweetLotteryGameTransactorSession) AdminOperation(admin common.Address, isDelete bool) (*types.Transaction, error)
- func (_TweetLotteryGame *TweetLotteryGameTransactorSession) AdminServiceFeeWithdraw() (*types.Transaction, error)
- func (_TweetLotteryGame *TweetLotteryGameTransactorSession) AdminSetServiceFeeRateForTicketBuy(newRate uint8) (*types.Transaction, error)
- func (_TweetLotteryGame *TweetLotteryGameTransactorSession) AdminSetTicketPriceForOuter(priceInFinney *big.Int) (*types.Transaction, error)
- func (_TweetLotteryGame *TweetLotteryGameTransactorSession) AdminSetWithdrawFeeRate(newRate uint8) (*types.Transaction, error)
- func (_TweetLotteryGame *TweetLotteryGameTransactorSession) AdminUpgradeToNewRule(recipient common.Address) (*types.Transaction, error)
- func (_TweetLotteryGame *TweetLotteryGameTransactorSession) BuyTicketFromOuter(ticketNo *big.Int) (*types.Transaction, error)
- func (_TweetLotteryGame *TweetLotteryGameTransactorSession) ChangeOwner(newOwner common.Address) (*types.Transaction, error)
- func (_TweetLotteryGame *TweetLotteryGameTransactorSession) ChangeStatus(stop bool) (*types.Transaction, error)
- func (_TweetLotteryGame *TweetLotteryGameTransactorSession) DiscoverWinner(random *big.Int, nextRoundRandomHash [32]byte) (*types.Transaction, error)
- func (_TweetLotteryGame *TweetLotteryGameTransactorSession) Receive() (*types.Transaction, error)
- func (_TweetLotteryGame *TweetLotteryGameTransactorSession) SkipToNextRound(hash [32]byte) (*types.Transaction, error)
- func (_TweetLotteryGame *TweetLotteryGameTransactorSession) TransferBonusOfPoints(tokenContract common.Address) (*types.Transaction, error)
- func (_TweetLotteryGame *TweetLotteryGameTransactorSession) TweetBought(tweetHash [32]byte, tweetOwner common.Address, buyer common.Address, ...) (*types.Transaction, error)
- func (_TweetLotteryGame *TweetLotteryGameTransactorSession) Withdraw(amount *big.Int, all bool) (*types.Transaction, error)
- type TweetLotteryGameTweetBought
- type TweetLotteryGameTweetBoughtIterator
- type TweetLotteryGameUpgradeToNewRule
- type TweetLotteryGameUpgradeToNewRuleIterator
- type TweetLotteryGameWithdrawService
- type TweetLotteryGameWithdrawServiceIterator
- type TweetVote
- type TweetVoteAdminOperation
- type TweetVoteAdminOperationIterator
- type TweetVoteCaller
- func (_TweetVote *TweetVoteCaller) Admins(opts *bind.CallOpts, arg0 common.Address) (bool, error)
- func (_TweetVote *TweetVoteCaller) Balance(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)
- func (_TweetVote *TweetVoteCaller) ContractBalance(opts *bind.CallOpts) (*big.Int, error)
- func (_TweetVote *TweetVoteCaller) GameContract(opts *bind.CallOpts) (common.Address, error)
- func (_TweetVote *TweetVoteCaller) GameStop(opts *bind.CallOpts) (bool, error)
- func (_TweetVote *TweetVoteCaller) GetOwner(opts *bind.CallOpts) (common.Address, error)
- func (_TweetVote *TweetVoteCaller) KolIncomePerTweetVoteRate(opts *bind.CallOpts) (uint8, error)
- func (_TweetVote *TweetVoteCaller) KolKeyContract(opts *bind.CallOpts) (common.Address, error)
- func (_TweetVote *TweetVoteCaller) KolKeyIncomeRate(opts *bind.CallOpts) (*big.Int, error)
- func (_TweetVote *TweetVoteCaller) KolKeyIncomeSourceID(opts *bind.CallOpts) (int8, error)
- func (_TweetVote *TweetVoteCaller) KolKeyStop(opts *bind.CallOpts) (bool, error)
- func (_TweetVote *TweetVoteCaller) MaxVotePerTweet(opts *bind.CallOpts) (*big.Int, error)
- func (_TweetVote *TweetVoteCaller) MinValCheck(opts *bind.CallOpts) (*big.Int, error)
- func (_TweetVote *TweetVoteCaller) OneFinney(opts *bind.CallOpts) (*big.Int, error)
- func (_TweetVote *TweetVoteCaller) OwnersOfAllTweets(opts *bind.CallOpts, arg0 [32]byte) (common.Address, error)
- func (_TweetVote *TweetVoteCaller) RecoverSigner(opts *bind.CallOpts, prefixedHash [32]byte, signature []byte) (common.Address, error)
- func (_TweetVote *TweetVoteCaller) ServiceFeePerTweetVoteRate(opts *bind.CallOpts) (uint8, error)
- func (_TweetVote *TweetVoteCaller) ServiceFeeReceived(opts *bind.CallOpts) (*big.Int, error)
- func (_TweetVote *TweetVoteCaller) SystemSettings(opts *bind.CallOpts) (*big.Int, *big.Int, *big.Int, common.Address, bool, uint8, uint8, error)
- func (_TweetVote *TweetVoteCaller) TweetPostPrice(opts *bind.CallOpts) (*big.Int, error)
- func (_TweetVote *TweetVoteCaller) TweetVotePrice(opts *bind.CallOpts) (*big.Int, error)
- func (_TweetVote *TweetVoteCaller) WithdrawFeeRate(opts *bind.CallOpts) (*big.Int, error)
- type TweetVoteCallerRaw
- type TweetVoteCallerSession
- func (_TweetVote *TweetVoteCallerSession) Admins(arg0 common.Address) (bool, error)
- func (_TweetVote *TweetVoteCallerSession) Balance(arg0 common.Address) (*big.Int, error)
- func (_TweetVote *TweetVoteCallerSession) ContractBalance() (*big.Int, error)
- func (_TweetVote *TweetVoteCallerSession) GameContract() (common.Address, error)
- func (_TweetVote *TweetVoteCallerSession) GameStop() (bool, error)
- func (_TweetVote *TweetVoteCallerSession) GetOwner() (common.Address, error)
- func (_TweetVote *TweetVoteCallerSession) KolIncomePerTweetVoteRate() (uint8, error)
- func (_TweetVote *TweetVoteCallerSession) KolKeyContract() (common.Address, error)
- func (_TweetVote *TweetVoteCallerSession) KolKeyIncomeRate() (*big.Int, error)
- func (_TweetVote *TweetVoteCallerSession) KolKeyIncomeSourceID() (int8, error)
- func (_TweetVote *TweetVoteCallerSession) KolKeyStop() (bool, error)
- func (_TweetVote *TweetVoteCallerSession) MaxVotePerTweet() (*big.Int, error)
- func (_TweetVote *TweetVoteCallerSession) MinValCheck() (*big.Int, error)
- func (_TweetVote *TweetVoteCallerSession) OneFinney() (*big.Int, error)
- func (_TweetVote *TweetVoteCallerSession) OwnersOfAllTweets(arg0 [32]byte) (common.Address, error)
- func (_TweetVote *TweetVoteCallerSession) RecoverSigner(prefixedHash [32]byte, signature []byte) (common.Address, error)
- func (_TweetVote *TweetVoteCallerSession) ServiceFeePerTweetVoteRate() (uint8, error)
- func (_TweetVote *TweetVoteCallerSession) ServiceFeeReceived() (*big.Int, error)
- func (_TweetVote *TweetVoteCallerSession) SystemSettings() (*big.Int, *big.Int, *big.Int, common.Address, bool, uint8, uint8, error)
- func (_TweetVote *TweetVoteCallerSession) TweetPostPrice() (*big.Int, error)
- func (_TweetVote *TweetVoteCallerSession) TweetVotePrice() (*big.Int, error)
- func (_TweetVote *TweetVoteCallerSession) WithdrawFeeRate() (*big.Int, error)
- type TweetVoteFilterer
- func (_TweetVote *TweetVoteFilterer) FilterAdminOperation(opts *bind.FilterOpts) (*TweetVoteAdminOperationIterator, error)
- func (_TweetVote *TweetVoteFilterer) FilterKolRightsBought(opts *bind.FilterOpts) (*TweetVoteKolRightsBoughtIterator, error)
- func (_TweetVote *TweetVoteFilterer) FilterKolWithdraw(opts *bind.FilterOpts, kol []common.Address) (*TweetVoteKolWithdrawIterator, error)
- func (_TweetVote *TweetVoteFilterer) FilterOwnerSet(opts *bind.FilterOpts, oldOwner []common.Address, newOwner []common.Address) (*TweetVoteOwnerSetIterator, error)
- func (_TweetVote *TweetVoteFilterer) FilterPluginChanged(opts *bind.FilterOpts) (*TweetVotePluginChangedIterator, error)
- func (_TweetVote *TweetVoteFilterer) FilterReceived(opts *bind.FilterOpts, sender []common.Address) (*TweetVoteReceivedIterator, error)
- func (_TweetVote *TweetVoteFilterer) FilterServiceFeeChanged(opts *bind.FilterOpts) (*TweetVoteServiceFeeChangedIterator, error)
- func (_TweetVote *TweetVoteFilterer) FilterSystemRateChanged(opts *bind.FilterOpts) (*TweetVoteSystemRateChangedIterator, error)
- func (_TweetVote *TweetVoteFilterer) FilterTweetPublished(opts *bind.FilterOpts, from []common.Address) (*TweetVoteTweetPublishedIterator, error)
- func (_TweetVote *TweetVoteFilterer) FilterTweetVoted(opts *bind.FilterOpts) (*TweetVoteTweetVotedIterator, error)
- func (_TweetVote *TweetVoteFilterer) FilterUpgradeToNewRule(opts *bind.FilterOpts) (*TweetVoteUpgradeToNewRuleIterator, error)
- func (_TweetVote *TweetVoteFilterer) FilterWithdrawService(opts *bind.FilterOpts) (*TweetVoteWithdrawServiceIterator, error)
- func (_TweetVote *TweetVoteFilterer) ParseAdminOperation(log types.Log) (*TweetVoteAdminOperation, error)
- func (_TweetVote *TweetVoteFilterer) ParseKolRightsBought(log types.Log) (*TweetVoteKolRightsBought, error)
- func (_TweetVote *TweetVoteFilterer) ParseKolWithdraw(log types.Log) (*TweetVoteKolWithdraw, error)
- func (_TweetVote *TweetVoteFilterer) ParseOwnerSet(log types.Log) (*TweetVoteOwnerSet, error)
- func (_TweetVote *TweetVoteFilterer) ParsePluginChanged(log types.Log) (*TweetVotePluginChanged, error)
- func (_TweetVote *TweetVoteFilterer) ParseReceived(log types.Log) (*TweetVoteReceived, error)
- func (_TweetVote *TweetVoteFilterer) ParseServiceFeeChanged(log types.Log) (*TweetVoteServiceFeeChanged, error)
- func (_TweetVote *TweetVoteFilterer) ParseSystemRateChanged(log types.Log) (*TweetVoteSystemRateChanged, error)
- func (_TweetVote *TweetVoteFilterer) ParseTweetPublished(log types.Log) (*TweetVoteTweetPublished, error)
- func (_TweetVote *TweetVoteFilterer) ParseTweetVoted(log types.Log) (*TweetVoteTweetVoted, error)
- func (_TweetVote *TweetVoteFilterer) ParseUpgradeToNewRule(log types.Log) (*TweetVoteUpgradeToNewRule, error)
- func (_TweetVote *TweetVoteFilterer) ParseWithdrawService(log types.Log) (*TweetVoteWithdrawService, error)
- func (_TweetVote *TweetVoteFilterer) WatchAdminOperation(opts *bind.WatchOpts, sink chan<- *TweetVoteAdminOperation) (event.Subscription, error)
- func (_TweetVote *TweetVoteFilterer) WatchKolRightsBought(opts *bind.WatchOpts, sink chan<- *TweetVoteKolRightsBought) (event.Subscription, error)
- func (_TweetVote *TweetVoteFilterer) WatchKolWithdraw(opts *bind.WatchOpts, sink chan<- *TweetVoteKolWithdraw, kol []common.Address) (event.Subscription, error)
- func (_TweetVote *TweetVoteFilterer) WatchOwnerSet(opts *bind.WatchOpts, sink chan<- *TweetVoteOwnerSet, ...) (event.Subscription, error)
- func (_TweetVote *TweetVoteFilterer) WatchPluginChanged(opts *bind.WatchOpts, sink chan<- *TweetVotePluginChanged) (event.Subscription, error)
- func (_TweetVote *TweetVoteFilterer) WatchReceived(opts *bind.WatchOpts, sink chan<- *TweetVoteReceived, sender []common.Address) (event.Subscription, error)
- func (_TweetVote *TweetVoteFilterer) WatchServiceFeeChanged(opts *bind.WatchOpts, sink chan<- *TweetVoteServiceFeeChanged) (event.Subscription, error)
- func (_TweetVote *TweetVoteFilterer) WatchSystemRateChanged(opts *bind.WatchOpts, sink chan<- *TweetVoteSystemRateChanged) (event.Subscription, error)
- func (_TweetVote *TweetVoteFilterer) WatchTweetPublished(opts *bind.WatchOpts, sink chan<- *TweetVoteTweetPublished, ...) (event.Subscription, error)
- func (_TweetVote *TweetVoteFilterer) WatchTweetVoted(opts *bind.WatchOpts, sink chan<- *TweetVoteTweetVoted) (event.Subscription, error)
- func (_TweetVote *TweetVoteFilterer) WatchUpgradeToNewRule(opts *bind.WatchOpts, sink chan<- *TweetVoteUpgradeToNewRule) (event.Subscription, error)
- func (_TweetVote *TweetVoteFilterer) WatchWithdrawService(opts *bind.WatchOpts, sink chan<- *TweetVoteWithdrawService) (event.Subscription, error)
- type TweetVoteKolRightsBought
- type TweetVoteKolRightsBoughtIterator
- type TweetVoteKolWithdraw
- type TweetVoteKolWithdrawIterator
- type TweetVoteOwnerSet
- type TweetVoteOwnerSetIterator
- type TweetVotePluginChanged
- type TweetVotePluginChangedIterator
- type TweetVoteRaw
- func (_TweetVote *TweetVoteRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_TweetVote *TweetVoteRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_TweetVote *TweetVoteRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type TweetVoteReceived
- type TweetVoteReceivedIterator
- type TweetVoteServiceFeeChanged
- type TweetVoteServiceFeeChangedIterator
- type TweetVoteSession
- func (_TweetVote *TweetVoteSession) AdminChangeKolKeyRate(newRate uint8) (*types.Transaction, error)
- func (_TweetVote *TweetVoteSession) AdminOperation(admin common.Address, isDelete bool) (*types.Transaction, error)
- func (_TweetVote *TweetVoteSession) AdminServiceFeeWithdraw() (*types.Transaction, error)
- func (_TweetVote *TweetVoteSession) AdminSetGameContract(newGameAddr common.Address) (*types.Transaction, error)
- func (_TweetVote *TweetVoteSession) AdminSetKolIncomePerTweetRate(newRate uint8) (*types.Transaction, error)
- func (_TweetVote *TweetVoteSession) AdminSetKolKeyContract(newKolContract common.Address) (*types.Transaction, error)
- func (_TweetVote *TweetVoteSession) AdminSetMaxVotePerTweet(newMaxVote *big.Int) (*types.Transaction, error)
- func (_TweetVote *TweetVoteSession) AdminSetServiceFeeRateForPerTweetVote(newRate uint8) (*types.Transaction, error)
- func (_TweetVote *TweetVoteSession) AdminSetTweetPostPrice(newPriceInFinney *big.Int) (*types.Transaction, error)
- func (_TweetVote *TweetVoteSession) AdminSetTweetVotePrice(newPriceInFinney *big.Int) (*types.Transaction, error)
- func (_TweetVote *TweetVoteSession) AdminSetWithdrawFeeRate(newRate uint8) (*types.Transaction, error)
- func (_TweetVote *TweetVoteSession) AdminStopKolKey(stop bool) (*types.Transaction, error)
- func (_TweetVote *TweetVoteSession) AdminStopPlugin(stop bool) (*types.Transaction, error)
- func (_TweetVote *TweetVoteSession) AdminUpgradeToNewRule(recipient common.Address) (*types.Transaction, error)
- func (_TweetVote *TweetVoteSession) Admins(arg0 common.Address) (bool, error)
- func (_TweetVote *TweetVoteSession) Balance(arg0 common.Address) (*big.Int, error)
- func (_TweetVote *TweetVoteSession) ChangeOwner(newOwner common.Address) (*types.Transaction, error)
- func (_TweetVote *TweetVoteSession) ChangeStatus(stop bool) (*types.Transaction, error)
- func (_TweetVote *TweetVoteSession) ContractBalance() (*big.Int, error)
- func (_TweetVote *TweetVoteSession) GameContract() (common.Address, error)
- func (_TweetVote *TweetVoteSession) GameStop() (bool, error)
- func (_TweetVote *TweetVoteSession) GetOwner() (common.Address, error)
- func (_TweetVote *TweetVoteSession) KolIncomePerTweetVoteRate() (uint8, error)
- func (_TweetVote *TweetVoteSession) KolKeyContract() (common.Address, error)
- func (_TweetVote *TweetVoteSession) KolKeyIncomeRate() (*big.Int, error)
- func (_TweetVote *TweetVoteSession) KolKeyIncomeSourceID() (int8, error)
- func (_TweetVote *TweetVoteSession) KolKeyStop() (bool, error)
- func (_TweetVote *TweetVoteSession) MaxVotePerTweet() (*big.Int, error)
- func (_TweetVote *TweetVoteSession) MigrateTweetOwner(tweetHashs [][32]byte, newOwner common.Address) (*types.Transaction, error)
- func (_TweetVote *TweetVoteSession) MinValCheck() (*big.Int, error)
- func (_TweetVote *TweetVoteSession) OneFinney() (*big.Int, error)
- func (_TweetVote *TweetVoteSession) OwnersOfAllTweets(arg0 [32]byte) (common.Address, error)
- func (_TweetVote *TweetVoteSession) PublishTweet(hash [32]byte, signature []byte) (*types.Transaction, error)
- func (_TweetVote *TweetVoteSession) Receive() (*types.Transaction, error)
- func (_TweetVote *TweetVoteSession) RecoverSigner(prefixedHash [32]byte, signature []byte) (common.Address, error)
- func (_TweetVote *TweetVoteSession) ServiceFeePerTweetVoteRate() (uint8, error)
- func (_TweetVote *TweetVoteSession) ServiceFeeReceived() (*big.Int, error)
- func (_TweetVote *TweetVoteSession) SystemSettings() (*big.Int, *big.Int, *big.Int, common.Address, bool, uint8, uint8, error)
- func (_TweetVote *TweetVoteSession) TweetPostPrice() (*big.Int, error)
- func (_TweetVote *TweetVoteSession) TweetVotePrice() (*big.Int, error)
- func (_TweetVote *TweetVoteSession) VoteToTweets(tweetHash [32]byte, voteNo *big.Int) (*types.Transaction, error)
- func (_TweetVote *TweetVoteSession) Withdraw(amount *big.Int, all bool) (*types.Transaction, error)
- func (_TweetVote *TweetVoteSession) WithdrawFeeRate() (*big.Int, error)
- type TweetVoteSystemRateChanged
- type TweetVoteSystemRateChangedIterator
- type TweetVoteTransactor
- func (_TweetVote *TweetVoteTransactor) AdminChangeKolKeyRate(opts *bind.TransactOpts, newRate uint8) (*types.Transaction, error)
- func (_TweetVote *TweetVoteTransactor) AdminOperation(opts *bind.TransactOpts, admin common.Address, isDelete bool) (*types.Transaction, error)
- func (_TweetVote *TweetVoteTransactor) AdminServiceFeeWithdraw(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_TweetVote *TweetVoteTransactor) AdminSetGameContract(opts *bind.TransactOpts, newGameAddr common.Address) (*types.Transaction, error)
- func (_TweetVote *TweetVoteTransactor) AdminSetKolIncomePerTweetRate(opts *bind.TransactOpts, newRate uint8) (*types.Transaction, error)
- func (_TweetVote *TweetVoteTransactor) AdminSetKolKeyContract(opts *bind.TransactOpts, newKolContract common.Address) (*types.Transaction, error)
- func (_TweetVote *TweetVoteTransactor) AdminSetMaxVotePerTweet(opts *bind.TransactOpts, newMaxVote *big.Int) (*types.Transaction, error)
- func (_TweetVote *TweetVoteTransactor) AdminSetServiceFeeRateForPerTweetVote(opts *bind.TransactOpts, newRate uint8) (*types.Transaction, error)
- func (_TweetVote *TweetVoteTransactor) AdminSetTweetPostPrice(opts *bind.TransactOpts, newPriceInFinney *big.Int) (*types.Transaction, error)
- func (_TweetVote *TweetVoteTransactor) AdminSetTweetVotePrice(opts *bind.TransactOpts, newPriceInFinney *big.Int) (*types.Transaction, error)
- func (_TweetVote *TweetVoteTransactor) AdminSetWithdrawFeeRate(opts *bind.TransactOpts, newRate uint8) (*types.Transaction, error)
- func (_TweetVote *TweetVoteTransactor) AdminStopKolKey(opts *bind.TransactOpts, stop bool) (*types.Transaction, error)
- func (_TweetVote *TweetVoteTransactor) AdminStopPlugin(opts *bind.TransactOpts, stop bool) (*types.Transaction, error)
- func (_TweetVote *TweetVoteTransactor) AdminUpgradeToNewRule(opts *bind.TransactOpts, recipient common.Address) (*types.Transaction, error)
- func (_TweetVote *TweetVoteTransactor) ChangeOwner(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)
- func (_TweetVote *TweetVoteTransactor) ChangeStatus(opts *bind.TransactOpts, stop bool) (*types.Transaction, error)
- func (_TweetVote *TweetVoteTransactor) MigrateTweetOwner(opts *bind.TransactOpts, tweetHashs [][32]byte, newOwner common.Address) (*types.Transaction, error)
- func (_TweetVote *TweetVoteTransactor) PublishTweet(opts *bind.TransactOpts, hash [32]byte, signature []byte) (*types.Transaction, error)
- func (_TweetVote *TweetVoteTransactor) Receive(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_TweetVote *TweetVoteTransactor) VoteToTweets(opts *bind.TransactOpts, tweetHash [32]byte, voteNo *big.Int) (*types.Transaction, error)
- func (_TweetVote *TweetVoteTransactor) Withdraw(opts *bind.TransactOpts, amount *big.Int, all bool) (*types.Transaction, error)
- type TweetVoteTransactorRaw
- type TweetVoteTransactorSession
- func (_TweetVote *TweetVoteTransactorSession) AdminChangeKolKeyRate(newRate uint8) (*types.Transaction, error)
- func (_TweetVote *TweetVoteTransactorSession) AdminOperation(admin common.Address, isDelete bool) (*types.Transaction, error)
- func (_TweetVote *TweetVoteTransactorSession) AdminServiceFeeWithdraw() (*types.Transaction, error)
- func (_TweetVote *TweetVoteTransactorSession) AdminSetGameContract(newGameAddr common.Address) (*types.Transaction, error)
- func (_TweetVote *TweetVoteTransactorSession) AdminSetKolIncomePerTweetRate(newRate uint8) (*types.Transaction, error)
- func (_TweetVote *TweetVoteTransactorSession) AdminSetKolKeyContract(newKolContract common.Address) (*types.Transaction, error)
- func (_TweetVote *TweetVoteTransactorSession) AdminSetMaxVotePerTweet(newMaxVote *big.Int) (*types.Transaction, error)
- func (_TweetVote *TweetVoteTransactorSession) AdminSetServiceFeeRateForPerTweetVote(newRate uint8) (*types.Transaction, error)
- func (_TweetVote *TweetVoteTransactorSession) AdminSetTweetPostPrice(newPriceInFinney *big.Int) (*types.Transaction, error)
- func (_TweetVote *TweetVoteTransactorSession) AdminSetTweetVotePrice(newPriceInFinney *big.Int) (*types.Transaction, error)
- func (_TweetVote *TweetVoteTransactorSession) AdminSetWithdrawFeeRate(newRate uint8) (*types.Transaction, error)
- func (_TweetVote *TweetVoteTransactorSession) AdminStopKolKey(stop bool) (*types.Transaction, error)
- func (_TweetVote *TweetVoteTransactorSession) AdminStopPlugin(stop bool) (*types.Transaction, error)
- func (_TweetVote *TweetVoteTransactorSession) AdminUpgradeToNewRule(recipient common.Address) (*types.Transaction, error)
- func (_TweetVote *TweetVoteTransactorSession) ChangeOwner(newOwner common.Address) (*types.Transaction, error)
- func (_TweetVote *TweetVoteTransactorSession) ChangeStatus(stop bool) (*types.Transaction, error)
- func (_TweetVote *TweetVoteTransactorSession) MigrateTweetOwner(tweetHashs [][32]byte, newOwner common.Address) (*types.Transaction, error)
- func (_TweetVote *TweetVoteTransactorSession) PublishTweet(hash [32]byte, signature []byte) (*types.Transaction, error)
- func (_TweetVote *TweetVoteTransactorSession) Receive() (*types.Transaction, error)
- func (_TweetVote *TweetVoteTransactorSession) VoteToTweets(tweetHash [32]byte, voteNo *big.Int) (*types.Transaction, error)
- func (_TweetVote *TweetVoteTransactorSession) Withdraw(amount *big.Int, all bool) (*types.Transaction, error)
- type TweetVoteTweetPublished
- type TweetVoteTweetPublishedIterator
- type TweetVoteTweetVoted
- type TweetVoteTweetVotedIterator
- type TweetVoteUpgradeToNewRule
- type TweetVoteUpgradeToNewRuleIterator
- type TweetVoteWithdrawService
- type TweetVoteWithdrawServiceIterator
Constants ¶
This section is empty.
Variables ¶
var KolKeySimpleABI = KolKeySimpleMetaData.ABI
KolKeySimpleABI is the input ABI used to generate the binding from. Deprecated: Use KolKeySimpleMetaData.ABI instead.
var KolKeySimpleMetaData = &bind.MetaData{
ABI: "[{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"admin\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bool\",\"name\":\"opType\",\"type\":\"bool\"}],\"name\":\"AdminOperation\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"investor\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"val\",\"type\":\"uint256\"}],\"name\":\"InvestorWithdrawAllIncome\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"investor\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"kol\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"val\",\"type\":\"uint256\"}],\"name\":\"InvestorWithdrawByOneKol\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"investor\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"kol\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"nonce\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"val\",\"type\":\"uint256\"}],\"name\":\"InvestorWithdrawByOneNonce\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"}],\"name\":\"KeyRebound\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"kol\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"nonce\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"KeyTransfer\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"kol\",\"type\":\"address\"}],\"name\":\"KeyTransferAll\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"int8\",\"name\":\"sourceID\",\"type\":\"int8\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"sourceConract\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"kol\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"keyNo\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"keyNonce\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"valPerKey\",\"type\":\"uint256\"}],\"name\":\"KolIncomeToPoolAction\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"kolAddr\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"buyer\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"keyNo\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"curNonce\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"KoltotalNo\",\"type\":\"uint256\"}],\"name\":\"KolKeyBought\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"kol\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"pricePerKey\",\"type\":\"uint256\"}],\"name\":\"KolKeyOpened\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"oldOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnerSet\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"newSerficeFeeRate\",\"type\":\"uint256\"}],\"name\":\"ServiceFeeChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"num\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"string\",\"name\":\"op\",\"type\":\"string\"}],\"name\":\"SystemSet\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"newContract\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"balance\",\"type\":\"uint256\"}],\"name\":\"UpgradeToNewRule\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"balance\",\"type\":\"uint256\"}],\"name\":\"WithdrawService\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"investor\",\"type\":\"address\"}],\"name\":\"AllIncomeOfAllKol\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"kol\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"investor\",\"type\":\"address\"}],\"name\":\"AllIncomeOfOneKol\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"AllKolAddr\",\"outputs\":[{\"internalType\":\"address[]\",\"name\":\"\",\"type\":\"address[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"kol\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"nonce\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"investor\",\"type\":\"address\"}],\"name\":\"IncomeOfOneNonce\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"kol\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"nonce\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"IncomeOfOneNonceByAmount\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"investor\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"kol\",\"type\":\"address\"}],\"name\":\"InvestorAllKeysOfKol\",\"outputs\":[{\"internalType\":\"uint256[]\",\"name\":\"nonce\",\"type\":\"uint256[]\"},{\"internalType\":\"uint256[]\",\"name\":\"amounts\",\"type\":\"uint256[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"kol\",\"type\":\"address\"}],\"name\":\"InvestorOfKol\",\"outputs\":[{\"internalType\":\"address[]\",\"name\":\"\",\"type\":\"address[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"KeySettingsRecord\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"price\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"nonce\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"totalVal\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"totalNo\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"investor\",\"type\":\"address\"}],\"name\":\"KolOfOneInvestor\",\"outputs\":[{\"internalType\":\"address[]\",\"name\":\"\",\"type\":\"address[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"__admins\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"__minValCheck\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"admin\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"isDelete\",\"type\":\"bool\"}],\"name\":\"adminOperation\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"adminServiceFeeWithdraw\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint8\",\"name\":\"newRate\",\"type\":\"uint8\"}],\"name\":\"adminSetKeyFeeRate\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint8\",\"name\":\"newRate\",\"type\":\"uint8\"}],\"name\":\"adminSetKolIncomeRate\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"keyNo\",\"type\":\"uint256\"}],\"name\":\"adminSetMaxKolKeyNo\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint8\",\"name\":\"newRate\",\"type\":\"uint8\"}],\"name\":\"adminSetWithdrawFeeRate\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"addresspayable\",\"name\":\"recipient\",\"type\":\"address\"}],\"name\":\"adminUpgradeToNewRule\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"allKolInSystem\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"balance\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"kolAddr\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"keyNo\",\"type\":\"uint256\"}],\"name\":\"buyKolKey\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"changeOwner\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bool\",\"name\":\"stop\",\"type\":\"bool\"}],\"name\":\"changeStatus\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"checkPluginInterface\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getOwner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"incomePerNoncePerKey\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"int8\",\"name\":\"sourceID\",\"type\":\"int8\"},{\"internalType\":\"address\",\"name\":\"kolAddr\",\"type\":\"address\"}],\"name\":\"kolGotIncome\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"kolIncomeRatePerKeyBuy\",\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"sourceAddr\",\"type\":\"address\"}],\"name\":\"kolOpenKeyPool\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"priceInFin\",\"type\":\"uint256\"}],\"name\":\"kolOpenKeySale\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"maxKeyNoForKol\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"}],\"name\":\"rebindKolKey\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"serviceFeeRatePerKeyBuy\",\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"serviceFeeReceived\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"kol\",\"type\":\"address\"}],\"name\":\"transferAllKey\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"kol\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"nonce\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"transferKey\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"withdrawAllIncome\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"withdrawFeeRate\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"kol\",\"type\":\"address\"}],\"name\":\"withdrawFromOneKol\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"kol\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"nonce\",\"type\":\"uint256\"}],\"name\":\"withdrawFromOneNonce\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"stateMutability\":\"payable\",\"type\":\"receive\"}]",
}
KolKeySimpleMetaData contains all meta data concerning the KolKeySimple contract.
var KolKeysABI = KolKeysMetaData.ABI
KolKeysABI is the input ABI used to generate the binding from. Deprecated: Use KolKeysMetaData.ABI instead.
var KolKeysMetaData = &bind.MetaData{
ABI: "[{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"admin\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bool\",\"name\":\"opType\",\"type\":\"bool\"}],\"name\":\"AdminOperation\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"investor\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"val\",\"type\":\"uint256\"}],\"name\":\"InvestorWithdrawAllIncome\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"investor\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"kol\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"val\",\"type\":\"uint256\"}],\"name\":\"InvestorWithdrawByOneKol\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"investor\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"kol\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"nonce\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"val\",\"type\":\"uint256\"}],\"name\":\"InvestorWithdrawByOneNonce\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"kol\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"seller\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"buyer\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"nonce\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"pricePerKey\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"string\",\"name\":\"typ\",\"type\":\"string\"}],\"name\":\"KeyAuctionAction\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"kol\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"nonce\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"KeyTransfered\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"kol\",\"type\":\"address\"}],\"name\":\"KeyTransferedAll\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"kolAddr\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"buyer\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"keyNo\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"curNonce\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"KoltotalNo\",\"type\":\"uint256\"}],\"name\":\"KolIpRightBought\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"kol\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"price\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"maxKeyNo\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"string\",\"name\":\"op\",\"type\":\"string\"}],\"name\":\"KolKeyOperation\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"oldOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnerSet\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"newSerficeFeeRate\",\"type\":\"uint256\"}],\"name\":\"ServiceFeeChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"num\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"string\",\"name\":\"op\",\"type\":\"string\"}],\"name\":\"SystemSet\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"tHash\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"buyer\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"voteNoe\",\"type\":\"uint256\"}],\"name\":\"TweetBought\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"newContract\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"balance\",\"type\":\"uint256\"}],\"name\":\"UpgradeToNewRule\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"balance\",\"type\":\"uint256\"}],\"name\":\"WithdrawService\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"investor\",\"type\":\"address\"}],\"name\":\"AllIncomeOfAllKol\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"kol\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"investor\",\"type\":\"address\"}],\"name\":\"AllIncomeOfOneKol\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"start\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"no\",\"type\":\"uint256\"}],\"name\":\"AuctionData\",\"outputs\":[{\"components\":[{\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"seller\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"bidder\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"kol\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"nonce\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"price\",\"type\":\"uint256\"},{\"internalType\":\"bool\",\"name\":\"status\",\"type\":\"bool\"}],\"internalType\":\"structKolKeys.KeyAuction[]\",\"name\":\"result\",\"type\":\"tuple[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"kol\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"nonce\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"IncomeOfOneNonce\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"investor\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"kol\",\"type\":\"address\"}],\"name\":\"InvestorAllKeysOfKol\",\"outputs\":[{\"internalType\":\"uint256[]\",\"name\":\"nonce\",\"type\":\"uint256[]\"},{\"internalType\":\"uint256[]\",\"name\":\"amounts\",\"type\":\"uint256[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"kol\",\"type\":\"address\"}],\"name\":\"InvestorOfKol\",\"outputs\":[{\"internalType\":\"address[]\",\"name\":\"\",\"type\":\"address[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"KeySettingsRecord\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"price\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"maxNo\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"nonce\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"totalNo\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"kol\",\"type\":\"address\"}],\"name\":\"KeyStatusOfKol\",\"outputs\":[{\"components\":[{\"internalType\":\"uint256\",\"name\":\"price\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"maxNo\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"nonce\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"totalNo\",\"type\":\"uint256\"}],\"internalType\":\"structKolKeys.KeySettings\",\"name\":\"\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"investor\",\"type\":\"address\"}],\"name\":\"KolOfOneInvestor\",\"outputs\":[{\"internalType\":\"address[]\",\"name\":\"\",\"type\":\"address[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"__admins\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"__currentAuctionID\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"__feeForKeyBiddig\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"__feeForKolKeyOp\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"__minValCheck\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"admin\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"isDelete\",\"type\":\"bool\"}],\"name\":\"adminOperation\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"adminServiceFeeWithdraw\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"newFeeInGwei\",\"type\":\"uint256\"}],\"name\":\"adminSetBddingFee\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint8\",\"name\":\"newRate\",\"type\":\"uint8\"}],\"name\":\"adminSetKeyFeeRate\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint8\",\"name\":\"newRate\",\"type\":\"uint8\"}],\"name\":\"adminSetKolIncomeRate\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"newFeeInGwei\",\"type\":\"uint256\"}],\"name\":\"adminSetKolOperationFee\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint8\",\"name\":\"newRate\",\"type\":\"uint8\"}],\"name\":\"adminSetWithdrawFeeRate\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"addresspayable\",\"name\":\"recipient\",\"type\":\"address\"}],\"name\":\"adminUpgradeToNewRule\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"auctionIdxMap\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"balance\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"bidID\",\"type\":\"uint256\"}],\"name\":\"bid\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"kolAddr\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"keyNo\",\"type\":\"uint256\"}],\"name\":\"buyKolKey\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"changeOwner\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bool\",\"name\":\"stop\",\"type\":\"bool\"}],\"name\":\"changeStatus\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"checkPluginInterface\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getOwner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"incomePerNoncePerKey\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"kol\",\"type\":\"address\"}],\"name\":\"incomeToKolPool\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"kol\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"nonce\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"pricePerKey\",\"type\":\"uint256\"}],\"name\":\"issueBid\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"keyInAuction\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"seller\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"bidder\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"kol\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"nonce\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"price\",\"type\":\"uint256\"},{\"internalType\":\"bool\",\"name\":\"status\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"kolAddKeySupply\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"kolIncomeRatePerKeyBuy\",\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"pricePerKey\",\"type\":\"uint256\"},{\"internalType\":\"int256\",\"name\":\"maxKeyNo\",\"type\":\"int256\"}],\"name\":\"kolOpenKeySale\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"newPrice\",\"type\":\"uint256\"}],\"name\":\"kolSetKeyPrice\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"bidID\",\"type\":\"uint256\"}],\"name\":\"revokeBid\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"serviceFeeRatePerKeyBuy\",\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"serviceFeeReceived\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"kol\",\"type\":\"address\"}],\"name\":\"transferAllKey\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"kol\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"nonce\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"transferKey\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"tweetHash\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"tweetOwner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"buyer\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"voteNo\",\"type\":\"uint256\"}],\"name\":\"tweetBought\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"withdrawAllIncome\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"withdrawFeeRate\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"kol\",\"type\":\"address\"}],\"name\":\"withdrawFromOneKol\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"kol\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"nonce\",\"type\":\"uint256\"}],\"name\":\"withdrawFromOneNonce\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"stateMutability\":\"payable\",\"type\":\"receive\"}]",
}
KolKeysMetaData contains all meta data concerning the KolKeys contract.
var TweetLotteryGameABI = TweetLotteryGameMetaData.ABI
TweetLotteryGameABI is the input ABI used to generate the binding from. Deprecated: Use TweetLotteryGameMetaData.ABI instead.
var TweetLotteryGameMetaData = &bind.MetaData{
ABI: "[{\"inputs\":[{\"internalType\":\"address[]\",\"name\":\"admins\",\"type\":\"address[]\"},{\"internalType\":\"bytes32\",\"name\":\"hash\",\"type\":\"bytes32\"}],\"stateMutability\":\"payable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"newTimeInMinutes\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"string\",\"name\":\"opName\",\"type\":\"string\"}],\"name\":\"AdminOperated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"admin\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bool\",\"name\":\"opType\",\"type\":\"bool\"}],\"name\":\"AdminOperation\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"winner\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"ticketID\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"bonus\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"bonusToPoints\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"random\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"nextRandomHash\",\"type\":\"bytes32\"}],\"name\":\"DiscoverWinner\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"oldOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnerSet\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"newSerficeFeeRate\",\"type\":\"uint256\"}],\"name\":\"ServiceFeeChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"hash\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"round\",\"type\":\"uint256\"}],\"name\":\"SkipToNewRound\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"buyer\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"no\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"serviceFee\",\"type\":\"uint256\"}],\"name\":\"TicketSold\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"thash\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"buyer\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"val\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"no\",\"type\":\"uint256\"}],\"name\":\"TweetBought\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"newContract\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"balance\",\"type\":\"uint256\"}],\"name\":\"UpgradeToNewRule\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"balance\",\"type\":\"uint256\"}],\"name\":\"WithdrawService\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"__admins\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"__bonusRateToWinner\",\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"__currentLotteryTicketID\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"__lotteryGameRoundTime\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"__minValCheck\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"__openToOuterPlayer\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"__serviceFeeRateForTicketBuy\",\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"__ticketPriceForOuter\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint8\",\"name\":\"newRate\",\"type\":\"uint8\"}],\"name\":\"adminChangeBonusRateToWinner\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"newTimeInMinutes\",\"type\":\"uint256\"}],\"name\":\"adminChangeRoundTime\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bool\",\"name\":\"isOpen\",\"type\":\"bool\"}],\"name\":\"adminOpenToOuterPlayer\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"admin\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"isDelete\",\"type\":\"bool\"}],\"name\":\"adminOperation\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"adminServiceFeeWithdraw\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint8\",\"name\":\"newRate\",\"type\":\"uint8\"}],\"name\":\"adminSetServiceFeeRateForTicketBuy\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"priceInFinney\",\"type\":\"uint256\"}],\"name\":\"adminSetTicketPriceForOuter\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint8\",\"name\":\"newRate\",\"type\":\"uint8\"}],\"name\":\"adminSetWithdrawFeeRate\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"addresspayable\",\"name\":\"recipient\",\"type\":\"address\"}],\"name\":\"adminUpgradeToNewRule\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"balance\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"bonusForPoints\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"ticketNo\",\"type\":\"uint256\"}],\"name\":\"buyTicketFromOuter\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"buyerInfoIdxForTickets\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"changeOwner\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bool\",\"name\":\"stop\",\"type\":\"bool\"}],\"name\":\"changeStatus\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"checkPluginInterface\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"currentRoundNo\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"random\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"nextRoundRandomHash\",\"type\":\"bytes32\"}],\"name\":\"discoverWinner\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"gameInfoRecord\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"randomHash\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"discoverTime\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"winner\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"winTicketID\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"bonus\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"bonusForWinner\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"randomVal\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"ticketNo\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getOwner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"from\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"to\",\"type\":\"uint256\"}],\"name\":\"historyRoundInfo\",\"outputs\":[{\"components\":[{\"internalType\":\"bytes32\",\"name\":\"randomHash\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"discoverTime\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"winner\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"winTicketID\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"bonus\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"bonusForWinner\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"randomVal\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"ticketNo\",\"type\":\"uint256\"}],\"internalType\":\"structTweetLotteryGame.GameInfoOneRound[]\",\"name\":\"infos\",\"type\":\"tuple[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"serviceFeeReceived\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"hash\",\"type\":\"bytes32\"}],\"name\":\"skipToNextRound\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"systemSettings\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"roundNo\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"tBonus\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"curTicketNo\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"tickPrice\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"bonusPoint\",\"type\":\"uint256\"},{\"internalType\":\"bool\",\"name\":\"isOpenForOuter\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"round\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"name\":\"tickList\",\"outputs\":[{\"internalType\":\"uint256[]\",\"name\":\"\",\"type\":\"uint256[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"ticketsOfBuyer\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"ticketsRecords\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"totalBonus\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"addresspayable\",\"name\":\"tokenContract\",\"type\":\"address\"}],\"name\":\"transferBonusOfPoints\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"tweetHash\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"tweetOwner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"buyer\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"voteNo\",\"type\":\"uint256\"}],\"name\":\"tweetBought\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"bool\",\"name\":\"all\",\"type\":\"bool\"}],\"name\":\"withdraw\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"withdrawFeeRate\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"stateMutability\":\"payable\",\"type\":\"receive\"}]",
}
TweetLotteryGameMetaData contains all meta data concerning the TweetLotteryGame contract.
var TweetVoteABI = TweetVoteMetaData.ABI
TweetVoteABI is the input ABI used to generate the binding from. Deprecated: Use TweetVoteMetaData.ABI instead.
var TweetVoteMetaData = &bind.MetaData{
ABI: "[{\"inputs\":[],\"stateMutability\":\"payable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"admin\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bool\",\"name\":\"opType\",\"type\":\"bool\"}],\"name\":\"AdminOperation\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"kolAddr\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"buyer\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"rightsNo\",\"type\":\"uint256\"}],\"name\":\"KolRightsBought\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"kol\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"KolWithdraw\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"oldOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnerSet\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"pAddr\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bool\",\"name\":\"stop\",\"type\":\"bool\"},{\"indexed\":false,\"internalType\":\"string\",\"name\":\"typ\",\"type\":\"string\"}],\"name\":\"PluginChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"Received\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"newSerficeFeeRate\",\"type\":\"uint256\"}],\"name\":\"ServiceFeeChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"pricePost\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"string\",\"name\":\"rateName\",\"type\":\"string\"}],\"name\":\"SystemRateChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"tweetHash\",\"type\":\"bytes32\"}],\"name\":\"TweetPublished\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"tweetHash\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"voter\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"pricePerVote\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"voteNo\",\"type\":\"uint256\"}],\"name\":\"TweetVoted\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"newContract\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"balance\",\"type\":\"uint256\"}],\"name\":\"UpgradeToNewRule\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"balance\",\"type\":\"uint256\"}],\"name\":\"WithdrawService\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"__admins\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"__minValCheck\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint8\",\"name\":\"newRate\",\"type\":\"uint8\"}],\"name\":\"adminChangeKolKeyRate\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"admin\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"isDelete\",\"type\":\"bool\"}],\"name\":\"adminOperation\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"adminServiceFeeWithdraw\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newGameAddr\",\"type\":\"address\"}],\"name\":\"adminSetGameContract\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint8\",\"name\":\"newRate\",\"type\":\"uint8\"}],\"name\":\"adminSetKolIncomePerTweetRate\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newKolContract\",\"type\":\"address\"}],\"name\":\"adminSetKolKeyContract\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"newMaxVote\",\"type\":\"uint256\"}],\"name\":\"adminSetMaxVotePerTweet\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint8\",\"name\":\"newRate\",\"type\":\"uint8\"}],\"name\":\"adminSetServiceFeeRateForPerTweetVote\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"newPriceInFinney\",\"type\":\"uint256\"}],\"name\":\"adminSetTweetPostPrice\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"newPriceInFinney\",\"type\":\"uint256\"}],\"name\":\"adminSetTweetVotePrice\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint8\",\"name\":\"newRate\",\"type\":\"uint8\"}],\"name\":\"adminSetWithdrawFeeRate\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bool\",\"name\":\"stop\",\"type\":\"bool\"}],\"name\":\"adminStopKolKey\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bool\",\"name\":\"stop\",\"type\":\"bool\"}],\"name\":\"adminStopPlugin\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"addresspayable\",\"name\":\"recipient\",\"type\":\"address\"}],\"name\":\"adminUpgradeToNewRule\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"balance\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"changeOwner\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bool\",\"name\":\"stop\",\"type\":\"bool\"}],\"name\":\"changeStatus\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"contractBalance\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"gameContract\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"gameStop\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getOwner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"kolIncomePerTweetVoteRate\",\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"kolKeyContract\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"kolKeyIncomeRate\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"kolKeyIncomeSourceID\",\"outputs\":[{\"internalType\":\"int8\",\"name\":\"\",\"type\":\"int8\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"kolKeyStop\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"maxVotePerTweet\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32[]\",\"name\":\"tweetHashs\",\"type\":\"bytes32[]\"},{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"migrateTweetOwner\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"oneFinney\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"name\":\"ownersOfAllTweets\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"hash\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"signature\",\"type\":\"bytes\"}],\"name\":\"publishTweet\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"prefixedHash\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"signature\",\"type\":\"bytes\"}],\"name\":\"recoverSigner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"serviceFeePerTweetVoteRate\",\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"serviceFeeReceived\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"systemSettings\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"},{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"},{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"tweetPostPrice\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"tweetVotePrice\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"tweetHash\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"voteNo\",\"type\":\"uint256\"}],\"name\":\"voteToTweets\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"bool\",\"name\":\"all\",\"type\":\"bool\"}],\"name\":\"withdraw\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"withdrawFeeRate\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"stateMutability\":\"payable\",\"type\":\"receive\"}]",
}
TweetVoteMetaData contains all meta data concerning the TweetVote contract.
Functions ¶
This section is empty.
Types ¶
type GamInfoOnChain ¶ added in v1.0.1
type GamInfoOnChain struct { RoundNo int64 `json:"round_no" firestore:"round_no"` RandomHash string `json:"random_hash" firestore:"random_hash"` DiscoverTime int64 `json:"discover_time" firestore:"discover_time"` Winner string `json:"winner" firestore:"winner"` WinTicketID int64 `json:"win_ticket_id" firestore:"win_ticket_id"` Bonus float64 `json:"bonus" firestore:"bonus"` BonusForWinner float64 `json:"bonus_for_winner" firestore:"bonus_for_winner"` RandomVal string `json:"random_val" firestore:"random_val"` TicketsNo int64 `json:"tickets_no" firestore:"tickets_no"` }
func (*GamInfoOnChain) String ¶ added in v1.0.1
func (c *GamInfoOnChain) String() string
type KolKeySimple ¶ added in v1.0.1
type KolKeySimple struct { KolKeySimpleCaller // Read-only binding to the contract KolKeySimpleTransactor // Write-only binding to the contract KolKeySimpleFilterer // Log filterer for contract events }
KolKeySimple is an auto generated Go binding around an Ethereum contract.
func NewKolKeySimple ¶ added in v1.0.1
func NewKolKeySimple(address common.Address, backend bind.ContractBackend) (*KolKeySimple, error)
NewKolKeySimple creates a new instance of KolKeySimple, bound to a specific deployed contract.
type KolKeySimpleAdminOperation ¶ added in v1.0.1
type KolKeySimpleAdminOperation struct { Admin common.Address OpType bool Raw types.Log // Blockchain specific contextual infos }
KolKeySimpleAdminOperation represents a AdminOperation event raised by the KolKeySimple contract.
type KolKeySimpleAdminOperationIterator ¶ added in v1.0.1
type KolKeySimpleAdminOperationIterator struct { Event *KolKeySimpleAdminOperation // Event containing the contract specifics and raw log // contains filtered or unexported fields }
KolKeySimpleAdminOperationIterator is returned from FilterAdminOperation and is used to iterate over the raw logs and unpacked data for AdminOperation events raised by the KolKeySimple contract.
func (*KolKeySimpleAdminOperationIterator) Close ¶ added in v1.0.1
func (it *KolKeySimpleAdminOperationIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*KolKeySimpleAdminOperationIterator) Error ¶ added in v1.0.1
func (it *KolKeySimpleAdminOperationIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*KolKeySimpleAdminOperationIterator) Next ¶ added in v1.0.1
func (it *KolKeySimpleAdminOperationIterator) 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 KolKeySimpleCaller ¶ added in v1.0.1
type KolKeySimpleCaller struct {
// contains filtered or unexported fields
}
KolKeySimpleCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewKolKeySimpleCaller ¶ added in v1.0.1
func NewKolKeySimpleCaller(address common.Address, caller bind.ContractCaller) (*KolKeySimpleCaller, error)
NewKolKeySimpleCaller creates a new read-only instance of KolKeySimple, bound to a specific deployed contract.
func (*KolKeySimpleCaller) Admins ¶ added in v1.0.1
func (_KolKeySimple *KolKeySimpleCaller) Admins(opts *bind.CallOpts, arg0 common.Address) (bool, error)
Admins is a free data retrieval call binding the contract method 0x22b429f4.
Solidity: function __admins(address ) view returns(bool)
func (*KolKeySimpleCaller) AllIncomeOfAllKol ¶ added in v1.0.1
func (_KolKeySimple *KolKeySimpleCaller) AllIncomeOfAllKol(opts *bind.CallOpts, investor common.Address) (*big.Int, error)
AllIncomeOfAllKol is a free data retrieval call binding the contract method 0xaf958a62.
Solidity: function AllIncomeOfAllKol(address investor) view returns(uint256)
func (*KolKeySimpleCaller) AllIncomeOfOneKol ¶ added in v1.0.1
func (_KolKeySimple *KolKeySimpleCaller) AllIncomeOfOneKol(opts *bind.CallOpts, kol common.Address, investor common.Address) (*big.Int, error)
AllIncomeOfOneKol is a free data retrieval call binding the contract method 0x6d74bb5f.
Solidity: function AllIncomeOfOneKol(address kol, address investor) view returns(uint256)
func (*KolKeySimpleCaller) AllKolAddr ¶ added in v1.0.1
AllKolAddr is a free data retrieval call binding the contract method 0x399ccecf.
Solidity: function AllKolAddr() view returns(address[])
func (*KolKeySimpleCaller) AllKolInSystem ¶ added in v1.0.1
func (_KolKeySimple *KolKeySimpleCaller) AllKolInSystem(opts *bind.CallOpts, arg0 *big.Int) (common.Address, error)
AllKolInSystem is a free data retrieval call binding the contract method 0x2d5e031d.
Solidity: function allKolInSystem(uint256 ) view returns(address)
func (*KolKeySimpleCaller) Balance ¶ added in v1.0.1
func (_KolKeySimple *KolKeySimpleCaller) Balance(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)
Balance is a free data retrieval call binding the contract method 0xe3d670d7.
Solidity: function balance(address ) view returns(uint256)
func (*KolKeySimpleCaller) CheckPluginInterface ¶ added in v1.0.1
func (_KolKeySimple *KolKeySimpleCaller) CheckPluginInterface(opts *bind.CallOpts) (bool, error)
CheckPluginInterface is a free data retrieval call binding the contract method 0x807c758d.
Solidity: function checkPluginInterface() pure returns(bool)
func (*KolKeySimpleCaller) GetOwner ¶ added in v1.0.1
GetOwner is a free data retrieval call binding the contract method 0x893d20e8.
Solidity: function getOwner() view returns(address)
func (*KolKeySimpleCaller) IncomeOfOneNonce ¶ added in v1.0.1
func (_KolKeySimple *KolKeySimpleCaller) IncomeOfOneNonce(opts *bind.CallOpts, kol common.Address, nonce *big.Int, investor common.Address) (*big.Int, error)
IncomeOfOneNonce is a free data retrieval call binding the contract method 0x3a99f6a0.
Solidity: function IncomeOfOneNonce(address kol, uint256 nonce, address investor) view returns(uint256)
func (*KolKeySimpleCaller) IncomeOfOneNonceByAmount ¶ added in v1.0.1
func (_KolKeySimple *KolKeySimpleCaller) IncomeOfOneNonceByAmount(opts *bind.CallOpts, kol common.Address, nonce *big.Int, amount *big.Int) (*big.Int, error)
IncomeOfOneNonceByAmount is a free data retrieval call binding the contract method 0x232d562f.
Solidity: function IncomeOfOneNonceByAmount(address kol, uint256 nonce, uint256 amount) view returns(uint256)
func (*KolKeySimpleCaller) IncomePerNoncePerKey ¶ added in v1.0.1
func (_KolKeySimple *KolKeySimpleCaller) IncomePerNoncePerKey(opts *bind.CallOpts, arg0 common.Address, arg1 *big.Int) (*big.Int, error)
IncomePerNoncePerKey is a free data retrieval call binding the contract method 0x53311742.
Solidity: function incomePerNoncePerKey(address , uint256 ) view returns(uint256)
func (*KolKeySimpleCaller) InvestorAllKeysOfKol ¶ added in v1.0.1
func (_KolKeySimple *KolKeySimpleCaller) InvestorAllKeysOfKol(opts *bind.CallOpts, investor common.Address, kol common.Address) (struct { Nonce []*big.Int Amounts []*big.Int }, error)
InvestorAllKeysOfKol is a free data retrieval call binding the contract method 0xb83bb4e6.
Solidity: function InvestorAllKeysOfKol(address investor, address kol) view returns(uint256[] nonce, uint256[] amounts)
func (*KolKeySimpleCaller) InvestorOfKol ¶ added in v1.0.1
func (_KolKeySimple *KolKeySimpleCaller) InvestorOfKol(opts *bind.CallOpts, kol common.Address) ([]common.Address, error)
InvestorOfKol is a free data retrieval call binding the contract method 0x8b2b0b67.
Solidity: function InvestorOfKol(address kol) view returns(address[])
func (*KolKeySimpleCaller) KeySettingsRecord ¶ added in v1.0.1
func (_KolKeySimple *KolKeySimpleCaller) KeySettingsRecord(opts *bind.CallOpts, arg0 common.Address) (struct { Price *big.Int Nonce *big.Int TotalVal *big.Int TotalNo *big.Int }, error)
KeySettingsRecord is a free data retrieval call binding the contract method 0x94447f45.
Solidity: function KeySettingsRecord(address ) view returns(uint256 price, uint256 nonce, uint256 totalVal, uint256 totalNo)
func (*KolKeySimpleCaller) KolIncomeRatePerKeyBuy ¶ added in v1.0.1
func (_KolKeySimple *KolKeySimpleCaller) KolIncomeRatePerKeyBuy(opts *bind.CallOpts) (uint8, error)
KolIncomeRatePerKeyBuy is a free data retrieval call binding the contract method 0xafb337cf.
Solidity: function kolIncomeRatePerKeyBuy() view returns(uint8)
func (*KolKeySimpleCaller) KolOfOneInvestor ¶ added in v1.0.1
func (_KolKeySimple *KolKeySimpleCaller) KolOfOneInvestor(opts *bind.CallOpts, investor common.Address) ([]common.Address, error)
KolOfOneInvestor is a free data retrieval call binding the contract method 0xce92faa2.
Solidity: function KolOfOneInvestor(address investor) view returns(address[])
func (*KolKeySimpleCaller) KolOpenKeyPool ¶ added in v1.0.1
func (_KolKeySimple *KolKeySimpleCaller) KolOpenKeyPool(opts *bind.CallOpts, sourceAddr common.Address) (bool, error)
KolOpenKeyPool is a free data retrieval call binding the contract method 0xbb86a929.
Solidity: function kolOpenKeyPool(address sourceAddr) view returns(bool)
func (*KolKeySimpleCaller) MaxKeyNoForKol ¶ added in v1.0.1
MaxKeyNoForKol is a free data retrieval call binding the contract method 0xd5238a8c.
Solidity: function maxKeyNoForKol() view returns(uint256)
func (*KolKeySimpleCaller) MinValCheck ¶ added in v1.0.1
MinValCheck is a free data retrieval call binding the contract method 0x8509614b.
Solidity: function __minValCheck() view returns(uint256)
func (*KolKeySimpleCaller) ServiceFeeRatePerKeyBuy ¶ added in v1.0.1
func (_KolKeySimple *KolKeySimpleCaller) ServiceFeeRatePerKeyBuy(opts *bind.CallOpts) (uint8, error)
ServiceFeeRatePerKeyBuy is a free data retrieval call binding the contract method 0xaf707457.
Solidity: function serviceFeeRatePerKeyBuy() view returns(uint8)
func (*KolKeySimpleCaller) ServiceFeeReceived ¶ added in v1.0.1
ServiceFeeReceived is a free data retrieval call binding the contract method 0xbe4479e8.
Solidity: function serviceFeeReceived() view returns(uint256)
func (*KolKeySimpleCaller) WithdrawFeeRate ¶ added in v1.0.1
WithdrawFeeRate is a free data retrieval call binding the contract method 0xea99e689.
Solidity: function withdrawFeeRate() view returns(uint256)
type KolKeySimpleCallerRaw ¶ added in v1.0.1
type KolKeySimpleCallerRaw struct {
Contract *KolKeySimpleCaller // Generic read-only contract binding to access the raw methods on
}
KolKeySimpleCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*KolKeySimpleCallerRaw) Call ¶ added in v1.0.1
func (_KolKeySimple *KolKeySimpleCallerRaw) 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 KolKeySimpleCallerSession ¶ added in v1.0.1
type KolKeySimpleCallerSession struct { Contract *KolKeySimpleCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
KolKeySimpleCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*KolKeySimpleCallerSession) Admins ¶ added in v1.0.1
func (_KolKeySimple *KolKeySimpleCallerSession) Admins(arg0 common.Address) (bool, error)
Admins is a free data retrieval call binding the contract method 0x22b429f4.
Solidity: function __admins(address ) view returns(bool)
func (*KolKeySimpleCallerSession) AllIncomeOfAllKol ¶ added in v1.0.1
func (_KolKeySimple *KolKeySimpleCallerSession) AllIncomeOfAllKol(investor common.Address) (*big.Int, error)
AllIncomeOfAllKol is a free data retrieval call binding the contract method 0xaf958a62.
Solidity: function AllIncomeOfAllKol(address investor) view returns(uint256)
func (*KolKeySimpleCallerSession) AllIncomeOfOneKol ¶ added in v1.0.1
func (_KolKeySimple *KolKeySimpleCallerSession) AllIncomeOfOneKol(kol common.Address, investor common.Address) (*big.Int, error)
AllIncomeOfOneKol is a free data retrieval call binding the contract method 0x6d74bb5f.
Solidity: function AllIncomeOfOneKol(address kol, address investor) view returns(uint256)
func (*KolKeySimpleCallerSession) AllKolAddr ¶ added in v1.0.1
func (_KolKeySimple *KolKeySimpleCallerSession) AllKolAddr() ([]common.Address, error)
AllKolAddr is a free data retrieval call binding the contract method 0x399ccecf.
Solidity: function AllKolAddr() view returns(address[])
func (*KolKeySimpleCallerSession) AllKolInSystem ¶ added in v1.0.1
func (_KolKeySimple *KolKeySimpleCallerSession) AllKolInSystem(arg0 *big.Int) (common.Address, error)
AllKolInSystem is a free data retrieval call binding the contract method 0x2d5e031d.
Solidity: function allKolInSystem(uint256 ) view returns(address)
func (*KolKeySimpleCallerSession) Balance ¶ added in v1.0.1
Balance is a free data retrieval call binding the contract method 0xe3d670d7.
Solidity: function balance(address ) view returns(uint256)
func (*KolKeySimpleCallerSession) CheckPluginInterface ¶ added in v1.0.1
func (_KolKeySimple *KolKeySimpleCallerSession) CheckPluginInterface() (bool, error)
CheckPluginInterface is a free data retrieval call binding the contract method 0x807c758d.
Solidity: function checkPluginInterface() pure returns(bool)
func (*KolKeySimpleCallerSession) GetOwner ¶ added in v1.0.1
func (_KolKeySimple *KolKeySimpleCallerSession) GetOwner() (common.Address, error)
GetOwner is a free data retrieval call binding the contract method 0x893d20e8.
Solidity: function getOwner() view returns(address)
func (*KolKeySimpleCallerSession) IncomeOfOneNonce ¶ added in v1.0.1
func (_KolKeySimple *KolKeySimpleCallerSession) IncomeOfOneNonce(kol common.Address, nonce *big.Int, investor common.Address) (*big.Int, error)
IncomeOfOneNonce is a free data retrieval call binding the contract method 0x3a99f6a0.
Solidity: function IncomeOfOneNonce(address kol, uint256 nonce, address investor) view returns(uint256)
func (*KolKeySimpleCallerSession) IncomeOfOneNonceByAmount ¶ added in v1.0.1
func (_KolKeySimple *KolKeySimpleCallerSession) IncomeOfOneNonceByAmount(kol common.Address, nonce *big.Int, amount *big.Int) (*big.Int, error)
IncomeOfOneNonceByAmount is a free data retrieval call binding the contract method 0x232d562f.
Solidity: function IncomeOfOneNonceByAmount(address kol, uint256 nonce, uint256 amount) view returns(uint256)
func (*KolKeySimpleCallerSession) IncomePerNoncePerKey ¶ added in v1.0.1
func (_KolKeySimple *KolKeySimpleCallerSession) IncomePerNoncePerKey(arg0 common.Address, arg1 *big.Int) (*big.Int, error)
IncomePerNoncePerKey is a free data retrieval call binding the contract method 0x53311742.
Solidity: function incomePerNoncePerKey(address , uint256 ) view returns(uint256)
func (*KolKeySimpleCallerSession) InvestorAllKeysOfKol ¶ added in v1.0.1
func (_KolKeySimple *KolKeySimpleCallerSession) InvestorAllKeysOfKol(investor common.Address, kol common.Address) (struct { Nonce []*big.Int Amounts []*big.Int }, error)
InvestorAllKeysOfKol is a free data retrieval call binding the contract method 0xb83bb4e6.
Solidity: function InvestorAllKeysOfKol(address investor, address kol) view returns(uint256[] nonce, uint256[] amounts)
func (*KolKeySimpleCallerSession) InvestorOfKol ¶ added in v1.0.1
func (_KolKeySimple *KolKeySimpleCallerSession) InvestorOfKol(kol common.Address) ([]common.Address, error)
InvestorOfKol is a free data retrieval call binding the contract method 0x8b2b0b67.
Solidity: function InvestorOfKol(address kol) view returns(address[])
func (*KolKeySimpleCallerSession) KeySettingsRecord ¶ added in v1.0.1
func (_KolKeySimple *KolKeySimpleCallerSession) KeySettingsRecord(arg0 common.Address) (struct { Price *big.Int Nonce *big.Int TotalVal *big.Int TotalNo *big.Int }, error)
KeySettingsRecord is a free data retrieval call binding the contract method 0x94447f45.
Solidity: function KeySettingsRecord(address ) view returns(uint256 price, uint256 nonce, uint256 totalVal, uint256 totalNo)
func (*KolKeySimpleCallerSession) KolIncomeRatePerKeyBuy ¶ added in v1.0.1
func (_KolKeySimple *KolKeySimpleCallerSession) KolIncomeRatePerKeyBuy() (uint8, error)
KolIncomeRatePerKeyBuy is a free data retrieval call binding the contract method 0xafb337cf.
Solidity: function kolIncomeRatePerKeyBuy() view returns(uint8)
func (*KolKeySimpleCallerSession) KolOfOneInvestor ¶ added in v1.0.1
func (_KolKeySimple *KolKeySimpleCallerSession) KolOfOneInvestor(investor common.Address) ([]common.Address, error)
KolOfOneInvestor is a free data retrieval call binding the contract method 0xce92faa2.
Solidity: function KolOfOneInvestor(address investor) view returns(address[])
func (*KolKeySimpleCallerSession) KolOpenKeyPool ¶ added in v1.0.1
func (_KolKeySimple *KolKeySimpleCallerSession) KolOpenKeyPool(sourceAddr common.Address) (bool, error)
KolOpenKeyPool is a free data retrieval call binding the contract method 0xbb86a929.
Solidity: function kolOpenKeyPool(address sourceAddr) view returns(bool)
func (*KolKeySimpleCallerSession) MaxKeyNoForKol ¶ added in v1.0.1
func (_KolKeySimple *KolKeySimpleCallerSession) MaxKeyNoForKol() (*big.Int, error)
MaxKeyNoForKol is a free data retrieval call binding the contract method 0xd5238a8c.
Solidity: function maxKeyNoForKol() view returns(uint256)
func (*KolKeySimpleCallerSession) MinValCheck ¶ added in v1.0.1
func (_KolKeySimple *KolKeySimpleCallerSession) MinValCheck() (*big.Int, error)
MinValCheck is a free data retrieval call binding the contract method 0x8509614b.
Solidity: function __minValCheck() view returns(uint256)
func (*KolKeySimpleCallerSession) ServiceFeeRatePerKeyBuy ¶ added in v1.0.1
func (_KolKeySimple *KolKeySimpleCallerSession) ServiceFeeRatePerKeyBuy() (uint8, error)
ServiceFeeRatePerKeyBuy is a free data retrieval call binding the contract method 0xaf707457.
Solidity: function serviceFeeRatePerKeyBuy() view returns(uint8)
func (*KolKeySimpleCallerSession) ServiceFeeReceived ¶ added in v1.0.1
func (_KolKeySimple *KolKeySimpleCallerSession) ServiceFeeReceived() (*big.Int, error)
ServiceFeeReceived is a free data retrieval call binding the contract method 0xbe4479e8.
Solidity: function serviceFeeReceived() view returns(uint256)
func (*KolKeySimpleCallerSession) WithdrawFeeRate ¶ added in v1.0.1
func (_KolKeySimple *KolKeySimpleCallerSession) WithdrawFeeRate() (*big.Int, error)
WithdrawFeeRate is a free data retrieval call binding the contract method 0xea99e689.
Solidity: function withdrawFeeRate() view returns(uint256)
type KolKeySimpleFilterer ¶ added in v1.0.1
type KolKeySimpleFilterer struct {
// contains filtered or unexported fields
}
KolKeySimpleFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewKolKeySimpleFilterer ¶ added in v1.0.1
func NewKolKeySimpleFilterer(address common.Address, filterer bind.ContractFilterer) (*KolKeySimpleFilterer, error)
NewKolKeySimpleFilterer creates a new log filterer instance of KolKeySimple, bound to a specific deployed contract.
func (*KolKeySimpleFilterer) FilterAdminOperation ¶ added in v1.0.1
func (_KolKeySimple *KolKeySimpleFilterer) FilterAdminOperation(opts *bind.FilterOpts) (*KolKeySimpleAdminOperationIterator, error)
FilterAdminOperation is a free log retrieval operation binding the contract event 0xa97d45d2d22d38f81ac1eb6ab339a6e56470c4cef221796a485da6841b02769e.
Solidity: event AdminOperation(address admin, bool opType)
func (*KolKeySimpleFilterer) FilterInvestorWithdrawAllIncome ¶ added in v1.0.1
func (_KolKeySimple *KolKeySimpleFilterer) FilterInvestorWithdrawAllIncome(opts *bind.FilterOpts) (*KolKeySimpleInvestorWithdrawAllIncomeIterator, error)
FilterInvestorWithdrawAllIncome is a free log retrieval operation binding the contract event 0x5dbe3bbfa87813b8be328cdb0b812e04de36cf36d1141967e1df795a7c95db0a.
Solidity: event InvestorWithdrawAllIncome(address investor, uint256 val)
func (*KolKeySimpleFilterer) FilterInvestorWithdrawByOneKol ¶ added in v1.0.1
func (_KolKeySimple *KolKeySimpleFilterer) FilterInvestorWithdrawByOneKol(opts *bind.FilterOpts) (*KolKeySimpleInvestorWithdrawByOneKolIterator, error)
FilterInvestorWithdrawByOneKol is a free log retrieval operation binding the contract event 0x6ce7ea243972341c9e8ddfa93ba573fec9d104862f00b1bcd6aab059efbc9a6d.
Solidity: event InvestorWithdrawByOneKol(address investor, address kol, uint256 val)
func (*KolKeySimpleFilterer) FilterInvestorWithdrawByOneNonce ¶ added in v1.0.1
func (_KolKeySimple *KolKeySimpleFilterer) FilterInvestorWithdrawByOneNonce(opts *bind.FilterOpts) (*KolKeySimpleInvestorWithdrawByOneNonceIterator, error)
FilterInvestorWithdrawByOneNonce is a free log retrieval operation binding the contract event 0xc85771d86e5aae3490e851850d1f22697f3a3fc112709b5d2bea1c3ea84fcefc.
Solidity: event InvestorWithdrawByOneNonce(address investor, address kol, uint256 nonce, uint256 val)
func (*KolKeySimpleFilterer) FilterKeyRebound ¶ added in v1.0.1
func (_KolKeySimple *KolKeySimpleFilterer) FilterKeyRebound(opts *bind.FilterOpts) (*KolKeySimpleKeyReboundIterator, error)
FilterKeyRebound is a free log retrieval operation binding the contract event 0xc8818e5ea70e3894e3e342afce8d6f4510704239dc7de14dca1b055ae77bc8f5.
Solidity: event KeyRebound(address from, address to)
func (*KolKeySimpleFilterer) FilterKeyTransfer ¶ added in v1.0.1
func (_KolKeySimple *KolKeySimpleFilterer) FilterKeyTransfer(opts *bind.FilterOpts) (*KolKeySimpleKeyTransferIterator, error)
FilterKeyTransfer is a free log retrieval operation binding the contract event 0x31882570e44c86140b6ff4fe0574206363f217951c784c58da2ecbdf1c9a5133.
Solidity: event KeyTransfer(address from, address to, address kol, uint256 nonce, uint256 amount)
func (*KolKeySimpleFilterer) FilterKeyTransferAll ¶ added in v1.0.1
func (_KolKeySimple *KolKeySimpleFilterer) FilterKeyTransferAll(opts *bind.FilterOpts) (*KolKeySimpleKeyTransferAllIterator, error)
FilterKeyTransferAll is a free log retrieval operation binding the contract event 0x35afe37362e9d3a07e354d5f0bedb6cea752a4d72d32228b667ecb7b31af728a.
Solidity: event KeyTransferAll(address from, address to, address kol)
func (*KolKeySimpleFilterer) FilterKolIncomeToPoolAction ¶ added in v1.0.1
func (_KolKeySimple *KolKeySimpleFilterer) FilterKolIncomeToPoolAction(opts *bind.FilterOpts) (*KolKeySimpleKolIncomeToPoolActionIterator, error)
FilterKolIncomeToPoolAction is a free log retrieval operation binding the contract event 0x4c20a8329633f42cfa3bee42045c6ee0360ac4ceeff4088d60d0bb24c624e330.
Solidity: event KolIncomeToPoolAction(int8 sourceID, address sourceConract, address kol, uint256 keyNo, uint256 keyNonce, uint256 amount, uint256 valPerKey)
func (*KolKeySimpleFilterer) FilterKolKeyBought ¶ added in v1.0.1
func (_KolKeySimple *KolKeySimpleFilterer) FilterKolKeyBought(opts *bind.FilterOpts) (*KolKeySimpleKolKeyBoughtIterator, error)
FilterKolKeyBought is a free log retrieval operation binding the contract event 0xa43d1ee2d295f126339683f7a2c5bbb65a75bd3506059340c09ad67168ebbfa8.
Solidity: event KolKeyBought(address kolAddr, address buyer, uint256 keyNo, uint256 curNonce, uint256 KoltotalNo)
func (*KolKeySimpleFilterer) FilterKolKeyOpened ¶ added in v1.0.1
func (_KolKeySimple *KolKeySimpleFilterer) FilterKolKeyOpened(opts *bind.FilterOpts) (*KolKeySimpleKolKeyOpenedIterator, error)
FilterKolKeyOpened is a free log retrieval operation binding the contract event 0x9752e725b9e262a3587203f1a8d8324ac9974062075f51c1c852d8422c27f943.
Solidity: event KolKeyOpened(address kol, uint256 pricePerKey)
func (*KolKeySimpleFilterer) FilterOwnerSet ¶ added in v1.0.1
func (_KolKeySimple *KolKeySimpleFilterer) FilterOwnerSet(opts *bind.FilterOpts, oldOwner []common.Address, newOwner []common.Address) (*KolKeySimpleOwnerSetIterator, error)
FilterOwnerSet is a free log retrieval operation binding the contract event 0x342827c97908e5e2f71151c08502a66d44b6f758e3ac2f1de95f02eb95f0a735.
Solidity: event OwnerSet(address indexed oldOwner, address indexed newOwner)
func (*KolKeySimpleFilterer) FilterServiceFeeChanged ¶ added in v1.0.1
func (_KolKeySimple *KolKeySimpleFilterer) FilterServiceFeeChanged(opts *bind.FilterOpts) (*KolKeySimpleServiceFeeChangedIterator, error)
FilterServiceFeeChanged is a free log retrieval operation binding the contract event 0x1c068decb3b5138b265d62b22c4c2d8191a2e0bd3745e97b5b0ff66fa852eca5.
Solidity: event ServiceFeeChanged(uint256 newSerficeFeeRate)
func (*KolKeySimpleFilterer) FilterSystemSet ¶ added in v1.0.1
func (_KolKeySimple *KolKeySimpleFilterer) FilterSystemSet(opts *bind.FilterOpts) (*KolKeySimpleSystemSetIterator, error)
FilterSystemSet is a free log retrieval operation binding the contract event 0xcd714485b704afdf17516cfe0560106372ea651897ae76ae6879e628756fb2a0.
Solidity: event SystemSet(uint256 num, string op)
func (*KolKeySimpleFilterer) FilterUpgradeToNewRule ¶ added in v1.0.1
func (_KolKeySimple *KolKeySimpleFilterer) FilterUpgradeToNewRule(opts *bind.FilterOpts) (*KolKeySimpleUpgradeToNewRuleIterator, error)
FilterUpgradeToNewRule is a free log retrieval operation binding the contract event 0x8ff69c992616f2fe31c491c4a2ba58d0da8ab5cea0e68ad7ea1713d6fecbcdaa.
Solidity: event UpgradeToNewRule(address newContract, uint256 balance)
func (*KolKeySimpleFilterer) FilterWithdrawService ¶ added in v1.0.1
func (_KolKeySimple *KolKeySimpleFilterer) FilterWithdrawService(opts *bind.FilterOpts) (*KolKeySimpleWithdrawServiceIterator, error)
FilterWithdrawService is a free log retrieval operation binding the contract event 0x7cb5cedbb78bc8cf00b5ffe051ef08d865e93d587654a591285add48befaa51d.
Solidity: event WithdrawService(address owner, uint256 balance)
func (*KolKeySimpleFilterer) ParseAdminOperation ¶ added in v1.0.1
func (_KolKeySimple *KolKeySimpleFilterer) ParseAdminOperation(log types.Log) (*KolKeySimpleAdminOperation, error)
ParseAdminOperation is a log parse operation binding the contract event 0xa97d45d2d22d38f81ac1eb6ab339a6e56470c4cef221796a485da6841b02769e.
Solidity: event AdminOperation(address admin, bool opType)
func (*KolKeySimpleFilterer) ParseInvestorWithdrawAllIncome ¶ added in v1.0.1
func (_KolKeySimple *KolKeySimpleFilterer) ParseInvestorWithdrawAllIncome(log types.Log) (*KolKeySimpleInvestorWithdrawAllIncome, error)
ParseInvestorWithdrawAllIncome is a log parse operation binding the contract event 0x5dbe3bbfa87813b8be328cdb0b812e04de36cf36d1141967e1df795a7c95db0a.
Solidity: event InvestorWithdrawAllIncome(address investor, uint256 val)
func (*KolKeySimpleFilterer) ParseInvestorWithdrawByOneKol ¶ added in v1.0.1
func (_KolKeySimple *KolKeySimpleFilterer) ParseInvestorWithdrawByOneKol(log types.Log) (*KolKeySimpleInvestorWithdrawByOneKol, error)
ParseInvestorWithdrawByOneKol is a log parse operation binding the contract event 0x6ce7ea243972341c9e8ddfa93ba573fec9d104862f00b1bcd6aab059efbc9a6d.
Solidity: event InvestorWithdrawByOneKol(address investor, address kol, uint256 val)
func (*KolKeySimpleFilterer) ParseInvestorWithdrawByOneNonce ¶ added in v1.0.1
func (_KolKeySimple *KolKeySimpleFilterer) ParseInvestorWithdrawByOneNonce(log types.Log) (*KolKeySimpleInvestorWithdrawByOneNonce, error)
ParseInvestorWithdrawByOneNonce is a log parse operation binding the contract event 0xc85771d86e5aae3490e851850d1f22697f3a3fc112709b5d2bea1c3ea84fcefc.
Solidity: event InvestorWithdrawByOneNonce(address investor, address kol, uint256 nonce, uint256 val)
func (*KolKeySimpleFilterer) ParseKeyRebound ¶ added in v1.0.1
func (_KolKeySimple *KolKeySimpleFilterer) ParseKeyRebound(log types.Log) (*KolKeySimpleKeyRebound, error)
ParseKeyRebound is a log parse operation binding the contract event 0xc8818e5ea70e3894e3e342afce8d6f4510704239dc7de14dca1b055ae77bc8f5.
Solidity: event KeyRebound(address from, address to)
func (*KolKeySimpleFilterer) ParseKeyTransfer ¶ added in v1.0.1
func (_KolKeySimple *KolKeySimpleFilterer) ParseKeyTransfer(log types.Log) (*KolKeySimpleKeyTransfer, error)
ParseKeyTransfer is a log parse operation binding the contract event 0x31882570e44c86140b6ff4fe0574206363f217951c784c58da2ecbdf1c9a5133.
Solidity: event KeyTransfer(address from, address to, address kol, uint256 nonce, uint256 amount)
func (*KolKeySimpleFilterer) ParseKeyTransferAll ¶ added in v1.0.1
func (_KolKeySimple *KolKeySimpleFilterer) ParseKeyTransferAll(log types.Log) (*KolKeySimpleKeyTransferAll, error)
ParseKeyTransferAll is a log parse operation binding the contract event 0x35afe37362e9d3a07e354d5f0bedb6cea752a4d72d32228b667ecb7b31af728a.
Solidity: event KeyTransferAll(address from, address to, address kol)
func (*KolKeySimpleFilterer) ParseKolIncomeToPoolAction ¶ added in v1.0.1
func (_KolKeySimple *KolKeySimpleFilterer) ParseKolIncomeToPoolAction(log types.Log) (*KolKeySimpleKolIncomeToPoolAction, error)
ParseKolIncomeToPoolAction is a log parse operation binding the contract event 0x4c20a8329633f42cfa3bee42045c6ee0360ac4ceeff4088d60d0bb24c624e330.
Solidity: event KolIncomeToPoolAction(int8 sourceID, address sourceConract, address kol, uint256 keyNo, uint256 keyNonce, uint256 amount, uint256 valPerKey)
func (*KolKeySimpleFilterer) ParseKolKeyBought ¶ added in v1.0.1
func (_KolKeySimple *KolKeySimpleFilterer) ParseKolKeyBought(log types.Log) (*KolKeySimpleKolKeyBought, error)
ParseKolKeyBought is a log parse operation binding the contract event 0xa43d1ee2d295f126339683f7a2c5bbb65a75bd3506059340c09ad67168ebbfa8.
Solidity: event KolKeyBought(address kolAddr, address buyer, uint256 keyNo, uint256 curNonce, uint256 KoltotalNo)
func (*KolKeySimpleFilterer) ParseKolKeyOpened ¶ added in v1.0.1
func (_KolKeySimple *KolKeySimpleFilterer) ParseKolKeyOpened(log types.Log) (*KolKeySimpleKolKeyOpened, error)
ParseKolKeyOpened is a log parse operation binding the contract event 0x9752e725b9e262a3587203f1a8d8324ac9974062075f51c1c852d8422c27f943.
Solidity: event KolKeyOpened(address kol, uint256 pricePerKey)
func (*KolKeySimpleFilterer) ParseOwnerSet ¶ added in v1.0.1
func (_KolKeySimple *KolKeySimpleFilterer) ParseOwnerSet(log types.Log) (*KolKeySimpleOwnerSet, error)
ParseOwnerSet is a log parse operation binding the contract event 0x342827c97908e5e2f71151c08502a66d44b6f758e3ac2f1de95f02eb95f0a735.
Solidity: event OwnerSet(address indexed oldOwner, address indexed newOwner)
func (*KolKeySimpleFilterer) ParseServiceFeeChanged ¶ added in v1.0.1
func (_KolKeySimple *KolKeySimpleFilterer) ParseServiceFeeChanged(log types.Log) (*KolKeySimpleServiceFeeChanged, error)
ParseServiceFeeChanged is a log parse operation binding the contract event 0x1c068decb3b5138b265d62b22c4c2d8191a2e0bd3745e97b5b0ff66fa852eca5.
Solidity: event ServiceFeeChanged(uint256 newSerficeFeeRate)
func (*KolKeySimpleFilterer) ParseSystemSet ¶ added in v1.0.1
func (_KolKeySimple *KolKeySimpleFilterer) ParseSystemSet(log types.Log) (*KolKeySimpleSystemSet, error)
ParseSystemSet is a log parse operation binding the contract event 0xcd714485b704afdf17516cfe0560106372ea651897ae76ae6879e628756fb2a0.
Solidity: event SystemSet(uint256 num, string op)
func (*KolKeySimpleFilterer) ParseUpgradeToNewRule ¶ added in v1.0.1
func (_KolKeySimple *KolKeySimpleFilterer) ParseUpgradeToNewRule(log types.Log) (*KolKeySimpleUpgradeToNewRule, error)
ParseUpgradeToNewRule is a log parse operation binding the contract event 0x8ff69c992616f2fe31c491c4a2ba58d0da8ab5cea0e68ad7ea1713d6fecbcdaa.
Solidity: event UpgradeToNewRule(address newContract, uint256 balance)
func (*KolKeySimpleFilterer) ParseWithdrawService ¶ added in v1.0.1
func (_KolKeySimple *KolKeySimpleFilterer) ParseWithdrawService(log types.Log) (*KolKeySimpleWithdrawService, error)
ParseWithdrawService is a log parse operation binding the contract event 0x7cb5cedbb78bc8cf00b5ffe051ef08d865e93d587654a591285add48befaa51d.
Solidity: event WithdrawService(address owner, uint256 balance)
func (*KolKeySimpleFilterer) WatchAdminOperation ¶ added in v1.0.1
func (_KolKeySimple *KolKeySimpleFilterer) WatchAdminOperation(opts *bind.WatchOpts, sink chan<- *KolKeySimpleAdminOperation) (event.Subscription, error)
WatchAdminOperation is a free log subscription operation binding the contract event 0xa97d45d2d22d38f81ac1eb6ab339a6e56470c4cef221796a485da6841b02769e.
Solidity: event AdminOperation(address admin, bool opType)
func (*KolKeySimpleFilterer) WatchInvestorWithdrawAllIncome ¶ added in v1.0.1
func (_KolKeySimple *KolKeySimpleFilterer) WatchInvestorWithdrawAllIncome(opts *bind.WatchOpts, sink chan<- *KolKeySimpleInvestorWithdrawAllIncome) (event.Subscription, error)
WatchInvestorWithdrawAllIncome is a free log subscription operation binding the contract event 0x5dbe3bbfa87813b8be328cdb0b812e04de36cf36d1141967e1df795a7c95db0a.
Solidity: event InvestorWithdrawAllIncome(address investor, uint256 val)
func (*KolKeySimpleFilterer) WatchInvestorWithdrawByOneKol ¶ added in v1.0.1
func (_KolKeySimple *KolKeySimpleFilterer) WatchInvestorWithdrawByOneKol(opts *bind.WatchOpts, sink chan<- *KolKeySimpleInvestorWithdrawByOneKol) (event.Subscription, error)
WatchInvestorWithdrawByOneKol is a free log subscription operation binding the contract event 0x6ce7ea243972341c9e8ddfa93ba573fec9d104862f00b1bcd6aab059efbc9a6d.
Solidity: event InvestorWithdrawByOneKol(address investor, address kol, uint256 val)
func (*KolKeySimpleFilterer) WatchInvestorWithdrawByOneNonce ¶ added in v1.0.1
func (_KolKeySimple *KolKeySimpleFilterer) WatchInvestorWithdrawByOneNonce(opts *bind.WatchOpts, sink chan<- *KolKeySimpleInvestorWithdrawByOneNonce) (event.Subscription, error)
WatchInvestorWithdrawByOneNonce is a free log subscription operation binding the contract event 0xc85771d86e5aae3490e851850d1f22697f3a3fc112709b5d2bea1c3ea84fcefc.
Solidity: event InvestorWithdrawByOneNonce(address investor, address kol, uint256 nonce, uint256 val)
func (*KolKeySimpleFilterer) WatchKeyRebound ¶ added in v1.0.1
func (_KolKeySimple *KolKeySimpleFilterer) WatchKeyRebound(opts *bind.WatchOpts, sink chan<- *KolKeySimpleKeyRebound) (event.Subscription, error)
WatchKeyRebound is a free log subscription operation binding the contract event 0xc8818e5ea70e3894e3e342afce8d6f4510704239dc7de14dca1b055ae77bc8f5.
Solidity: event KeyRebound(address from, address to)
func (*KolKeySimpleFilterer) WatchKeyTransfer ¶ added in v1.0.1
func (_KolKeySimple *KolKeySimpleFilterer) WatchKeyTransfer(opts *bind.WatchOpts, sink chan<- *KolKeySimpleKeyTransfer) (event.Subscription, error)
WatchKeyTransfer is a free log subscription operation binding the contract event 0x31882570e44c86140b6ff4fe0574206363f217951c784c58da2ecbdf1c9a5133.
Solidity: event KeyTransfer(address from, address to, address kol, uint256 nonce, uint256 amount)
func (*KolKeySimpleFilterer) WatchKeyTransferAll ¶ added in v1.0.1
func (_KolKeySimple *KolKeySimpleFilterer) WatchKeyTransferAll(opts *bind.WatchOpts, sink chan<- *KolKeySimpleKeyTransferAll) (event.Subscription, error)
WatchKeyTransferAll is a free log subscription operation binding the contract event 0x35afe37362e9d3a07e354d5f0bedb6cea752a4d72d32228b667ecb7b31af728a.
Solidity: event KeyTransferAll(address from, address to, address kol)
func (*KolKeySimpleFilterer) WatchKolIncomeToPoolAction ¶ added in v1.0.1
func (_KolKeySimple *KolKeySimpleFilterer) WatchKolIncomeToPoolAction(opts *bind.WatchOpts, sink chan<- *KolKeySimpleKolIncomeToPoolAction) (event.Subscription, error)
WatchKolIncomeToPoolAction is a free log subscription operation binding the contract event 0x4c20a8329633f42cfa3bee42045c6ee0360ac4ceeff4088d60d0bb24c624e330.
Solidity: event KolIncomeToPoolAction(int8 sourceID, address sourceConract, address kol, uint256 keyNo, uint256 keyNonce, uint256 amount, uint256 valPerKey)
func (*KolKeySimpleFilterer) WatchKolKeyBought ¶ added in v1.0.1
func (_KolKeySimple *KolKeySimpleFilterer) WatchKolKeyBought(opts *bind.WatchOpts, sink chan<- *KolKeySimpleKolKeyBought) (event.Subscription, error)
WatchKolKeyBought is a free log subscription operation binding the contract event 0xa43d1ee2d295f126339683f7a2c5bbb65a75bd3506059340c09ad67168ebbfa8.
Solidity: event KolKeyBought(address kolAddr, address buyer, uint256 keyNo, uint256 curNonce, uint256 KoltotalNo)
func (*KolKeySimpleFilterer) WatchKolKeyOpened ¶ added in v1.0.1
func (_KolKeySimple *KolKeySimpleFilterer) WatchKolKeyOpened(opts *bind.WatchOpts, sink chan<- *KolKeySimpleKolKeyOpened) (event.Subscription, error)
WatchKolKeyOpened is a free log subscription operation binding the contract event 0x9752e725b9e262a3587203f1a8d8324ac9974062075f51c1c852d8422c27f943.
Solidity: event KolKeyOpened(address kol, uint256 pricePerKey)
func (*KolKeySimpleFilterer) WatchOwnerSet ¶ added in v1.0.1
func (_KolKeySimple *KolKeySimpleFilterer) WatchOwnerSet(opts *bind.WatchOpts, sink chan<- *KolKeySimpleOwnerSet, oldOwner []common.Address, newOwner []common.Address) (event.Subscription, error)
WatchOwnerSet is a free log subscription operation binding the contract event 0x342827c97908e5e2f71151c08502a66d44b6f758e3ac2f1de95f02eb95f0a735.
Solidity: event OwnerSet(address indexed oldOwner, address indexed newOwner)
func (*KolKeySimpleFilterer) WatchServiceFeeChanged ¶ added in v1.0.1
func (_KolKeySimple *KolKeySimpleFilterer) WatchServiceFeeChanged(opts *bind.WatchOpts, sink chan<- *KolKeySimpleServiceFeeChanged) (event.Subscription, error)
WatchServiceFeeChanged is a free log subscription operation binding the contract event 0x1c068decb3b5138b265d62b22c4c2d8191a2e0bd3745e97b5b0ff66fa852eca5.
Solidity: event ServiceFeeChanged(uint256 newSerficeFeeRate)
func (*KolKeySimpleFilterer) WatchSystemSet ¶ added in v1.0.1
func (_KolKeySimple *KolKeySimpleFilterer) WatchSystemSet(opts *bind.WatchOpts, sink chan<- *KolKeySimpleSystemSet) (event.Subscription, error)
WatchSystemSet is a free log subscription operation binding the contract event 0xcd714485b704afdf17516cfe0560106372ea651897ae76ae6879e628756fb2a0.
Solidity: event SystemSet(uint256 num, string op)
func (*KolKeySimpleFilterer) WatchUpgradeToNewRule ¶ added in v1.0.1
func (_KolKeySimple *KolKeySimpleFilterer) WatchUpgradeToNewRule(opts *bind.WatchOpts, sink chan<- *KolKeySimpleUpgradeToNewRule) (event.Subscription, error)
WatchUpgradeToNewRule is a free log subscription operation binding the contract event 0x8ff69c992616f2fe31c491c4a2ba58d0da8ab5cea0e68ad7ea1713d6fecbcdaa.
Solidity: event UpgradeToNewRule(address newContract, uint256 balance)
func (*KolKeySimpleFilterer) WatchWithdrawService ¶ added in v1.0.1
func (_KolKeySimple *KolKeySimpleFilterer) WatchWithdrawService(opts *bind.WatchOpts, sink chan<- *KolKeySimpleWithdrawService) (event.Subscription, error)
WatchWithdrawService is a free log subscription operation binding the contract event 0x7cb5cedbb78bc8cf00b5ffe051ef08d865e93d587654a591285add48befaa51d.
Solidity: event WithdrawService(address owner, uint256 balance)
type KolKeySimpleInvestorWithdrawAllIncome ¶ added in v1.0.1
type KolKeySimpleInvestorWithdrawAllIncome struct { Investor common.Address Val *big.Int Raw types.Log // Blockchain specific contextual infos }
KolKeySimpleInvestorWithdrawAllIncome represents a InvestorWithdrawAllIncome event raised by the KolKeySimple contract.
type KolKeySimpleInvestorWithdrawAllIncomeIterator ¶ added in v1.0.1
type KolKeySimpleInvestorWithdrawAllIncomeIterator struct { Event *KolKeySimpleInvestorWithdrawAllIncome // Event containing the contract specifics and raw log // contains filtered or unexported fields }
KolKeySimpleInvestorWithdrawAllIncomeIterator is returned from FilterInvestorWithdrawAllIncome and is used to iterate over the raw logs and unpacked data for InvestorWithdrawAllIncome events raised by the KolKeySimple contract.
func (*KolKeySimpleInvestorWithdrawAllIncomeIterator) Close ¶ added in v1.0.1
func (it *KolKeySimpleInvestorWithdrawAllIncomeIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*KolKeySimpleInvestorWithdrawAllIncomeIterator) Error ¶ added in v1.0.1
func (it *KolKeySimpleInvestorWithdrawAllIncomeIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*KolKeySimpleInvestorWithdrawAllIncomeIterator) Next ¶ added in v1.0.1
func (it *KolKeySimpleInvestorWithdrawAllIncomeIterator) 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 KolKeySimpleInvestorWithdrawByOneKol ¶ added in v1.0.1
type KolKeySimpleInvestorWithdrawByOneKol struct { Investor common.Address Kol common.Address Val *big.Int Raw types.Log // Blockchain specific contextual infos }
KolKeySimpleInvestorWithdrawByOneKol represents a InvestorWithdrawByOneKol event raised by the KolKeySimple contract.
type KolKeySimpleInvestorWithdrawByOneKolIterator ¶ added in v1.0.1
type KolKeySimpleInvestorWithdrawByOneKolIterator struct { Event *KolKeySimpleInvestorWithdrawByOneKol // Event containing the contract specifics and raw log // contains filtered or unexported fields }
KolKeySimpleInvestorWithdrawByOneKolIterator is returned from FilterInvestorWithdrawByOneKol and is used to iterate over the raw logs and unpacked data for InvestorWithdrawByOneKol events raised by the KolKeySimple contract.
func (*KolKeySimpleInvestorWithdrawByOneKolIterator) Close ¶ added in v1.0.1
func (it *KolKeySimpleInvestorWithdrawByOneKolIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*KolKeySimpleInvestorWithdrawByOneKolIterator) Error ¶ added in v1.0.1
func (it *KolKeySimpleInvestorWithdrawByOneKolIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*KolKeySimpleInvestorWithdrawByOneKolIterator) Next ¶ added in v1.0.1
func (it *KolKeySimpleInvestorWithdrawByOneKolIterator) 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 KolKeySimpleInvestorWithdrawByOneNonce ¶ added in v1.0.1
type KolKeySimpleInvestorWithdrawByOneNonce struct { Investor common.Address Kol common.Address Nonce *big.Int Val *big.Int Raw types.Log // Blockchain specific contextual infos }
KolKeySimpleInvestorWithdrawByOneNonce represents a InvestorWithdrawByOneNonce event raised by the KolKeySimple contract.
type KolKeySimpleInvestorWithdrawByOneNonceIterator ¶ added in v1.0.1
type KolKeySimpleInvestorWithdrawByOneNonceIterator struct { Event *KolKeySimpleInvestorWithdrawByOneNonce // Event containing the contract specifics and raw log // contains filtered or unexported fields }
KolKeySimpleInvestorWithdrawByOneNonceIterator is returned from FilterInvestorWithdrawByOneNonce and is used to iterate over the raw logs and unpacked data for InvestorWithdrawByOneNonce events raised by the KolKeySimple contract.
func (*KolKeySimpleInvestorWithdrawByOneNonceIterator) Close ¶ added in v1.0.1
func (it *KolKeySimpleInvestorWithdrawByOneNonceIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*KolKeySimpleInvestorWithdrawByOneNonceIterator) Error ¶ added in v1.0.1
func (it *KolKeySimpleInvestorWithdrawByOneNonceIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*KolKeySimpleInvestorWithdrawByOneNonceIterator) Next ¶ added in v1.0.1
func (it *KolKeySimpleInvestorWithdrawByOneNonceIterator) 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 KolKeySimpleKeyRebound ¶ added in v1.0.1
type KolKeySimpleKeyRebound struct { From common.Address To common.Address Raw types.Log // Blockchain specific contextual infos }
KolKeySimpleKeyRebound represents a KeyRebound event raised by the KolKeySimple contract.
type KolKeySimpleKeyReboundIterator ¶ added in v1.0.1
type KolKeySimpleKeyReboundIterator struct { Event *KolKeySimpleKeyRebound // Event containing the contract specifics and raw log // contains filtered or unexported fields }
KolKeySimpleKeyReboundIterator is returned from FilterKeyRebound and is used to iterate over the raw logs and unpacked data for KeyRebound events raised by the KolKeySimple contract.
func (*KolKeySimpleKeyReboundIterator) Close ¶ added in v1.0.1
func (it *KolKeySimpleKeyReboundIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*KolKeySimpleKeyReboundIterator) Error ¶ added in v1.0.1
func (it *KolKeySimpleKeyReboundIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*KolKeySimpleKeyReboundIterator) Next ¶ added in v1.0.1
func (it *KolKeySimpleKeyReboundIterator) 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 KolKeySimpleKeyTransfer ¶ added in v1.0.1
type KolKeySimpleKeyTransfer struct { From common.Address To common.Address Kol common.Address Nonce *big.Int Amount *big.Int Raw types.Log // Blockchain specific contextual infos }
KolKeySimpleKeyTransfer represents a KeyTransfer event raised by the KolKeySimple contract.
type KolKeySimpleKeyTransferAll ¶ added in v1.0.1
type KolKeySimpleKeyTransferAll struct { From common.Address To common.Address Kol common.Address Raw types.Log // Blockchain specific contextual infos }
KolKeySimpleKeyTransferAll represents a KeyTransferAll event raised by the KolKeySimple contract.
type KolKeySimpleKeyTransferAllIterator ¶ added in v1.0.1
type KolKeySimpleKeyTransferAllIterator struct { Event *KolKeySimpleKeyTransferAll // Event containing the contract specifics and raw log // contains filtered or unexported fields }
KolKeySimpleKeyTransferAllIterator is returned from FilterKeyTransferAll and is used to iterate over the raw logs and unpacked data for KeyTransferAll events raised by the KolKeySimple contract.
func (*KolKeySimpleKeyTransferAllIterator) Close ¶ added in v1.0.1
func (it *KolKeySimpleKeyTransferAllIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*KolKeySimpleKeyTransferAllIterator) Error ¶ added in v1.0.1
func (it *KolKeySimpleKeyTransferAllIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*KolKeySimpleKeyTransferAllIterator) Next ¶ added in v1.0.1
func (it *KolKeySimpleKeyTransferAllIterator) 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 KolKeySimpleKeyTransferIterator ¶ added in v1.0.1
type KolKeySimpleKeyTransferIterator struct { Event *KolKeySimpleKeyTransfer // Event containing the contract specifics and raw log // contains filtered or unexported fields }
KolKeySimpleKeyTransferIterator is returned from FilterKeyTransfer and is used to iterate over the raw logs and unpacked data for KeyTransfer events raised by the KolKeySimple contract.
func (*KolKeySimpleKeyTransferIterator) Close ¶ added in v1.0.1
func (it *KolKeySimpleKeyTransferIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*KolKeySimpleKeyTransferIterator) Error ¶ added in v1.0.1
func (it *KolKeySimpleKeyTransferIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*KolKeySimpleKeyTransferIterator) Next ¶ added in v1.0.1
func (it *KolKeySimpleKeyTransferIterator) 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 KolKeySimpleKolIncomeToPoolAction ¶ added in v1.0.1
type KolKeySimpleKolIncomeToPoolAction struct { SourceID int8 SourceConract common.Address Kol common.Address KeyNo *big.Int KeyNonce *big.Int Amount *big.Int ValPerKey *big.Int Raw types.Log // Blockchain specific contextual infos }
KolKeySimpleKolIncomeToPoolAction represents a KolIncomeToPoolAction event raised by the KolKeySimple contract.
type KolKeySimpleKolIncomeToPoolActionIterator ¶ added in v1.0.1
type KolKeySimpleKolIncomeToPoolActionIterator struct { Event *KolKeySimpleKolIncomeToPoolAction // Event containing the contract specifics and raw log // contains filtered or unexported fields }
KolKeySimpleKolIncomeToPoolActionIterator is returned from FilterKolIncomeToPoolAction and is used to iterate over the raw logs and unpacked data for KolIncomeToPoolAction events raised by the KolKeySimple contract.
func (*KolKeySimpleKolIncomeToPoolActionIterator) Close ¶ added in v1.0.1
func (it *KolKeySimpleKolIncomeToPoolActionIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*KolKeySimpleKolIncomeToPoolActionIterator) Error ¶ added in v1.0.1
func (it *KolKeySimpleKolIncomeToPoolActionIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*KolKeySimpleKolIncomeToPoolActionIterator) Next ¶ added in v1.0.1
func (it *KolKeySimpleKolIncomeToPoolActionIterator) 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 KolKeySimpleKolKeyBought ¶ added in v1.0.1
type KolKeySimpleKolKeyBought struct { KolAddr common.Address Buyer common.Address KeyNo *big.Int CurNonce *big.Int KoltotalNo *big.Int Raw types.Log // Blockchain specific contextual infos }
KolKeySimpleKolKeyBought represents a KolKeyBought event raised by the KolKeySimple contract.
type KolKeySimpleKolKeyBoughtIterator ¶ added in v1.0.1
type KolKeySimpleKolKeyBoughtIterator struct { Event *KolKeySimpleKolKeyBought // Event containing the contract specifics and raw log // contains filtered or unexported fields }
KolKeySimpleKolKeyBoughtIterator is returned from FilterKolKeyBought and is used to iterate over the raw logs and unpacked data for KolKeyBought events raised by the KolKeySimple contract.
func (*KolKeySimpleKolKeyBoughtIterator) Close ¶ added in v1.0.1
func (it *KolKeySimpleKolKeyBoughtIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*KolKeySimpleKolKeyBoughtIterator) Error ¶ added in v1.0.1
func (it *KolKeySimpleKolKeyBoughtIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*KolKeySimpleKolKeyBoughtIterator) Next ¶ added in v1.0.1
func (it *KolKeySimpleKolKeyBoughtIterator) 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 KolKeySimpleKolKeyOpened ¶ added in v1.0.1
type KolKeySimpleKolKeyOpened struct { Kol common.Address PricePerKey *big.Int Raw types.Log // Blockchain specific contextual infos }
KolKeySimpleKolKeyOpened represents a KolKeyOpened event raised by the KolKeySimple contract.
type KolKeySimpleKolKeyOpenedIterator ¶ added in v1.0.1
type KolKeySimpleKolKeyOpenedIterator struct { Event *KolKeySimpleKolKeyOpened // Event containing the contract specifics and raw log // contains filtered or unexported fields }
KolKeySimpleKolKeyOpenedIterator is returned from FilterKolKeyOpened and is used to iterate over the raw logs and unpacked data for KolKeyOpened events raised by the KolKeySimple contract.
func (*KolKeySimpleKolKeyOpenedIterator) Close ¶ added in v1.0.1
func (it *KolKeySimpleKolKeyOpenedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*KolKeySimpleKolKeyOpenedIterator) Error ¶ added in v1.0.1
func (it *KolKeySimpleKolKeyOpenedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*KolKeySimpleKolKeyOpenedIterator) Next ¶ added in v1.0.1
func (it *KolKeySimpleKolKeyOpenedIterator) 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 KolKeySimpleOwnerSet ¶ added in v1.0.1
type KolKeySimpleOwnerSet struct { OldOwner common.Address NewOwner common.Address Raw types.Log // Blockchain specific contextual infos }
KolKeySimpleOwnerSet represents a OwnerSet event raised by the KolKeySimple contract.
type KolKeySimpleOwnerSetIterator ¶ added in v1.0.1
type KolKeySimpleOwnerSetIterator struct { Event *KolKeySimpleOwnerSet // Event containing the contract specifics and raw log // contains filtered or unexported fields }
KolKeySimpleOwnerSetIterator is returned from FilterOwnerSet and is used to iterate over the raw logs and unpacked data for OwnerSet events raised by the KolKeySimple contract.
func (*KolKeySimpleOwnerSetIterator) Close ¶ added in v1.0.1
func (it *KolKeySimpleOwnerSetIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*KolKeySimpleOwnerSetIterator) Error ¶ added in v1.0.1
func (it *KolKeySimpleOwnerSetIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*KolKeySimpleOwnerSetIterator) Next ¶ added in v1.0.1
func (it *KolKeySimpleOwnerSetIterator) 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 KolKeySimpleRaw ¶ added in v1.0.1
type KolKeySimpleRaw struct {
Contract *KolKeySimple // Generic contract binding to access the raw methods on
}
KolKeySimpleRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*KolKeySimpleRaw) Call ¶ added in v1.0.1
func (_KolKeySimple *KolKeySimpleRaw) 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 (*KolKeySimpleRaw) Transact ¶ added in v1.0.1
func (_KolKeySimple *KolKeySimpleRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*KolKeySimpleRaw) Transfer ¶ added in v1.0.1
func (_KolKeySimple *KolKeySimpleRaw) 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 KolKeySimpleServiceFeeChanged ¶ added in v1.0.1
type KolKeySimpleServiceFeeChanged struct { NewSerficeFeeRate *big.Int Raw types.Log // Blockchain specific contextual infos }
KolKeySimpleServiceFeeChanged represents a ServiceFeeChanged event raised by the KolKeySimple contract.
type KolKeySimpleServiceFeeChangedIterator ¶ added in v1.0.1
type KolKeySimpleServiceFeeChangedIterator struct { Event *KolKeySimpleServiceFeeChanged // Event containing the contract specifics and raw log // contains filtered or unexported fields }
KolKeySimpleServiceFeeChangedIterator is returned from FilterServiceFeeChanged and is used to iterate over the raw logs and unpacked data for ServiceFeeChanged events raised by the KolKeySimple contract.
func (*KolKeySimpleServiceFeeChangedIterator) Close ¶ added in v1.0.1
func (it *KolKeySimpleServiceFeeChangedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*KolKeySimpleServiceFeeChangedIterator) Error ¶ added in v1.0.1
func (it *KolKeySimpleServiceFeeChangedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*KolKeySimpleServiceFeeChangedIterator) Next ¶ added in v1.0.1
func (it *KolKeySimpleServiceFeeChangedIterator) 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 KolKeySimpleSession ¶ added in v1.0.1
type KolKeySimpleSession struct { Contract *KolKeySimple // 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 }
KolKeySimpleSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*KolKeySimpleSession) AdminOperation ¶ added in v1.0.1
func (_KolKeySimple *KolKeySimpleSession) AdminOperation(admin common.Address, isDelete bool) (*types.Transaction, error)
AdminOperation is a paid mutator transaction binding the contract method 0x2b508fde.
Solidity: function adminOperation(address admin, bool isDelete) returns()
func (*KolKeySimpleSession) AdminServiceFeeWithdraw ¶ added in v1.0.1
func (_KolKeySimple *KolKeySimpleSession) AdminServiceFeeWithdraw() (*types.Transaction, error)
AdminServiceFeeWithdraw is a paid mutator transaction binding the contract method 0x615f54a1.
Solidity: function adminServiceFeeWithdraw() returns()
func (*KolKeySimpleSession) AdminSetKeyFeeRate ¶ added in v1.0.1
func (_KolKeySimple *KolKeySimpleSession) AdminSetKeyFeeRate(newRate uint8) (*types.Transaction, error)
AdminSetKeyFeeRate is a paid mutator transaction binding the contract method 0x84854688.
Solidity: function adminSetKeyFeeRate(uint8 newRate) returns()
func (*KolKeySimpleSession) AdminSetKolIncomeRate ¶ added in v1.0.1
func (_KolKeySimple *KolKeySimpleSession) AdminSetKolIncomeRate(newRate uint8) (*types.Transaction, error)
AdminSetKolIncomeRate is a paid mutator transaction binding the contract method 0x34afeec0.
Solidity: function adminSetKolIncomeRate(uint8 newRate) returns()
func (*KolKeySimpleSession) AdminSetMaxKolKeyNo ¶ added in v1.0.1
func (_KolKeySimple *KolKeySimpleSession) AdminSetMaxKolKeyNo(keyNo *big.Int) (*types.Transaction, error)
AdminSetMaxKolKeyNo is a paid mutator transaction binding the contract method 0x2d7cb2ee.
Solidity: function adminSetMaxKolKeyNo(uint256 keyNo) returns()
func (*KolKeySimpleSession) AdminSetWithdrawFeeRate ¶ added in v1.0.1
func (_KolKeySimple *KolKeySimpleSession) AdminSetWithdrawFeeRate(newRate uint8) (*types.Transaction, error)
AdminSetWithdrawFeeRate is a paid mutator transaction binding the contract method 0x94c681d6.
Solidity: function adminSetWithdrawFeeRate(uint8 newRate) returns()
func (*KolKeySimpleSession) AdminUpgradeToNewRule ¶ added in v1.0.1
func (_KolKeySimple *KolKeySimpleSession) AdminUpgradeToNewRule(recipient common.Address) (*types.Transaction, error)
AdminUpgradeToNewRule is a paid mutator transaction binding the contract method 0xc75539d1.
Solidity: function adminUpgradeToNewRule(address recipient) returns()
func (*KolKeySimpleSession) Admins ¶ added in v1.0.1
func (_KolKeySimple *KolKeySimpleSession) Admins(arg0 common.Address) (bool, error)
Admins is a free data retrieval call binding the contract method 0x22b429f4.
Solidity: function __admins(address ) view returns(bool)
func (*KolKeySimpleSession) AllIncomeOfAllKol ¶ added in v1.0.1
func (_KolKeySimple *KolKeySimpleSession) AllIncomeOfAllKol(investor common.Address) (*big.Int, error)
AllIncomeOfAllKol is a free data retrieval call binding the contract method 0xaf958a62.
Solidity: function AllIncomeOfAllKol(address investor) view returns(uint256)
func (*KolKeySimpleSession) AllIncomeOfOneKol ¶ added in v1.0.1
func (_KolKeySimple *KolKeySimpleSession) AllIncomeOfOneKol(kol common.Address, investor common.Address) (*big.Int, error)
AllIncomeOfOneKol is a free data retrieval call binding the contract method 0x6d74bb5f.
Solidity: function AllIncomeOfOneKol(address kol, address investor) view returns(uint256)
func (*KolKeySimpleSession) AllKolAddr ¶ added in v1.0.1
func (_KolKeySimple *KolKeySimpleSession) AllKolAddr() ([]common.Address, error)
AllKolAddr is a free data retrieval call binding the contract method 0x399ccecf.
Solidity: function AllKolAddr() view returns(address[])
func (*KolKeySimpleSession) AllKolInSystem ¶ added in v1.0.1
AllKolInSystem is a free data retrieval call binding the contract method 0x2d5e031d.
Solidity: function allKolInSystem(uint256 ) view returns(address)
func (*KolKeySimpleSession) Balance ¶ added in v1.0.1
Balance is a free data retrieval call binding the contract method 0xe3d670d7.
Solidity: function balance(address ) view returns(uint256)
func (*KolKeySimpleSession) BuyKolKey ¶ added in v1.0.1
func (_KolKeySimple *KolKeySimpleSession) BuyKolKey(kolAddr common.Address, keyNo *big.Int) (*types.Transaction, error)
BuyKolKey is a paid mutator transaction binding the contract method 0xc7cdf93c.
Solidity: function buyKolKey(address kolAddr, uint256 keyNo) payable returns()
func (*KolKeySimpleSession) ChangeOwner ¶ added in v1.0.1
func (_KolKeySimple *KolKeySimpleSession) ChangeOwner(newOwner common.Address) (*types.Transaction, error)
ChangeOwner is a paid mutator transaction binding the contract method 0xa6f9dae1.
Solidity: function changeOwner(address newOwner) returns()
func (*KolKeySimpleSession) ChangeStatus ¶ added in v1.0.1
func (_KolKeySimple *KolKeySimpleSession) ChangeStatus(stop bool) (*types.Transaction, error)
ChangeStatus is a paid mutator transaction binding the contract method 0x9b3de49b.
Solidity: function changeStatus(bool stop) returns()
func (*KolKeySimpleSession) CheckPluginInterface ¶ added in v1.0.1
func (_KolKeySimple *KolKeySimpleSession) CheckPluginInterface() (bool, error)
CheckPluginInterface is a free data retrieval call binding the contract method 0x807c758d.
Solidity: function checkPluginInterface() pure returns(bool)
func (*KolKeySimpleSession) GetOwner ¶ added in v1.0.1
func (_KolKeySimple *KolKeySimpleSession) GetOwner() (common.Address, error)
GetOwner is a free data retrieval call binding the contract method 0x893d20e8.
Solidity: function getOwner() view returns(address)
func (*KolKeySimpleSession) IncomeOfOneNonce ¶ added in v1.0.1
func (_KolKeySimple *KolKeySimpleSession) IncomeOfOneNonce(kol common.Address, nonce *big.Int, investor common.Address) (*big.Int, error)
IncomeOfOneNonce is a free data retrieval call binding the contract method 0x3a99f6a0.
Solidity: function IncomeOfOneNonce(address kol, uint256 nonce, address investor) view returns(uint256)
func (*KolKeySimpleSession) IncomeOfOneNonceByAmount ¶ added in v1.0.1
func (_KolKeySimple *KolKeySimpleSession) IncomeOfOneNonceByAmount(kol common.Address, nonce *big.Int, amount *big.Int) (*big.Int, error)
IncomeOfOneNonceByAmount is a free data retrieval call binding the contract method 0x232d562f.
Solidity: function IncomeOfOneNonceByAmount(address kol, uint256 nonce, uint256 amount) view returns(uint256)
func (*KolKeySimpleSession) IncomePerNoncePerKey ¶ added in v1.0.1
func (_KolKeySimple *KolKeySimpleSession) IncomePerNoncePerKey(arg0 common.Address, arg1 *big.Int) (*big.Int, error)
IncomePerNoncePerKey is a free data retrieval call binding the contract method 0x53311742.
Solidity: function incomePerNoncePerKey(address , uint256 ) view returns(uint256)
func (*KolKeySimpleSession) InvestorAllKeysOfKol ¶ added in v1.0.1
func (_KolKeySimple *KolKeySimpleSession) InvestorAllKeysOfKol(investor common.Address, kol common.Address) (struct { Nonce []*big.Int Amounts []*big.Int }, error)
InvestorAllKeysOfKol is a free data retrieval call binding the contract method 0xb83bb4e6.
Solidity: function InvestorAllKeysOfKol(address investor, address kol) view returns(uint256[] nonce, uint256[] amounts)
func (*KolKeySimpleSession) InvestorOfKol ¶ added in v1.0.1
func (_KolKeySimple *KolKeySimpleSession) InvestorOfKol(kol common.Address) ([]common.Address, error)
InvestorOfKol is a free data retrieval call binding the contract method 0x8b2b0b67.
Solidity: function InvestorOfKol(address kol) view returns(address[])
func (*KolKeySimpleSession) KeySettingsRecord ¶ added in v1.0.1
func (_KolKeySimple *KolKeySimpleSession) KeySettingsRecord(arg0 common.Address) (struct { Price *big.Int Nonce *big.Int TotalVal *big.Int TotalNo *big.Int }, error)
KeySettingsRecord is a free data retrieval call binding the contract method 0x94447f45.
Solidity: function KeySettingsRecord(address ) view returns(uint256 price, uint256 nonce, uint256 totalVal, uint256 totalNo)
func (*KolKeySimpleSession) KolGotIncome ¶ added in v1.0.1
func (_KolKeySimple *KolKeySimpleSession) KolGotIncome(sourceID int8, kolAddr common.Address) (*types.Transaction, error)
KolGotIncome is a paid mutator transaction binding the contract method 0xd842f385.
Solidity: function kolGotIncome(int8 sourceID, address kolAddr) payable returns()
func (*KolKeySimpleSession) KolIncomeRatePerKeyBuy ¶ added in v1.0.1
func (_KolKeySimple *KolKeySimpleSession) KolIncomeRatePerKeyBuy() (uint8, error)
KolIncomeRatePerKeyBuy is a free data retrieval call binding the contract method 0xafb337cf.
Solidity: function kolIncomeRatePerKeyBuy() view returns(uint8)
func (*KolKeySimpleSession) KolOfOneInvestor ¶ added in v1.0.1
func (_KolKeySimple *KolKeySimpleSession) KolOfOneInvestor(investor common.Address) ([]common.Address, error)
KolOfOneInvestor is a free data retrieval call binding the contract method 0xce92faa2.
Solidity: function KolOfOneInvestor(address investor) view returns(address[])
func (*KolKeySimpleSession) KolOpenKeyPool ¶ added in v1.0.1
func (_KolKeySimple *KolKeySimpleSession) KolOpenKeyPool(sourceAddr common.Address) (bool, error)
KolOpenKeyPool is a free data retrieval call binding the contract method 0xbb86a929.
Solidity: function kolOpenKeyPool(address sourceAddr) view returns(bool)
func (*KolKeySimpleSession) KolOpenKeySale ¶ added in v1.0.1
func (_KolKeySimple *KolKeySimpleSession) KolOpenKeySale(priceInFin *big.Int) (*types.Transaction, error)
KolOpenKeySale is a paid mutator transaction binding the contract method 0x5c1ec100.
Solidity: function kolOpenKeySale(uint256 priceInFin) returns()
func (*KolKeySimpleSession) MaxKeyNoForKol ¶ added in v1.0.1
func (_KolKeySimple *KolKeySimpleSession) MaxKeyNoForKol() (*big.Int, error)
MaxKeyNoForKol is a free data retrieval call binding the contract method 0xd5238a8c.
Solidity: function maxKeyNoForKol() view returns(uint256)
func (*KolKeySimpleSession) MinValCheck ¶ added in v1.0.1
func (_KolKeySimple *KolKeySimpleSession) MinValCheck() (*big.Int, error)
MinValCheck is a free data retrieval call binding the contract method 0x8509614b.
Solidity: function __minValCheck() view returns(uint256)
func (*KolKeySimpleSession) RebindKolKey ¶ added in v1.0.1
func (_KolKeySimple *KolKeySimpleSession) RebindKolKey(to common.Address) (*types.Transaction, error)
RebindKolKey is a paid mutator transaction binding the contract method 0x6390f644.
Solidity: function rebindKolKey(address to) returns()
func (*KolKeySimpleSession) Receive ¶ added in v1.0.1
func (_KolKeySimple *KolKeySimpleSession) Receive() (*types.Transaction, error)
Receive is a paid mutator transaction binding the contract receive function.
Solidity: receive() payable returns()
func (*KolKeySimpleSession) ServiceFeeRatePerKeyBuy ¶ added in v1.0.1
func (_KolKeySimple *KolKeySimpleSession) ServiceFeeRatePerKeyBuy() (uint8, error)
ServiceFeeRatePerKeyBuy is a free data retrieval call binding the contract method 0xaf707457.
Solidity: function serviceFeeRatePerKeyBuy() view returns(uint8)
func (*KolKeySimpleSession) ServiceFeeReceived ¶ added in v1.0.1
func (_KolKeySimple *KolKeySimpleSession) ServiceFeeReceived() (*big.Int, error)
ServiceFeeReceived is a free data retrieval call binding the contract method 0xbe4479e8.
Solidity: function serviceFeeReceived() view returns(uint256)
func (*KolKeySimpleSession) TransferAllKey ¶ added in v1.0.1
func (_KolKeySimple *KolKeySimpleSession) TransferAllKey(to common.Address, kol common.Address) (*types.Transaction, error)
TransferAllKey is a paid mutator transaction binding the contract method 0x01c6c8da.
Solidity: function transferAllKey(address to, address kol) returns()
func (*KolKeySimpleSession) TransferKey ¶ added in v1.0.1
func (_KolKeySimple *KolKeySimpleSession) TransferKey(to common.Address, kol common.Address, nonce *big.Int, amount *big.Int) (*types.Transaction, error)
TransferKey is a paid mutator transaction binding the contract method 0x7b46bfe8.
Solidity: function transferKey(address to, address kol, uint256 nonce, uint256 amount) returns()
func (*KolKeySimpleSession) WithdrawAllIncome ¶ added in v1.0.1
func (_KolKeySimple *KolKeySimpleSession) WithdrawAllIncome() (*types.Transaction, error)
WithdrawAllIncome is a paid mutator transaction binding the contract method 0x0c3e0452.
Solidity: function withdrawAllIncome() returns()
func (*KolKeySimpleSession) WithdrawFeeRate ¶ added in v1.0.1
func (_KolKeySimple *KolKeySimpleSession) WithdrawFeeRate() (*big.Int, error)
WithdrawFeeRate is a free data retrieval call binding the contract method 0xea99e689.
Solidity: function withdrawFeeRate() view returns(uint256)
func (*KolKeySimpleSession) WithdrawFromOneKol ¶ added in v1.0.1
func (_KolKeySimple *KolKeySimpleSession) WithdrawFromOneKol(kol common.Address) (*types.Transaction, error)
WithdrawFromOneKol is a paid mutator transaction binding the contract method 0x0ef86b3f.
Solidity: function withdrawFromOneKol(address kol) returns()
func (*KolKeySimpleSession) WithdrawFromOneNonce ¶ added in v1.0.1
func (_KolKeySimple *KolKeySimpleSession) WithdrawFromOneNonce(kol common.Address, nonce *big.Int) (*types.Transaction, error)
WithdrawFromOneNonce is a paid mutator transaction binding the contract method 0x3da6136e.
Solidity: function withdrawFromOneNonce(address kol, uint256 nonce) returns()
type KolKeySimpleSystemSet ¶ added in v1.0.1
type KolKeySimpleSystemSet struct { Num *big.Int Op string Raw types.Log // Blockchain specific contextual infos }
KolKeySimpleSystemSet represents a SystemSet event raised by the KolKeySimple contract.
type KolKeySimpleSystemSetIterator ¶ added in v1.0.1
type KolKeySimpleSystemSetIterator struct { Event *KolKeySimpleSystemSet // Event containing the contract specifics and raw log // contains filtered or unexported fields }
KolKeySimpleSystemSetIterator is returned from FilterSystemSet and is used to iterate over the raw logs and unpacked data for SystemSet events raised by the KolKeySimple contract.
func (*KolKeySimpleSystemSetIterator) Close ¶ added in v1.0.1
func (it *KolKeySimpleSystemSetIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*KolKeySimpleSystemSetIterator) Error ¶ added in v1.0.1
func (it *KolKeySimpleSystemSetIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*KolKeySimpleSystemSetIterator) Next ¶ added in v1.0.1
func (it *KolKeySimpleSystemSetIterator) 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 KolKeySimpleTransactor ¶ added in v1.0.1
type KolKeySimpleTransactor struct {
// contains filtered or unexported fields
}
KolKeySimpleTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewKolKeySimpleTransactor ¶ added in v1.0.1
func NewKolKeySimpleTransactor(address common.Address, transactor bind.ContractTransactor) (*KolKeySimpleTransactor, error)
NewKolKeySimpleTransactor creates a new write-only instance of KolKeySimple, bound to a specific deployed contract.
func (*KolKeySimpleTransactor) AdminOperation ¶ added in v1.0.1
func (_KolKeySimple *KolKeySimpleTransactor) AdminOperation(opts *bind.TransactOpts, admin common.Address, isDelete bool) (*types.Transaction, error)
AdminOperation is a paid mutator transaction binding the contract method 0x2b508fde.
Solidity: function adminOperation(address admin, bool isDelete) returns()
func (*KolKeySimpleTransactor) AdminServiceFeeWithdraw ¶ added in v1.0.1
func (_KolKeySimple *KolKeySimpleTransactor) AdminServiceFeeWithdraw(opts *bind.TransactOpts) (*types.Transaction, error)
AdminServiceFeeWithdraw is a paid mutator transaction binding the contract method 0x615f54a1.
Solidity: function adminServiceFeeWithdraw() returns()
func (*KolKeySimpleTransactor) AdminSetKeyFeeRate ¶ added in v1.0.1
func (_KolKeySimple *KolKeySimpleTransactor) AdminSetKeyFeeRate(opts *bind.TransactOpts, newRate uint8) (*types.Transaction, error)
AdminSetKeyFeeRate is a paid mutator transaction binding the contract method 0x84854688.
Solidity: function adminSetKeyFeeRate(uint8 newRate) returns()
func (*KolKeySimpleTransactor) AdminSetKolIncomeRate ¶ added in v1.0.1
func (_KolKeySimple *KolKeySimpleTransactor) AdminSetKolIncomeRate(opts *bind.TransactOpts, newRate uint8) (*types.Transaction, error)
AdminSetKolIncomeRate is a paid mutator transaction binding the contract method 0x34afeec0.
Solidity: function adminSetKolIncomeRate(uint8 newRate) returns()
func (*KolKeySimpleTransactor) AdminSetMaxKolKeyNo ¶ added in v1.0.1
func (_KolKeySimple *KolKeySimpleTransactor) AdminSetMaxKolKeyNo(opts *bind.TransactOpts, keyNo *big.Int) (*types.Transaction, error)
AdminSetMaxKolKeyNo is a paid mutator transaction binding the contract method 0x2d7cb2ee.
Solidity: function adminSetMaxKolKeyNo(uint256 keyNo) returns()
func (*KolKeySimpleTransactor) AdminSetWithdrawFeeRate ¶ added in v1.0.1
func (_KolKeySimple *KolKeySimpleTransactor) AdminSetWithdrawFeeRate(opts *bind.TransactOpts, newRate uint8) (*types.Transaction, error)
AdminSetWithdrawFeeRate is a paid mutator transaction binding the contract method 0x94c681d6.
Solidity: function adminSetWithdrawFeeRate(uint8 newRate) returns()
func (*KolKeySimpleTransactor) AdminUpgradeToNewRule ¶ added in v1.0.1
func (_KolKeySimple *KolKeySimpleTransactor) AdminUpgradeToNewRule(opts *bind.TransactOpts, recipient common.Address) (*types.Transaction, error)
AdminUpgradeToNewRule is a paid mutator transaction binding the contract method 0xc75539d1.
Solidity: function adminUpgradeToNewRule(address recipient) returns()
func (*KolKeySimpleTransactor) BuyKolKey ¶ added in v1.0.1
func (_KolKeySimple *KolKeySimpleTransactor) BuyKolKey(opts *bind.TransactOpts, kolAddr common.Address, keyNo *big.Int) (*types.Transaction, error)
BuyKolKey is a paid mutator transaction binding the contract method 0xc7cdf93c.
Solidity: function buyKolKey(address kolAddr, uint256 keyNo) payable returns()
func (*KolKeySimpleTransactor) ChangeOwner ¶ added in v1.0.1
func (_KolKeySimple *KolKeySimpleTransactor) ChangeOwner(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)
ChangeOwner is a paid mutator transaction binding the contract method 0xa6f9dae1.
Solidity: function changeOwner(address newOwner) returns()
func (*KolKeySimpleTransactor) ChangeStatus ¶ added in v1.0.1
func (_KolKeySimple *KolKeySimpleTransactor) ChangeStatus(opts *bind.TransactOpts, stop bool) (*types.Transaction, error)
ChangeStatus is a paid mutator transaction binding the contract method 0x9b3de49b.
Solidity: function changeStatus(bool stop) returns()
func (*KolKeySimpleTransactor) KolGotIncome ¶ added in v1.0.1
func (_KolKeySimple *KolKeySimpleTransactor) KolGotIncome(opts *bind.TransactOpts, sourceID int8, kolAddr common.Address) (*types.Transaction, error)
KolGotIncome is a paid mutator transaction binding the contract method 0xd842f385.
Solidity: function kolGotIncome(int8 sourceID, address kolAddr) payable returns()
func (*KolKeySimpleTransactor) KolOpenKeySale ¶ added in v1.0.1
func (_KolKeySimple *KolKeySimpleTransactor) KolOpenKeySale(opts *bind.TransactOpts, priceInFin *big.Int) (*types.Transaction, error)
KolOpenKeySale is a paid mutator transaction binding the contract method 0x5c1ec100.
Solidity: function kolOpenKeySale(uint256 priceInFin) returns()
func (*KolKeySimpleTransactor) RebindKolKey ¶ added in v1.0.1
func (_KolKeySimple *KolKeySimpleTransactor) RebindKolKey(opts *bind.TransactOpts, to common.Address) (*types.Transaction, error)
RebindKolKey is a paid mutator transaction binding the contract method 0x6390f644.
Solidity: function rebindKolKey(address to) returns()
func (*KolKeySimpleTransactor) Receive ¶ added in v1.0.1
func (_KolKeySimple *KolKeySimpleTransactor) Receive(opts *bind.TransactOpts) (*types.Transaction, error)
Receive is a paid mutator transaction binding the contract receive function.
Solidity: receive() payable returns()
func (*KolKeySimpleTransactor) TransferAllKey ¶ added in v1.0.1
func (_KolKeySimple *KolKeySimpleTransactor) TransferAllKey(opts *bind.TransactOpts, to common.Address, kol common.Address) (*types.Transaction, error)
TransferAllKey is a paid mutator transaction binding the contract method 0x01c6c8da.
Solidity: function transferAllKey(address to, address kol) returns()
func (*KolKeySimpleTransactor) TransferKey ¶ added in v1.0.1
func (_KolKeySimple *KolKeySimpleTransactor) TransferKey(opts *bind.TransactOpts, to common.Address, kol common.Address, nonce *big.Int, amount *big.Int) (*types.Transaction, error)
TransferKey is a paid mutator transaction binding the contract method 0x7b46bfe8.
Solidity: function transferKey(address to, address kol, uint256 nonce, uint256 amount) returns()
func (*KolKeySimpleTransactor) WithdrawAllIncome ¶ added in v1.0.1
func (_KolKeySimple *KolKeySimpleTransactor) WithdrawAllIncome(opts *bind.TransactOpts) (*types.Transaction, error)
WithdrawAllIncome is a paid mutator transaction binding the contract method 0x0c3e0452.
Solidity: function withdrawAllIncome() returns()
func (*KolKeySimpleTransactor) WithdrawFromOneKol ¶ added in v1.0.1
func (_KolKeySimple *KolKeySimpleTransactor) WithdrawFromOneKol(opts *bind.TransactOpts, kol common.Address) (*types.Transaction, error)
WithdrawFromOneKol is a paid mutator transaction binding the contract method 0x0ef86b3f.
Solidity: function withdrawFromOneKol(address kol) returns()
func (*KolKeySimpleTransactor) WithdrawFromOneNonce ¶ added in v1.0.1
func (_KolKeySimple *KolKeySimpleTransactor) WithdrawFromOneNonce(opts *bind.TransactOpts, kol common.Address, nonce *big.Int) (*types.Transaction, error)
WithdrawFromOneNonce is a paid mutator transaction binding the contract method 0x3da6136e.
Solidity: function withdrawFromOneNonce(address kol, uint256 nonce) returns()
type KolKeySimpleTransactorRaw ¶ added in v1.0.1
type KolKeySimpleTransactorRaw struct {
Contract *KolKeySimpleTransactor // Generic write-only contract binding to access the raw methods on
}
KolKeySimpleTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*KolKeySimpleTransactorRaw) Transact ¶ added in v1.0.1
func (_KolKeySimple *KolKeySimpleTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*KolKeySimpleTransactorRaw) Transfer ¶ added in v1.0.1
func (_KolKeySimple *KolKeySimpleTransactorRaw) 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 KolKeySimpleTransactorSession ¶ added in v1.0.1
type KolKeySimpleTransactorSession struct { Contract *KolKeySimpleTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
KolKeySimpleTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*KolKeySimpleTransactorSession) AdminOperation ¶ added in v1.0.1
func (_KolKeySimple *KolKeySimpleTransactorSession) AdminOperation(admin common.Address, isDelete bool) (*types.Transaction, error)
AdminOperation is a paid mutator transaction binding the contract method 0x2b508fde.
Solidity: function adminOperation(address admin, bool isDelete) returns()
func (*KolKeySimpleTransactorSession) AdminServiceFeeWithdraw ¶ added in v1.0.1
func (_KolKeySimple *KolKeySimpleTransactorSession) AdminServiceFeeWithdraw() (*types.Transaction, error)
AdminServiceFeeWithdraw is a paid mutator transaction binding the contract method 0x615f54a1.
Solidity: function adminServiceFeeWithdraw() returns()
func (*KolKeySimpleTransactorSession) AdminSetKeyFeeRate ¶ added in v1.0.1
func (_KolKeySimple *KolKeySimpleTransactorSession) AdminSetKeyFeeRate(newRate uint8) (*types.Transaction, error)
AdminSetKeyFeeRate is a paid mutator transaction binding the contract method 0x84854688.
Solidity: function adminSetKeyFeeRate(uint8 newRate) returns()
func (*KolKeySimpleTransactorSession) AdminSetKolIncomeRate ¶ added in v1.0.1
func (_KolKeySimple *KolKeySimpleTransactorSession) AdminSetKolIncomeRate(newRate uint8) (*types.Transaction, error)
AdminSetKolIncomeRate is a paid mutator transaction binding the contract method 0x34afeec0.
Solidity: function adminSetKolIncomeRate(uint8 newRate) returns()
func (*KolKeySimpleTransactorSession) AdminSetMaxKolKeyNo ¶ added in v1.0.1
func (_KolKeySimple *KolKeySimpleTransactorSession) AdminSetMaxKolKeyNo(keyNo *big.Int) (*types.Transaction, error)
AdminSetMaxKolKeyNo is a paid mutator transaction binding the contract method 0x2d7cb2ee.
Solidity: function adminSetMaxKolKeyNo(uint256 keyNo) returns()
func (*KolKeySimpleTransactorSession) AdminSetWithdrawFeeRate ¶ added in v1.0.1
func (_KolKeySimple *KolKeySimpleTransactorSession) AdminSetWithdrawFeeRate(newRate uint8) (*types.Transaction, error)
AdminSetWithdrawFeeRate is a paid mutator transaction binding the contract method 0x94c681d6.
Solidity: function adminSetWithdrawFeeRate(uint8 newRate) returns()
func (*KolKeySimpleTransactorSession) AdminUpgradeToNewRule ¶ added in v1.0.1
func (_KolKeySimple *KolKeySimpleTransactorSession) AdminUpgradeToNewRule(recipient common.Address) (*types.Transaction, error)
AdminUpgradeToNewRule is a paid mutator transaction binding the contract method 0xc75539d1.
Solidity: function adminUpgradeToNewRule(address recipient) returns()
func (*KolKeySimpleTransactorSession) BuyKolKey ¶ added in v1.0.1
func (_KolKeySimple *KolKeySimpleTransactorSession) BuyKolKey(kolAddr common.Address, keyNo *big.Int) (*types.Transaction, error)
BuyKolKey is a paid mutator transaction binding the contract method 0xc7cdf93c.
Solidity: function buyKolKey(address kolAddr, uint256 keyNo) payable returns()
func (*KolKeySimpleTransactorSession) ChangeOwner ¶ added in v1.0.1
func (_KolKeySimple *KolKeySimpleTransactorSession) ChangeOwner(newOwner common.Address) (*types.Transaction, error)
ChangeOwner is a paid mutator transaction binding the contract method 0xa6f9dae1.
Solidity: function changeOwner(address newOwner) returns()
func (*KolKeySimpleTransactorSession) ChangeStatus ¶ added in v1.0.1
func (_KolKeySimple *KolKeySimpleTransactorSession) ChangeStatus(stop bool) (*types.Transaction, error)
ChangeStatus is a paid mutator transaction binding the contract method 0x9b3de49b.
Solidity: function changeStatus(bool stop) returns()
func (*KolKeySimpleTransactorSession) KolGotIncome ¶ added in v1.0.1
func (_KolKeySimple *KolKeySimpleTransactorSession) KolGotIncome(sourceID int8, kolAddr common.Address) (*types.Transaction, error)
KolGotIncome is a paid mutator transaction binding the contract method 0xd842f385.
Solidity: function kolGotIncome(int8 sourceID, address kolAddr) payable returns()
func (*KolKeySimpleTransactorSession) KolOpenKeySale ¶ added in v1.0.1
func (_KolKeySimple *KolKeySimpleTransactorSession) KolOpenKeySale(priceInFin *big.Int) (*types.Transaction, error)
KolOpenKeySale is a paid mutator transaction binding the contract method 0x5c1ec100.
Solidity: function kolOpenKeySale(uint256 priceInFin) returns()
func (*KolKeySimpleTransactorSession) RebindKolKey ¶ added in v1.0.1
func (_KolKeySimple *KolKeySimpleTransactorSession) RebindKolKey(to common.Address) (*types.Transaction, error)
RebindKolKey is a paid mutator transaction binding the contract method 0x6390f644.
Solidity: function rebindKolKey(address to) returns()
func (*KolKeySimpleTransactorSession) Receive ¶ added in v1.0.1
func (_KolKeySimple *KolKeySimpleTransactorSession) Receive() (*types.Transaction, error)
Receive is a paid mutator transaction binding the contract receive function.
Solidity: receive() payable returns()
func (*KolKeySimpleTransactorSession) TransferAllKey ¶ added in v1.0.1
func (_KolKeySimple *KolKeySimpleTransactorSession) TransferAllKey(to common.Address, kol common.Address) (*types.Transaction, error)
TransferAllKey is a paid mutator transaction binding the contract method 0x01c6c8da.
Solidity: function transferAllKey(address to, address kol) returns()
func (*KolKeySimpleTransactorSession) TransferKey ¶ added in v1.0.1
func (_KolKeySimple *KolKeySimpleTransactorSession) TransferKey(to common.Address, kol common.Address, nonce *big.Int, amount *big.Int) (*types.Transaction, error)
TransferKey is a paid mutator transaction binding the contract method 0x7b46bfe8.
Solidity: function transferKey(address to, address kol, uint256 nonce, uint256 amount) returns()
func (*KolKeySimpleTransactorSession) WithdrawAllIncome ¶ added in v1.0.1
func (_KolKeySimple *KolKeySimpleTransactorSession) WithdrawAllIncome() (*types.Transaction, error)
WithdrawAllIncome is a paid mutator transaction binding the contract method 0x0c3e0452.
Solidity: function withdrawAllIncome() returns()
func (*KolKeySimpleTransactorSession) WithdrawFromOneKol ¶ added in v1.0.1
func (_KolKeySimple *KolKeySimpleTransactorSession) WithdrawFromOneKol(kol common.Address) (*types.Transaction, error)
WithdrawFromOneKol is a paid mutator transaction binding the contract method 0x0ef86b3f.
Solidity: function withdrawFromOneKol(address kol) returns()
func (*KolKeySimpleTransactorSession) WithdrawFromOneNonce ¶ added in v1.0.1
func (_KolKeySimple *KolKeySimpleTransactorSession) WithdrawFromOneNonce(kol common.Address, nonce *big.Int) (*types.Transaction, error)
WithdrawFromOneNonce is a paid mutator transaction binding the contract method 0x3da6136e.
Solidity: function withdrawFromOneNonce(address kol, uint256 nonce) returns()
type KolKeySimpleUpgradeToNewRule ¶ added in v1.0.1
type KolKeySimpleUpgradeToNewRule struct { NewContract common.Address Balance *big.Int Raw types.Log // Blockchain specific contextual infos }
KolKeySimpleUpgradeToNewRule represents a UpgradeToNewRule event raised by the KolKeySimple contract.
type KolKeySimpleUpgradeToNewRuleIterator ¶ added in v1.0.1
type KolKeySimpleUpgradeToNewRuleIterator struct { Event *KolKeySimpleUpgradeToNewRule // Event containing the contract specifics and raw log // contains filtered or unexported fields }
KolKeySimpleUpgradeToNewRuleIterator is returned from FilterUpgradeToNewRule and is used to iterate over the raw logs and unpacked data for UpgradeToNewRule events raised by the KolKeySimple contract.
func (*KolKeySimpleUpgradeToNewRuleIterator) Close ¶ added in v1.0.1
func (it *KolKeySimpleUpgradeToNewRuleIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*KolKeySimpleUpgradeToNewRuleIterator) Error ¶ added in v1.0.1
func (it *KolKeySimpleUpgradeToNewRuleIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*KolKeySimpleUpgradeToNewRuleIterator) Next ¶ added in v1.0.1
func (it *KolKeySimpleUpgradeToNewRuleIterator) 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 KolKeySimpleWithdrawService ¶ added in v1.0.1
type KolKeySimpleWithdrawService struct { Owner common.Address Balance *big.Int Raw types.Log // Blockchain specific contextual infos }
KolKeySimpleWithdrawService represents a WithdrawService event raised by the KolKeySimple contract.
type KolKeySimpleWithdrawServiceIterator ¶ added in v1.0.1
type KolKeySimpleWithdrawServiceIterator struct { Event *KolKeySimpleWithdrawService // Event containing the contract specifics and raw log // contains filtered or unexported fields }
KolKeySimpleWithdrawServiceIterator is returned from FilterWithdrawService and is used to iterate over the raw logs and unpacked data for WithdrawService events raised by the KolKeySimple contract.
func (*KolKeySimpleWithdrawServiceIterator) Close ¶ added in v1.0.1
func (it *KolKeySimpleWithdrawServiceIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*KolKeySimpleWithdrawServiceIterator) Error ¶ added in v1.0.1
func (it *KolKeySimpleWithdrawServiceIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*KolKeySimpleWithdrawServiceIterator) Next ¶ added in v1.0.1
func (it *KolKeySimpleWithdrawServiceIterator) 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 KolKeys ¶
type KolKeys struct { KolKeysCaller // Read-only binding to the contract KolKeysTransactor // Write-only binding to the contract KolKeysFilterer // Log filterer for contract events }
KolKeys is an auto generated Go binding around an Ethereum contract.
func NewKolKeys ¶
NewKolKeys creates a new instance of KolKeys, bound to a specific deployed contract.
type KolKeysAdminOperation ¶
type KolKeysAdminOperation struct { Admin common.Address OpType bool Raw types.Log // Blockchain specific contextual infos }
KolKeysAdminOperation represents a AdminOperation event raised by the KolKeys contract.
type KolKeysAdminOperationIterator ¶
type KolKeysAdminOperationIterator struct { Event *KolKeysAdminOperation // Event containing the contract specifics and raw log // contains filtered or unexported fields }
KolKeysAdminOperationIterator is returned from FilterAdminOperation and is used to iterate over the raw logs and unpacked data for AdminOperation events raised by the KolKeys contract.
func (*KolKeysAdminOperationIterator) Close ¶
func (it *KolKeysAdminOperationIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*KolKeysAdminOperationIterator) Error ¶
func (it *KolKeysAdminOperationIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*KolKeysAdminOperationIterator) Next ¶
func (it *KolKeysAdminOperationIterator) 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 KolKeysCaller ¶
type KolKeysCaller struct {
// contains filtered or unexported fields
}
KolKeysCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewKolKeysCaller ¶
func NewKolKeysCaller(address common.Address, caller bind.ContractCaller) (*KolKeysCaller, error)
NewKolKeysCaller creates a new read-only instance of KolKeys, bound to a specific deployed contract.
func (*KolKeysCaller) Admins ¶
Admins is a free data retrieval call binding the contract method 0x22b429f4.
Solidity: function __admins(address ) view returns(bool)
func (*KolKeysCaller) AllIncomeOfAllKol ¶
func (_KolKeys *KolKeysCaller) AllIncomeOfAllKol(opts *bind.CallOpts, investor common.Address) (*big.Int, error)
AllIncomeOfAllKol is a free data retrieval call binding the contract method 0xaf958a62.
Solidity: function AllIncomeOfAllKol(address investor) view returns(uint256)
func (*KolKeysCaller) AllIncomeOfOneKol ¶
func (_KolKeys *KolKeysCaller) AllIncomeOfOneKol(opts *bind.CallOpts, kol common.Address, investor common.Address) (*big.Int, error)
AllIncomeOfOneKol is a free data retrieval call binding the contract method 0x6d74bb5f.
Solidity: function AllIncomeOfOneKol(address kol, address investor) view returns(uint256)
func (*KolKeysCaller) AuctionData ¶
func (_KolKeys *KolKeysCaller) AuctionData(opts *bind.CallOpts, start *big.Int, no *big.Int) ([]KolKeysKeyAuction, error)
AuctionData is a free data retrieval call binding the contract method 0x86eaf599.
Solidity: function AuctionData(uint256 start, uint256 no) view returns((uint256,address,address,address,uint256,uint256,uint256,bool)[] result)
func (*KolKeysCaller) AuctionIdxMap ¶
AuctionIdxMap is a free data retrieval call binding the contract method 0x794f3bf1.
Solidity: function auctionIdxMap(uint256 ) view returns(uint256)
func (*KolKeysCaller) Balance ¶
Balance is a free data retrieval call binding the contract method 0xe3d670d7.
Solidity: function balance(address ) view returns(uint256)
func (*KolKeysCaller) CheckPluginInterface ¶
func (_KolKeys *KolKeysCaller) CheckPluginInterface(opts *bind.CallOpts) (bool, error)
CheckPluginInterface is a free data retrieval call binding the contract method 0x807c758d.
Solidity: function checkPluginInterface() pure returns(bool)
func (*KolKeysCaller) CurrentAuctionID ¶
CurrentAuctionID is a free data retrieval call binding the contract method 0x1d6abf71.
Solidity: function __currentAuctionID() view returns(uint256)
func (*KolKeysCaller) FeeForKeyBiddig ¶
FeeForKeyBiddig is a free data retrieval call binding the contract method 0xd4596578.
Solidity: function __feeForKeyBiddig() view returns(uint256)
func (*KolKeysCaller) FeeForKolKeyOp ¶
FeeForKolKeyOp is a free data retrieval call binding the contract method 0xcdd3e4da.
Solidity: function __feeForKolKeyOp() view returns(uint256)
func (*KolKeysCaller) GetOwner ¶
GetOwner is a free data retrieval call binding the contract method 0x893d20e8.
Solidity: function getOwner() view returns(address)
func (*KolKeysCaller) IncomeOfOneNonce ¶
func (_KolKeys *KolKeysCaller) IncomeOfOneNonce(opts *bind.CallOpts, kol common.Address, nonce *big.Int, amount *big.Int) (*big.Int, error)
IncomeOfOneNonce is a free data retrieval call binding the contract method 0x54ffe238.
Solidity: function IncomeOfOneNonce(address kol, uint256 nonce, uint256 amount) view returns(uint256)
func (*KolKeysCaller) IncomePerNoncePerKey ¶
func (_KolKeys *KolKeysCaller) IncomePerNoncePerKey(opts *bind.CallOpts, arg0 common.Address, arg1 *big.Int) (*big.Int, error)
IncomePerNoncePerKey is a free data retrieval call binding the contract method 0x53311742.
Solidity: function incomePerNoncePerKey(address , uint256 ) view returns(uint256)
func (*KolKeysCaller) InvestorAllKeysOfKol ¶
func (_KolKeys *KolKeysCaller) InvestorAllKeysOfKol(opts *bind.CallOpts, investor common.Address, kol common.Address) (struct { Nonce []*big.Int Amounts []*big.Int }, error)
InvestorAllKeysOfKol is a free data retrieval call binding the contract method 0xb83bb4e6.
Solidity: function InvestorAllKeysOfKol(address investor, address kol) view returns(uint256[] nonce, uint256[] amounts)
func (*KolKeysCaller) InvestorOfKol ¶
func (_KolKeys *KolKeysCaller) InvestorOfKol(opts *bind.CallOpts, kol common.Address) ([]common.Address, error)
InvestorOfKol is a free data retrieval call binding the contract method 0x8b2b0b67.
Solidity: function InvestorOfKol(address kol) view returns(address[])
func (*KolKeysCaller) KeyInAuction ¶
func (_KolKeys *KolKeysCaller) KeyInAuction(opts *bind.CallOpts, arg0 *big.Int) (struct { Id *big.Int Seller common.Address Bidder common.Address Kol common.Address Nonce *big.Int Amount *big.Int Price *big.Int Status bool }, error)
KeyInAuction is a free data retrieval call binding the contract method 0xab3da16f.
Solidity: function keyInAuction(uint256 ) view returns(uint256 id, address seller, address bidder, address kol, uint256 nonce, uint256 amount, uint256 price, bool status)
func (*KolKeysCaller) KeySettingsRecord ¶
func (_KolKeys *KolKeysCaller) KeySettingsRecord(opts *bind.CallOpts, arg0 common.Address) (struct { Price *big.Int MaxNo *big.Int Nonce *big.Int TotalNo *big.Int }, error)
KeySettingsRecord is a free data retrieval call binding the contract method 0x94447f45.
Solidity: function KeySettingsRecord(address ) view returns(uint256 price, uint256 maxNo, uint256 nonce, uint256 totalNo)
func (*KolKeysCaller) KeyStatusOfKol ¶
func (_KolKeys *KolKeysCaller) KeyStatusOfKol(opts *bind.CallOpts, kol common.Address) (KolKeysKeySettings, error)
KeyStatusOfKol is a free data retrieval call binding the contract method 0x9e4f5b5f.
Solidity: function KeyStatusOfKol(address kol) view returns((uint256,uint256,uint256,uint256))
func (*KolKeysCaller) KolIncomeRatePerKeyBuy ¶
func (_KolKeys *KolKeysCaller) KolIncomeRatePerKeyBuy(opts *bind.CallOpts) (uint8, error)
KolIncomeRatePerKeyBuy is a free data retrieval call binding the contract method 0xafb337cf.
Solidity: function kolIncomeRatePerKeyBuy() view returns(uint8)
func (*KolKeysCaller) KolOfOneInvestor ¶
func (_KolKeys *KolKeysCaller) KolOfOneInvestor(opts *bind.CallOpts, investor common.Address) ([]common.Address, error)
KolOfOneInvestor is a free data retrieval call binding the contract method 0xce92faa2.
Solidity: function KolOfOneInvestor(address investor) view returns(address[])
func (*KolKeysCaller) MinValCheck ¶
MinValCheck is a free data retrieval call binding the contract method 0x8509614b.
Solidity: function __minValCheck() view returns(uint256)
func (*KolKeysCaller) ServiceFeeRatePerKeyBuy ¶
func (_KolKeys *KolKeysCaller) ServiceFeeRatePerKeyBuy(opts *bind.CallOpts) (uint8, error)
ServiceFeeRatePerKeyBuy is a free data retrieval call binding the contract method 0xaf707457.
Solidity: function serviceFeeRatePerKeyBuy() view returns(uint8)
func (*KolKeysCaller) ServiceFeeReceived ¶
ServiceFeeReceived is a free data retrieval call binding the contract method 0xbe4479e8.
Solidity: function serviceFeeReceived() view returns(uint256)
func (*KolKeysCaller) WithdrawFeeRate ¶
WithdrawFeeRate is a free data retrieval call binding the contract method 0xea99e689.
Solidity: function withdrawFeeRate() view returns(uint256)
type KolKeysCallerRaw ¶
type KolKeysCallerRaw struct {
Contract *KolKeysCaller // Generic read-only contract binding to access the raw methods on
}
KolKeysCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*KolKeysCallerRaw) Call ¶
func (_KolKeys *KolKeysCallerRaw) 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 KolKeysCallerSession ¶
type KolKeysCallerSession struct { Contract *KolKeysCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
KolKeysCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*KolKeysCallerSession) Admins ¶
func (_KolKeys *KolKeysCallerSession) Admins(arg0 common.Address) (bool, error)
Admins is a free data retrieval call binding the contract method 0x22b429f4.
Solidity: function __admins(address ) view returns(bool)
func (*KolKeysCallerSession) AllIncomeOfAllKol ¶
AllIncomeOfAllKol is a free data retrieval call binding the contract method 0xaf958a62.
Solidity: function AllIncomeOfAllKol(address investor) view returns(uint256)
func (*KolKeysCallerSession) AllIncomeOfOneKol ¶
func (_KolKeys *KolKeysCallerSession) AllIncomeOfOneKol(kol common.Address, investor common.Address) (*big.Int, error)
AllIncomeOfOneKol is a free data retrieval call binding the contract method 0x6d74bb5f.
Solidity: function AllIncomeOfOneKol(address kol, address investor) view returns(uint256)
func (*KolKeysCallerSession) AuctionData ¶
func (_KolKeys *KolKeysCallerSession) AuctionData(start *big.Int, no *big.Int) ([]KolKeysKeyAuction, error)
AuctionData is a free data retrieval call binding the contract method 0x86eaf599.
Solidity: function AuctionData(uint256 start, uint256 no) view returns((uint256,address,address,address,uint256,uint256,uint256,bool)[] result)
func (*KolKeysCallerSession) AuctionIdxMap ¶
AuctionIdxMap is a free data retrieval call binding the contract method 0x794f3bf1.
Solidity: function auctionIdxMap(uint256 ) view returns(uint256)
func (*KolKeysCallerSession) Balance ¶
Balance is a free data retrieval call binding the contract method 0xe3d670d7.
Solidity: function balance(address ) view returns(uint256)
func (*KolKeysCallerSession) CheckPluginInterface ¶
func (_KolKeys *KolKeysCallerSession) CheckPluginInterface() (bool, error)
CheckPluginInterface is a free data retrieval call binding the contract method 0x807c758d.
Solidity: function checkPluginInterface() pure returns(bool)
func (*KolKeysCallerSession) CurrentAuctionID ¶
func (_KolKeys *KolKeysCallerSession) CurrentAuctionID() (*big.Int, error)
CurrentAuctionID is a free data retrieval call binding the contract method 0x1d6abf71.
Solidity: function __currentAuctionID() view returns(uint256)
func (*KolKeysCallerSession) FeeForKeyBiddig ¶
func (_KolKeys *KolKeysCallerSession) FeeForKeyBiddig() (*big.Int, error)
FeeForKeyBiddig is a free data retrieval call binding the contract method 0xd4596578.
Solidity: function __feeForKeyBiddig() view returns(uint256)
func (*KolKeysCallerSession) FeeForKolKeyOp ¶
func (_KolKeys *KolKeysCallerSession) FeeForKolKeyOp() (*big.Int, error)
FeeForKolKeyOp is a free data retrieval call binding the contract method 0xcdd3e4da.
Solidity: function __feeForKolKeyOp() view returns(uint256)
func (*KolKeysCallerSession) GetOwner ¶
func (_KolKeys *KolKeysCallerSession) GetOwner() (common.Address, error)
GetOwner is a free data retrieval call binding the contract method 0x893d20e8.
Solidity: function getOwner() view returns(address)
func (*KolKeysCallerSession) IncomeOfOneNonce ¶
func (_KolKeys *KolKeysCallerSession) IncomeOfOneNonce(kol common.Address, nonce *big.Int, amount *big.Int) (*big.Int, error)
IncomeOfOneNonce is a free data retrieval call binding the contract method 0x54ffe238.
Solidity: function IncomeOfOneNonce(address kol, uint256 nonce, uint256 amount) view returns(uint256)
func (*KolKeysCallerSession) IncomePerNoncePerKey ¶
func (_KolKeys *KolKeysCallerSession) IncomePerNoncePerKey(arg0 common.Address, arg1 *big.Int) (*big.Int, error)
IncomePerNoncePerKey is a free data retrieval call binding the contract method 0x53311742.
Solidity: function incomePerNoncePerKey(address , uint256 ) view returns(uint256)
func (*KolKeysCallerSession) InvestorAllKeysOfKol ¶
func (_KolKeys *KolKeysCallerSession) InvestorAllKeysOfKol(investor common.Address, kol common.Address) (struct { Nonce []*big.Int Amounts []*big.Int }, error)
InvestorAllKeysOfKol is a free data retrieval call binding the contract method 0xb83bb4e6.
Solidity: function InvestorAllKeysOfKol(address investor, address kol) view returns(uint256[] nonce, uint256[] amounts)
func (*KolKeysCallerSession) InvestorOfKol ¶
InvestorOfKol is a free data retrieval call binding the contract method 0x8b2b0b67.
Solidity: function InvestorOfKol(address kol) view returns(address[])
func (*KolKeysCallerSession) KeyInAuction ¶
func (_KolKeys *KolKeysCallerSession) KeyInAuction(arg0 *big.Int) (struct { Id *big.Int Seller common.Address Bidder common.Address Kol common.Address Nonce *big.Int Amount *big.Int Price *big.Int Status bool }, error)
KeyInAuction is a free data retrieval call binding the contract method 0xab3da16f.
Solidity: function keyInAuction(uint256 ) view returns(uint256 id, address seller, address bidder, address kol, uint256 nonce, uint256 amount, uint256 price, bool status)
func (*KolKeysCallerSession) KeySettingsRecord ¶
func (_KolKeys *KolKeysCallerSession) KeySettingsRecord(arg0 common.Address) (struct { Price *big.Int MaxNo *big.Int Nonce *big.Int TotalNo *big.Int }, error)
KeySettingsRecord is a free data retrieval call binding the contract method 0x94447f45.
Solidity: function KeySettingsRecord(address ) view returns(uint256 price, uint256 maxNo, uint256 nonce, uint256 totalNo)
func (*KolKeysCallerSession) KeyStatusOfKol ¶
func (_KolKeys *KolKeysCallerSession) KeyStatusOfKol(kol common.Address) (KolKeysKeySettings, error)
KeyStatusOfKol is a free data retrieval call binding the contract method 0x9e4f5b5f.
Solidity: function KeyStatusOfKol(address kol) view returns((uint256,uint256,uint256,uint256))
func (*KolKeysCallerSession) KolIncomeRatePerKeyBuy ¶
func (_KolKeys *KolKeysCallerSession) KolIncomeRatePerKeyBuy() (uint8, error)
KolIncomeRatePerKeyBuy is a free data retrieval call binding the contract method 0xafb337cf.
Solidity: function kolIncomeRatePerKeyBuy() view returns(uint8)
func (*KolKeysCallerSession) KolOfOneInvestor ¶
func (_KolKeys *KolKeysCallerSession) KolOfOneInvestor(investor common.Address) ([]common.Address, error)
KolOfOneInvestor is a free data retrieval call binding the contract method 0xce92faa2.
Solidity: function KolOfOneInvestor(address investor) view returns(address[])
func (*KolKeysCallerSession) MinValCheck ¶
func (_KolKeys *KolKeysCallerSession) MinValCheck() (*big.Int, error)
MinValCheck is a free data retrieval call binding the contract method 0x8509614b.
Solidity: function __minValCheck() view returns(uint256)
func (*KolKeysCallerSession) ServiceFeeRatePerKeyBuy ¶
func (_KolKeys *KolKeysCallerSession) ServiceFeeRatePerKeyBuy() (uint8, error)
ServiceFeeRatePerKeyBuy is a free data retrieval call binding the contract method 0xaf707457.
Solidity: function serviceFeeRatePerKeyBuy() view returns(uint8)
func (*KolKeysCallerSession) ServiceFeeReceived ¶
func (_KolKeys *KolKeysCallerSession) ServiceFeeReceived() (*big.Int, error)
ServiceFeeReceived is a free data retrieval call binding the contract method 0xbe4479e8.
Solidity: function serviceFeeReceived() view returns(uint256)
func (*KolKeysCallerSession) WithdrawFeeRate ¶
func (_KolKeys *KolKeysCallerSession) WithdrawFeeRate() (*big.Int, error)
WithdrawFeeRate is a free data retrieval call binding the contract method 0xea99e689.
Solidity: function withdrawFeeRate() view returns(uint256)
type KolKeysFilterer ¶
type KolKeysFilterer struct {
// contains filtered or unexported fields
}
KolKeysFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewKolKeysFilterer ¶
func NewKolKeysFilterer(address common.Address, filterer bind.ContractFilterer) (*KolKeysFilterer, error)
NewKolKeysFilterer creates a new log filterer instance of KolKeys, bound to a specific deployed contract.
func (*KolKeysFilterer) FilterAdminOperation ¶
func (_KolKeys *KolKeysFilterer) FilterAdminOperation(opts *bind.FilterOpts) (*KolKeysAdminOperationIterator, error)
FilterAdminOperation is a free log retrieval operation binding the contract event 0xa97d45d2d22d38f81ac1eb6ab339a6e56470c4cef221796a485da6841b02769e.
Solidity: event AdminOperation(address admin, bool opType)
func (*KolKeysFilterer) FilterInvestorWithdrawAllIncome ¶
func (_KolKeys *KolKeysFilterer) FilterInvestorWithdrawAllIncome(opts *bind.FilterOpts) (*KolKeysInvestorWithdrawAllIncomeIterator, error)
FilterInvestorWithdrawAllIncome is a free log retrieval operation binding the contract event 0x5dbe3bbfa87813b8be328cdb0b812e04de36cf36d1141967e1df795a7c95db0a.
Solidity: event InvestorWithdrawAllIncome(address investor, uint256 val)
func (*KolKeysFilterer) FilterInvestorWithdrawByOneKol ¶
func (_KolKeys *KolKeysFilterer) FilterInvestorWithdrawByOneKol(opts *bind.FilterOpts) (*KolKeysInvestorWithdrawByOneKolIterator, error)
FilterInvestorWithdrawByOneKol is a free log retrieval operation binding the contract event 0x6ce7ea243972341c9e8ddfa93ba573fec9d104862f00b1bcd6aab059efbc9a6d.
Solidity: event InvestorWithdrawByOneKol(address investor, address kol, uint256 val)
func (*KolKeysFilterer) FilterInvestorWithdrawByOneNonce ¶
func (_KolKeys *KolKeysFilterer) FilterInvestorWithdrawByOneNonce(opts *bind.FilterOpts) (*KolKeysInvestorWithdrawByOneNonceIterator, error)
FilterInvestorWithdrawByOneNonce is a free log retrieval operation binding the contract event 0xc85771d86e5aae3490e851850d1f22697f3a3fc112709b5d2bea1c3ea84fcefc.
Solidity: event InvestorWithdrawByOneNonce(address investor, address kol, uint256 nonce, uint256 val)
func (*KolKeysFilterer) FilterKeyAuctionAction ¶
func (_KolKeys *KolKeysFilterer) FilterKeyAuctionAction(opts *bind.FilterOpts) (*KolKeysKeyAuctionActionIterator, error)
FilterKeyAuctionAction is a free log retrieval operation binding the contract event 0xa6b5fa844f538ba008c65f296b54934aff4c2f11f1a9d5ef89c5f535b95681a2.
Solidity: event KeyAuctionAction(address kol, address seller, address buyer, uint256 nonce, uint256 amount, uint256 pricePerKey, string typ)
func (*KolKeysFilterer) FilterKeyTransfered ¶
func (_KolKeys *KolKeysFilterer) FilterKeyTransfered(opts *bind.FilterOpts) (*KolKeysKeyTransferedIterator, error)
FilterKeyTransfered is a free log retrieval operation binding the contract event 0xab9bb64eb94ba07b3652f3aac538e6365596995aabed6d8de6e33b2bcdf7a6ed.
Solidity: event KeyTransfered(address from, address to, address kol, uint256 nonce, uint256 amount)
func (*KolKeysFilterer) FilterKeyTransferedAll ¶
func (_KolKeys *KolKeysFilterer) FilterKeyTransferedAll(opts *bind.FilterOpts) (*KolKeysKeyTransferedAllIterator, error)
FilterKeyTransferedAll is a free log retrieval operation binding the contract event 0x67e33abe0f9a96e0749d2036016e153284d65989cd4875f4c5a42853b35e8bf1.
Solidity: event KeyTransferedAll(address from, address to, address kol)
func (*KolKeysFilterer) FilterKolIpRightBought ¶
func (_KolKeys *KolKeysFilterer) FilterKolIpRightBought(opts *bind.FilterOpts) (*KolKeysKolIpRightBoughtIterator, error)
FilterKolIpRightBought is a free log retrieval operation binding the contract event 0x804b19ef8fca4826d0401b0cc0bf4318c4ca656488c9ee92220dc3a6e2a251ac.
Solidity: event KolIpRightBought(address kolAddr, address buyer, uint256 keyNo, uint256 curNonce, uint256 KoltotalNo)
func (*KolKeysFilterer) FilterKolKeyOperation ¶
func (_KolKeys *KolKeysFilterer) FilterKolKeyOperation(opts *bind.FilterOpts) (*KolKeysKolKeyOperationIterator, error)
FilterKolKeyOperation is a free log retrieval operation binding the contract event 0xbc15fd271700fa06e159fed0c580b92322ca63f6dee0e074e3b5b1cb69846df9.
Solidity: event KolKeyOperation(address kol, uint256 price, uint256 maxKeyNo, string op)
func (*KolKeysFilterer) FilterOwnerSet ¶
func (_KolKeys *KolKeysFilterer) FilterOwnerSet(opts *bind.FilterOpts, oldOwner []common.Address, newOwner []common.Address) (*KolKeysOwnerSetIterator, error)
FilterOwnerSet is a free log retrieval operation binding the contract event 0x342827c97908e5e2f71151c08502a66d44b6f758e3ac2f1de95f02eb95f0a735.
Solidity: event OwnerSet(address indexed oldOwner, address indexed newOwner)
func (*KolKeysFilterer) FilterServiceFeeChanged ¶
func (_KolKeys *KolKeysFilterer) FilterServiceFeeChanged(opts *bind.FilterOpts) (*KolKeysServiceFeeChangedIterator, error)
FilterServiceFeeChanged is a free log retrieval operation binding the contract event 0x1c068decb3b5138b265d62b22c4c2d8191a2e0bd3745e97b5b0ff66fa852eca5.
Solidity: event ServiceFeeChanged(uint256 newSerficeFeeRate)
func (*KolKeysFilterer) FilterSystemSet ¶
func (_KolKeys *KolKeysFilterer) FilterSystemSet(opts *bind.FilterOpts) (*KolKeysSystemSetIterator, error)
FilterSystemSet is a free log retrieval operation binding the contract event 0xcd714485b704afdf17516cfe0560106372ea651897ae76ae6879e628756fb2a0.
Solidity: event SystemSet(uint256 num, string op)
func (*KolKeysFilterer) FilterTweetBought ¶
func (_KolKeys *KolKeysFilterer) FilterTweetBought(opts *bind.FilterOpts) (*KolKeysTweetBoughtIterator, error)
FilterTweetBought is a free log retrieval operation binding the contract event 0xf2f9674ebd4d561babe7a6525f2ffd0990fb102b9d29ec89a42e5b08b5455ebf.
Solidity: event TweetBought(bytes32 tHash, address owner, address buyer, uint256 voteNoe)
func (*KolKeysFilterer) FilterUpgradeToNewRule ¶
func (_KolKeys *KolKeysFilterer) FilterUpgradeToNewRule(opts *bind.FilterOpts) (*KolKeysUpgradeToNewRuleIterator, error)
FilterUpgradeToNewRule is a free log retrieval operation binding the contract event 0x8ff69c992616f2fe31c491c4a2ba58d0da8ab5cea0e68ad7ea1713d6fecbcdaa.
Solidity: event UpgradeToNewRule(address newContract, uint256 balance)
func (*KolKeysFilterer) FilterWithdrawService ¶
func (_KolKeys *KolKeysFilterer) FilterWithdrawService(opts *bind.FilterOpts) (*KolKeysWithdrawServiceIterator, error)
FilterWithdrawService is a free log retrieval operation binding the contract event 0x7cb5cedbb78bc8cf00b5ffe051ef08d865e93d587654a591285add48befaa51d.
Solidity: event WithdrawService(address owner, uint256 balance)
func (*KolKeysFilterer) ParseAdminOperation ¶
func (_KolKeys *KolKeysFilterer) ParseAdminOperation(log types.Log) (*KolKeysAdminOperation, error)
ParseAdminOperation is a log parse operation binding the contract event 0xa97d45d2d22d38f81ac1eb6ab339a6e56470c4cef221796a485da6841b02769e.
Solidity: event AdminOperation(address admin, bool opType)
func (*KolKeysFilterer) ParseInvestorWithdrawAllIncome ¶
func (_KolKeys *KolKeysFilterer) ParseInvestorWithdrawAllIncome(log types.Log) (*KolKeysInvestorWithdrawAllIncome, error)
ParseInvestorWithdrawAllIncome is a log parse operation binding the contract event 0x5dbe3bbfa87813b8be328cdb0b812e04de36cf36d1141967e1df795a7c95db0a.
Solidity: event InvestorWithdrawAllIncome(address investor, uint256 val)
func (*KolKeysFilterer) ParseInvestorWithdrawByOneKol ¶
func (_KolKeys *KolKeysFilterer) ParseInvestorWithdrawByOneKol(log types.Log) (*KolKeysInvestorWithdrawByOneKol, error)
ParseInvestorWithdrawByOneKol is a log parse operation binding the contract event 0x6ce7ea243972341c9e8ddfa93ba573fec9d104862f00b1bcd6aab059efbc9a6d.
Solidity: event InvestorWithdrawByOneKol(address investor, address kol, uint256 val)
func (*KolKeysFilterer) ParseInvestorWithdrawByOneNonce ¶
func (_KolKeys *KolKeysFilterer) ParseInvestorWithdrawByOneNonce(log types.Log) (*KolKeysInvestorWithdrawByOneNonce, error)
ParseInvestorWithdrawByOneNonce is a log parse operation binding the contract event 0xc85771d86e5aae3490e851850d1f22697f3a3fc112709b5d2bea1c3ea84fcefc.
Solidity: event InvestorWithdrawByOneNonce(address investor, address kol, uint256 nonce, uint256 val)
func (*KolKeysFilterer) ParseKeyAuctionAction ¶
func (_KolKeys *KolKeysFilterer) ParseKeyAuctionAction(log types.Log) (*KolKeysKeyAuctionAction, error)
ParseKeyAuctionAction is a log parse operation binding the contract event 0xa6b5fa844f538ba008c65f296b54934aff4c2f11f1a9d5ef89c5f535b95681a2.
Solidity: event KeyAuctionAction(address kol, address seller, address buyer, uint256 nonce, uint256 amount, uint256 pricePerKey, string typ)
func (*KolKeysFilterer) ParseKeyTransfered ¶
func (_KolKeys *KolKeysFilterer) ParseKeyTransfered(log types.Log) (*KolKeysKeyTransfered, error)
ParseKeyTransfered is a log parse operation binding the contract event 0xab9bb64eb94ba07b3652f3aac538e6365596995aabed6d8de6e33b2bcdf7a6ed.
Solidity: event KeyTransfered(address from, address to, address kol, uint256 nonce, uint256 amount)
func (*KolKeysFilterer) ParseKeyTransferedAll ¶
func (_KolKeys *KolKeysFilterer) ParseKeyTransferedAll(log types.Log) (*KolKeysKeyTransferedAll, error)
ParseKeyTransferedAll is a log parse operation binding the contract event 0x67e33abe0f9a96e0749d2036016e153284d65989cd4875f4c5a42853b35e8bf1.
Solidity: event KeyTransferedAll(address from, address to, address kol)
func (*KolKeysFilterer) ParseKolIpRightBought ¶
func (_KolKeys *KolKeysFilterer) ParseKolIpRightBought(log types.Log) (*KolKeysKolIpRightBought, error)
ParseKolIpRightBought is a log parse operation binding the contract event 0x804b19ef8fca4826d0401b0cc0bf4318c4ca656488c9ee92220dc3a6e2a251ac.
Solidity: event KolIpRightBought(address kolAddr, address buyer, uint256 keyNo, uint256 curNonce, uint256 KoltotalNo)
func (*KolKeysFilterer) ParseKolKeyOperation ¶
func (_KolKeys *KolKeysFilterer) ParseKolKeyOperation(log types.Log) (*KolKeysKolKeyOperation, error)
ParseKolKeyOperation is a log parse operation binding the contract event 0xbc15fd271700fa06e159fed0c580b92322ca63f6dee0e074e3b5b1cb69846df9.
Solidity: event KolKeyOperation(address kol, uint256 price, uint256 maxKeyNo, string op)
func (*KolKeysFilterer) ParseOwnerSet ¶
func (_KolKeys *KolKeysFilterer) ParseOwnerSet(log types.Log) (*KolKeysOwnerSet, error)
ParseOwnerSet is a log parse operation binding the contract event 0x342827c97908e5e2f71151c08502a66d44b6f758e3ac2f1de95f02eb95f0a735.
Solidity: event OwnerSet(address indexed oldOwner, address indexed newOwner)
func (*KolKeysFilterer) ParseServiceFeeChanged ¶
func (_KolKeys *KolKeysFilterer) ParseServiceFeeChanged(log types.Log) (*KolKeysServiceFeeChanged, error)
ParseServiceFeeChanged is a log parse operation binding the contract event 0x1c068decb3b5138b265d62b22c4c2d8191a2e0bd3745e97b5b0ff66fa852eca5.
Solidity: event ServiceFeeChanged(uint256 newSerficeFeeRate)
func (*KolKeysFilterer) ParseSystemSet ¶
func (_KolKeys *KolKeysFilterer) ParseSystemSet(log types.Log) (*KolKeysSystemSet, error)
ParseSystemSet is a log parse operation binding the contract event 0xcd714485b704afdf17516cfe0560106372ea651897ae76ae6879e628756fb2a0.
Solidity: event SystemSet(uint256 num, string op)
func (*KolKeysFilterer) ParseTweetBought ¶
func (_KolKeys *KolKeysFilterer) ParseTweetBought(log types.Log) (*KolKeysTweetBought, error)
ParseTweetBought is a log parse operation binding the contract event 0xf2f9674ebd4d561babe7a6525f2ffd0990fb102b9d29ec89a42e5b08b5455ebf.
Solidity: event TweetBought(bytes32 tHash, address owner, address buyer, uint256 voteNoe)
func (*KolKeysFilterer) ParseUpgradeToNewRule ¶
func (_KolKeys *KolKeysFilterer) ParseUpgradeToNewRule(log types.Log) (*KolKeysUpgradeToNewRule, error)
ParseUpgradeToNewRule is a log parse operation binding the contract event 0x8ff69c992616f2fe31c491c4a2ba58d0da8ab5cea0e68ad7ea1713d6fecbcdaa.
Solidity: event UpgradeToNewRule(address newContract, uint256 balance)
func (*KolKeysFilterer) ParseWithdrawService ¶
func (_KolKeys *KolKeysFilterer) ParseWithdrawService(log types.Log) (*KolKeysWithdrawService, error)
ParseWithdrawService is a log parse operation binding the contract event 0x7cb5cedbb78bc8cf00b5ffe051ef08d865e93d587654a591285add48befaa51d.
Solidity: event WithdrawService(address owner, uint256 balance)
func (*KolKeysFilterer) WatchAdminOperation ¶
func (_KolKeys *KolKeysFilterer) WatchAdminOperation(opts *bind.WatchOpts, sink chan<- *KolKeysAdminOperation) (event.Subscription, error)
WatchAdminOperation is a free log subscription operation binding the contract event 0xa97d45d2d22d38f81ac1eb6ab339a6e56470c4cef221796a485da6841b02769e.
Solidity: event AdminOperation(address admin, bool opType)
func (*KolKeysFilterer) WatchInvestorWithdrawAllIncome ¶
func (_KolKeys *KolKeysFilterer) WatchInvestorWithdrawAllIncome(opts *bind.WatchOpts, sink chan<- *KolKeysInvestorWithdrawAllIncome) (event.Subscription, error)
WatchInvestorWithdrawAllIncome is a free log subscription operation binding the contract event 0x5dbe3bbfa87813b8be328cdb0b812e04de36cf36d1141967e1df795a7c95db0a.
Solidity: event InvestorWithdrawAllIncome(address investor, uint256 val)
func (*KolKeysFilterer) WatchInvestorWithdrawByOneKol ¶
func (_KolKeys *KolKeysFilterer) WatchInvestorWithdrawByOneKol(opts *bind.WatchOpts, sink chan<- *KolKeysInvestorWithdrawByOneKol) (event.Subscription, error)
WatchInvestorWithdrawByOneKol is a free log subscription operation binding the contract event 0x6ce7ea243972341c9e8ddfa93ba573fec9d104862f00b1bcd6aab059efbc9a6d.
Solidity: event InvestorWithdrawByOneKol(address investor, address kol, uint256 val)
func (*KolKeysFilterer) WatchInvestorWithdrawByOneNonce ¶
func (_KolKeys *KolKeysFilterer) WatchInvestorWithdrawByOneNonce(opts *bind.WatchOpts, sink chan<- *KolKeysInvestorWithdrawByOneNonce) (event.Subscription, error)
WatchInvestorWithdrawByOneNonce is a free log subscription operation binding the contract event 0xc85771d86e5aae3490e851850d1f22697f3a3fc112709b5d2bea1c3ea84fcefc.
Solidity: event InvestorWithdrawByOneNonce(address investor, address kol, uint256 nonce, uint256 val)
func (*KolKeysFilterer) WatchKeyAuctionAction ¶
func (_KolKeys *KolKeysFilterer) WatchKeyAuctionAction(opts *bind.WatchOpts, sink chan<- *KolKeysKeyAuctionAction) (event.Subscription, error)
WatchKeyAuctionAction is a free log subscription operation binding the contract event 0xa6b5fa844f538ba008c65f296b54934aff4c2f11f1a9d5ef89c5f535b95681a2.
Solidity: event KeyAuctionAction(address kol, address seller, address buyer, uint256 nonce, uint256 amount, uint256 pricePerKey, string typ)
func (*KolKeysFilterer) WatchKeyTransfered ¶
func (_KolKeys *KolKeysFilterer) WatchKeyTransfered(opts *bind.WatchOpts, sink chan<- *KolKeysKeyTransfered) (event.Subscription, error)
WatchKeyTransfered is a free log subscription operation binding the contract event 0xab9bb64eb94ba07b3652f3aac538e6365596995aabed6d8de6e33b2bcdf7a6ed.
Solidity: event KeyTransfered(address from, address to, address kol, uint256 nonce, uint256 amount)
func (*KolKeysFilterer) WatchKeyTransferedAll ¶
func (_KolKeys *KolKeysFilterer) WatchKeyTransferedAll(opts *bind.WatchOpts, sink chan<- *KolKeysKeyTransferedAll) (event.Subscription, error)
WatchKeyTransferedAll is a free log subscription operation binding the contract event 0x67e33abe0f9a96e0749d2036016e153284d65989cd4875f4c5a42853b35e8bf1.
Solidity: event KeyTransferedAll(address from, address to, address kol)
func (*KolKeysFilterer) WatchKolIpRightBought ¶
func (_KolKeys *KolKeysFilterer) WatchKolIpRightBought(opts *bind.WatchOpts, sink chan<- *KolKeysKolIpRightBought) (event.Subscription, error)
WatchKolIpRightBought is a free log subscription operation binding the contract event 0x804b19ef8fca4826d0401b0cc0bf4318c4ca656488c9ee92220dc3a6e2a251ac.
Solidity: event KolIpRightBought(address kolAddr, address buyer, uint256 keyNo, uint256 curNonce, uint256 KoltotalNo)
func (*KolKeysFilterer) WatchKolKeyOperation ¶
func (_KolKeys *KolKeysFilterer) WatchKolKeyOperation(opts *bind.WatchOpts, sink chan<- *KolKeysKolKeyOperation) (event.Subscription, error)
WatchKolKeyOperation is a free log subscription operation binding the contract event 0xbc15fd271700fa06e159fed0c580b92322ca63f6dee0e074e3b5b1cb69846df9.
Solidity: event KolKeyOperation(address kol, uint256 price, uint256 maxKeyNo, string op)
func (*KolKeysFilterer) WatchOwnerSet ¶
func (_KolKeys *KolKeysFilterer) WatchOwnerSet(opts *bind.WatchOpts, sink chan<- *KolKeysOwnerSet, oldOwner []common.Address, newOwner []common.Address) (event.Subscription, error)
WatchOwnerSet is a free log subscription operation binding the contract event 0x342827c97908e5e2f71151c08502a66d44b6f758e3ac2f1de95f02eb95f0a735.
Solidity: event OwnerSet(address indexed oldOwner, address indexed newOwner)
func (*KolKeysFilterer) WatchServiceFeeChanged ¶
func (_KolKeys *KolKeysFilterer) WatchServiceFeeChanged(opts *bind.WatchOpts, sink chan<- *KolKeysServiceFeeChanged) (event.Subscription, error)
WatchServiceFeeChanged is a free log subscription operation binding the contract event 0x1c068decb3b5138b265d62b22c4c2d8191a2e0bd3745e97b5b0ff66fa852eca5.
Solidity: event ServiceFeeChanged(uint256 newSerficeFeeRate)
func (*KolKeysFilterer) WatchSystemSet ¶
func (_KolKeys *KolKeysFilterer) WatchSystemSet(opts *bind.WatchOpts, sink chan<- *KolKeysSystemSet) (event.Subscription, error)
WatchSystemSet is a free log subscription operation binding the contract event 0xcd714485b704afdf17516cfe0560106372ea651897ae76ae6879e628756fb2a0.
Solidity: event SystemSet(uint256 num, string op)
func (*KolKeysFilterer) WatchTweetBought ¶
func (_KolKeys *KolKeysFilterer) WatchTweetBought(opts *bind.WatchOpts, sink chan<- *KolKeysTweetBought) (event.Subscription, error)
WatchTweetBought is a free log subscription operation binding the contract event 0xf2f9674ebd4d561babe7a6525f2ffd0990fb102b9d29ec89a42e5b08b5455ebf.
Solidity: event TweetBought(bytes32 tHash, address owner, address buyer, uint256 voteNoe)
func (*KolKeysFilterer) WatchUpgradeToNewRule ¶
func (_KolKeys *KolKeysFilterer) WatchUpgradeToNewRule(opts *bind.WatchOpts, sink chan<- *KolKeysUpgradeToNewRule) (event.Subscription, error)
WatchUpgradeToNewRule is a free log subscription operation binding the contract event 0x8ff69c992616f2fe31c491c4a2ba58d0da8ab5cea0e68ad7ea1713d6fecbcdaa.
Solidity: event UpgradeToNewRule(address newContract, uint256 balance)
func (*KolKeysFilterer) WatchWithdrawService ¶
func (_KolKeys *KolKeysFilterer) WatchWithdrawService(opts *bind.WatchOpts, sink chan<- *KolKeysWithdrawService) (event.Subscription, error)
WatchWithdrawService is a free log subscription operation binding the contract event 0x7cb5cedbb78bc8cf00b5ffe051ef08d865e93d587654a591285add48befaa51d.
Solidity: event WithdrawService(address owner, uint256 balance)
type KolKeysInvestorWithdrawAllIncome ¶
type KolKeysInvestorWithdrawAllIncome struct { Investor common.Address Val *big.Int Raw types.Log // Blockchain specific contextual infos }
KolKeysInvestorWithdrawAllIncome represents a InvestorWithdrawAllIncome event raised by the KolKeys contract.
type KolKeysInvestorWithdrawAllIncomeIterator ¶
type KolKeysInvestorWithdrawAllIncomeIterator struct { Event *KolKeysInvestorWithdrawAllIncome // Event containing the contract specifics and raw log // contains filtered or unexported fields }
KolKeysInvestorWithdrawAllIncomeIterator is returned from FilterInvestorWithdrawAllIncome and is used to iterate over the raw logs and unpacked data for InvestorWithdrawAllIncome events raised by the KolKeys contract.
func (*KolKeysInvestorWithdrawAllIncomeIterator) Close ¶
func (it *KolKeysInvestorWithdrawAllIncomeIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*KolKeysInvestorWithdrawAllIncomeIterator) Error ¶
func (it *KolKeysInvestorWithdrawAllIncomeIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*KolKeysInvestorWithdrawAllIncomeIterator) Next ¶
func (it *KolKeysInvestorWithdrawAllIncomeIterator) 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 KolKeysInvestorWithdrawByOneKol ¶
type KolKeysInvestorWithdrawByOneKol struct { Investor common.Address Kol common.Address Val *big.Int Raw types.Log // Blockchain specific contextual infos }
KolKeysInvestorWithdrawByOneKol represents a InvestorWithdrawByOneKol event raised by the KolKeys contract.
type KolKeysInvestorWithdrawByOneKolIterator ¶
type KolKeysInvestorWithdrawByOneKolIterator struct { Event *KolKeysInvestorWithdrawByOneKol // Event containing the contract specifics and raw log // contains filtered or unexported fields }
KolKeysInvestorWithdrawByOneKolIterator is returned from FilterInvestorWithdrawByOneKol and is used to iterate over the raw logs and unpacked data for InvestorWithdrawByOneKol events raised by the KolKeys contract.
func (*KolKeysInvestorWithdrawByOneKolIterator) Close ¶
func (it *KolKeysInvestorWithdrawByOneKolIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*KolKeysInvestorWithdrawByOneKolIterator) Error ¶
func (it *KolKeysInvestorWithdrawByOneKolIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*KolKeysInvestorWithdrawByOneKolIterator) Next ¶
func (it *KolKeysInvestorWithdrawByOneKolIterator) 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 KolKeysInvestorWithdrawByOneNonce ¶
type KolKeysInvestorWithdrawByOneNonce struct { Investor common.Address Kol common.Address Nonce *big.Int Val *big.Int Raw types.Log // Blockchain specific contextual infos }
KolKeysInvestorWithdrawByOneNonce represents a InvestorWithdrawByOneNonce event raised by the KolKeys contract.
type KolKeysInvestorWithdrawByOneNonceIterator ¶
type KolKeysInvestorWithdrawByOneNonceIterator struct { Event *KolKeysInvestorWithdrawByOneNonce // Event containing the contract specifics and raw log // contains filtered or unexported fields }
KolKeysInvestorWithdrawByOneNonceIterator is returned from FilterInvestorWithdrawByOneNonce and is used to iterate over the raw logs and unpacked data for InvestorWithdrawByOneNonce events raised by the KolKeys contract.
func (*KolKeysInvestorWithdrawByOneNonceIterator) Close ¶
func (it *KolKeysInvestorWithdrawByOneNonceIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*KolKeysInvestorWithdrawByOneNonceIterator) Error ¶
func (it *KolKeysInvestorWithdrawByOneNonceIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*KolKeysInvestorWithdrawByOneNonceIterator) Next ¶
func (it *KolKeysInvestorWithdrawByOneNonceIterator) 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 KolKeysKeyAuction ¶
type KolKeysKeyAuction struct { Id *big.Int Seller common.Address Bidder common.Address Kol common.Address Nonce *big.Int Amount *big.Int Price *big.Int Status bool }
KolKeysKeyAuction is an auto generated low-level Go binding around an user-defined struct.
type KolKeysKeyAuctionAction ¶
type KolKeysKeyAuctionAction struct { Kol common.Address Seller common.Address Buyer common.Address Nonce *big.Int Amount *big.Int PricePerKey *big.Int Typ string Raw types.Log // Blockchain specific contextual infos }
KolKeysKeyAuctionAction represents a KeyAuctionAction event raised by the KolKeys contract.
type KolKeysKeyAuctionActionIterator ¶
type KolKeysKeyAuctionActionIterator struct { Event *KolKeysKeyAuctionAction // Event containing the contract specifics and raw log // contains filtered or unexported fields }
KolKeysKeyAuctionActionIterator is returned from FilterKeyAuctionAction and is used to iterate over the raw logs and unpacked data for KeyAuctionAction events raised by the KolKeys contract.
func (*KolKeysKeyAuctionActionIterator) Close ¶
func (it *KolKeysKeyAuctionActionIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*KolKeysKeyAuctionActionIterator) Error ¶
func (it *KolKeysKeyAuctionActionIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*KolKeysKeyAuctionActionIterator) Next ¶
func (it *KolKeysKeyAuctionActionIterator) 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 KolKeysKeySettings ¶
KolKeysKeySettings is an auto generated low-level Go binding around an user-defined struct.
type KolKeysKeyTransfered ¶
type KolKeysKeyTransfered struct { From common.Address To common.Address Kol common.Address Nonce *big.Int Amount *big.Int Raw types.Log // Blockchain specific contextual infos }
KolKeysKeyTransfered represents a KeyTransfered event raised by the KolKeys contract.
type KolKeysKeyTransferedAll ¶
type KolKeysKeyTransferedAll struct { From common.Address To common.Address Kol common.Address Raw types.Log // Blockchain specific contextual infos }
KolKeysKeyTransferedAll represents a KeyTransferedAll event raised by the KolKeys contract.
type KolKeysKeyTransferedAllIterator ¶
type KolKeysKeyTransferedAllIterator struct { Event *KolKeysKeyTransferedAll // Event containing the contract specifics and raw log // contains filtered or unexported fields }
KolKeysKeyTransferedAllIterator is returned from FilterKeyTransferedAll and is used to iterate over the raw logs and unpacked data for KeyTransferedAll events raised by the KolKeys contract.
func (*KolKeysKeyTransferedAllIterator) Close ¶
func (it *KolKeysKeyTransferedAllIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*KolKeysKeyTransferedAllIterator) Error ¶
func (it *KolKeysKeyTransferedAllIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*KolKeysKeyTransferedAllIterator) Next ¶
func (it *KolKeysKeyTransferedAllIterator) 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 KolKeysKeyTransferedIterator ¶
type KolKeysKeyTransferedIterator struct { Event *KolKeysKeyTransfered // Event containing the contract specifics and raw log // contains filtered or unexported fields }
KolKeysKeyTransferedIterator is returned from FilterKeyTransfered and is used to iterate over the raw logs and unpacked data for KeyTransfered events raised by the KolKeys contract.
func (*KolKeysKeyTransferedIterator) Close ¶
func (it *KolKeysKeyTransferedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*KolKeysKeyTransferedIterator) Error ¶
func (it *KolKeysKeyTransferedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*KolKeysKeyTransferedIterator) Next ¶
func (it *KolKeysKeyTransferedIterator) 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 KolKeysKolIpRightBought ¶
type KolKeysKolIpRightBought struct { KolAddr common.Address Buyer common.Address KeyNo *big.Int CurNonce *big.Int KoltotalNo *big.Int Raw types.Log // Blockchain specific contextual infos }
KolKeysKolIpRightBought represents a KolIpRightBought event raised by the KolKeys contract.
type KolKeysKolIpRightBoughtIterator ¶
type KolKeysKolIpRightBoughtIterator struct { Event *KolKeysKolIpRightBought // Event containing the contract specifics and raw log // contains filtered or unexported fields }
KolKeysKolIpRightBoughtIterator is returned from FilterKolIpRightBought and is used to iterate over the raw logs and unpacked data for KolIpRightBought events raised by the KolKeys contract.
func (*KolKeysKolIpRightBoughtIterator) Close ¶
func (it *KolKeysKolIpRightBoughtIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*KolKeysKolIpRightBoughtIterator) Error ¶
func (it *KolKeysKolIpRightBoughtIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*KolKeysKolIpRightBoughtIterator) Next ¶
func (it *KolKeysKolIpRightBoughtIterator) 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 KolKeysKolKeyOperation ¶
type KolKeysKolKeyOperation struct { Kol common.Address Price *big.Int MaxKeyNo *big.Int Op string Raw types.Log // Blockchain specific contextual infos }
KolKeysKolKeyOperation represents a KolKeyOperation event raised by the KolKeys contract.
type KolKeysKolKeyOperationIterator ¶
type KolKeysKolKeyOperationIterator struct { Event *KolKeysKolKeyOperation // Event containing the contract specifics and raw log // contains filtered or unexported fields }
KolKeysKolKeyOperationIterator is returned from FilterKolKeyOperation and is used to iterate over the raw logs and unpacked data for KolKeyOperation events raised by the KolKeys contract.
func (*KolKeysKolKeyOperationIterator) Close ¶
func (it *KolKeysKolKeyOperationIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*KolKeysKolKeyOperationIterator) Error ¶
func (it *KolKeysKolKeyOperationIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*KolKeysKolKeyOperationIterator) Next ¶
func (it *KolKeysKolKeyOperationIterator) 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 KolKeysOwnerSet ¶
type KolKeysOwnerSet struct { OldOwner common.Address NewOwner common.Address Raw types.Log // Blockchain specific contextual infos }
KolKeysOwnerSet represents a OwnerSet event raised by the KolKeys contract.
type KolKeysOwnerSetIterator ¶
type KolKeysOwnerSetIterator struct { Event *KolKeysOwnerSet // Event containing the contract specifics and raw log // contains filtered or unexported fields }
KolKeysOwnerSetIterator is returned from FilterOwnerSet and is used to iterate over the raw logs and unpacked data for OwnerSet events raised by the KolKeys contract.
func (*KolKeysOwnerSetIterator) Close ¶
func (it *KolKeysOwnerSetIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*KolKeysOwnerSetIterator) Error ¶
func (it *KolKeysOwnerSetIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*KolKeysOwnerSetIterator) Next ¶
func (it *KolKeysOwnerSetIterator) 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 KolKeysRaw ¶
type KolKeysRaw struct {
Contract *KolKeys // Generic contract binding to access the raw methods on
}
KolKeysRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*KolKeysRaw) Call ¶
func (_KolKeys *KolKeysRaw) 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 (*KolKeysRaw) Transact ¶
func (_KolKeys *KolKeysRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*KolKeysRaw) Transfer ¶
func (_KolKeys *KolKeysRaw) 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 KolKeysServiceFeeChanged ¶
type KolKeysServiceFeeChanged struct { NewSerficeFeeRate *big.Int Raw types.Log // Blockchain specific contextual infos }
KolKeysServiceFeeChanged represents a ServiceFeeChanged event raised by the KolKeys contract.
type KolKeysServiceFeeChangedIterator ¶
type KolKeysServiceFeeChangedIterator struct { Event *KolKeysServiceFeeChanged // Event containing the contract specifics and raw log // contains filtered or unexported fields }
KolKeysServiceFeeChangedIterator is returned from FilterServiceFeeChanged and is used to iterate over the raw logs and unpacked data for ServiceFeeChanged events raised by the KolKeys contract.
func (*KolKeysServiceFeeChangedIterator) Close ¶
func (it *KolKeysServiceFeeChangedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*KolKeysServiceFeeChangedIterator) Error ¶
func (it *KolKeysServiceFeeChangedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*KolKeysServiceFeeChangedIterator) Next ¶
func (it *KolKeysServiceFeeChangedIterator) 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 KolKeysSession ¶
type KolKeysSession struct { Contract *KolKeys // 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 }
KolKeysSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*KolKeysSession) AdminOperation ¶
func (_KolKeys *KolKeysSession) AdminOperation(admin common.Address, isDelete bool) (*types.Transaction, error)
AdminOperation is a paid mutator transaction binding the contract method 0x2b508fde.
Solidity: function adminOperation(address admin, bool isDelete) returns()
func (*KolKeysSession) AdminServiceFeeWithdraw ¶
func (_KolKeys *KolKeysSession) AdminServiceFeeWithdraw() (*types.Transaction, error)
AdminServiceFeeWithdraw is a paid mutator transaction binding the contract method 0x615f54a1.
Solidity: function adminServiceFeeWithdraw() returns()
func (*KolKeysSession) AdminSetBddingFee ¶
func (_KolKeys *KolKeysSession) AdminSetBddingFee(newFeeInGwei *big.Int) (*types.Transaction, error)
AdminSetBddingFee is a paid mutator transaction binding the contract method 0x388a82cc.
Solidity: function adminSetBddingFee(uint256 newFeeInGwei) returns()
func (*KolKeysSession) AdminSetKeyFeeRate ¶
func (_KolKeys *KolKeysSession) AdminSetKeyFeeRate(newRate uint8) (*types.Transaction, error)
AdminSetKeyFeeRate is a paid mutator transaction binding the contract method 0x84854688.
Solidity: function adminSetKeyFeeRate(uint8 newRate) returns()
func (*KolKeysSession) AdminSetKolIncomeRate ¶
func (_KolKeys *KolKeysSession) AdminSetKolIncomeRate(newRate uint8) (*types.Transaction, error)
AdminSetKolIncomeRate is a paid mutator transaction binding the contract method 0x34afeec0.
Solidity: function adminSetKolIncomeRate(uint8 newRate) returns()
func (*KolKeysSession) AdminSetKolOperationFee ¶
func (_KolKeys *KolKeysSession) AdminSetKolOperationFee(newFeeInGwei *big.Int) (*types.Transaction, error)
AdminSetKolOperationFee is a paid mutator transaction binding the contract method 0xe9e60559.
Solidity: function adminSetKolOperationFee(uint256 newFeeInGwei) returns()
func (*KolKeysSession) AdminSetWithdrawFeeRate ¶
func (_KolKeys *KolKeysSession) AdminSetWithdrawFeeRate(newRate uint8) (*types.Transaction, error)
AdminSetWithdrawFeeRate is a paid mutator transaction binding the contract method 0x94c681d6.
Solidity: function adminSetWithdrawFeeRate(uint8 newRate) returns()
func (*KolKeysSession) AdminUpgradeToNewRule ¶
func (_KolKeys *KolKeysSession) AdminUpgradeToNewRule(recipient common.Address) (*types.Transaction, error)
AdminUpgradeToNewRule is a paid mutator transaction binding the contract method 0xc75539d1.
Solidity: function adminUpgradeToNewRule(address recipient) returns()
func (*KolKeysSession) Admins ¶
func (_KolKeys *KolKeysSession) Admins(arg0 common.Address) (bool, error)
Admins is a free data retrieval call binding the contract method 0x22b429f4.
Solidity: function __admins(address ) view returns(bool)
func (*KolKeysSession) AllIncomeOfAllKol ¶
AllIncomeOfAllKol is a free data retrieval call binding the contract method 0xaf958a62.
Solidity: function AllIncomeOfAllKol(address investor) view returns(uint256)
func (*KolKeysSession) AllIncomeOfOneKol ¶
func (_KolKeys *KolKeysSession) AllIncomeOfOneKol(kol common.Address, investor common.Address) (*big.Int, error)
AllIncomeOfOneKol is a free data retrieval call binding the contract method 0x6d74bb5f.
Solidity: function AllIncomeOfOneKol(address kol, address investor) view returns(uint256)
func (*KolKeysSession) AuctionData ¶
func (_KolKeys *KolKeysSession) AuctionData(start *big.Int, no *big.Int) ([]KolKeysKeyAuction, error)
AuctionData is a free data retrieval call binding the contract method 0x86eaf599.
Solidity: function AuctionData(uint256 start, uint256 no) view returns((uint256,address,address,address,uint256,uint256,uint256,bool)[] result)
func (*KolKeysSession) AuctionIdxMap ¶
AuctionIdxMap is a free data retrieval call binding the contract method 0x794f3bf1.
Solidity: function auctionIdxMap(uint256 ) view returns(uint256)
func (*KolKeysSession) Balance ¶
Balance is a free data retrieval call binding the contract method 0xe3d670d7.
Solidity: function balance(address ) view returns(uint256)
func (*KolKeysSession) Bid ¶
func (_KolKeys *KolKeysSession) Bid(bidID *big.Int) (*types.Transaction, error)
Bid is a paid mutator transaction binding the contract method 0x454a2ab3.
Solidity: function bid(uint256 bidID) payable returns()
func (*KolKeysSession) BuyKolKey ¶
func (_KolKeys *KolKeysSession) BuyKolKey(kolAddr common.Address, keyNo *big.Int) (*types.Transaction, error)
BuyKolKey is a paid mutator transaction binding the contract method 0xc7cdf93c.
Solidity: function buyKolKey(address kolAddr, uint256 keyNo) payable returns()
func (*KolKeysSession) ChangeOwner ¶
func (_KolKeys *KolKeysSession) ChangeOwner(newOwner common.Address) (*types.Transaction, error)
ChangeOwner is a paid mutator transaction binding the contract method 0xa6f9dae1.
Solidity: function changeOwner(address newOwner) returns()
func (*KolKeysSession) ChangeStatus ¶ added in v1.0.1
func (_KolKeys *KolKeysSession) ChangeStatus(stop bool) (*types.Transaction, error)
ChangeStatus is a paid mutator transaction binding the contract method 0x9b3de49b.
Solidity: function changeStatus(bool stop) returns()
func (*KolKeysSession) CheckPluginInterface ¶
func (_KolKeys *KolKeysSession) CheckPluginInterface() (bool, error)
CheckPluginInterface is a free data retrieval call binding the contract method 0x807c758d.
Solidity: function checkPluginInterface() pure returns(bool)
func (*KolKeysSession) CurrentAuctionID ¶
func (_KolKeys *KolKeysSession) CurrentAuctionID() (*big.Int, error)
CurrentAuctionID is a free data retrieval call binding the contract method 0x1d6abf71.
Solidity: function __currentAuctionID() view returns(uint256)
func (*KolKeysSession) FeeForKeyBiddig ¶
func (_KolKeys *KolKeysSession) FeeForKeyBiddig() (*big.Int, error)
FeeForKeyBiddig is a free data retrieval call binding the contract method 0xd4596578.
Solidity: function __feeForKeyBiddig() view returns(uint256)
func (*KolKeysSession) FeeForKolKeyOp ¶
func (_KolKeys *KolKeysSession) FeeForKolKeyOp() (*big.Int, error)
FeeForKolKeyOp is a free data retrieval call binding the contract method 0xcdd3e4da.
Solidity: function __feeForKolKeyOp() view returns(uint256)
func (*KolKeysSession) GetOwner ¶
func (_KolKeys *KolKeysSession) GetOwner() (common.Address, error)
GetOwner is a free data retrieval call binding the contract method 0x893d20e8.
Solidity: function getOwner() view returns(address)
func (*KolKeysSession) IncomeOfOneNonce ¶
func (_KolKeys *KolKeysSession) IncomeOfOneNonce(kol common.Address, nonce *big.Int, amount *big.Int) (*big.Int, error)
IncomeOfOneNonce is a free data retrieval call binding the contract method 0x54ffe238.
Solidity: function IncomeOfOneNonce(address kol, uint256 nonce, uint256 amount) view returns(uint256)
func (*KolKeysSession) IncomePerNoncePerKey ¶
func (_KolKeys *KolKeysSession) IncomePerNoncePerKey(arg0 common.Address, arg1 *big.Int) (*big.Int, error)
IncomePerNoncePerKey is a free data retrieval call binding the contract method 0x53311742.
Solidity: function incomePerNoncePerKey(address , uint256 ) view returns(uint256)
func (*KolKeysSession) IncomeToKolPool ¶
func (_KolKeys *KolKeysSession) IncomeToKolPool(kol common.Address) (*types.Transaction, error)
IncomeToKolPool is a paid mutator transaction binding the contract method 0x2b915094.
Solidity: function incomeToKolPool(address kol) payable returns()
func (*KolKeysSession) InvestorAllKeysOfKol ¶
func (_KolKeys *KolKeysSession) InvestorAllKeysOfKol(investor common.Address, kol common.Address) (struct { Nonce []*big.Int Amounts []*big.Int }, error)
InvestorAllKeysOfKol is a free data retrieval call binding the contract method 0xb83bb4e6.
Solidity: function InvestorAllKeysOfKol(address investor, address kol) view returns(uint256[] nonce, uint256[] amounts)
func (*KolKeysSession) InvestorOfKol ¶
InvestorOfKol is a free data retrieval call binding the contract method 0x8b2b0b67.
Solidity: function InvestorOfKol(address kol) view returns(address[])
func (*KolKeysSession) IssueBid ¶
func (_KolKeys *KolKeysSession) IssueBid(kol common.Address, nonce *big.Int, amount *big.Int, pricePerKey *big.Int) (*types.Transaction, error)
IssueBid is a paid mutator transaction binding the contract method 0x627d27b1.
Solidity: function issueBid(address kol, uint256 nonce, uint256 amount, uint256 pricePerKey) payable returns()
func (*KolKeysSession) KeyInAuction ¶
func (_KolKeys *KolKeysSession) KeyInAuction(arg0 *big.Int) (struct { Id *big.Int Seller common.Address Bidder common.Address Kol common.Address Nonce *big.Int Amount *big.Int Price *big.Int Status bool }, error)
KeyInAuction is a free data retrieval call binding the contract method 0xab3da16f.
Solidity: function keyInAuction(uint256 ) view returns(uint256 id, address seller, address bidder, address kol, uint256 nonce, uint256 amount, uint256 price, bool status)
func (*KolKeysSession) KeySettingsRecord ¶
func (_KolKeys *KolKeysSession) KeySettingsRecord(arg0 common.Address) (struct { Price *big.Int MaxNo *big.Int Nonce *big.Int TotalNo *big.Int }, error)
KeySettingsRecord is a free data retrieval call binding the contract method 0x94447f45.
Solidity: function KeySettingsRecord(address ) view returns(uint256 price, uint256 maxNo, uint256 nonce, uint256 totalNo)
func (*KolKeysSession) KeyStatusOfKol ¶
func (_KolKeys *KolKeysSession) KeyStatusOfKol(kol common.Address) (KolKeysKeySettings, error)
KeyStatusOfKol is a free data retrieval call binding the contract method 0x9e4f5b5f.
Solidity: function KeyStatusOfKol(address kol) view returns((uint256,uint256,uint256,uint256))
func (*KolKeysSession) KolAddKeySupply ¶
func (_KolKeys *KolKeysSession) KolAddKeySupply(amount *big.Int) (*types.Transaction, error)
KolAddKeySupply is a paid mutator transaction binding the contract method 0xd7eca559.
Solidity: function kolAddKeySupply(uint256 amount) payable returns()
func (*KolKeysSession) KolIncomeRatePerKeyBuy ¶
func (_KolKeys *KolKeysSession) KolIncomeRatePerKeyBuy() (uint8, error)
KolIncomeRatePerKeyBuy is a free data retrieval call binding the contract method 0xafb337cf.
Solidity: function kolIncomeRatePerKeyBuy() view returns(uint8)
func (*KolKeysSession) KolOfOneInvestor ¶
KolOfOneInvestor is a free data retrieval call binding the contract method 0xce92faa2.
Solidity: function KolOfOneInvestor(address investor) view returns(address[])
func (*KolKeysSession) KolOpenKeySale ¶
func (_KolKeys *KolKeysSession) KolOpenKeySale(pricePerKey *big.Int, maxKeyNo *big.Int) (*types.Transaction, error)
KolOpenKeySale is a paid mutator transaction binding the contract method 0x4a26e8ea.
Solidity: function kolOpenKeySale(uint256 pricePerKey, int256 maxKeyNo) payable returns()
func (*KolKeysSession) KolSetKeyPrice ¶
func (_KolKeys *KolKeysSession) KolSetKeyPrice(newPrice *big.Int) (*types.Transaction, error)
KolSetKeyPrice is a paid mutator transaction binding the contract method 0xdb003fc7.
Solidity: function kolSetKeyPrice(uint256 newPrice) payable returns()
func (*KolKeysSession) MinValCheck ¶
func (_KolKeys *KolKeysSession) MinValCheck() (*big.Int, error)
MinValCheck is a free data retrieval call binding the contract method 0x8509614b.
Solidity: function __minValCheck() view returns(uint256)
func (*KolKeysSession) Receive ¶
func (_KolKeys *KolKeysSession) Receive() (*types.Transaction, error)
Receive is a paid mutator transaction binding the contract receive function.
Solidity: receive() payable returns()
func (*KolKeysSession) RevokeBid ¶
func (_KolKeys *KolKeysSession) RevokeBid(bidID *big.Int) (*types.Transaction, error)
RevokeBid is a paid mutator transaction binding the contract method 0xd1a1f09a.
Solidity: function revokeBid(uint256 bidID) payable returns()
func (*KolKeysSession) ServiceFeeRatePerKeyBuy ¶
func (_KolKeys *KolKeysSession) ServiceFeeRatePerKeyBuy() (uint8, error)
ServiceFeeRatePerKeyBuy is a free data retrieval call binding the contract method 0xaf707457.
Solidity: function serviceFeeRatePerKeyBuy() view returns(uint8)
func (*KolKeysSession) ServiceFeeReceived ¶
func (_KolKeys *KolKeysSession) ServiceFeeReceived() (*big.Int, error)
ServiceFeeReceived is a free data retrieval call binding the contract method 0xbe4479e8.
Solidity: function serviceFeeReceived() view returns(uint256)
func (*KolKeysSession) TransferAllKey ¶
func (_KolKeys *KolKeysSession) TransferAllKey(to common.Address, kol common.Address) (*types.Transaction, error)
TransferAllKey is a paid mutator transaction binding the contract method 0x01c6c8da.
Solidity: function transferAllKey(address to, address kol) returns()
func (*KolKeysSession) TransferKey ¶
func (_KolKeys *KolKeysSession) TransferKey(to common.Address, kol common.Address, nonce *big.Int, amount *big.Int) (*types.Transaction, error)
TransferKey is a paid mutator transaction binding the contract method 0x7b46bfe8.
Solidity: function transferKey(address to, address kol, uint256 nonce, uint256 amount) returns()
func (*KolKeysSession) TweetBought ¶
func (_KolKeys *KolKeysSession) TweetBought(tweetHash [32]byte, tweetOwner common.Address, buyer common.Address, voteNo *big.Int) (*types.Transaction, error)
TweetBought is a paid mutator transaction binding the contract method 0xd2f2eeb7.
Solidity: function tweetBought(bytes32 tweetHash, address tweetOwner, address buyer, uint256 voteNo) payable returns()
func (*KolKeysSession) WithdrawAllIncome ¶
func (_KolKeys *KolKeysSession) WithdrawAllIncome() (*types.Transaction, error)
WithdrawAllIncome is a paid mutator transaction binding the contract method 0x0c3e0452.
Solidity: function withdrawAllIncome() returns()
func (*KolKeysSession) WithdrawFeeRate ¶
func (_KolKeys *KolKeysSession) WithdrawFeeRate() (*big.Int, error)
WithdrawFeeRate is a free data retrieval call binding the contract method 0xea99e689.
Solidity: function withdrawFeeRate() view returns(uint256)
func (*KolKeysSession) WithdrawFromOneKol ¶
func (_KolKeys *KolKeysSession) WithdrawFromOneKol(kol common.Address) (*types.Transaction, error)
WithdrawFromOneKol is a paid mutator transaction binding the contract method 0x0ef86b3f.
Solidity: function withdrawFromOneKol(address kol) returns()
func (*KolKeysSession) WithdrawFromOneNonce ¶
func (_KolKeys *KolKeysSession) WithdrawFromOneNonce(kol common.Address, nonce *big.Int) (*types.Transaction, error)
WithdrawFromOneNonce is a paid mutator transaction binding the contract method 0x3da6136e.
Solidity: function withdrawFromOneNonce(address kol, uint256 nonce) returns()
type KolKeysSystemSet ¶
type KolKeysSystemSet struct { Num *big.Int Op string Raw types.Log // Blockchain specific contextual infos }
KolKeysSystemSet represents a SystemSet event raised by the KolKeys contract.
type KolKeysSystemSetIterator ¶
type KolKeysSystemSetIterator struct { Event *KolKeysSystemSet // Event containing the contract specifics and raw log // contains filtered or unexported fields }
KolKeysSystemSetIterator is returned from FilterSystemSet and is used to iterate over the raw logs and unpacked data for SystemSet events raised by the KolKeys contract.
func (*KolKeysSystemSetIterator) Close ¶
func (it *KolKeysSystemSetIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*KolKeysSystemSetIterator) Error ¶
func (it *KolKeysSystemSetIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*KolKeysSystemSetIterator) Next ¶
func (it *KolKeysSystemSetIterator) 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 KolKeysTransactor ¶
type KolKeysTransactor struct {
// contains filtered or unexported fields
}
KolKeysTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewKolKeysTransactor ¶
func NewKolKeysTransactor(address common.Address, transactor bind.ContractTransactor) (*KolKeysTransactor, error)
NewKolKeysTransactor creates a new write-only instance of KolKeys, bound to a specific deployed contract.
func (*KolKeysTransactor) AdminOperation ¶
func (_KolKeys *KolKeysTransactor) AdminOperation(opts *bind.TransactOpts, admin common.Address, isDelete bool) (*types.Transaction, error)
AdminOperation is a paid mutator transaction binding the contract method 0x2b508fde.
Solidity: function adminOperation(address admin, bool isDelete) returns()
func (*KolKeysTransactor) AdminServiceFeeWithdraw ¶
func (_KolKeys *KolKeysTransactor) AdminServiceFeeWithdraw(opts *bind.TransactOpts) (*types.Transaction, error)
AdminServiceFeeWithdraw is a paid mutator transaction binding the contract method 0x615f54a1.
Solidity: function adminServiceFeeWithdraw() returns()
func (*KolKeysTransactor) AdminSetBddingFee ¶
func (_KolKeys *KolKeysTransactor) AdminSetBddingFee(opts *bind.TransactOpts, newFeeInGwei *big.Int) (*types.Transaction, error)
AdminSetBddingFee is a paid mutator transaction binding the contract method 0x388a82cc.
Solidity: function adminSetBddingFee(uint256 newFeeInGwei) returns()
func (*KolKeysTransactor) AdminSetKeyFeeRate ¶
func (_KolKeys *KolKeysTransactor) AdminSetKeyFeeRate(opts *bind.TransactOpts, newRate uint8) (*types.Transaction, error)
AdminSetKeyFeeRate is a paid mutator transaction binding the contract method 0x84854688.
Solidity: function adminSetKeyFeeRate(uint8 newRate) returns()
func (*KolKeysTransactor) AdminSetKolIncomeRate ¶
func (_KolKeys *KolKeysTransactor) AdminSetKolIncomeRate(opts *bind.TransactOpts, newRate uint8) (*types.Transaction, error)
AdminSetKolIncomeRate is a paid mutator transaction binding the contract method 0x34afeec0.
Solidity: function adminSetKolIncomeRate(uint8 newRate) returns()
func (*KolKeysTransactor) AdminSetKolOperationFee ¶
func (_KolKeys *KolKeysTransactor) AdminSetKolOperationFee(opts *bind.TransactOpts, newFeeInGwei *big.Int) (*types.Transaction, error)
AdminSetKolOperationFee is a paid mutator transaction binding the contract method 0xe9e60559.
Solidity: function adminSetKolOperationFee(uint256 newFeeInGwei) returns()
func (*KolKeysTransactor) AdminSetWithdrawFeeRate ¶
func (_KolKeys *KolKeysTransactor) AdminSetWithdrawFeeRate(opts *bind.TransactOpts, newRate uint8) (*types.Transaction, error)
AdminSetWithdrawFeeRate is a paid mutator transaction binding the contract method 0x94c681d6.
Solidity: function adminSetWithdrawFeeRate(uint8 newRate) returns()
func (*KolKeysTransactor) AdminUpgradeToNewRule ¶
func (_KolKeys *KolKeysTransactor) AdminUpgradeToNewRule(opts *bind.TransactOpts, recipient common.Address) (*types.Transaction, error)
AdminUpgradeToNewRule is a paid mutator transaction binding the contract method 0xc75539d1.
Solidity: function adminUpgradeToNewRule(address recipient) returns()
func (*KolKeysTransactor) Bid ¶
func (_KolKeys *KolKeysTransactor) Bid(opts *bind.TransactOpts, bidID *big.Int) (*types.Transaction, error)
Bid is a paid mutator transaction binding the contract method 0x454a2ab3.
Solidity: function bid(uint256 bidID) payable returns()
func (*KolKeysTransactor) BuyKolKey ¶
func (_KolKeys *KolKeysTransactor) BuyKolKey(opts *bind.TransactOpts, kolAddr common.Address, keyNo *big.Int) (*types.Transaction, error)
BuyKolKey is a paid mutator transaction binding the contract method 0xc7cdf93c.
Solidity: function buyKolKey(address kolAddr, uint256 keyNo) payable returns()
func (*KolKeysTransactor) ChangeOwner ¶
func (_KolKeys *KolKeysTransactor) ChangeOwner(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)
ChangeOwner is a paid mutator transaction binding the contract method 0xa6f9dae1.
Solidity: function changeOwner(address newOwner) returns()
func (*KolKeysTransactor) ChangeStatus ¶ added in v1.0.1
func (_KolKeys *KolKeysTransactor) ChangeStatus(opts *bind.TransactOpts, stop bool) (*types.Transaction, error)
ChangeStatus is a paid mutator transaction binding the contract method 0x9b3de49b.
Solidity: function changeStatus(bool stop) returns()
func (*KolKeysTransactor) IncomeToKolPool ¶
func (_KolKeys *KolKeysTransactor) IncomeToKolPool(opts *bind.TransactOpts, kol common.Address) (*types.Transaction, error)
IncomeToKolPool is a paid mutator transaction binding the contract method 0x2b915094.
Solidity: function incomeToKolPool(address kol) payable returns()
func (*KolKeysTransactor) IssueBid ¶
func (_KolKeys *KolKeysTransactor) IssueBid(opts *bind.TransactOpts, kol common.Address, nonce *big.Int, amount *big.Int, pricePerKey *big.Int) (*types.Transaction, error)
IssueBid is a paid mutator transaction binding the contract method 0x627d27b1.
Solidity: function issueBid(address kol, uint256 nonce, uint256 amount, uint256 pricePerKey) payable returns()
func (*KolKeysTransactor) KolAddKeySupply ¶
func (_KolKeys *KolKeysTransactor) KolAddKeySupply(opts *bind.TransactOpts, amount *big.Int) (*types.Transaction, error)
KolAddKeySupply is a paid mutator transaction binding the contract method 0xd7eca559.
Solidity: function kolAddKeySupply(uint256 amount) payable returns()
func (*KolKeysTransactor) KolOpenKeySale ¶
func (_KolKeys *KolKeysTransactor) KolOpenKeySale(opts *bind.TransactOpts, pricePerKey *big.Int, maxKeyNo *big.Int) (*types.Transaction, error)
KolOpenKeySale is a paid mutator transaction binding the contract method 0x4a26e8ea.
Solidity: function kolOpenKeySale(uint256 pricePerKey, int256 maxKeyNo) payable returns()
func (*KolKeysTransactor) KolSetKeyPrice ¶
func (_KolKeys *KolKeysTransactor) KolSetKeyPrice(opts *bind.TransactOpts, newPrice *big.Int) (*types.Transaction, error)
KolSetKeyPrice is a paid mutator transaction binding the contract method 0xdb003fc7.
Solidity: function kolSetKeyPrice(uint256 newPrice) payable returns()
func (*KolKeysTransactor) Receive ¶
func (_KolKeys *KolKeysTransactor) Receive(opts *bind.TransactOpts) (*types.Transaction, error)
Receive is a paid mutator transaction binding the contract receive function.
Solidity: receive() payable returns()
func (*KolKeysTransactor) RevokeBid ¶
func (_KolKeys *KolKeysTransactor) RevokeBid(opts *bind.TransactOpts, bidID *big.Int) (*types.Transaction, error)
RevokeBid is a paid mutator transaction binding the contract method 0xd1a1f09a.
Solidity: function revokeBid(uint256 bidID) payable returns()
func (*KolKeysTransactor) TransferAllKey ¶
func (_KolKeys *KolKeysTransactor) TransferAllKey(opts *bind.TransactOpts, to common.Address, kol common.Address) (*types.Transaction, error)
TransferAllKey is a paid mutator transaction binding the contract method 0x01c6c8da.
Solidity: function transferAllKey(address to, address kol) returns()
func (*KolKeysTransactor) TransferKey ¶
func (_KolKeys *KolKeysTransactor) TransferKey(opts *bind.TransactOpts, to common.Address, kol common.Address, nonce *big.Int, amount *big.Int) (*types.Transaction, error)
TransferKey is a paid mutator transaction binding the contract method 0x7b46bfe8.
Solidity: function transferKey(address to, address kol, uint256 nonce, uint256 amount) returns()
func (*KolKeysTransactor) TweetBought ¶
func (_KolKeys *KolKeysTransactor) TweetBought(opts *bind.TransactOpts, tweetHash [32]byte, tweetOwner common.Address, buyer common.Address, voteNo *big.Int) (*types.Transaction, error)
TweetBought is a paid mutator transaction binding the contract method 0xd2f2eeb7.
Solidity: function tweetBought(bytes32 tweetHash, address tweetOwner, address buyer, uint256 voteNo) payable returns()
func (*KolKeysTransactor) WithdrawAllIncome ¶
func (_KolKeys *KolKeysTransactor) WithdrawAllIncome(opts *bind.TransactOpts) (*types.Transaction, error)
WithdrawAllIncome is a paid mutator transaction binding the contract method 0x0c3e0452.
Solidity: function withdrawAllIncome() returns()
func (*KolKeysTransactor) WithdrawFromOneKol ¶
func (_KolKeys *KolKeysTransactor) WithdrawFromOneKol(opts *bind.TransactOpts, kol common.Address) (*types.Transaction, error)
WithdrawFromOneKol is a paid mutator transaction binding the contract method 0x0ef86b3f.
Solidity: function withdrawFromOneKol(address kol) returns()
func (*KolKeysTransactor) WithdrawFromOneNonce ¶
func (_KolKeys *KolKeysTransactor) WithdrawFromOneNonce(opts *bind.TransactOpts, kol common.Address, nonce *big.Int) (*types.Transaction, error)
WithdrawFromOneNonce is a paid mutator transaction binding the contract method 0x3da6136e.
Solidity: function withdrawFromOneNonce(address kol, uint256 nonce) returns()
type KolKeysTransactorRaw ¶
type KolKeysTransactorRaw struct {
Contract *KolKeysTransactor // Generic write-only contract binding to access the raw methods on
}
KolKeysTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*KolKeysTransactorRaw) Transact ¶
func (_KolKeys *KolKeysTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*KolKeysTransactorRaw) Transfer ¶
func (_KolKeys *KolKeysTransactorRaw) 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 KolKeysTransactorSession ¶
type KolKeysTransactorSession struct { Contract *KolKeysTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
KolKeysTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*KolKeysTransactorSession) AdminOperation ¶
func (_KolKeys *KolKeysTransactorSession) AdminOperation(admin common.Address, isDelete bool) (*types.Transaction, error)
AdminOperation is a paid mutator transaction binding the contract method 0x2b508fde.
Solidity: function adminOperation(address admin, bool isDelete) returns()
func (*KolKeysTransactorSession) AdminServiceFeeWithdraw ¶
func (_KolKeys *KolKeysTransactorSession) AdminServiceFeeWithdraw() (*types.Transaction, error)
AdminServiceFeeWithdraw is a paid mutator transaction binding the contract method 0x615f54a1.
Solidity: function adminServiceFeeWithdraw() returns()
func (*KolKeysTransactorSession) AdminSetBddingFee ¶
func (_KolKeys *KolKeysTransactorSession) AdminSetBddingFee(newFeeInGwei *big.Int) (*types.Transaction, error)
AdminSetBddingFee is a paid mutator transaction binding the contract method 0x388a82cc.
Solidity: function adminSetBddingFee(uint256 newFeeInGwei) returns()
func (*KolKeysTransactorSession) AdminSetKeyFeeRate ¶
func (_KolKeys *KolKeysTransactorSession) AdminSetKeyFeeRate(newRate uint8) (*types.Transaction, error)
AdminSetKeyFeeRate is a paid mutator transaction binding the contract method 0x84854688.
Solidity: function adminSetKeyFeeRate(uint8 newRate) returns()
func (*KolKeysTransactorSession) AdminSetKolIncomeRate ¶
func (_KolKeys *KolKeysTransactorSession) AdminSetKolIncomeRate(newRate uint8) (*types.Transaction, error)
AdminSetKolIncomeRate is a paid mutator transaction binding the contract method 0x34afeec0.
Solidity: function adminSetKolIncomeRate(uint8 newRate) returns()
func (*KolKeysTransactorSession) AdminSetKolOperationFee ¶
func (_KolKeys *KolKeysTransactorSession) AdminSetKolOperationFee(newFeeInGwei *big.Int) (*types.Transaction, error)
AdminSetKolOperationFee is a paid mutator transaction binding the contract method 0xe9e60559.
Solidity: function adminSetKolOperationFee(uint256 newFeeInGwei) returns()
func (*KolKeysTransactorSession) AdminSetWithdrawFeeRate ¶
func (_KolKeys *KolKeysTransactorSession) AdminSetWithdrawFeeRate(newRate uint8) (*types.Transaction, error)
AdminSetWithdrawFeeRate is a paid mutator transaction binding the contract method 0x94c681d6.
Solidity: function adminSetWithdrawFeeRate(uint8 newRate) returns()
func (*KolKeysTransactorSession) AdminUpgradeToNewRule ¶
func (_KolKeys *KolKeysTransactorSession) AdminUpgradeToNewRule(recipient common.Address) (*types.Transaction, error)
AdminUpgradeToNewRule is a paid mutator transaction binding the contract method 0xc75539d1.
Solidity: function adminUpgradeToNewRule(address recipient) returns()
func (*KolKeysTransactorSession) Bid ¶
func (_KolKeys *KolKeysTransactorSession) Bid(bidID *big.Int) (*types.Transaction, error)
Bid is a paid mutator transaction binding the contract method 0x454a2ab3.
Solidity: function bid(uint256 bidID) payable returns()
func (*KolKeysTransactorSession) BuyKolKey ¶
func (_KolKeys *KolKeysTransactorSession) BuyKolKey(kolAddr common.Address, keyNo *big.Int) (*types.Transaction, error)
BuyKolKey is a paid mutator transaction binding the contract method 0xc7cdf93c.
Solidity: function buyKolKey(address kolAddr, uint256 keyNo) payable returns()
func (*KolKeysTransactorSession) ChangeOwner ¶
func (_KolKeys *KolKeysTransactorSession) ChangeOwner(newOwner common.Address) (*types.Transaction, error)
ChangeOwner is a paid mutator transaction binding the contract method 0xa6f9dae1.
Solidity: function changeOwner(address newOwner) returns()
func (*KolKeysTransactorSession) ChangeStatus ¶ added in v1.0.1
func (_KolKeys *KolKeysTransactorSession) ChangeStatus(stop bool) (*types.Transaction, error)
ChangeStatus is a paid mutator transaction binding the contract method 0x9b3de49b.
Solidity: function changeStatus(bool stop) returns()
func (*KolKeysTransactorSession) IncomeToKolPool ¶
func (_KolKeys *KolKeysTransactorSession) IncomeToKolPool(kol common.Address) (*types.Transaction, error)
IncomeToKolPool is a paid mutator transaction binding the contract method 0x2b915094.
Solidity: function incomeToKolPool(address kol) payable returns()
func (*KolKeysTransactorSession) IssueBid ¶
func (_KolKeys *KolKeysTransactorSession) IssueBid(kol common.Address, nonce *big.Int, amount *big.Int, pricePerKey *big.Int) (*types.Transaction, error)
IssueBid is a paid mutator transaction binding the contract method 0x627d27b1.
Solidity: function issueBid(address kol, uint256 nonce, uint256 amount, uint256 pricePerKey) payable returns()
func (*KolKeysTransactorSession) KolAddKeySupply ¶
func (_KolKeys *KolKeysTransactorSession) KolAddKeySupply(amount *big.Int) (*types.Transaction, error)
KolAddKeySupply is a paid mutator transaction binding the contract method 0xd7eca559.
Solidity: function kolAddKeySupply(uint256 amount) payable returns()
func (*KolKeysTransactorSession) KolOpenKeySale ¶
func (_KolKeys *KolKeysTransactorSession) KolOpenKeySale(pricePerKey *big.Int, maxKeyNo *big.Int) (*types.Transaction, error)
KolOpenKeySale is a paid mutator transaction binding the contract method 0x4a26e8ea.
Solidity: function kolOpenKeySale(uint256 pricePerKey, int256 maxKeyNo) payable returns()
func (*KolKeysTransactorSession) KolSetKeyPrice ¶
func (_KolKeys *KolKeysTransactorSession) KolSetKeyPrice(newPrice *big.Int) (*types.Transaction, error)
KolSetKeyPrice is a paid mutator transaction binding the contract method 0xdb003fc7.
Solidity: function kolSetKeyPrice(uint256 newPrice) payable returns()
func (*KolKeysTransactorSession) Receive ¶
func (_KolKeys *KolKeysTransactorSession) Receive() (*types.Transaction, error)
Receive is a paid mutator transaction binding the contract receive function.
Solidity: receive() payable returns()
func (*KolKeysTransactorSession) RevokeBid ¶
func (_KolKeys *KolKeysTransactorSession) RevokeBid(bidID *big.Int) (*types.Transaction, error)
RevokeBid is a paid mutator transaction binding the contract method 0xd1a1f09a.
Solidity: function revokeBid(uint256 bidID) payable returns()
func (*KolKeysTransactorSession) TransferAllKey ¶
func (_KolKeys *KolKeysTransactorSession) TransferAllKey(to common.Address, kol common.Address) (*types.Transaction, error)
TransferAllKey is a paid mutator transaction binding the contract method 0x01c6c8da.
Solidity: function transferAllKey(address to, address kol) returns()
func (*KolKeysTransactorSession) TransferKey ¶
func (_KolKeys *KolKeysTransactorSession) TransferKey(to common.Address, kol common.Address, nonce *big.Int, amount *big.Int) (*types.Transaction, error)
TransferKey is a paid mutator transaction binding the contract method 0x7b46bfe8.
Solidity: function transferKey(address to, address kol, uint256 nonce, uint256 amount) returns()
func (*KolKeysTransactorSession) TweetBought ¶
func (_KolKeys *KolKeysTransactorSession) TweetBought(tweetHash [32]byte, tweetOwner common.Address, buyer common.Address, voteNo *big.Int) (*types.Transaction, error)
TweetBought is a paid mutator transaction binding the contract method 0xd2f2eeb7.
Solidity: function tweetBought(bytes32 tweetHash, address tweetOwner, address buyer, uint256 voteNo) payable returns()
func (*KolKeysTransactorSession) WithdrawAllIncome ¶
func (_KolKeys *KolKeysTransactorSession) WithdrawAllIncome() (*types.Transaction, error)
WithdrawAllIncome is a paid mutator transaction binding the contract method 0x0c3e0452.
Solidity: function withdrawAllIncome() returns()
func (*KolKeysTransactorSession) WithdrawFromOneKol ¶
func (_KolKeys *KolKeysTransactorSession) WithdrawFromOneKol(kol common.Address) (*types.Transaction, error)
WithdrawFromOneKol is a paid mutator transaction binding the contract method 0x0ef86b3f.
Solidity: function withdrawFromOneKol(address kol) returns()
func (*KolKeysTransactorSession) WithdrawFromOneNonce ¶
func (_KolKeys *KolKeysTransactorSession) WithdrawFromOneNonce(kol common.Address, nonce *big.Int) (*types.Transaction, error)
WithdrawFromOneNonce is a paid mutator transaction binding the contract method 0x3da6136e.
Solidity: function withdrawFromOneNonce(address kol, uint256 nonce) returns()
type KolKeysTweetBought ¶
type KolKeysTweetBought struct { THash [32]byte Owner common.Address Buyer common.Address VoteNoe *big.Int Raw types.Log // Blockchain specific contextual infos }
KolKeysTweetBought represents a TweetBought event raised by the KolKeys contract.
type KolKeysTweetBoughtIterator ¶
type KolKeysTweetBoughtIterator struct { Event *KolKeysTweetBought // Event containing the contract specifics and raw log // contains filtered or unexported fields }
KolKeysTweetBoughtIterator is returned from FilterTweetBought and is used to iterate over the raw logs and unpacked data for TweetBought events raised by the KolKeys contract.
func (*KolKeysTweetBoughtIterator) Close ¶
func (it *KolKeysTweetBoughtIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*KolKeysTweetBoughtIterator) Error ¶
func (it *KolKeysTweetBoughtIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*KolKeysTweetBoughtIterator) Next ¶
func (it *KolKeysTweetBoughtIterator) 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 KolKeysUpgradeToNewRule ¶
type KolKeysUpgradeToNewRule struct { NewContract common.Address Balance *big.Int Raw types.Log // Blockchain specific contextual infos }
KolKeysUpgradeToNewRule represents a UpgradeToNewRule event raised by the KolKeys contract.
type KolKeysUpgradeToNewRuleIterator ¶
type KolKeysUpgradeToNewRuleIterator struct { Event *KolKeysUpgradeToNewRule // Event containing the contract specifics and raw log // contains filtered or unexported fields }
KolKeysUpgradeToNewRuleIterator is returned from FilterUpgradeToNewRule and is used to iterate over the raw logs and unpacked data for UpgradeToNewRule events raised by the KolKeys contract.
func (*KolKeysUpgradeToNewRuleIterator) Close ¶
func (it *KolKeysUpgradeToNewRuleIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*KolKeysUpgradeToNewRuleIterator) Error ¶
func (it *KolKeysUpgradeToNewRuleIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*KolKeysUpgradeToNewRuleIterator) Next ¶
func (it *KolKeysUpgradeToNewRuleIterator) 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 KolKeysWithdrawService ¶
type KolKeysWithdrawService struct { Owner common.Address Balance *big.Int Raw types.Log // Blockchain specific contextual infos }
KolKeysWithdrawService represents a WithdrawService event raised by the KolKeys contract.
type KolKeysWithdrawServiceIterator ¶
type KolKeysWithdrawServiceIterator struct { Event *KolKeysWithdrawService // Event containing the contract specifics and raw log // contains filtered or unexported fields }
KolKeysWithdrawServiceIterator is returned from FilterWithdrawService and is used to iterate over the raw logs and unpacked data for WithdrawService events raised by the KolKeys contract.
func (*KolKeysWithdrawServiceIterator) Close ¶
func (it *KolKeysWithdrawServiceIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*KolKeysWithdrawServiceIterator) Error ¶
func (it *KolKeysWithdrawServiceIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*KolKeysWithdrawServiceIterator) Next ¶
func (it *KolKeysWithdrawServiceIterator) 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 TweetLotteryGame ¶
type TweetLotteryGame struct { TweetLotteryGameCaller // Read-only binding to the contract TweetLotteryGameTransactor // Write-only binding to the contract TweetLotteryGameFilterer // Log filterer for contract events }
TweetLotteryGame is an auto generated Go binding around an Ethereum contract.
func NewTweetLotteryGame ¶
func NewTweetLotteryGame(address common.Address, backend bind.ContractBackend) (*TweetLotteryGame, error)
NewTweetLotteryGame creates a new instance of TweetLotteryGame, bound to a specific deployed contract.
type TweetLotteryGameAdminOperated ¶
type TweetLotteryGameAdminOperated struct { NewTimeInMinutes *big.Int OpName string Raw types.Log // Blockchain specific contextual infos }
TweetLotteryGameAdminOperated represents a AdminOperated event raised by the TweetLotteryGame contract.
type TweetLotteryGameAdminOperatedIterator ¶
type TweetLotteryGameAdminOperatedIterator struct { Event *TweetLotteryGameAdminOperated // Event containing the contract specifics and raw log // contains filtered or unexported fields }
TweetLotteryGameAdminOperatedIterator is returned from FilterAdminOperated and is used to iterate over the raw logs and unpacked data for AdminOperated events raised by the TweetLotteryGame contract.
func (*TweetLotteryGameAdminOperatedIterator) Close ¶
func (it *TweetLotteryGameAdminOperatedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*TweetLotteryGameAdminOperatedIterator) Error ¶
func (it *TweetLotteryGameAdminOperatedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*TweetLotteryGameAdminOperatedIterator) Next ¶
func (it *TweetLotteryGameAdminOperatedIterator) 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 TweetLotteryGameAdminOperation ¶
type TweetLotteryGameAdminOperation struct { Admin common.Address OpType bool Raw types.Log // Blockchain specific contextual infos }
TweetLotteryGameAdminOperation represents a AdminOperation event raised by the TweetLotteryGame contract.
type TweetLotteryGameAdminOperationIterator ¶
type TweetLotteryGameAdminOperationIterator struct { Event *TweetLotteryGameAdminOperation // Event containing the contract specifics and raw log // contains filtered or unexported fields }
TweetLotteryGameAdminOperationIterator is returned from FilterAdminOperation and is used to iterate over the raw logs and unpacked data for AdminOperation events raised by the TweetLotteryGame contract.
func (*TweetLotteryGameAdminOperationIterator) Close ¶
func (it *TweetLotteryGameAdminOperationIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*TweetLotteryGameAdminOperationIterator) Error ¶
func (it *TweetLotteryGameAdminOperationIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*TweetLotteryGameAdminOperationIterator) Next ¶
func (it *TweetLotteryGameAdminOperationIterator) 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 TweetLotteryGameCaller ¶
type TweetLotteryGameCaller struct {
// contains filtered or unexported fields
}
TweetLotteryGameCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewTweetLotteryGameCaller ¶
func NewTweetLotteryGameCaller(address common.Address, caller bind.ContractCaller) (*TweetLotteryGameCaller, error)
NewTweetLotteryGameCaller creates a new read-only instance of TweetLotteryGame, bound to a specific deployed contract.
func (*TweetLotteryGameCaller) Admins ¶
func (_TweetLotteryGame *TweetLotteryGameCaller) Admins(opts *bind.CallOpts, arg0 common.Address) (bool, error)
Admins is a free data retrieval call binding the contract method 0x22b429f4.
Solidity: function __admins(address ) view returns(bool)
func (*TweetLotteryGameCaller) Balance ¶
func (_TweetLotteryGame *TweetLotteryGameCaller) Balance(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)
Balance is a free data retrieval call binding the contract method 0xe3d670d7.
Solidity: function balance(address ) view returns(uint256)
func (*TweetLotteryGameCaller) BonusForPoints ¶ added in v1.0.1
func (_TweetLotteryGame *TweetLotteryGameCaller) BonusForPoints(opts *bind.CallOpts) (*big.Int, error)
BonusForPoints is a free data retrieval call binding the contract method 0xb2987568.
Solidity: function bonusForPoints() view returns(uint256)
func (*TweetLotteryGameCaller) BonusRateToWinner ¶
func (_TweetLotteryGame *TweetLotteryGameCaller) BonusRateToWinner(opts *bind.CallOpts) (uint8, error)
BonusRateToWinner is a free data retrieval call binding the contract method 0xd8574327.
Solidity: function __bonusRateToWinner() view returns(uint8)
func (*TweetLotteryGameCaller) BuyerInfoIdxForTickets ¶
func (_TweetLotteryGame *TweetLotteryGameCaller) BuyerInfoIdxForTickets(opts *bind.CallOpts, arg0 *big.Int) (common.Address, error)
BuyerInfoIdxForTickets is a free data retrieval call binding the contract method 0x88df3b19.
Solidity: function buyerInfoIdxForTickets(uint256 ) view returns(address)
func (*TweetLotteryGameCaller) CheckPluginInterface ¶
func (_TweetLotteryGame *TweetLotteryGameCaller) CheckPluginInterface(opts *bind.CallOpts) (bool, error)
CheckPluginInterface is a free data retrieval call binding the contract method 0x807c758d.
Solidity: function checkPluginInterface() pure returns(bool)
func (*TweetLotteryGameCaller) CurrentLotteryTicketID ¶
func (_TweetLotteryGame *TweetLotteryGameCaller) CurrentLotteryTicketID(opts *bind.CallOpts) (*big.Int, error)
CurrentLotteryTicketID is a free data retrieval call binding the contract method 0x3c607d6f.
Solidity: function __currentLotteryTicketID() view returns(uint256)
func (*TweetLotteryGameCaller) CurrentRoundNo ¶
func (_TweetLotteryGame *TweetLotteryGameCaller) CurrentRoundNo(opts *bind.CallOpts) (*big.Int, error)
CurrentRoundNo is a free data retrieval call binding the contract method 0x1a8fb62e.
Solidity: function currentRoundNo() view returns(uint256)
func (*TweetLotteryGameCaller) GameInfoRecord ¶
func (_TweetLotteryGame *TweetLotteryGameCaller) GameInfoRecord(opts *bind.CallOpts, arg0 *big.Int) (struct { RandomHash [32]byte DiscoverTime *big.Int Winner common.Address WinTicketID *big.Int Bonus *big.Int BonusForWinner *big.Int RandomVal *big.Int TicketNo *big.Int }, error)
GameInfoRecord is a free data retrieval call binding the contract method 0x61373c31.
Solidity: function gameInfoRecord(uint256 ) view returns(bytes32 randomHash, uint256 discoverTime, address winner, uint256 winTicketID, uint256 bonus, uint256 bonusForWinner, uint256 randomVal, uint256 ticketNo)
func (*TweetLotteryGameCaller) GameInfoRecordEx ¶ added in v1.0.1
func (_TweetLotteryGame *TweetLotteryGameCaller) GameInfoRecordEx(opts *bind.CallOpts, roundNo *big.Int) (*GamInfoOnChain, error)
func (*TweetLotteryGameCaller) GetOwner ¶
func (_TweetLotteryGame *TweetLotteryGameCaller) GetOwner(opts *bind.CallOpts) (common.Address, error)
GetOwner is a free data retrieval call binding the contract method 0x893d20e8.
Solidity: function getOwner() view returns(address)
func (*TweetLotteryGameCaller) HistoryRoundInfo ¶
func (_TweetLotteryGame *TweetLotteryGameCaller) HistoryRoundInfo(opts *bind.CallOpts, from *big.Int, to *big.Int) ([]TweetLotteryGameGameInfoOneRound, error)
HistoryRoundInfo is a free data retrieval call binding the contract method 0x355b6ec4.
Solidity: function historyRoundInfo(uint256 from, uint256 to) view returns((bytes32,uint256,address,uint256,uint256,uint256,uint256,uint256)[] infos)
func (*TweetLotteryGameCaller) HistoryRoundInfoEx ¶ added in v1.0.1
func (_TweetLotteryGame *TweetLotteryGameCaller) HistoryRoundInfoEx(opts *bind.CallOpts, from, to *big.Int) ([]*GamInfoOnChain, error)
func (*TweetLotteryGameCaller) LotteryGameRoundTime ¶
func (_TweetLotteryGame *TweetLotteryGameCaller) LotteryGameRoundTime(opts *bind.CallOpts) (*big.Int, error)
LotteryGameRoundTime is a free data retrieval call binding the contract method 0x1550ddfb.
Solidity: function __lotteryGameRoundTime() view returns(uint256)
func (*TweetLotteryGameCaller) MinValCheck ¶
MinValCheck is a free data retrieval call binding the contract method 0x8509614b.
Solidity: function __minValCheck() view returns(uint256)
func (*TweetLotteryGameCaller) OpenToOuterPlayer ¶
func (_TweetLotteryGame *TweetLotteryGameCaller) OpenToOuterPlayer(opts *bind.CallOpts) (bool, error)
OpenToOuterPlayer is a free data retrieval call binding the contract method 0x853cf537.
Solidity: function __openToOuterPlayer() view returns(bool)
func (*TweetLotteryGameCaller) ServiceFeeRateForTicketBuy ¶
func (_TweetLotteryGame *TweetLotteryGameCaller) ServiceFeeRateForTicketBuy(opts *bind.CallOpts) (uint8, error)
ServiceFeeRateForTicketBuy is a free data retrieval call binding the contract method 0xd54de261.
Solidity: function __serviceFeeRateForTicketBuy() view returns(uint8)
func (*TweetLotteryGameCaller) ServiceFeeReceived ¶
func (_TweetLotteryGame *TweetLotteryGameCaller) ServiceFeeReceived(opts *bind.CallOpts) (*big.Int, error)
ServiceFeeReceived is a free data retrieval call binding the contract method 0xbe4479e8.
Solidity: function serviceFeeReceived() view returns(uint256)
func (*TweetLotteryGameCaller) SystemSettings ¶
func (_TweetLotteryGame *TweetLotteryGameCaller) SystemSettings(opts *bind.CallOpts) (struct { RoundNo *big.Int TBonus *big.Int CurTicketNo *big.Int TickPrice *big.Int BonusPoint *big.Int IsOpenForOuter bool }, error)
SystemSettings is a free data retrieval call binding the contract method 0x60b42f12.
Solidity: function systemSettings() view returns(uint256 roundNo, uint256 tBonus, uint256 curTicketNo, uint256 tickPrice, uint256 bonusPoint, bool isOpenForOuter)
func (*TweetLotteryGameCaller) TickList ¶
func (_TweetLotteryGame *TweetLotteryGameCaller) TickList(opts *bind.CallOpts, round *big.Int, owner common.Address) ([]*big.Int, error)
TickList is a free data retrieval call binding the contract method 0xdd57903b.
Solidity: function tickList(uint256 round, address owner) view returns(uint256[])
func (*TweetLotteryGameCaller) TicketPriceForOuter ¶
func (_TweetLotteryGame *TweetLotteryGameCaller) TicketPriceForOuter(opts *bind.CallOpts) (*big.Int, error)
TicketPriceForOuter is a free data retrieval call binding the contract method 0xf524142e.
Solidity: function __ticketPriceForOuter() view returns(uint256)
func (*TweetLotteryGameCaller) TicketsOfBuyer ¶ added in v1.0.1
func (_TweetLotteryGame *TweetLotteryGameCaller) TicketsOfBuyer(opts *bind.CallOpts, arg0 *big.Int, arg1 common.Address, arg2 *big.Int) (*big.Int, error)
TicketsOfBuyer is a free data retrieval call binding the contract method 0x562beff7.
Solidity: function ticketsOfBuyer(uint256 , address , uint256 ) view returns(uint256)
func (*TweetLotteryGameCaller) TicketsRecords ¶
func (_TweetLotteryGame *TweetLotteryGameCaller) TicketsRecords(opts *bind.CallOpts, arg0 *big.Int, arg1 *big.Int) (*big.Int, error)
TicketsRecords is a free data retrieval call binding the contract method 0x11a7d78c.
Solidity: function ticketsRecords(uint256 , uint256 ) view returns(uint256)
func (*TweetLotteryGameCaller) TotalBonus ¶
TotalBonus is a free data retrieval call binding the contract method 0xa8dd07dc.
Solidity: function totalBonus() view returns(uint256)
func (*TweetLotteryGameCaller) WithdrawFeeRate ¶
func (_TweetLotteryGame *TweetLotteryGameCaller) WithdrawFeeRate(opts *bind.CallOpts) (*big.Int, error)
WithdrawFeeRate is a free data retrieval call binding the contract method 0xea99e689.
Solidity: function withdrawFeeRate() view returns(uint256)
type TweetLotteryGameCallerRaw ¶
type TweetLotteryGameCallerRaw struct {
Contract *TweetLotteryGameCaller // Generic read-only contract binding to access the raw methods on
}
TweetLotteryGameCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*TweetLotteryGameCallerRaw) Call ¶
func (_TweetLotteryGame *TweetLotteryGameCallerRaw) 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 TweetLotteryGameCallerSession ¶
type TweetLotteryGameCallerSession struct { Contract *TweetLotteryGameCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
TweetLotteryGameCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*TweetLotteryGameCallerSession) Admins ¶
func (_TweetLotteryGame *TweetLotteryGameCallerSession) Admins(arg0 common.Address) (bool, error)
Admins is a free data retrieval call binding the contract method 0x22b429f4.
Solidity: function __admins(address ) view returns(bool)
func (*TweetLotteryGameCallerSession) Balance ¶
func (_TweetLotteryGame *TweetLotteryGameCallerSession) Balance(arg0 common.Address) (*big.Int, error)
Balance is a free data retrieval call binding the contract method 0xe3d670d7.
Solidity: function balance(address ) view returns(uint256)
func (*TweetLotteryGameCallerSession) BonusForPoints ¶ added in v1.0.1
func (_TweetLotteryGame *TweetLotteryGameCallerSession) BonusForPoints() (*big.Int, error)
BonusForPoints is a free data retrieval call binding the contract method 0xb2987568.
Solidity: function bonusForPoints() view returns(uint256)
func (*TweetLotteryGameCallerSession) BonusRateToWinner ¶
func (_TweetLotteryGame *TweetLotteryGameCallerSession) BonusRateToWinner() (uint8, error)
BonusRateToWinner is a free data retrieval call binding the contract method 0xd8574327.
Solidity: function __bonusRateToWinner() view returns(uint8)
func (*TweetLotteryGameCallerSession) BuyerInfoIdxForTickets ¶
func (_TweetLotteryGame *TweetLotteryGameCallerSession) BuyerInfoIdxForTickets(arg0 *big.Int) (common.Address, error)
BuyerInfoIdxForTickets is a free data retrieval call binding the contract method 0x88df3b19.
Solidity: function buyerInfoIdxForTickets(uint256 ) view returns(address)
func (*TweetLotteryGameCallerSession) CheckPluginInterface ¶
func (_TweetLotteryGame *TweetLotteryGameCallerSession) CheckPluginInterface() (bool, error)
CheckPluginInterface is a free data retrieval call binding the contract method 0x807c758d.
Solidity: function checkPluginInterface() pure returns(bool)
func (*TweetLotteryGameCallerSession) CurrentLotteryTicketID ¶
func (_TweetLotteryGame *TweetLotteryGameCallerSession) CurrentLotteryTicketID() (*big.Int, error)
CurrentLotteryTicketID is a free data retrieval call binding the contract method 0x3c607d6f.
Solidity: function __currentLotteryTicketID() view returns(uint256)
func (*TweetLotteryGameCallerSession) CurrentRoundNo ¶
func (_TweetLotteryGame *TweetLotteryGameCallerSession) CurrentRoundNo() (*big.Int, error)
CurrentRoundNo is a free data retrieval call binding the contract method 0x1a8fb62e.
Solidity: function currentRoundNo() view returns(uint256)
func (*TweetLotteryGameCallerSession) GameInfoRecord ¶
func (_TweetLotteryGame *TweetLotteryGameCallerSession) GameInfoRecord(arg0 *big.Int) (struct { RandomHash [32]byte DiscoverTime *big.Int Winner common.Address WinTicketID *big.Int Bonus *big.Int BonusForWinner *big.Int RandomVal *big.Int TicketNo *big.Int }, error)
GameInfoRecord is a free data retrieval call binding the contract method 0x61373c31.
Solidity: function gameInfoRecord(uint256 ) view returns(bytes32 randomHash, uint256 discoverTime, address winner, uint256 winTicketID, uint256 bonus, uint256 bonusForWinner, uint256 randomVal, uint256 ticketNo)
func (*TweetLotteryGameCallerSession) GetOwner ¶
func (_TweetLotteryGame *TweetLotteryGameCallerSession) GetOwner() (common.Address, error)
GetOwner is a free data retrieval call binding the contract method 0x893d20e8.
Solidity: function getOwner() view returns(address)
func (*TweetLotteryGameCallerSession) HistoryRoundInfo ¶
func (_TweetLotteryGame *TweetLotteryGameCallerSession) HistoryRoundInfo(from *big.Int, to *big.Int) ([]TweetLotteryGameGameInfoOneRound, error)
HistoryRoundInfo is a free data retrieval call binding the contract method 0x355b6ec4.
Solidity: function historyRoundInfo(uint256 from, uint256 to) view returns((bytes32,uint256,address,uint256,uint256,uint256,uint256,uint256)[] infos)
func (*TweetLotteryGameCallerSession) LotteryGameRoundTime ¶
func (_TweetLotteryGame *TweetLotteryGameCallerSession) LotteryGameRoundTime() (*big.Int, error)
LotteryGameRoundTime is a free data retrieval call binding the contract method 0x1550ddfb.
Solidity: function __lotteryGameRoundTime() view returns(uint256)
func (*TweetLotteryGameCallerSession) MinValCheck ¶
func (_TweetLotteryGame *TweetLotteryGameCallerSession) MinValCheck() (*big.Int, error)
MinValCheck is a free data retrieval call binding the contract method 0x8509614b.
Solidity: function __minValCheck() view returns(uint256)
func (*TweetLotteryGameCallerSession) OpenToOuterPlayer ¶
func (_TweetLotteryGame *TweetLotteryGameCallerSession) OpenToOuterPlayer() (bool, error)
OpenToOuterPlayer is a free data retrieval call binding the contract method 0x853cf537.
Solidity: function __openToOuterPlayer() view returns(bool)
func (*TweetLotteryGameCallerSession) ServiceFeeRateForTicketBuy ¶
func (_TweetLotteryGame *TweetLotteryGameCallerSession) ServiceFeeRateForTicketBuy() (uint8, error)
ServiceFeeRateForTicketBuy is a free data retrieval call binding the contract method 0xd54de261.
Solidity: function __serviceFeeRateForTicketBuy() view returns(uint8)
func (*TweetLotteryGameCallerSession) ServiceFeeReceived ¶
func (_TweetLotteryGame *TweetLotteryGameCallerSession) ServiceFeeReceived() (*big.Int, error)
ServiceFeeReceived is a free data retrieval call binding the contract method 0xbe4479e8.
Solidity: function serviceFeeReceived() view returns(uint256)
func (*TweetLotteryGameCallerSession) SystemSettings ¶
func (_TweetLotteryGame *TweetLotteryGameCallerSession) SystemSettings() (struct { RoundNo *big.Int TBonus *big.Int CurTicketNo *big.Int TickPrice *big.Int BonusPoint *big.Int IsOpenForOuter bool }, error)
SystemSettings is a free data retrieval call binding the contract method 0x60b42f12.
Solidity: function systemSettings() view returns(uint256 roundNo, uint256 tBonus, uint256 curTicketNo, uint256 tickPrice, uint256 bonusPoint, bool isOpenForOuter)
func (*TweetLotteryGameCallerSession) TickList ¶
func (_TweetLotteryGame *TweetLotteryGameCallerSession) TickList(round *big.Int, owner common.Address) ([]*big.Int, error)
TickList is a free data retrieval call binding the contract method 0xdd57903b.
Solidity: function tickList(uint256 round, address owner) view returns(uint256[])
func (*TweetLotteryGameCallerSession) TicketPriceForOuter ¶
func (_TweetLotteryGame *TweetLotteryGameCallerSession) TicketPriceForOuter() (*big.Int, error)
TicketPriceForOuter is a free data retrieval call binding the contract method 0xf524142e.
Solidity: function __ticketPriceForOuter() view returns(uint256)
func (*TweetLotteryGameCallerSession) TicketsOfBuyer ¶ added in v1.0.1
func (_TweetLotteryGame *TweetLotteryGameCallerSession) TicketsOfBuyer(arg0 *big.Int, arg1 common.Address, arg2 *big.Int) (*big.Int, error)
TicketsOfBuyer is a free data retrieval call binding the contract method 0x562beff7.
Solidity: function ticketsOfBuyer(uint256 , address , uint256 ) view returns(uint256)
func (*TweetLotteryGameCallerSession) TicketsRecords ¶
func (_TweetLotteryGame *TweetLotteryGameCallerSession) TicketsRecords(arg0 *big.Int, arg1 *big.Int) (*big.Int, error)
TicketsRecords is a free data retrieval call binding the contract method 0x11a7d78c.
Solidity: function ticketsRecords(uint256 , uint256 ) view returns(uint256)
func (*TweetLotteryGameCallerSession) TotalBonus ¶
func (_TweetLotteryGame *TweetLotteryGameCallerSession) TotalBonus() (*big.Int, error)
TotalBonus is a free data retrieval call binding the contract method 0xa8dd07dc.
Solidity: function totalBonus() view returns(uint256)
func (*TweetLotteryGameCallerSession) WithdrawFeeRate ¶
func (_TweetLotteryGame *TweetLotteryGameCallerSession) WithdrawFeeRate() (*big.Int, error)
WithdrawFeeRate is a free data retrieval call binding the contract method 0xea99e689.
Solidity: function withdrawFeeRate() view returns(uint256)
type TweetLotteryGameDiscoverWinner ¶
type TweetLotteryGameDiscoverWinner struct { Winner common.Address TicketID *big.Int Bonus *big.Int BonusToPoints *big.Int Random *big.Int NextRandomHash [32]byte Raw types.Log // Blockchain specific contextual infos }
TweetLotteryGameDiscoverWinner represents a DiscoverWinner event raised by the TweetLotteryGame contract.
type TweetLotteryGameDiscoverWinnerIterator ¶
type TweetLotteryGameDiscoverWinnerIterator struct { Event *TweetLotteryGameDiscoverWinner // Event containing the contract specifics and raw log // contains filtered or unexported fields }
TweetLotteryGameDiscoverWinnerIterator is returned from FilterDiscoverWinner and is used to iterate over the raw logs and unpacked data for DiscoverWinner events raised by the TweetLotteryGame contract.
func (*TweetLotteryGameDiscoverWinnerIterator) Close ¶
func (it *TweetLotteryGameDiscoverWinnerIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*TweetLotteryGameDiscoverWinnerIterator) Error ¶
func (it *TweetLotteryGameDiscoverWinnerIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*TweetLotteryGameDiscoverWinnerIterator) Next ¶
func (it *TweetLotteryGameDiscoverWinnerIterator) 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 TweetLotteryGameFilterer ¶
type TweetLotteryGameFilterer struct {
// contains filtered or unexported fields
}
TweetLotteryGameFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewTweetLotteryGameFilterer ¶
func NewTweetLotteryGameFilterer(address common.Address, filterer bind.ContractFilterer) (*TweetLotteryGameFilterer, error)
NewTweetLotteryGameFilterer creates a new log filterer instance of TweetLotteryGame, bound to a specific deployed contract.
func (*TweetLotteryGameFilterer) FilterAdminOperated ¶
func (_TweetLotteryGame *TweetLotteryGameFilterer) FilterAdminOperated(opts *bind.FilterOpts) (*TweetLotteryGameAdminOperatedIterator, error)
FilterAdminOperated is a free log retrieval operation binding the contract event 0x39865e03587bbccdfe9981182110f07a7cedc3cd608edb6a4efaa14bcdb4469d.
Solidity: event AdminOperated(uint256 newTimeInMinutes, string opName)
func (*TweetLotteryGameFilterer) FilterAdminOperation ¶
func (_TweetLotteryGame *TweetLotteryGameFilterer) FilterAdminOperation(opts *bind.FilterOpts) (*TweetLotteryGameAdminOperationIterator, error)
FilterAdminOperation is a free log retrieval operation binding the contract event 0xa97d45d2d22d38f81ac1eb6ab339a6e56470c4cef221796a485da6841b02769e.
Solidity: event AdminOperation(address admin, bool opType)
func (*TweetLotteryGameFilterer) FilterDiscoverWinner ¶
func (_TweetLotteryGame *TweetLotteryGameFilterer) FilterDiscoverWinner(opts *bind.FilterOpts) (*TweetLotteryGameDiscoverWinnerIterator, error)
FilterDiscoverWinner is a free log retrieval operation binding the contract event 0x417e93665f4effd641857760fca69aba0324edcd5e0bdbb0d8d210abcc29b414.
Solidity: event DiscoverWinner(address winner, uint256 ticketID, uint256 bonus, uint256 bonusToPoints, uint256 random, bytes32 nextRandomHash)
func (*TweetLotteryGameFilterer) FilterOwnerSet ¶
func (_TweetLotteryGame *TweetLotteryGameFilterer) FilterOwnerSet(opts *bind.FilterOpts, oldOwner []common.Address, newOwner []common.Address) (*TweetLotteryGameOwnerSetIterator, error)
FilterOwnerSet is a free log retrieval operation binding the contract event 0x342827c97908e5e2f71151c08502a66d44b6f758e3ac2f1de95f02eb95f0a735.
Solidity: event OwnerSet(address indexed oldOwner, address indexed newOwner)
func (*TweetLotteryGameFilterer) FilterServiceFeeChanged ¶
func (_TweetLotteryGame *TweetLotteryGameFilterer) FilterServiceFeeChanged(opts *bind.FilterOpts) (*TweetLotteryGameServiceFeeChangedIterator, error)
FilterServiceFeeChanged is a free log retrieval operation binding the contract event 0x1c068decb3b5138b265d62b22c4c2d8191a2e0bd3745e97b5b0ff66fa852eca5.
Solidity: event ServiceFeeChanged(uint256 newSerficeFeeRate)
func (*TweetLotteryGameFilterer) FilterSkipToNewRound ¶
func (_TweetLotteryGame *TweetLotteryGameFilterer) FilterSkipToNewRound(opts *bind.FilterOpts) (*TweetLotteryGameSkipToNewRoundIterator, error)
FilterSkipToNewRound is a free log retrieval operation binding the contract event 0xa48adfcb41b7cc4607437c02693423a81944370a5efef4b28e07f07d11652860.
Solidity: event SkipToNewRound(bytes32 hash, uint256 round)
func (*TweetLotteryGameFilterer) FilterTicketSold ¶
func (_TweetLotteryGame *TweetLotteryGameFilterer) FilterTicketSold(opts *bind.FilterOpts) (*TweetLotteryGameTicketSoldIterator, error)
FilterTicketSold is a free log retrieval operation binding the contract event 0x7486e610a6d07e1419063632389e57b8c133ced5e70fea2d926ad3f99df98218.
Solidity: event TicketSold(address buyer, uint256 no, uint256 serviceFee)
func (*TweetLotteryGameFilterer) FilterTweetBought ¶
func (_TweetLotteryGame *TweetLotteryGameFilterer) FilterTweetBought(opts *bind.FilterOpts) (*TweetLotteryGameTweetBoughtIterator, error)
FilterTweetBought is a free log retrieval operation binding the contract event 0xd4752ba343214266339e13b616bfa296ee8c71658e4a89e060b8050bfd2030c0.
Solidity: event TweetBought(bytes32 thash, address owner, address buyer, uint256 val, uint256 no)
func (*TweetLotteryGameFilterer) FilterUpgradeToNewRule ¶
func (_TweetLotteryGame *TweetLotteryGameFilterer) FilterUpgradeToNewRule(opts *bind.FilterOpts) (*TweetLotteryGameUpgradeToNewRuleIterator, error)
FilterUpgradeToNewRule is a free log retrieval operation binding the contract event 0x8ff69c992616f2fe31c491c4a2ba58d0da8ab5cea0e68ad7ea1713d6fecbcdaa.
Solidity: event UpgradeToNewRule(address newContract, uint256 balance)
func (*TweetLotteryGameFilterer) FilterWithdrawService ¶
func (_TweetLotteryGame *TweetLotteryGameFilterer) FilterWithdrawService(opts *bind.FilterOpts) (*TweetLotteryGameWithdrawServiceIterator, error)
FilterWithdrawService is a free log retrieval operation binding the contract event 0x7cb5cedbb78bc8cf00b5ffe051ef08d865e93d587654a591285add48befaa51d.
Solidity: event WithdrawService(address owner, uint256 balance)
func (*TweetLotteryGameFilterer) ParseAdminOperated ¶
func (_TweetLotteryGame *TweetLotteryGameFilterer) ParseAdminOperated(log types.Log) (*TweetLotteryGameAdminOperated, error)
ParseAdminOperated is a log parse operation binding the contract event 0x39865e03587bbccdfe9981182110f07a7cedc3cd608edb6a4efaa14bcdb4469d.
Solidity: event AdminOperated(uint256 newTimeInMinutes, string opName)
func (*TweetLotteryGameFilterer) ParseAdminOperation ¶
func (_TweetLotteryGame *TweetLotteryGameFilterer) ParseAdminOperation(log types.Log) (*TweetLotteryGameAdminOperation, error)
ParseAdminOperation is a log parse operation binding the contract event 0xa97d45d2d22d38f81ac1eb6ab339a6e56470c4cef221796a485da6841b02769e.
Solidity: event AdminOperation(address admin, bool opType)
func (*TweetLotteryGameFilterer) ParseDiscoverWinner ¶
func (_TweetLotteryGame *TweetLotteryGameFilterer) ParseDiscoverWinner(log types.Log) (*TweetLotteryGameDiscoverWinner, error)
ParseDiscoverWinner is a log parse operation binding the contract event 0x417e93665f4effd641857760fca69aba0324edcd5e0bdbb0d8d210abcc29b414.
Solidity: event DiscoverWinner(address winner, uint256 ticketID, uint256 bonus, uint256 bonusToPoints, uint256 random, bytes32 nextRandomHash)
func (*TweetLotteryGameFilterer) ParseOwnerSet ¶
func (_TweetLotteryGame *TweetLotteryGameFilterer) ParseOwnerSet(log types.Log) (*TweetLotteryGameOwnerSet, error)
ParseOwnerSet is a log parse operation binding the contract event 0x342827c97908e5e2f71151c08502a66d44b6f758e3ac2f1de95f02eb95f0a735.
Solidity: event OwnerSet(address indexed oldOwner, address indexed newOwner)
func (*TweetLotteryGameFilterer) ParseServiceFeeChanged ¶
func (_TweetLotteryGame *TweetLotteryGameFilterer) ParseServiceFeeChanged(log types.Log) (*TweetLotteryGameServiceFeeChanged, error)
ParseServiceFeeChanged is a log parse operation binding the contract event 0x1c068decb3b5138b265d62b22c4c2d8191a2e0bd3745e97b5b0ff66fa852eca5.
Solidity: event ServiceFeeChanged(uint256 newSerficeFeeRate)
func (*TweetLotteryGameFilterer) ParseSkipToNewRound ¶
func (_TweetLotteryGame *TweetLotteryGameFilterer) ParseSkipToNewRound(log types.Log) (*TweetLotteryGameSkipToNewRound, error)
ParseSkipToNewRound is a log parse operation binding the contract event 0xa48adfcb41b7cc4607437c02693423a81944370a5efef4b28e07f07d11652860.
Solidity: event SkipToNewRound(bytes32 hash, uint256 round)
func (*TweetLotteryGameFilterer) ParseTicketSold ¶
func (_TweetLotteryGame *TweetLotteryGameFilterer) ParseTicketSold(log types.Log) (*TweetLotteryGameTicketSold, error)
ParseTicketSold is a log parse operation binding the contract event 0x7486e610a6d07e1419063632389e57b8c133ced5e70fea2d926ad3f99df98218.
Solidity: event TicketSold(address buyer, uint256 no, uint256 serviceFee)
func (*TweetLotteryGameFilterer) ParseTweetBought ¶
func (_TweetLotteryGame *TweetLotteryGameFilterer) ParseTweetBought(log types.Log) (*TweetLotteryGameTweetBought, error)
ParseTweetBought is a log parse operation binding the contract event 0xd4752ba343214266339e13b616bfa296ee8c71658e4a89e060b8050bfd2030c0.
Solidity: event TweetBought(bytes32 thash, address owner, address buyer, uint256 val, uint256 no)
func (*TweetLotteryGameFilterer) ParseUpgradeToNewRule ¶
func (_TweetLotteryGame *TweetLotteryGameFilterer) ParseUpgradeToNewRule(log types.Log) (*TweetLotteryGameUpgradeToNewRule, error)
ParseUpgradeToNewRule is a log parse operation binding the contract event 0x8ff69c992616f2fe31c491c4a2ba58d0da8ab5cea0e68ad7ea1713d6fecbcdaa.
Solidity: event UpgradeToNewRule(address newContract, uint256 balance)
func (*TweetLotteryGameFilterer) ParseWithdrawService ¶
func (_TweetLotteryGame *TweetLotteryGameFilterer) ParseWithdrawService(log types.Log) (*TweetLotteryGameWithdrawService, error)
ParseWithdrawService is a log parse operation binding the contract event 0x7cb5cedbb78bc8cf00b5ffe051ef08d865e93d587654a591285add48befaa51d.
Solidity: event WithdrawService(address owner, uint256 balance)
func (*TweetLotteryGameFilterer) WatchAdminOperated ¶
func (_TweetLotteryGame *TweetLotteryGameFilterer) WatchAdminOperated(opts *bind.WatchOpts, sink chan<- *TweetLotteryGameAdminOperated) (event.Subscription, error)
WatchAdminOperated is a free log subscription operation binding the contract event 0x39865e03587bbccdfe9981182110f07a7cedc3cd608edb6a4efaa14bcdb4469d.
Solidity: event AdminOperated(uint256 newTimeInMinutes, string opName)
func (*TweetLotteryGameFilterer) WatchAdminOperation ¶
func (_TweetLotteryGame *TweetLotteryGameFilterer) WatchAdminOperation(opts *bind.WatchOpts, sink chan<- *TweetLotteryGameAdminOperation) (event.Subscription, error)
WatchAdminOperation is a free log subscription operation binding the contract event 0xa97d45d2d22d38f81ac1eb6ab339a6e56470c4cef221796a485da6841b02769e.
Solidity: event AdminOperation(address admin, bool opType)
func (*TweetLotteryGameFilterer) WatchDiscoverWinner ¶
func (_TweetLotteryGame *TweetLotteryGameFilterer) WatchDiscoverWinner(opts *bind.WatchOpts, sink chan<- *TweetLotteryGameDiscoverWinner) (event.Subscription, error)
WatchDiscoverWinner is a free log subscription operation binding the contract event 0x417e93665f4effd641857760fca69aba0324edcd5e0bdbb0d8d210abcc29b414.
Solidity: event DiscoverWinner(address winner, uint256 ticketID, uint256 bonus, uint256 bonusToPoints, uint256 random, bytes32 nextRandomHash)
func (*TweetLotteryGameFilterer) WatchOwnerSet ¶
func (_TweetLotteryGame *TweetLotteryGameFilterer) WatchOwnerSet(opts *bind.WatchOpts, sink chan<- *TweetLotteryGameOwnerSet, oldOwner []common.Address, newOwner []common.Address) (event.Subscription, error)
WatchOwnerSet is a free log subscription operation binding the contract event 0x342827c97908e5e2f71151c08502a66d44b6f758e3ac2f1de95f02eb95f0a735.
Solidity: event OwnerSet(address indexed oldOwner, address indexed newOwner)
func (*TweetLotteryGameFilterer) WatchServiceFeeChanged ¶
func (_TweetLotteryGame *TweetLotteryGameFilterer) WatchServiceFeeChanged(opts *bind.WatchOpts, sink chan<- *TweetLotteryGameServiceFeeChanged) (event.Subscription, error)
WatchServiceFeeChanged is a free log subscription operation binding the contract event 0x1c068decb3b5138b265d62b22c4c2d8191a2e0bd3745e97b5b0ff66fa852eca5.
Solidity: event ServiceFeeChanged(uint256 newSerficeFeeRate)
func (*TweetLotteryGameFilterer) WatchSkipToNewRound ¶
func (_TweetLotteryGame *TweetLotteryGameFilterer) WatchSkipToNewRound(opts *bind.WatchOpts, sink chan<- *TweetLotteryGameSkipToNewRound) (event.Subscription, error)
WatchSkipToNewRound is a free log subscription operation binding the contract event 0xa48adfcb41b7cc4607437c02693423a81944370a5efef4b28e07f07d11652860.
Solidity: event SkipToNewRound(bytes32 hash, uint256 round)
func (*TweetLotteryGameFilterer) WatchTicketSold ¶
func (_TweetLotteryGame *TweetLotteryGameFilterer) WatchTicketSold(opts *bind.WatchOpts, sink chan<- *TweetLotteryGameTicketSold) (event.Subscription, error)
WatchTicketSold is a free log subscription operation binding the contract event 0x7486e610a6d07e1419063632389e57b8c133ced5e70fea2d926ad3f99df98218.
Solidity: event TicketSold(address buyer, uint256 no, uint256 serviceFee)
func (*TweetLotteryGameFilterer) WatchTweetBought ¶
func (_TweetLotteryGame *TweetLotteryGameFilterer) WatchTweetBought(opts *bind.WatchOpts, sink chan<- *TweetLotteryGameTweetBought) (event.Subscription, error)
WatchTweetBought is a free log subscription operation binding the contract event 0xd4752ba343214266339e13b616bfa296ee8c71658e4a89e060b8050bfd2030c0.
Solidity: event TweetBought(bytes32 thash, address owner, address buyer, uint256 val, uint256 no)
func (*TweetLotteryGameFilterer) WatchUpgradeToNewRule ¶
func (_TweetLotteryGame *TweetLotteryGameFilterer) WatchUpgradeToNewRule(opts *bind.WatchOpts, sink chan<- *TweetLotteryGameUpgradeToNewRule) (event.Subscription, error)
WatchUpgradeToNewRule is a free log subscription operation binding the contract event 0x8ff69c992616f2fe31c491c4a2ba58d0da8ab5cea0e68ad7ea1713d6fecbcdaa.
Solidity: event UpgradeToNewRule(address newContract, uint256 balance)
func (*TweetLotteryGameFilterer) WatchWithdrawService ¶
func (_TweetLotteryGame *TweetLotteryGameFilterer) WatchWithdrawService(opts *bind.WatchOpts, sink chan<- *TweetLotteryGameWithdrawService) (event.Subscription, error)
WatchWithdrawService is a free log subscription operation binding the contract event 0x7cb5cedbb78bc8cf00b5ffe051ef08d865e93d587654a591285add48befaa51d.
Solidity: event WithdrawService(address owner, uint256 balance)
type TweetLotteryGameGameInfoOneRound ¶
type TweetLotteryGameGameInfoOneRound struct { RandomHash [32]byte DiscoverTime *big.Int Winner common.Address WinTicketID *big.Int Bonus *big.Int BonusForWinner *big.Int RandomVal *big.Int TicketNo *big.Int }
TweetLotteryGameGameInfoOneRound is an auto generated low-level Go binding around an user-defined struct.
type TweetLotteryGameOwnerSet ¶
type TweetLotteryGameOwnerSet struct { OldOwner common.Address NewOwner common.Address Raw types.Log // Blockchain specific contextual infos }
TweetLotteryGameOwnerSet represents a OwnerSet event raised by the TweetLotteryGame contract.
type TweetLotteryGameOwnerSetIterator ¶
type TweetLotteryGameOwnerSetIterator struct { Event *TweetLotteryGameOwnerSet // Event containing the contract specifics and raw log // contains filtered or unexported fields }
TweetLotteryGameOwnerSetIterator is returned from FilterOwnerSet and is used to iterate over the raw logs and unpacked data for OwnerSet events raised by the TweetLotteryGame contract.
func (*TweetLotteryGameOwnerSetIterator) Close ¶
func (it *TweetLotteryGameOwnerSetIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*TweetLotteryGameOwnerSetIterator) Error ¶
func (it *TweetLotteryGameOwnerSetIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*TweetLotteryGameOwnerSetIterator) Next ¶
func (it *TweetLotteryGameOwnerSetIterator) 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 TweetLotteryGameRaw ¶
type TweetLotteryGameRaw struct {
Contract *TweetLotteryGame // Generic contract binding to access the raw methods on
}
TweetLotteryGameRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*TweetLotteryGameRaw) Call ¶
func (_TweetLotteryGame *TweetLotteryGameRaw) 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 (*TweetLotteryGameRaw) Transact ¶
func (_TweetLotteryGame *TweetLotteryGameRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*TweetLotteryGameRaw) Transfer ¶
func (_TweetLotteryGame *TweetLotteryGameRaw) 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 TweetLotteryGameServiceFeeChanged ¶
type TweetLotteryGameServiceFeeChanged struct { NewSerficeFeeRate *big.Int Raw types.Log // Blockchain specific contextual infos }
TweetLotteryGameServiceFeeChanged represents a ServiceFeeChanged event raised by the TweetLotteryGame contract.
type TweetLotteryGameServiceFeeChangedIterator ¶
type TweetLotteryGameServiceFeeChangedIterator struct { Event *TweetLotteryGameServiceFeeChanged // Event containing the contract specifics and raw log // contains filtered or unexported fields }
TweetLotteryGameServiceFeeChangedIterator is returned from FilterServiceFeeChanged and is used to iterate over the raw logs and unpacked data for ServiceFeeChanged events raised by the TweetLotteryGame contract.
func (*TweetLotteryGameServiceFeeChangedIterator) Close ¶
func (it *TweetLotteryGameServiceFeeChangedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*TweetLotteryGameServiceFeeChangedIterator) Error ¶
func (it *TweetLotteryGameServiceFeeChangedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*TweetLotteryGameServiceFeeChangedIterator) Next ¶
func (it *TweetLotteryGameServiceFeeChangedIterator) 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 TweetLotteryGameSession ¶
type TweetLotteryGameSession struct { Contract *TweetLotteryGame // 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 }
TweetLotteryGameSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*TweetLotteryGameSession) AdminChangeBonusRateToWinner ¶
func (_TweetLotteryGame *TweetLotteryGameSession) AdminChangeBonusRateToWinner(newRate uint8) (*types.Transaction, error)
AdminChangeBonusRateToWinner is a paid mutator transaction binding the contract method 0x13957a7c.
Solidity: function adminChangeBonusRateToWinner(uint8 newRate) returns()
func (*TweetLotteryGameSession) AdminChangeRoundTime ¶
func (_TweetLotteryGame *TweetLotteryGameSession) AdminChangeRoundTime(newTimeInMinutes *big.Int) (*types.Transaction, error)
AdminChangeRoundTime is a paid mutator transaction binding the contract method 0x3a80f9e6.
Solidity: function adminChangeRoundTime(uint256 newTimeInMinutes) returns()
func (*TweetLotteryGameSession) AdminOpenToOuterPlayer ¶
func (_TweetLotteryGame *TweetLotteryGameSession) AdminOpenToOuterPlayer(isOpen bool) (*types.Transaction, error)
AdminOpenToOuterPlayer is a paid mutator transaction binding the contract method 0x275a18da.
Solidity: function adminOpenToOuterPlayer(bool isOpen) returns()
func (*TweetLotteryGameSession) AdminOperation ¶
func (_TweetLotteryGame *TweetLotteryGameSession) AdminOperation(admin common.Address, isDelete bool) (*types.Transaction, error)
AdminOperation is a paid mutator transaction binding the contract method 0x2b508fde.
Solidity: function adminOperation(address admin, bool isDelete) returns()
func (*TweetLotteryGameSession) AdminServiceFeeWithdraw ¶
func (_TweetLotteryGame *TweetLotteryGameSession) AdminServiceFeeWithdraw() (*types.Transaction, error)
AdminServiceFeeWithdraw is a paid mutator transaction binding the contract method 0x615f54a1.
Solidity: function adminServiceFeeWithdraw() returns()
func (*TweetLotteryGameSession) AdminSetServiceFeeRateForTicketBuy ¶
func (_TweetLotteryGame *TweetLotteryGameSession) AdminSetServiceFeeRateForTicketBuy(newRate uint8) (*types.Transaction, error)
AdminSetServiceFeeRateForTicketBuy is a paid mutator transaction binding the contract method 0xda5ddd43.
Solidity: function adminSetServiceFeeRateForTicketBuy(uint8 newRate) returns()
func (*TweetLotteryGameSession) AdminSetTicketPriceForOuter ¶
func (_TweetLotteryGame *TweetLotteryGameSession) AdminSetTicketPriceForOuter(priceInFinney *big.Int) (*types.Transaction, error)
AdminSetTicketPriceForOuter is a paid mutator transaction binding the contract method 0x2a2871c5.
Solidity: function adminSetTicketPriceForOuter(uint256 priceInFinney) returns()
func (*TweetLotteryGameSession) AdminSetWithdrawFeeRate ¶
func (_TweetLotteryGame *TweetLotteryGameSession) AdminSetWithdrawFeeRate(newRate uint8) (*types.Transaction, error)
AdminSetWithdrawFeeRate is a paid mutator transaction binding the contract method 0x94c681d6.
Solidity: function adminSetWithdrawFeeRate(uint8 newRate) returns()
func (*TweetLotteryGameSession) AdminUpgradeToNewRule ¶
func (_TweetLotteryGame *TweetLotteryGameSession) AdminUpgradeToNewRule(recipient common.Address) (*types.Transaction, error)
AdminUpgradeToNewRule is a paid mutator transaction binding the contract method 0xc75539d1.
Solidity: function adminUpgradeToNewRule(address recipient) returns()
func (*TweetLotteryGameSession) Admins ¶
func (_TweetLotteryGame *TweetLotteryGameSession) Admins(arg0 common.Address) (bool, error)
Admins is a free data retrieval call binding the contract method 0x22b429f4.
Solidity: function __admins(address ) view returns(bool)
func (*TweetLotteryGameSession) Balance ¶
Balance is a free data retrieval call binding the contract method 0xe3d670d7.
Solidity: function balance(address ) view returns(uint256)
func (*TweetLotteryGameSession) BonusForPoints ¶ added in v1.0.1
func (_TweetLotteryGame *TweetLotteryGameSession) BonusForPoints() (*big.Int, error)
BonusForPoints is a free data retrieval call binding the contract method 0xb2987568.
Solidity: function bonusForPoints() view returns(uint256)
func (*TweetLotteryGameSession) BonusRateToWinner ¶
func (_TweetLotteryGame *TweetLotteryGameSession) BonusRateToWinner() (uint8, error)
BonusRateToWinner is a free data retrieval call binding the contract method 0xd8574327.
Solidity: function __bonusRateToWinner() view returns(uint8)
func (*TweetLotteryGameSession) BuyTicketFromOuter ¶
func (_TweetLotteryGame *TweetLotteryGameSession) BuyTicketFromOuter(ticketNo *big.Int) (*types.Transaction, error)
BuyTicketFromOuter is a paid mutator transaction binding the contract method 0x2ce9df84.
Solidity: function buyTicketFromOuter(uint256 ticketNo) payable returns()
func (*TweetLotteryGameSession) BuyerInfoIdxForTickets ¶
func (_TweetLotteryGame *TweetLotteryGameSession) BuyerInfoIdxForTickets(arg0 *big.Int) (common.Address, error)
BuyerInfoIdxForTickets is a free data retrieval call binding the contract method 0x88df3b19.
Solidity: function buyerInfoIdxForTickets(uint256 ) view returns(address)
func (*TweetLotteryGameSession) ChangeOwner ¶
func (_TweetLotteryGame *TweetLotteryGameSession) ChangeOwner(newOwner common.Address) (*types.Transaction, error)
ChangeOwner is a paid mutator transaction binding the contract method 0xa6f9dae1.
Solidity: function changeOwner(address newOwner) returns()
func (*TweetLotteryGameSession) ChangeStatus ¶ added in v1.0.1
func (_TweetLotteryGame *TweetLotteryGameSession) ChangeStatus(stop bool) (*types.Transaction, error)
ChangeStatus is a paid mutator transaction binding the contract method 0x9b3de49b.
Solidity: function changeStatus(bool stop) returns()
func (*TweetLotteryGameSession) CheckPluginInterface ¶
func (_TweetLotteryGame *TweetLotteryGameSession) CheckPluginInterface() (bool, error)
CheckPluginInterface is a free data retrieval call binding the contract method 0x807c758d.
Solidity: function checkPluginInterface() pure returns(bool)
func (*TweetLotteryGameSession) CurrentLotteryTicketID ¶
func (_TweetLotteryGame *TweetLotteryGameSession) CurrentLotteryTicketID() (*big.Int, error)
CurrentLotteryTicketID is a free data retrieval call binding the contract method 0x3c607d6f.
Solidity: function __currentLotteryTicketID() view returns(uint256)
func (*TweetLotteryGameSession) CurrentRoundNo ¶
func (_TweetLotteryGame *TweetLotteryGameSession) CurrentRoundNo() (*big.Int, error)
CurrentRoundNo is a free data retrieval call binding the contract method 0x1a8fb62e.
Solidity: function currentRoundNo() view returns(uint256)
func (*TweetLotteryGameSession) DiscoverWinner ¶
func (_TweetLotteryGame *TweetLotteryGameSession) DiscoverWinner(random *big.Int, nextRoundRandomHash [32]byte) (*types.Transaction, error)
DiscoverWinner is a paid mutator transaction binding the contract method 0xf427f4f9.
Solidity: function discoverWinner(uint256 random, bytes32 nextRoundRandomHash) returns()
func (*TweetLotteryGameSession) GameInfoRecord ¶
func (_TweetLotteryGame *TweetLotteryGameSession) GameInfoRecord(arg0 *big.Int) (struct { RandomHash [32]byte DiscoverTime *big.Int Winner common.Address WinTicketID *big.Int Bonus *big.Int BonusForWinner *big.Int RandomVal *big.Int TicketNo *big.Int }, error)
GameInfoRecord is a free data retrieval call binding the contract method 0x61373c31.
Solidity: function gameInfoRecord(uint256 ) view returns(bytes32 randomHash, uint256 discoverTime, address winner, uint256 winTicketID, uint256 bonus, uint256 bonusForWinner, uint256 randomVal, uint256 ticketNo)
func (*TweetLotteryGameSession) GetOwner ¶
func (_TweetLotteryGame *TweetLotteryGameSession) GetOwner() (common.Address, error)
GetOwner is a free data retrieval call binding the contract method 0x893d20e8.
Solidity: function getOwner() view returns(address)
func (*TweetLotteryGameSession) HistoryRoundInfo ¶
func (_TweetLotteryGame *TweetLotteryGameSession) HistoryRoundInfo(from *big.Int, to *big.Int) ([]TweetLotteryGameGameInfoOneRound, error)
HistoryRoundInfo is a free data retrieval call binding the contract method 0x355b6ec4.
Solidity: function historyRoundInfo(uint256 from, uint256 to) view returns((bytes32,uint256,address,uint256,uint256,uint256,uint256,uint256)[] infos)
func (*TweetLotteryGameSession) LotteryGameRoundTime ¶
func (_TweetLotteryGame *TweetLotteryGameSession) LotteryGameRoundTime() (*big.Int, error)
LotteryGameRoundTime is a free data retrieval call binding the contract method 0x1550ddfb.
Solidity: function __lotteryGameRoundTime() view returns(uint256)
func (*TweetLotteryGameSession) MinValCheck ¶
func (_TweetLotteryGame *TweetLotteryGameSession) MinValCheck() (*big.Int, error)
MinValCheck is a free data retrieval call binding the contract method 0x8509614b.
Solidity: function __minValCheck() view returns(uint256)
func (*TweetLotteryGameSession) OpenToOuterPlayer ¶
func (_TweetLotteryGame *TweetLotteryGameSession) OpenToOuterPlayer() (bool, error)
OpenToOuterPlayer is a free data retrieval call binding the contract method 0x853cf537.
Solidity: function __openToOuterPlayer() view returns(bool)
func (*TweetLotteryGameSession) Receive ¶
func (_TweetLotteryGame *TweetLotteryGameSession) Receive() (*types.Transaction, error)
Receive is a paid mutator transaction binding the contract receive function.
Solidity: receive() payable returns()
func (*TweetLotteryGameSession) ServiceFeeRateForTicketBuy ¶
func (_TweetLotteryGame *TweetLotteryGameSession) ServiceFeeRateForTicketBuy() (uint8, error)
ServiceFeeRateForTicketBuy is a free data retrieval call binding the contract method 0xd54de261.
Solidity: function __serviceFeeRateForTicketBuy() view returns(uint8)
func (*TweetLotteryGameSession) ServiceFeeReceived ¶
func (_TweetLotteryGame *TweetLotteryGameSession) ServiceFeeReceived() (*big.Int, error)
ServiceFeeReceived is a free data retrieval call binding the contract method 0xbe4479e8.
Solidity: function serviceFeeReceived() view returns(uint256)
func (*TweetLotteryGameSession) SkipToNextRound ¶
func (_TweetLotteryGame *TweetLotteryGameSession) SkipToNextRound(hash [32]byte) (*types.Transaction, error)
SkipToNextRound is a paid mutator transaction binding the contract method 0xedf9938d.
Solidity: function skipToNextRound(bytes32 hash) returns()
func (*TweetLotteryGameSession) SystemSettings ¶
func (_TweetLotteryGame *TweetLotteryGameSession) SystemSettings() (struct { RoundNo *big.Int TBonus *big.Int CurTicketNo *big.Int TickPrice *big.Int BonusPoint *big.Int IsOpenForOuter bool }, error)
SystemSettings is a free data retrieval call binding the contract method 0x60b42f12.
Solidity: function systemSettings() view returns(uint256 roundNo, uint256 tBonus, uint256 curTicketNo, uint256 tickPrice, uint256 bonusPoint, bool isOpenForOuter)
func (*TweetLotteryGameSession) TickList ¶
func (_TweetLotteryGame *TweetLotteryGameSession) TickList(round *big.Int, owner common.Address) ([]*big.Int, error)
TickList is a free data retrieval call binding the contract method 0xdd57903b.
Solidity: function tickList(uint256 round, address owner) view returns(uint256[])
func (*TweetLotteryGameSession) TicketPriceForOuter ¶
func (_TweetLotteryGame *TweetLotteryGameSession) TicketPriceForOuter() (*big.Int, error)
TicketPriceForOuter is a free data retrieval call binding the contract method 0xf524142e.
Solidity: function __ticketPriceForOuter() view returns(uint256)
func (*TweetLotteryGameSession) TicketsOfBuyer ¶ added in v1.0.1
func (_TweetLotteryGame *TweetLotteryGameSession) TicketsOfBuyer(arg0 *big.Int, arg1 common.Address, arg2 *big.Int) (*big.Int, error)
TicketsOfBuyer is a free data retrieval call binding the contract method 0x562beff7.
Solidity: function ticketsOfBuyer(uint256 , address , uint256 ) view returns(uint256)
func (*TweetLotteryGameSession) TicketsRecords ¶
func (_TweetLotteryGame *TweetLotteryGameSession) TicketsRecords(arg0 *big.Int, arg1 *big.Int) (*big.Int, error)
TicketsRecords is a free data retrieval call binding the contract method 0x11a7d78c.
Solidity: function ticketsRecords(uint256 , uint256 ) view returns(uint256)
func (*TweetLotteryGameSession) TotalBonus ¶
func (_TweetLotteryGame *TweetLotteryGameSession) TotalBonus() (*big.Int, error)
TotalBonus is a free data retrieval call binding the contract method 0xa8dd07dc.
Solidity: function totalBonus() view returns(uint256)
func (*TweetLotteryGameSession) TransferBonusOfPoints ¶ added in v1.0.1
func (_TweetLotteryGame *TweetLotteryGameSession) TransferBonusOfPoints(tokenContract common.Address) (*types.Transaction, error)
TransferBonusOfPoints is a paid mutator transaction binding the contract method 0x6d351d5b.
Solidity: function transferBonusOfPoints(address tokenContract) returns()
func (*TweetLotteryGameSession) TweetBought ¶
func (_TweetLotteryGame *TweetLotteryGameSession) TweetBought(tweetHash [32]byte, tweetOwner common.Address, buyer common.Address, voteNo *big.Int) (*types.Transaction, error)
TweetBought is a paid mutator transaction binding the contract method 0xd2f2eeb7.
Solidity: function tweetBought(bytes32 tweetHash, address tweetOwner, address buyer, uint256 voteNo) payable returns()
func (*TweetLotteryGameSession) Withdraw ¶
func (_TweetLotteryGame *TweetLotteryGameSession) Withdraw(amount *big.Int, all bool) (*types.Transaction, error)
Withdraw is a paid mutator transaction binding the contract method 0x38d07436.
Solidity: function withdraw(uint256 amount, bool all) returns()
func (*TweetLotteryGameSession) WithdrawFeeRate ¶
func (_TweetLotteryGame *TweetLotteryGameSession) WithdrawFeeRate() (*big.Int, error)
WithdrawFeeRate is a free data retrieval call binding the contract method 0xea99e689.
Solidity: function withdrawFeeRate() view returns(uint256)
type TweetLotteryGameSkipToNewRound ¶
type TweetLotteryGameSkipToNewRound struct { Hash [32]byte Round *big.Int Raw types.Log // Blockchain specific contextual infos }
TweetLotteryGameSkipToNewRound represents a SkipToNewRound event raised by the TweetLotteryGame contract.
type TweetLotteryGameSkipToNewRoundIterator ¶
type TweetLotteryGameSkipToNewRoundIterator struct { Event *TweetLotteryGameSkipToNewRound // Event containing the contract specifics and raw log // contains filtered or unexported fields }
TweetLotteryGameSkipToNewRoundIterator is returned from FilterSkipToNewRound and is used to iterate over the raw logs and unpacked data for SkipToNewRound events raised by the TweetLotteryGame contract.
func (*TweetLotteryGameSkipToNewRoundIterator) Close ¶
func (it *TweetLotteryGameSkipToNewRoundIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*TweetLotteryGameSkipToNewRoundIterator) Error ¶
func (it *TweetLotteryGameSkipToNewRoundIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*TweetLotteryGameSkipToNewRoundIterator) Next ¶
func (it *TweetLotteryGameSkipToNewRoundIterator) 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 TweetLotteryGameTicketSold ¶
type TweetLotteryGameTicketSold struct { Buyer common.Address No *big.Int ServiceFee *big.Int Raw types.Log // Blockchain specific contextual infos }
TweetLotteryGameTicketSold represents a TicketSold event raised by the TweetLotteryGame contract.
type TweetLotteryGameTicketSoldIterator ¶
type TweetLotteryGameTicketSoldIterator struct { Event *TweetLotteryGameTicketSold // Event containing the contract specifics and raw log // contains filtered or unexported fields }
TweetLotteryGameTicketSoldIterator is returned from FilterTicketSold and is used to iterate over the raw logs and unpacked data for TicketSold events raised by the TweetLotteryGame contract.
func (*TweetLotteryGameTicketSoldIterator) Close ¶
func (it *TweetLotteryGameTicketSoldIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*TweetLotteryGameTicketSoldIterator) Error ¶
func (it *TweetLotteryGameTicketSoldIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*TweetLotteryGameTicketSoldIterator) Next ¶
func (it *TweetLotteryGameTicketSoldIterator) 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 TweetLotteryGameTransactor ¶
type TweetLotteryGameTransactor struct {
// contains filtered or unexported fields
}
TweetLotteryGameTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewTweetLotteryGameTransactor ¶
func NewTweetLotteryGameTransactor(address common.Address, transactor bind.ContractTransactor) (*TweetLotteryGameTransactor, error)
NewTweetLotteryGameTransactor creates a new write-only instance of TweetLotteryGame, bound to a specific deployed contract.
func (*TweetLotteryGameTransactor) AdminChangeBonusRateToWinner ¶
func (_TweetLotteryGame *TweetLotteryGameTransactor) AdminChangeBonusRateToWinner(opts *bind.TransactOpts, newRate uint8) (*types.Transaction, error)
AdminChangeBonusRateToWinner is a paid mutator transaction binding the contract method 0x13957a7c.
Solidity: function adminChangeBonusRateToWinner(uint8 newRate) returns()
func (*TweetLotteryGameTransactor) AdminChangeRoundTime ¶
func (_TweetLotteryGame *TweetLotteryGameTransactor) AdminChangeRoundTime(opts *bind.TransactOpts, newTimeInMinutes *big.Int) (*types.Transaction, error)
AdminChangeRoundTime is a paid mutator transaction binding the contract method 0x3a80f9e6.
Solidity: function adminChangeRoundTime(uint256 newTimeInMinutes) returns()
func (*TweetLotteryGameTransactor) AdminOpenToOuterPlayer ¶
func (_TweetLotteryGame *TweetLotteryGameTransactor) AdminOpenToOuterPlayer(opts *bind.TransactOpts, isOpen bool) (*types.Transaction, error)
AdminOpenToOuterPlayer is a paid mutator transaction binding the contract method 0x275a18da.
Solidity: function adminOpenToOuterPlayer(bool isOpen) returns()
func (*TweetLotteryGameTransactor) AdminOperation ¶
func (_TweetLotteryGame *TweetLotteryGameTransactor) AdminOperation(opts *bind.TransactOpts, admin common.Address, isDelete bool) (*types.Transaction, error)
AdminOperation is a paid mutator transaction binding the contract method 0x2b508fde.
Solidity: function adminOperation(address admin, bool isDelete) returns()
func (*TweetLotteryGameTransactor) AdminServiceFeeWithdraw ¶
func (_TweetLotteryGame *TweetLotteryGameTransactor) AdminServiceFeeWithdraw(opts *bind.TransactOpts) (*types.Transaction, error)
AdminServiceFeeWithdraw is a paid mutator transaction binding the contract method 0x615f54a1.
Solidity: function adminServiceFeeWithdraw() returns()
func (*TweetLotteryGameTransactor) AdminSetServiceFeeRateForTicketBuy ¶
func (_TweetLotteryGame *TweetLotteryGameTransactor) AdminSetServiceFeeRateForTicketBuy(opts *bind.TransactOpts, newRate uint8) (*types.Transaction, error)
AdminSetServiceFeeRateForTicketBuy is a paid mutator transaction binding the contract method 0xda5ddd43.
Solidity: function adminSetServiceFeeRateForTicketBuy(uint8 newRate) returns()
func (*TweetLotteryGameTransactor) AdminSetTicketPriceForOuter ¶
func (_TweetLotteryGame *TweetLotteryGameTransactor) AdminSetTicketPriceForOuter(opts *bind.TransactOpts, priceInFinney *big.Int) (*types.Transaction, error)
AdminSetTicketPriceForOuter is a paid mutator transaction binding the contract method 0x2a2871c5.
Solidity: function adminSetTicketPriceForOuter(uint256 priceInFinney) returns()
func (*TweetLotteryGameTransactor) AdminSetWithdrawFeeRate ¶
func (_TweetLotteryGame *TweetLotteryGameTransactor) AdminSetWithdrawFeeRate(opts *bind.TransactOpts, newRate uint8) (*types.Transaction, error)
AdminSetWithdrawFeeRate is a paid mutator transaction binding the contract method 0x94c681d6.
Solidity: function adminSetWithdrawFeeRate(uint8 newRate) returns()
func (*TweetLotteryGameTransactor) AdminUpgradeToNewRule ¶
func (_TweetLotteryGame *TweetLotteryGameTransactor) AdminUpgradeToNewRule(opts *bind.TransactOpts, recipient common.Address) (*types.Transaction, error)
AdminUpgradeToNewRule is a paid mutator transaction binding the contract method 0xc75539d1.
Solidity: function adminUpgradeToNewRule(address recipient) returns()
func (*TweetLotteryGameTransactor) BuyTicketFromOuter ¶
func (_TweetLotteryGame *TweetLotteryGameTransactor) BuyTicketFromOuter(opts *bind.TransactOpts, ticketNo *big.Int) (*types.Transaction, error)
BuyTicketFromOuter is a paid mutator transaction binding the contract method 0x2ce9df84.
Solidity: function buyTicketFromOuter(uint256 ticketNo) payable returns()
func (*TweetLotteryGameTransactor) ChangeOwner ¶
func (_TweetLotteryGame *TweetLotteryGameTransactor) ChangeOwner(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)
ChangeOwner is a paid mutator transaction binding the contract method 0xa6f9dae1.
Solidity: function changeOwner(address newOwner) returns()
func (*TweetLotteryGameTransactor) ChangeStatus ¶ added in v1.0.1
func (_TweetLotteryGame *TweetLotteryGameTransactor) ChangeStatus(opts *bind.TransactOpts, stop bool) (*types.Transaction, error)
ChangeStatus is a paid mutator transaction binding the contract method 0x9b3de49b.
Solidity: function changeStatus(bool stop) returns()
func (*TweetLotteryGameTransactor) DiscoverWinner ¶
func (_TweetLotteryGame *TweetLotteryGameTransactor) DiscoverWinner(opts *bind.TransactOpts, random *big.Int, nextRoundRandomHash [32]byte) (*types.Transaction, error)
DiscoverWinner is a paid mutator transaction binding the contract method 0xf427f4f9.
Solidity: function discoverWinner(uint256 random, bytes32 nextRoundRandomHash) returns()
func (*TweetLotteryGameTransactor) Receive ¶
func (_TweetLotteryGame *TweetLotteryGameTransactor) Receive(opts *bind.TransactOpts) (*types.Transaction, error)
Receive is a paid mutator transaction binding the contract receive function.
Solidity: receive() payable returns()
func (*TweetLotteryGameTransactor) SkipToNextRound ¶
func (_TweetLotteryGame *TweetLotteryGameTransactor) SkipToNextRound(opts *bind.TransactOpts, hash [32]byte) (*types.Transaction, error)
SkipToNextRound is a paid mutator transaction binding the contract method 0xedf9938d.
Solidity: function skipToNextRound(bytes32 hash) returns()
func (*TweetLotteryGameTransactor) TransferBonusOfPoints ¶ added in v1.0.1
func (_TweetLotteryGame *TweetLotteryGameTransactor) TransferBonusOfPoints(opts *bind.TransactOpts, tokenContract common.Address) (*types.Transaction, error)
TransferBonusOfPoints is a paid mutator transaction binding the contract method 0x6d351d5b.
Solidity: function transferBonusOfPoints(address tokenContract) returns()
func (*TweetLotteryGameTransactor) TweetBought ¶
func (_TweetLotteryGame *TweetLotteryGameTransactor) TweetBought(opts *bind.TransactOpts, tweetHash [32]byte, tweetOwner common.Address, buyer common.Address, voteNo *big.Int) (*types.Transaction, error)
TweetBought is a paid mutator transaction binding the contract method 0xd2f2eeb7.
Solidity: function tweetBought(bytes32 tweetHash, address tweetOwner, address buyer, uint256 voteNo) payable returns()
func (*TweetLotteryGameTransactor) Withdraw ¶
func (_TweetLotteryGame *TweetLotteryGameTransactor) Withdraw(opts *bind.TransactOpts, amount *big.Int, all bool) (*types.Transaction, error)
Withdraw is a paid mutator transaction binding the contract method 0x38d07436.
Solidity: function withdraw(uint256 amount, bool all) returns()
type TweetLotteryGameTransactorRaw ¶
type TweetLotteryGameTransactorRaw struct {
Contract *TweetLotteryGameTransactor // Generic write-only contract binding to access the raw methods on
}
TweetLotteryGameTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*TweetLotteryGameTransactorRaw) Transact ¶
func (_TweetLotteryGame *TweetLotteryGameTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*TweetLotteryGameTransactorRaw) Transfer ¶
func (_TweetLotteryGame *TweetLotteryGameTransactorRaw) 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 TweetLotteryGameTransactorSession ¶
type TweetLotteryGameTransactorSession struct { Contract *TweetLotteryGameTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
TweetLotteryGameTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*TweetLotteryGameTransactorSession) AdminChangeBonusRateToWinner ¶
func (_TweetLotteryGame *TweetLotteryGameTransactorSession) AdminChangeBonusRateToWinner(newRate uint8) (*types.Transaction, error)
AdminChangeBonusRateToWinner is a paid mutator transaction binding the contract method 0x13957a7c.
Solidity: function adminChangeBonusRateToWinner(uint8 newRate) returns()
func (*TweetLotteryGameTransactorSession) AdminChangeRoundTime ¶
func (_TweetLotteryGame *TweetLotteryGameTransactorSession) AdminChangeRoundTime(newTimeInMinutes *big.Int) (*types.Transaction, error)
AdminChangeRoundTime is a paid mutator transaction binding the contract method 0x3a80f9e6.
Solidity: function adminChangeRoundTime(uint256 newTimeInMinutes) returns()
func (*TweetLotteryGameTransactorSession) AdminOpenToOuterPlayer ¶
func (_TweetLotteryGame *TweetLotteryGameTransactorSession) AdminOpenToOuterPlayer(isOpen bool) (*types.Transaction, error)
AdminOpenToOuterPlayer is a paid mutator transaction binding the contract method 0x275a18da.
Solidity: function adminOpenToOuterPlayer(bool isOpen) returns()
func (*TweetLotteryGameTransactorSession) AdminOperation ¶
func (_TweetLotteryGame *TweetLotteryGameTransactorSession) AdminOperation(admin common.Address, isDelete bool) (*types.Transaction, error)
AdminOperation is a paid mutator transaction binding the contract method 0x2b508fde.
Solidity: function adminOperation(address admin, bool isDelete) returns()
func (*TweetLotteryGameTransactorSession) AdminServiceFeeWithdraw ¶
func (_TweetLotteryGame *TweetLotteryGameTransactorSession) AdminServiceFeeWithdraw() (*types.Transaction, error)
AdminServiceFeeWithdraw is a paid mutator transaction binding the contract method 0x615f54a1.
Solidity: function adminServiceFeeWithdraw() returns()
func (*TweetLotteryGameTransactorSession) AdminSetServiceFeeRateForTicketBuy ¶
func (_TweetLotteryGame *TweetLotteryGameTransactorSession) AdminSetServiceFeeRateForTicketBuy(newRate uint8) (*types.Transaction, error)
AdminSetServiceFeeRateForTicketBuy is a paid mutator transaction binding the contract method 0xda5ddd43.
Solidity: function adminSetServiceFeeRateForTicketBuy(uint8 newRate) returns()
func (*TweetLotteryGameTransactorSession) AdminSetTicketPriceForOuter ¶
func (_TweetLotteryGame *TweetLotteryGameTransactorSession) AdminSetTicketPriceForOuter(priceInFinney *big.Int) (*types.Transaction, error)
AdminSetTicketPriceForOuter is a paid mutator transaction binding the contract method 0x2a2871c5.
Solidity: function adminSetTicketPriceForOuter(uint256 priceInFinney) returns()
func (*TweetLotteryGameTransactorSession) AdminSetWithdrawFeeRate ¶
func (_TweetLotteryGame *TweetLotteryGameTransactorSession) AdminSetWithdrawFeeRate(newRate uint8) (*types.Transaction, error)
AdminSetWithdrawFeeRate is a paid mutator transaction binding the contract method 0x94c681d6.
Solidity: function adminSetWithdrawFeeRate(uint8 newRate) returns()
func (*TweetLotteryGameTransactorSession) AdminUpgradeToNewRule ¶
func (_TweetLotteryGame *TweetLotteryGameTransactorSession) AdminUpgradeToNewRule(recipient common.Address) (*types.Transaction, error)
AdminUpgradeToNewRule is a paid mutator transaction binding the contract method 0xc75539d1.
Solidity: function adminUpgradeToNewRule(address recipient) returns()
func (*TweetLotteryGameTransactorSession) BuyTicketFromOuter ¶
func (_TweetLotteryGame *TweetLotteryGameTransactorSession) BuyTicketFromOuter(ticketNo *big.Int) (*types.Transaction, error)
BuyTicketFromOuter is a paid mutator transaction binding the contract method 0x2ce9df84.
Solidity: function buyTicketFromOuter(uint256 ticketNo) payable returns()
func (*TweetLotteryGameTransactorSession) ChangeOwner ¶
func (_TweetLotteryGame *TweetLotteryGameTransactorSession) ChangeOwner(newOwner common.Address) (*types.Transaction, error)
ChangeOwner is a paid mutator transaction binding the contract method 0xa6f9dae1.
Solidity: function changeOwner(address newOwner) returns()
func (*TweetLotteryGameTransactorSession) ChangeStatus ¶ added in v1.0.1
func (_TweetLotteryGame *TweetLotteryGameTransactorSession) ChangeStatus(stop bool) (*types.Transaction, error)
ChangeStatus is a paid mutator transaction binding the contract method 0x9b3de49b.
Solidity: function changeStatus(bool stop) returns()
func (*TweetLotteryGameTransactorSession) DiscoverWinner ¶
func (_TweetLotteryGame *TweetLotteryGameTransactorSession) DiscoverWinner(random *big.Int, nextRoundRandomHash [32]byte) (*types.Transaction, error)
DiscoverWinner is a paid mutator transaction binding the contract method 0xf427f4f9.
Solidity: function discoverWinner(uint256 random, bytes32 nextRoundRandomHash) returns()
func (*TweetLotteryGameTransactorSession) Receive ¶
func (_TweetLotteryGame *TweetLotteryGameTransactorSession) Receive() (*types.Transaction, error)
Receive is a paid mutator transaction binding the contract receive function.
Solidity: receive() payable returns()
func (*TweetLotteryGameTransactorSession) SkipToNextRound ¶
func (_TweetLotteryGame *TweetLotteryGameTransactorSession) SkipToNextRound(hash [32]byte) (*types.Transaction, error)
SkipToNextRound is a paid mutator transaction binding the contract method 0xedf9938d.
Solidity: function skipToNextRound(bytes32 hash) returns()
func (*TweetLotteryGameTransactorSession) TransferBonusOfPoints ¶ added in v1.0.1
func (_TweetLotteryGame *TweetLotteryGameTransactorSession) TransferBonusOfPoints(tokenContract common.Address) (*types.Transaction, error)
TransferBonusOfPoints is a paid mutator transaction binding the contract method 0x6d351d5b.
Solidity: function transferBonusOfPoints(address tokenContract) returns()
func (*TweetLotteryGameTransactorSession) TweetBought ¶
func (_TweetLotteryGame *TweetLotteryGameTransactorSession) TweetBought(tweetHash [32]byte, tweetOwner common.Address, buyer common.Address, voteNo *big.Int) (*types.Transaction, error)
TweetBought is a paid mutator transaction binding the contract method 0xd2f2eeb7.
Solidity: function tweetBought(bytes32 tweetHash, address tweetOwner, address buyer, uint256 voteNo) payable returns()
func (*TweetLotteryGameTransactorSession) Withdraw ¶
func (_TweetLotteryGame *TweetLotteryGameTransactorSession) Withdraw(amount *big.Int, all bool) (*types.Transaction, error)
Withdraw is a paid mutator transaction binding the contract method 0x38d07436.
Solidity: function withdraw(uint256 amount, bool all) returns()
type TweetLotteryGameTweetBought ¶
type TweetLotteryGameTweetBought struct { Thash [32]byte Owner common.Address Buyer common.Address Val *big.Int No *big.Int Raw types.Log // Blockchain specific contextual infos }
TweetLotteryGameTweetBought represents a TweetBought event raised by the TweetLotteryGame contract.
type TweetLotteryGameTweetBoughtIterator ¶
type TweetLotteryGameTweetBoughtIterator struct { Event *TweetLotteryGameTweetBought // Event containing the contract specifics and raw log // contains filtered or unexported fields }
TweetLotteryGameTweetBoughtIterator is returned from FilterTweetBought and is used to iterate over the raw logs and unpacked data for TweetBought events raised by the TweetLotteryGame contract.
func (*TweetLotteryGameTweetBoughtIterator) Close ¶
func (it *TweetLotteryGameTweetBoughtIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*TweetLotteryGameTweetBoughtIterator) Error ¶
func (it *TweetLotteryGameTweetBoughtIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*TweetLotteryGameTweetBoughtIterator) Next ¶
func (it *TweetLotteryGameTweetBoughtIterator) 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 TweetLotteryGameUpgradeToNewRule ¶
type TweetLotteryGameUpgradeToNewRule struct { NewContract common.Address Balance *big.Int Raw types.Log // Blockchain specific contextual infos }
TweetLotteryGameUpgradeToNewRule represents a UpgradeToNewRule event raised by the TweetLotteryGame contract.
type TweetLotteryGameUpgradeToNewRuleIterator ¶
type TweetLotteryGameUpgradeToNewRuleIterator struct { Event *TweetLotteryGameUpgradeToNewRule // Event containing the contract specifics and raw log // contains filtered or unexported fields }
TweetLotteryGameUpgradeToNewRuleIterator is returned from FilterUpgradeToNewRule and is used to iterate over the raw logs and unpacked data for UpgradeToNewRule events raised by the TweetLotteryGame contract.
func (*TweetLotteryGameUpgradeToNewRuleIterator) Close ¶
func (it *TweetLotteryGameUpgradeToNewRuleIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*TweetLotteryGameUpgradeToNewRuleIterator) Error ¶
func (it *TweetLotteryGameUpgradeToNewRuleIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*TweetLotteryGameUpgradeToNewRuleIterator) Next ¶
func (it *TweetLotteryGameUpgradeToNewRuleIterator) 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 TweetLotteryGameWithdrawService ¶
type TweetLotteryGameWithdrawService struct { Owner common.Address Balance *big.Int Raw types.Log // Blockchain specific contextual infos }
TweetLotteryGameWithdrawService represents a WithdrawService event raised by the TweetLotteryGame contract.
type TweetLotteryGameWithdrawServiceIterator ¶
type TweetLotteryGameWithdrawServiceIterator struct { Event *TweetLotteryGameWithdrawService // Event containing the contract specifics and raw log // contains filtered or unexported fields }
TweetLotteryGameWithdrawServiceIterator is returned from FilterWithdrawService and is used to iterate over the raw logs and unpacked data for WithdrawService events raised by the TweetLotteryGame contract.
func (*TweetLotteryGameWithdrawServiceIterator) Close ¶
func (it *TweetLotteryGameWithdrawServiceIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*TweetLotteryGameWithdrawServiceIterator) Error ¶
func (it *TweetLotteryGameWithdrawServiceIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*TweetLotteryGameWithdrawServiceIterator) Next ¶
func (it *TweetLotteryGameWithdrawServiceIterator) 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 TweetVote ¶
type TweetVote struct { TweetVoteCaller // Read-only binding to the contract TweetVoteTransactor // Write-only binding to the contract TweetVoteFilterer // Log filterer for contract events }
TweetVote is an auto generated Go binding around an Ethereum contract.
func NewTweetVote ¶
NewTweetVote creates a new instance of TweetVote, bound to a specific deployed contract.
type TweetVoteAdminOperation ¶
type TweetVoteAdminOperation struct { Admin common.Address OpType bool Raw types.Log // Blockchain specific contextual infos }
TweetVoteAdminOperation represents a AdminOperation event raised by the TweetVote contract.
type TweetVoteAdminOperationIterator ¶
type TweetVoteAdminOperationIterator struct { Event *TweetVoteAdminOperation // Event containing the contract specifics and raw log // contains filtered or unexported fields }
TweetVoteAdminOperationIterator is returned from FilterAdminOperation and is used to iterate over the raw logs and unpacked data for AdminOperation events raised by the TweetVote contract.
func (*TweetVoteAdminOperationIterator) Close ¶
func (it *TweetVoteAdminOperationIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*TweetVoteAdminOperationIterator) Error ¶
func (it *TweetVoteAdminOperationIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*TweetVoteAdminOperationIterator) Next ¶
func (it *TweetVoteAdminOperationIterator) 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 TweetVoteCaller ¶
type TweetVoteCaller struct {
// contains filtered or unexported fields
}
TweetVoteCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewTweetVoteCaller ¶
func NewTweetVoteCaller(address common.Address, caller bind.ContractCaller) (*TweetVoteCaller, error)
NewTweetVoteCaller creates a new read-only instance of TweetVote, bound to a specific deployed contract.
func (*TweetVoteCaller) Admins ¶
Admins is a free data retrieval call binding the contract method 0x22b429f4.
Solidity: function __admins(address ) view returns(bool)
func (*TweetVoteCaller) Balance ¶
func (_TweetVote *TweetVoteCaller) Balance(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)
Balance is a free data retrieval call binding the contract method 0xe3d670d7.
Solidity: function balance(address ) view returns(uint256)
func (*TweetVoteCaller) ContractBalance ¶ added in v1.0.1
ContractBalance is a free data retrieval call binding the contract method 0x8b7afe2e.
Solidity: function contractBalance() view returns(uint256)
func (*TweetVoteCaller) GameContract ¶ added in v1.0.1
GameContract is a free data retrieval call binding the contract method 0xd3f33009.
Solidity: function gameContract() view returns(address)
func (*TweetVoteCaller) GameStop ¶ added in v1.0.1
func (_TweetVote *TweetVoteCaller) GameStop(opts *bind.CallOpts) (bool, error)
GameStop is a free data retrieval call binding the contract method 0xd70feef1.
Solidity: function gameStop() view returns(bool)
func (*TweetVoteCaller) GetOwner ¶
GetOwner is a free data retrieval call binding the contract method 0x893d20e8.
Solidity: function getOwner() view returns(address)
func (*TweetVoteCaller) KolIncomePerTweetVoteRate ¶
func (_TweetVote *TweetVoteCaller) KolIncomePerTweetVoteRate(opts *bind.CallOpts) (uint8, error)
KolIncomePerTweetVoteRate is a free data retrieval call binding the contract method 0x7b3e47d1.
Solidity: function kolIncomePerTweetVoteRate() view returns(uint8)
func (*TweetVoteCaller) KolKeyContract ¶ added in v1.0.1
KolKeyContract is a free data retrieval call binding the contract method 0x28293872.
Solidity: function kolKeyContract() view returns(address)
func (*TweetVoteCaller) KolKeyIncomeRate ¶ added in v1.0.1
KolKeyIncomeRate is a free data retrieval call binding the contract method 0x5feab7cb.
Solidity: function kolKeyIncomeRate() view returns(uint256)
func (*TweetVoteCaller) KolKeyIncomeSourceID ¶ added in v1.0.1
func (_TweetVote *TweetVoteCaller) KolKeyIncomeSourceID(opts *bind.CallOpts) (int8, error)
KolKeyIncomeSourceID is a free data retrieval call binding the contract method 0x98ac371b.
Solidity: function kolKeyIncomeSourceID() view returns(int8)
func (*TweetVoteCaller) KolKeyStop ¶ added in v1.0.1
func (_TweetVote *TweetVoteCaller) KolKeyStop(opts *bind.CallOpts) (bool, error)
KolKeyStop is a free data retrieval call binding the contract method 0xf929837a.
Solidity: function kolKeyStop() view returns(bool)
func (*TweetVoteCaller) MaxVotePerTweet ¶
MaxVotePerTweet is a free data retrieval call binding the contract method 0xdc8c071c.
Solidity: function maxVotePerTweet() view returns(uint256)
func (*TweetVoteCaller) MinValCheck ¶
MinValCheck is a free data retrieval call binding the contract method 0x8509614b.
Solidity: function __minValCheck() view returns(uint256)
func (*TweetVoteCaller) OneFinney ¶
OneFinney is a free data retrieval call binding the contract method 0x080da5dc.
Solidity: function oneFinney() view returns(uint256)
func (*TweetVoteCaller) OwnersOfAllTweets ¶
func (_TweetVote *TweetVoteCaller) OwnersOfAllTweets(opts *bind.CallOpts, arg0 [32]byte) (common.Address, error)
OwnersOfAllTweets is a free data retrieval call binding the contract method 0x60b7a81b.
Solidity: function ownersOfAllTweets(bytes32 ) view returns(address)
func (*TweetVoteCaller) RecoverSigner ¶
func (_TweetVote *TweetVoteCaller) RecoverSigner(opts *bind.CallOpts, prefixedHash [32]byte, signature []byte) (common.Address, error)
RecoverSigner is a free data retrieval call binding the contract method 0x97aba7f9.
Solidity: function recoverSigner(bytes32 prefixedHash, bytes signature) pure returns(address)
func (*TweetVoteCaller) ServiceFeePerTweetVoteRate ¶
func (_TweetVote *TweetVoteCaller) ServiceFeePerTweetVoteRate(opts *bind.CallOpts) (uint8, error)
ServiceFeePerTweetVoteRate is a free data retrieval call binding the contract method 0x1028672f.
Solidity: function serviceFeePerTweetVoteRate() view returns(uint8)
func (*TweetVoteCaller) ServiceFeeReceived ¶
ServiceFeeReceived is a free data retrieval call binding the contract method 0xbe4479e8.
Solidity: function serviceFeeReceived() view returns(uint256)
func (*TweetVoteCaller) SystemSettings ¶
func (_TweetVote *TweetVoteCaller) SystemSettings(opts *bind.CallOpts) (*big.Int, *big.Int, *big.Int, common.Address, bool, uint8, uint8, error)
SystemSettings is a free data retrieval call binding the contract method 0x60b42f12.
Solidity: function systemSettings() view returns(uint256, uint256, uint256, address, bool, uint8, uint8)
func (*TweetVoteCaller) TweetPostPrice ¶
TweetPostPrice is a free data retrieval call binding the contract method 0x04cea976.
Solidity: function tweetPostPrice() view returns(uint256)
func (*TweetVoteCaller) TweetVotePrice ¶
TweetVotePrice is a free data retrieval call binding the contract method 0x33806cfe.
Solidity: function tweetVotePrice() view returns(uint256)
func (*TweetVoteCaller) WithdrawFeeRate ¶
WithdrawFeeRate is a free data retrieval call binding the contract method 0xea99e689.
Solidity: function withdrawFeeRate() view returns(uint256)
type TweetVoteCallerRaw ¶
type TweetVoteCallerRaw struct {
Contract *TweetVoteCaller // Generic read-only contract binding to access the raw methods on
}
TweetVoteCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*TweetVoteCallerRaw) Call ¶
func (_TweetVote *TweetVoteCallerRaw) 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 TweetVoteCallerSession ¶
type TweetVoteCallerSession struct { Contract *TweetVoteCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
TweetVoteCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*TweetVoteCallerSession) Admins ¶
func (_TweetVote *TweetVoteCallerSession) Admins(arg0 common.Address) (bool, error)
Admins is a free data retrieval call binding the contract method 0x22b429f4.
Solidity: function __admins(address ) view returns(bool)
func (*TweetVoteCallerSession) Balance ¶
Balance is a free data retrieval call binding the contract method 0xe3d670d7.
Solidity: function balance(address ) view returns(uint256)
func (*TweetVoteCallerSession) ContractBalance ¶ added in v1.0.1
func (_TweetVote *TweetVoteCallerSession) ContractBalance() (*big.Int, error)
ContractBalance is a free data retrieval call binding the contract method 0x8b7afe2e.
Solidity: function contractBalance() view returns(uint256)
func (*TweetVoteCallerSession) GameContract ¶ added in v1.0.1
func (_TweetVote *TweetVoteCallerSession) GameContract() (common.Address, error)
GameContract is a free data retrieval call binding the contract method 0xd3f33009.
Solidity: function gameContract() view returns(address)
func (*TweetVoteCallerSession) GameStop ¶ added in v1.0.1
func (_TweetVote *TweetVoteCallerSession) GameStop() (bool, error)
GameStop is a free data retrieval call binding the contract method 0xd70feef1.
Solidity: function gameStop() view returns(bool)
func (*TweetVoteCallerSession) GetOwner ¶
func (_TweetVote *TweetVoteCallerSession) GetOwner() (common.Address, error)
GetOwner is a free data retrieval call binding the contract method 0x893d20e8.
Solidity: function getOwner() view returns(address)
func (*TweetVoteCallerSession) KolIncomePerTweetVoteRate ¶
func (_TweetVote *TweetVoteCallerSession) KolIncomePerTweetVoteRate() (uint8, error)
KolIncomePerTweetVoteRate is a free data retrieval call binding the contract method 0x7b3e47d1.
Solidity: function kolIncomePerTweetVoteRate() view returns(uint8)
func (*TweetVoteCallerSession) KolKeyContract ¶ added in v1.0.1
func (_TweetVote *TweetVoteCallerSession) KolKeyContract() (common.Address, error)
KolKeyContract is a free data retrieval call binding the contract method 0x28293872.
Solidity: function kolKeyContract() view returns(address)
func (*TweetVoteCallerSession) KolKeyIncomeRate ¶ added in v1.0.1
func (_TweetVote *TweetVoteCallerSession) KolKeyIncomeRate() (*big.Int, error)
KolKeyIncomeRate is a free data retrieval call binding the contract method 0x5feab7cb.
Solidity: function kolKeyIncomeRate() view returns(uint256)
func (*TweetVoteCallerSession) KolKeyIncomeSourceID ¶ added in v1.0.1
func (_TweetVote *TweetVoteCallerSession) KolKeyIncomeSourceID() (int8, error)
KolKeyIncomeSourceID is a free data retrieval call binding the contract method 0x98ac371b.
Solidity: function kolKeyIncomeSourceID() view returns(int8)
func (*TweetVoteCallerSession) KolKeyStop ¶ added in v1.0.1
func (_TweetVote *TweetVoteCallerSession) KolKeyStop() (bool, error)
KolKeyStop is a free data retrieval call binding the contract method 0xf929837a.
Solidity: function kolKeyStop() view returns(bool)
func (*TweetVoteCallerSession) MaxVotePerTweet ¶
func (_TweetVote *TweetVoteCallerSession) MaxVotePerTweet() (*big.Int, error)
MaxVotePerTweet is a free data retrieval call binding the contract method 0xdc8c071c.
Solidity: function maxVotePerTweet() view returns(uint256)
func (*TweetVoteCallerSession) MinValCheck ¶
func (_TweetVote *TweetVoteCallerSession) MinValCheck() (*big.Int, error)
MinValCheck is a free data retrieval call binding the contract method 0x8509614b.
Solidity: function __minValCheck() view returns(uint256)
func (*TweetVoteCallerSession) OneFinney ¶
func (_TweetVote *TweetVoteCallerSession) OneFinney() (*big.Int, error)
OneFinney is a free data retrieval call binding the contract method 0x080da5dc.
Solidity: function oneFinney() view returns(uint256)
func (*TweetVoteCallerSession) OwnersOfAllTweets ¶
func (_TweetVote *TweetVoteCallerSession) OwnersOfAllTweets(arg0 [32]byte) (common.Address, error)
OwnersOfAllTweets is a free data retrieval call binding the contract method 0x60b7a81b.
Solidity: function ownersOfAllTweets(bytes32 ) view returns(address)
func (*TweetVoteCallerSession) RecoverSigner ¶
func (_TweetVote *TweetVoteCallerSession) RecoverSigner(prefixedHash [32]byte, signature []byte) (common.Address, error)
RecoverSigner is a free data retrieval call binding the contract method 0x97aba7f9.
Solidity: function recoverSigner(bytes32 prefixedHash, bytes signature) pure returns(address)
func (*TweetVoteCallerSession) ServiceFeePerTweetVoteRate ¶
func (_TweetVote *TweetVoteCallerSession) ServiceFeePerTweetVoteRate() (uint8, error)
ServiceFeePerTweetVoteRate is a free data retrieval call binding the contract method 0x1028672f.
Solidity: function serviceFeePerTweetVoteRate() view returns(uint8)
func (*TweetVoteCallerSession) ServiceFeeReceived ¶
func (_TweetVote *TweetVoteCallerSession) ServiceFeeReceived() (*big.Int, error)
ServiceFeeReceived is a free data retrieval call binding the contract method 0xbe4479e8.
Solidity: function serviceFeeReceived() view returns(uint256)
func (*TweetVoteCallerSession) SystemSettings ¶
func (_TweetVote *TweetVoteCallerSession) SystemSettings() (*big.Int, *big.Int, *big.Int, common.Address, bool, uint8, uint8, error)
SystemSettings is a free data retrieval call binding the contract method 0x60b42f12.
Solidity: function systemSettings() view returns(uint256, uint256, uint256, address, bool, uint8, uint8)
func (*TweetVoteCallerSession) TweetPostPrice ¶
func (_TweetVote *TweetVoteCallerSession) TweetPostPrice() (*big.Int, error)
TweetPostPrice is a free data retrieval call binding the contract method 0x04cea976.
Solidity: function tweetPostPrice() view returns(uint256)
func (*TweetVoteCallerSession) TweetVotePrice ¶
func (_TweetVote *TweetVoteCallerSession) TweetVotePrice() (*big.Int, error)
TweetVotePrice is a free data retrieval call binding the contract method 0x33806cfe.
Solidity: function tweetVotePrice() view returns(uint256)
func (*TweetVoteCallerSession) WithdrawFeeRate ¶
func (_TweetVote *TweetVoteCallerSession) WithdrawFeeRate() (*big.Int, error)
WithdrawFeeRate is a free data retrieval call binding the contract method 0xea99e689.
Solidity: function withdrawFeeRate() view returns(uint256)
type TweetVoteFilterer ¶
type TweetVoteFilterer struct {
// contains filtered or unexported fields
}
TweetVoteFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewTweetVoteFilterer ¶
func NewTweetVoteFilterer(address common.Address, filterer bind.ContractFilterer) (*TweetVoteFilterer, error)
NewTweetVoteFilterer creates a new log filterer instance of TweetVote, bound to a specific deployed contract.
func (*TweetVoteFilterer) FilterAdminOperation ¶
func (_TweetVote *TweetVoteFilterer) FilterAdminOperation(opts *bind.FilterOpts) (*TweetVoteAdminOperationIterator, error)
FilterAdminOperation is a free log retrieval operation binding the contract event 0xa97d45d2d22d38f81ac1eb6ab339a6e56470c4cef221796a485da6841b02769e.
Solidity: event AdminOperation(address admin, bool opType)
func (*TweetVoteFilterer) FilterKolRightsBought ¶
func (_TweetVote *TweetVoteFilterer) FilterKolRightsBought(opts *bind.FilterOpts) (*TweetVoteKolRightsBoughtIterator, error)
FilterKolRightsBought is a free log retrieval operation binding the contract event 0x965468a49d826fce59d9e77b6be02c36a3de0e2bda03b078403f3139b0b8e29e.
Solidity: event KolRightsBought(address kolAddr, address buyer, uint256 rightsNo)
func (*TweetVoteFilterer) FilterKolWithdraw ¶
func (_TweetVote *TweetVoteFilterer) FilterKolWithdraw(opts *bind.FilterOpts, kol []common.Address) (*TweetVoteKolWithdrawIterator, error)
FilterKolWithdraw is a free log retrieval operation binding the contract event 0xcb69b6e91aa9504b27fc0545fcda1c4013efec7e04245bf33130a90a7e8277a8.
Solidity: event KolWithdraw(address indexed kol, uint256 amount)
func (*TweetVoteFilterer) FilterOwnerSet ¶
func (_TweetVote *TweetVoteFilterer) FilterOwnerSet(opts *bind.FilterOpts, oldOwner []common.Address, newOwner []common.Address) (*TweetVoteOwnerSetIterator, error)
FilterOwnerSet is a free log retrieval operation binding the contract event 0x342827c97908e5e2f71151c08502a66d44b6f758e3ac2f1de95f02eb95f0a735.
Solidity: event OwnerSet(address indexed oldOwner, address indexed newOwner)
func (*TweetVoteFilterer) FilterPluginChanged ¶
func (_TweetVote *TweetVoteFilterer) FilterPluginChanged(opts *bind.FilterOpts) (*TweetVotePluginChangedIterator, error)
FilterPluginChanged is a free log retrieval operation binding the contract event 0x1d236a1b586b708c1de53379e0b333ec2e36d883b3e162e8506e5351971174ac.
Solidity: event PluginChanged(address pAddr, bool stop, string typ)
func (*TweetVoteFilterer) FilterReceived ¶
func (_TweetVote *TweetVoteFilterer) FilterReceived(opts *bind.FilterOpts, sender []common.Address) (*TweetVoteReceivedIterator, error)
FilterReceived is a free log retrieval operation binding the contract event 0x88a5966d370b9919b20f3e2c13ff65706f196a4e32cc2c12bf57088f88525874.
Solidity: event Received(address indexed sender, uint256 amount)
func (*TweetVoteFilterer) FilterServiceFeeChanged ¶
func (_TweetVote *TweetVoteFilterer) FilterServiceFeeChanged(opts *bind.FilterOpts) (*TweetVoteServiceFeeChangedIterator, error)
FilterServiceFeeChanged is a free log retrieval operation binding the contract event 0x1c068decb3b5138b265d62b22c4c2d8191a2e0bd3745e97b5b0ff66fa852eca5.
Solidity: event ServiceFeeChanged(uint256 newSerficeFeeRate)
func (*TweetVoteFilterer) FilterSystemRateChanged ¶
func (_TweetVote *TweetVoteFilterer) FilterSystemRateChanged(opts *bind.FilterOpts) (*TweetVoteSystemRateChangedIterator, error)
FilterSystemRateChanged is a free log retrieval operation binding the contract event 0xbd22687be7d42e6c7dfcbfb3fe1d0288fd2d292251d6457912b9e914152ddcef.
Solidity: event SystemRateChanged(uint256 pricePost, string rateName)
func (*TweetVoteFilterer) FilterTweetPublished ¶
func (_TweetVote *TweetVoteFilterer) FilterTweetPublished(opts *bind.FilterOpts, from []common.Address) (*TweetVoteTweetPublishedIterator, error)
FilterTweetPublished is a free log retrieval operation binding the contract event 0xc6d6ed5e39f5688dfcbb4af05f438a6eb7064336069d430bfd67c227eb04f55f.
Solidity: event TweetPublished(address indexed from, bytes32 tweetHash)
func (*TweetVoteFilterer) FilterTweetVoted ¶
func (_TweetVote *TweetVoteFilterer) FilterTweetVoted(opts *bind.FilterOpts) (*TweetVoteTweetVotedIterator, error)
FilterTweetVoted is a free log retrieval operation binding the contract event 0xb67ade271cf9f89231289b7312378de3c5219f0e45581d2d38273f949dd114f6.
Solidity: event TweetVoted(bytes32 tweetHash, address voter, uint256 pricePerVote, uint256 voteNo)
func (*TweetVoteFilterer) FilterUpgradeToNewRule ¶
func (_TweetVote *TweetVoteFilterer) FilterUpgradeToNewRule(opts *bind.FilterOpts) (*TweetVoteUpgradeToNewRuleIterator, error)
FilterUpgradeToNewRule is a free log retrieval operation binding the contract event 0x8ff69c992616f2fe31c491c4a2ba58d0da8ab5cea0e68ad7ea1713d6fecbcdaa.
Solidity: event UpgradeToNewRule(address newContract, uint256 balance)
func (*TweetVoteFilterer) FilterWithdrawService ¶
func (_TweetVote *TweetVoteFilterer) FilterWithdrawService(opts *bind.FilterOpts) (*TweetVoteWithdrawServiceIterator, error)
FilterWithdrawService is a free log retrieval operation binding the contract event 0x7cb5cedbb78bc8cf00b5ffe051ef08d865e93d587654a591285add48befaa51d.
Solidity: event WithdrawService(address owner, uint256 balance)
func (*TweetVoteFilterer) ParseAdminOperation ¶
func (_TweetVote *TweetVoteFilterer) ParseAdminOperation(log types.Log) (*TweetVoteAdminOperation, error)
ParseAdminOperation is a log parse operation binding the contract event 0xa97d45d2d22d38f81ac1eb6ab339a6e56470c4cef221796a485da6841b02769e.
Solidity: event AdminOperation(address admin, bool opType)
func (*TweetVoteFilterer) ParseKolRightsBought ¶
func (_TweetVote *TweetVoteFilterer) ParseKolRightsBought(log types.Log) (*TweetVoteKolRightsBought, error)
ParseKolRightsBought is a log parse operation binding the contract event 0x965468a49d826fce59d9e77b6be02c36a3de0e2bda03b078403f3139b0b8e29e.
Solidity: event KolRightsBought(address kolAddr, address buyer, uint256 rightsNo)
func (*TweetVoteFilterer) ParseKolWithdraw ¶
func (_TweetVote *TweetVoteFilterer) ParseKolWithdraw(log types.Log) (*TweetVoteKolWithdraw, error)
ParseKolWithdraw is a log parse operation binding the contract event 0xcb69b6e91aa9504b27fc0545fcda1c4013efec7e04245bf33130a90a7e8277a8.
Solidity: event KolWithdraw(address indexed kol, uint256 amount)
func (*TweetVoteFilterer) ParseOwnerSet ¶
func (_TweetVote *TweetVoteFilterer) ParseOwnerSet(log types.Log) (*TweetVoteOwnerSet, error)
ParseOwnerSet is a log parse operation binding the contract event 0x342827c97908e5e2f71151c08502a66d44b6f758e3ac2f1de95f02eb95f0a735.
Solidity: event OwnerSet(address indexed oldOwner, address indexed newOwner)
func (*TweetVoteFilterer) ParsePluginChanged ¶
func (_TweetVote *TweetVoteFilterer) ParsePluginChanged(log types.Log) (*TweetVotePluginChanged, error)
ParsePluginChanged is a log parse operation binding the contract event 0x1d236a1b586b708c1de53379e0b333ec2e36d883b3e162e8506e5351971174ac.
Solidity: event PluginChanged(address pAddr, bool stop, string typ)
func (*TweetVoteFilterer) ParseReceived ¶
func (_TweetVote *TweetVoteFilterer) ParseReceived(log types.Log) (*TweetVoteReceived, error)
ParseReceived is a log parse operation binding the contract event 0x88a5966d370b9919b20f3e2c13ff65706f196a4e32cc2c12bf57088f88525874.
Solidity: event Received(address indexed sender, uint256 amount)
func (*TweetVoteFilterer) ParseServiceFeeChanged ¶
func (_TweetVote *TweetVoteFilterer) ParseServiceFeeChanged(log types.Log) (*TweetVoteServiceFeeChanged, error)
ParseServiceFeeChanged is a log parse operation binding the contract event 0x1c068decb3b5138b265d62b22c4c2d8191a2e0bd3745e97b5b0ff66fa852eca5.
Solidity: event ServiceFeeChanged(uint256 newSerficeFeeRate)
func (*TweetVoteFilterer) ParseSystemRateChanged ¶
func (_TweetVote *TweetVoteFilterer) ParseSystemRateChanged(log types.Log) (*TweetVoteSystemRateChanged, error)
ParseSystemRateChanged is a log parse operation binding the contract event 0xbd22687be7d42e6c7dfcbfb3fe1d0288fd2d292251d6457912b9e914152ddcef.
Solidity: event SystemRateChanged(uint256 pricePost, string rateName)
func (*TweetVoteFilterer) ParseTweetPublished ¶
func (_TweetVote *TweetVoteFilterer) ParseTweetPublished(log types.Log) (*TweetVoteTweetPublished, error)
ParseTweetPublished is a log parse operation binding the contract event 0xc6d6ed5e39f5688dfcbb4af05f438a6eb7064336069d430bfd67c227eb04f55f.
Solidity: event TweetPublished(address indexed from, bytes32 tweetHash)
func (*TweetVoteFilterer) ParseTweetVoted ¶
func (_TweetVote *TweetVoteFilterer) ParseTweetVoted(log types.Log) (*TweetVoteTweetVoted, error)
ParseTweetVoted is a log parse operation binding the contract event 0xb67ade271cf9f89231289b7312378de3c5219f0e45581d2d38273f949dd114f6.
Solidity: event TweetVoted(bytes32 tweetHash, address voter, uint256 pricePerVote, uint256 voteNo)
func (*TweetVoteFilterer) ParseUpgradeToNewRule ¶
func (_TweetVote *TweetVoteFilterer) ParseUpgradeToNewRule(log types.Log) (*TweetVoteUpgradeToNewRule, error)
ParseUpgradeToNewRule is a log parse operation binding the contract event 0x8ff69c992616f2fe31c491c4a2ba58d0da8ab5cea0e68ad7ea1713d6fecbcdaa.
Solidity: event UpgradeToNewRule(address newContract, uint256 balance)
func (*TweetVoteFilterer) ParseWithdrawService ¶
func (_TweetVote *TweetVoteFilterer) ParseWithdrawService(log types.Log) (*TweetVoteWithdrawService, error)
ParseWithdrawService is a log parse operation binding the contract event 0x7cb5cedbb78bc8cf00b5ffe051ef08d865e93d587654a591285add48befaa51d.
Solidity: event WithdrawService(address owner, uint256 balance)
func (*TweetVoteFilterer) WatchAdminOperation ¶
func (_TweetVote *TweetVoteFilterer) WatchAdminOperation(opts *bind.WatchOpts, sink chan<- *TweetVoteAdminOperation) (event.Subscription, error)
WatchAdminOperation is a free log subscription operation binding the contract event 0xa97d45d2d22d38f81ac1eb6ab339a6e56470c4cef221796a485da6841b02769e.
Solidity: event AdminOperation(address admin, bool opType)
func (*TweetVoteFilterer) WatchKolRightsBought ¶
func (_TweetVote *TweetVoteFilterer) WatchKolRightsBought(opts *bind.WatchOpts, sink chan<- *TweetVoteKolRightsBought) (event.Subscription, error)
WatchKolRightsBought is a free log subscription operation binding the contract event 0x965468a49d826fce59d9e77b6be02c36a3de0e2bda03b078403f3139b0b8e29e.
Solidity: event KolRightsBought(address kolAddr, address buyer, uint256 rightsNo)
func (*TweetVoteFilterer) WatchKolWithdraw ¶
func (_TweetVote *TweetVoteFilterer) WatchKolWithdraw(opts *bind.WatchOpts, sink chan<- *TweetVoteKolWithdraw, kol []common.Address) (event.Subscription, error)
WatchKolWithdraw is a free log subscription operation binding the contract event 0xcb69b6e91aa9504b27fc0545fcda1c4013efec7e04245bf33130a90a7e8277a8.
Solidity: event KolWithdraw(address indexed kol, uint256 amount)
func (*TweetVoteFilterer) WatchOwnerSet ¶
func (_TweetVote *TweetVoteFilterer) WatchOwnerSet(opts *bind.WatchOpts, sink chan<- *TweetVoteOwnerSet, oldOwner []common.Address, newOwner []common.Address) (event.Subscription, error)
WatchOwnerSet is a free log subscription operation binding the contract event 0x342827c97908e5e2f71151c08502a66d44b6f758e3ac2f1de95f02eb95f0a735.
Solidity: event OwnerSet(address indexed oldOwner, address indexed newOwner)
func (*TweetVoteFilterer) WatchPluginChanged ¶
func (_TweetVote *TweetVoteFilterer) WatchPluginChanged(opts *bind.WatchOpts, sink chan<- *TweetVotePluginChanged) (event.Subscription, error)
WatchPluginChanged is a free log subscription operation binding the contract event 0x1d236a1b586b708c1de53379e0b333ec2e36d883b3e162e8506e5351971174ac.
Solidity: event PluginChanged(address pAddr, bool stop, string typ)
func (*TweetVoteFilterer) WatchReceived ¶
func (_TweetVote *TweetVoteFilterer) WatchReceived(opts *bind.WatchOpts, sink chan<- *TweetVoteReceived, sender []common.Address) (event.Subscription, error)
WatchReceived is a free log subscription operation binding the contract event 0x88a5966d370b9919b20f3e2c13ff65706f196a4e32cc2c12bf57088f88525874.
Solidity: event Received(address indexed sender, uint256 amount)
func (*TweetVoteFilterer) WatchServiceFeeChanged ¶
func (_TweetVote *TweetVoteFilterer) WatchServiceFeeChanged(opts *bind.WatchOpts, sink chan<- *TweetVoteServiceFeeChanged) (event.Subscription, error)
WatchServiceFeeChanged is a free log subscription operation binding the contract event 0x1c068decb3b5138b265d62b22c4c2d8191a2e0bd3745e97b5b0ff66fa852eca5.
Solidity: event ServiceFeeChanged(uint256 newSerficeFeeRate)
func (*TweetVoteFilterer) WatchSystemRateChanged ¶
func (_TweetVote *TweetVoteFilterer) WatchSystemRateChanged(opts *bind.WatchOpts, sink chan<- *TweetVoteSystemRateChanged) (event.Subscription, error)
WatchSystemRateChanged is a free log subscription operation binding the contract event 0xbd22687be7d42e6c7dfcbfb3fe1d0288fd2d292251d6457912b9e914152ddcef.
Solidity: event SystemRateChanged(uint256 pricePost, string rateName)
func (*TweetVoteFilterer) WatchTweetPublished ¶
func (_TweetVote *TweetVoteFilterer) WatchTweetPublished(opts *bind.WatchOpts, sink chan<- *TweetVoteTweetPublished, from []common.Address) (event.Subscription, error)
WatchTweetPublished is a free log subscription operation binding the contract event 0xc6d6ed5e39f5688dfcbb4af05f438a6eb7064336069d430bfd67c227eb04f55f.
Solidity: event TweetPublished(address indexed from, bytes32 tweetHash)
func (*TweetVoteFilterer) WatchTweetVoted ¶
func (_TweetVote *TweetVoteFilterer) WatchTweetVoted(opts *bind.WatchOpts, sink chan<- *TweetVoteTweetVoted) (event.Subscription, error)
WatchTweetVoted is a free log subscription operation binding the contract event 0xb67ade271cf9f89231289b7312378de3c5219f0e45581d2d38273f949dd114f6.
Solidity: event TweetVoted(bytes32 tweetHash, address voter, uint256 pricePerVote, uint256 voteNo)
func (*TweetVoteFilterer) WatchUpgradeToNewRule ¶
func (_TweetVote *TweetVoteFilterer) WatchUpgradeToNewRule(opts *bind.WatchOpts, sink chan<- *TweetVoteUpgradeToNewRule) (event.Subscription, error)
WatchUpgradeToNewRule is a free log subscription operation binding the contract event 0x8ff69c992616f2fe31c491c4a2ba58d0da8ab5cea0e68ad7ea1713d6fecbcdaa.
Solidity: event UpgradeToNewRule(address newContract, uint256 balance)
func (*TweetVoteFilterer) WatchWithdrawService ¶
func (_TweetVote *TweetVoteFilterer) WatchWithdrawService(opts *bind.WatchOpts, sink chan<- *TweetVoteWithdrawService) (event.Subscription, error)
WatchWithdrawService is a free log subscription operation binding the contract event 0x7cb5cedbb78bc8cf00b5ffe051ef08d865e93d587654a591285add48befaa51d.
Solidity: event WithdrawService(address owner, uint256 balance)
type TweetVoteKolRightsBought ¶
type TweetVoteKolRightsBought struct { KolAddr common.Address Buyer common.Address RightsNo *big.Int Raw types.Log // Blockchain specific contextual infos }
TweetVoteKolRightsBought represents a KolRightsBought event raised by the TweetVote contract.
type TweetVoteKolRightsBoughtIterator ¶
type TweetVoteKolRightsBoughtIterator struct { Event *TweetVoteKolRightsBought // Event containing the contract specifics and raw log // contains filtered or unexported fields }
TweetVoteKolRightsBoughtIterator is returned from FilterKolRightsBought and is used to iterate over the raw logs and unpacked data for KolRightsBought events raised by the TweetVote contract.
func (*TweetVoteKolRightsBoughtIterator) Close ¶
func (it *TweetVoteKolRightsBoughtIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*TweetVoteKolRightsBoughtIterator) Error ¶
func (it *TweetVoteKolRightsBoughtIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*TweetVoteKolRightsBoughtIterator) Next ¶
func (it *TweetVoteKolRightsBoughtIterator) 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 TweetVoteKolWithdraw ¶
type TweetVoteKolWithdraw struct { Kol common.Address Amount *big.Int Raw types.Log // Blockchain specific contextual infos }
TweetVoteKolWithdraw represents a KolWithdraw event raised by the TweetVote contract.
type TweetVoteKolWithdrawIterator ¶
type TweetVoteKolWithdrawIterator struct { Event *TweetVoteKolWithdraw // Event containing the contract specifics and raw log // contains filtered or unexported fields }
TweetVoteKolWithdrawIterator is returned from FilterKolWithdraw and is used to iterate over the raw logs and unpacked data for KolWithdraw events raised by the TweetVote contract.
func (*TweetVoteKolWithdrawIterator) Close ¶
func (it *TweetVoteKolWithdrawIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*TweetVoteKolWithdrawIterator) Error ¶
func (it *TweetVoteKolWithdrawIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*TweetVoteKolWithdrawIterator) Next ¶
func (it *TweetVoteKolWithdrawIterator) 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 TweetVoteOwnerSet ¶
type TweetVoteOwnerSet struct { OldOwner common.Address NewOwner common.Address Raw types.Log // Blockchain specific contextual infos }
TweetVoteOwnerSet represents a OwnerSet event raised by the TweetVote contract.
type TweetVoteOwnerSetIterator ¶
type TweetVoteOwnerSetIterator struct { Event *TweetVoteOwnerSet // Event containing the contract specifics and raw log // contains filtered or unexported fields }
TweetVoteOwnerSetIterator is returned from FilterOwnerSet and is used to iterate over the raw logs and unpacked data for OwnerSet events raised by the TweetVote contract.
func (*TweetVoteOwnerSetIterator) Close ¶
func (it *TweetVoteOwnerSetIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*TweetVoteOwnerSetIterator) Error ¶
func (it *TweetVoteOwnerSetIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*TweetVoteOwnerSetIterator) Next ¶
func (it *TweetVoteOwnerSetIterator) 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 TweetVotePluginChanged ¶
type TweetVotePluginChanged struct { PAddr common.Address Stop bool Typ string Raw types.Log // Blockchain specific contextual infos }
TweetVotePluginChanged represents a PluginChanged event raised by the TweetVote contract.
type TweetVotePluginChangedIterator ¶
type TweetVotePluginChangedIterator struct { Event *TweetVotePluginChanged // Event containing the contract specifics and raw log // contains filtered or unexported fields }
TweetVotePluginChangedIterator is returned from FilterPluginChanged and is used to iterate over the raw logs and unpacked data for PluginChanged events raised by the TweetVote contract.
func (*TweetVotePluginChangedIterator) Close ¶
func (it *TweetVotePluginChangedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*TweetVotePluginChangedIterator) Error ¶
func (it *TweetVotePluginChangedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*TweetVotePluginChangedIterator) Next ¶
func (it *TweetVotePluginChangedIterator) 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 TweetVoteRaw ¶
type TweetVoteRaw struct {
Contract *TweetVote // Generic contract binding to access the raw methods on
}
TweetVoteRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*TweetVoteRaw) Call ¶
func (_TweetVote *TweetVoteRaw) 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 (*TweetVoteRaw) Transact ¶
func (_TweetVote *TweetVoteRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*TweetVoteRaw) Transfer ¶
func (_TweetVote *TweetVoteRaw) 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 TweetVoteReceived ¶
type TweetVoteReceived struct { Sender common.Address Amount *big.Int Raw types.Log // Blockchain specific contextual infos }
TweetVoteReceived represents a Received event raised by the TweetVote contract.
type TweetVoteReceivedIterator ¶
type TweetVoteReceivedIterator struct { Event *TweetVoteReceived // Event containing the contract specifics and raw log // contains filtered or unexported fields }
TweetVoteReceivedIterator is returned from FilterReceived and is used to iterate over the raw logs and unpacked data for Received events raised by the TweetVote contract.
func (*TweetVoteReceivedIterator) Close ¶
func (it *TweetVoteReceivedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*TweetVoteReceivedIterator) Error ¶
func (it *TweetVoteReceivedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*TweetVoteReceivedIterator) Next ¶
func (it *TweetVoteReceivedIterator) 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 TweetVoteServiceFeeChanged ¶
type TweetVoteServiceFeeChanged struct { NewSerficeFeeRate *big.Int Raw types.Log // Blockchain specific contextual infos }
TweetVoteServiceFeeChanged represents a ServiceFeeChanged event raised by the TweetVote contract.
type TweetVoteServiceFeeChangedIterator ¶
type TweetVoteServiceFeeChangedIterator struct { Event *TweetVoteServiceFeeChanged // Event containing the contract specifics and raw log // contains filtered or unexported fields }
TweetVoteServiceFeeChangedIterator is returned from FilterServiceFeeChanged and is used to iterate over the raw logs and unpacked data for ServiceFeeChanged events raised by the TweetVote contract.
func (*TweetVoteServiceFeeChangedIterator) Close ¶
func (it *TweetVoteServiceFeeChangedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*TweetVoteServiceFeeChangedIterator) Error ¶
func (it *TweetVoteServiceFeeChangedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*TweetVoteServiceFeeChangedIterator) Next ¶
func (it *TweetVoteServiceFeeChangedIterator) 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 TweetVoteSession ¶
type TweetVoteSession struct { Contract *TweetVote // 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 }
TweetVoteSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*TweetVoteSession) AdminChangeKolKeyRate ¶ added in v1.0.1
func (_TweetVote *TweetVoteSession) AdminChangeKolKeyRate(newRate uint8) (*types.Transaction, error)
AdminChangeKolKeyRate is a paid mutator transaction binding the contract method 0x82580978.
Solidity: function adminChangeKolKeyRate(uint8 newRate) returns()
func (*TweetVoteSession) AdminOperation ¶
func (_TweetVote *TweetVoteSession) AdminOperation(admin common.Address, isDelete bool) (*types.Transaction, error)
AdminOperation is a paid mutator transaction binding the contract method 0x2b508fde.
Solidity: function adminOperation(address admin, bool isDelete) returns()
func (*TweetVoteSession) AdminServiceFeeWithdraw ¶
func (_TweetVote *TweetVoteSession) AdminServiceFeeWithdraw() (*types.Transaction, error)
AdminServiceFeeWithdraw is a paid mutator transaction binding the contract method 0x615f54a1.
Solidity: function adminServiceFeeWithdraw() returns()
func (*TweetVoteSession) AdminSetGameContract ¶ added in v1.0.1
func (_TweetVote *TweetVoteSession) AdminSetGameContract(newGameAddr common.Address) (*types.Transaction, error)
AdminSetGameContract is a paid mutator transaction binding the contract method 0xeb54be2a.
Solidity: function adminSetGameContract(address newGameAddr) returns()
func (*TweetVoteSession) AdminSetKolIncomePerTweetRate ¶
func (_TweetVote *TweetVoteSession) AdminSetKolIncomePerTweetRate(newRate uint8) (*types.Transaction, error)
AdminSetKolIncomePerTweetRate is a paid mutator transaction binding the contract method 0xa1cd090a.
Solidity: function adminSetKolIncomePerTweetRate(uint8 newRate) returns()
func (*TweetVoteSession) AdminSetKolKeyContract ¶ added in v1.0.1
func (_TweetVote *TweetVoteSession) AdminSetKolKeyContract(newKolContract common.Address) (*types.Transaction, error)
AdminSetKolKeyContract is a paid mutator transaction binding the contract method 0x23266c86.
Solidity: function adminSetKolKeyContract(address newKolContract) returns()
func (*TweetVoteSession) AdminSetMaxVotePerTweet ¶
func (_TweetVote *TweetVoteSession) AdminSetMaxVotePerTweet(newMaxVote *big.Int) (*types.Transaction, error)
AdminSetMaxVotePerTweet is a paid mutator transaction binding the contract method 0x489e2590.
Solidity: function adminSetMaxVotePerTweet(uint256 newMaxVote) returns()
func (*TweetVoteSession) AdminSetServiceFeeRateForPerTweetVote ¶
func (_TweetVote *TweetVoteSession) AdminSetServiceFeeRateForPerTweetVote(newRate uint8) (*types.Transaction, error)
AdminSetServiceFeeRateForPerTweetVote is a paid mutator transaction binding the contract method 0xcef8e395.
Solidity: function adminSetServiceFeeRateForPerTweetVote(uint8 newRate) returns()
func (*TweetVoteSession) AdminSetTweetPostPrice ¶
func (_TweetVote *TweetVoteSession) AdminSetTweetPostPrice(newPriceInFinney *big.Int) (*types.Transaction, error)
AdminSetTweetPostPrice is a paid mutator transaction binding the contract method 0xf7d58241.
Solidity: function adminSetTweetPostPrice(uint256 newPriceInFinney) returns()
func (*TweetVoteSession) AdminSetTweetVotePrice ¶
func (_TweetVote *TweetVoteSession) AdminSetTweetVotePrice(newPriceInFinney *big.Int) (*types.Transaction, error)
AdminSetTweetVotePrice is a paid mutator transaction binding the contract method 0x1a25d1c0.
Solidity: function adminSetTweetVotePrice(uint256 newPriceInFinney) returns()
func (*TweetVoteSession) AdminSetWithdrawFeeRate ¶
func (_TweetVote *TweetVoteSession) AdminSetWithdrawFeeRate(newRate uint8) (*types.Transaction, error)
AdminSetWithdrawFeeRate is a paid mutator transaction binding the contract method 0x94c681d6.
Solidity: function adminSetWithdrawFeeRate(uint8 newRate) returns()
func (*TweetVoteSession) AdminStopKolKey ¶ added in v1.0.1
func (_TweetVote *TweetVoteSession) AdminStopKolKey(stop bool) (*types.Transaction, error)
AdminStopKolKey is a paid mutator transaction binding the contract method 0x6b6f28b7.
Solidity: function adminStopKolKey(bool stop) returns()
func (*TweetVoteSession) AdminStopPlugin ¶
func (_TweetVote *TweetVoteSession) AdminStopPlugin(stop bool) (*types.Transaction, error)
AdminStopPlugin is a paid mutator transaction binding the contract method 0x24a5834e.
Solidity: function adminStopPlugin(bool stop) returns()
func (*TweetVoteSession) AdminUpgradeToNewRule ¶
func (_TweetVote *TweetVoteSession) AdminUpgradeToNewRule(recipient common.Address) (*types.Transaction, error)
AdminUpgradeToNewRule is a paid mutator transaction binding the contract method 0xc75539d1.
Solidity: function adminUpgradeToNewRule(address recipient) returns()
func (*TweetVoteSession) Admins ¶
func (_TweetVote *TweetVoteSession) Admins(arg0 common.Address) (bool, error)
Admins is a free data retrieval call binding the contract method 0x22b429f4.
Solidity: function __admins(address ) view returns(bool)
func (*TweetVoteSession) Balance ¶
Balance is a free data retrieval call binding the contract method 0xe3d670d7.
Solidity: function balance(address ) view returns(uint256)
func (*TweetVoteSession) ChangeOwner ¶
func (_TweetVote *TweetVoteSession) ChangeOwner(newOwner common.Address) (*types.Transaction, error)
ChangeOwner is a paid mutator transaction binding the contract method 0xa6f9dae1.
Solidity: function changeOwner(address newOwner) returns()
func (*TweetVoteSession) ChangeStatus ¶ added in v1.0.1
func (_TweetVote *TweetVoteSession) ChangeStatus(stop bool) (*types.Transaction, error)
ChangeStatus is a paid mutator transaction binding the contract method 0x9b3de49b.
Solidity: function changeStatus(bool stop) returns()
func (*TweetVoteSession) ContractBalance ¶ added in v1.0.1
func (_TweetVote *TweetVoteSession) ContractBalance() (*big.Int, error)
ContractBalance is a free data retrieval call binding the contract method 0x8b7afe2e.
Solidity: function contractBalance() view returns(uint256)
func (*TweetVoteSession) GameContract ¶ added in v1.0.1
func (_TweetVote *TweetVoteSession) GameContract() (common.Address, error)
GameContract is a free data retrieval call binding the contract method 0xd3f33009.
Solidity: function gameContract() view returns(address)
func (*TweetVoteSession) GameStop ¶ added in v1.0.1
func (_TweetVote *TweetVoteSession) GameStop() (bool, error)
GameStop is a free data retrieval call binding the contract method 0xd70feef1.
Solidity: function gameStop() view returns(bool)
func (*TweetVoteSession) GetOwner ¶
func (_TweetVote *TweetVoteSession) GetOwner() (common.Address, error)
GetOwner is a free data retrieval call binding the contract method 0x893d20e8.
Solidity: function getOwner() view returns(address)
func (*TweetVoteSession) KolIncomePerTweetVoteRate ¶
func (_TweetVote *TweetVoteSession) KolIncomePerTweetVoteRate() (uint8, error)
KolIncomePerTweetVoteRate is a free data retrieval call binding the contract method 0x7b3e47d1.
Solidity: function kolIncomePerTweetVoteRate() view returns(uint8)
func (*TweetVoteSession) KolKeyContract ¶ added in v1.0.1
func (_TweetVote *TweetVoteSession) KolKeyContract() (common.Address, error)
KolKeyContract is a free data retrieval call binding the contract method 0x28293872.
Solidity: function kolKeyContract() view returns(address)
func (*TweetVoteSession) KolKeyIncomeRate ¶ added in v1.0.1
func (_TweetVote *TweetVoteSession) KolKeyIncomeRate() (*big.Int, error)
KolKeyIncomeRate is a free data retrieval call binding the contract method 0x5feab7cb.
Solidity: function kolKeyIncomeRate() view returns(uint256)
func (*TweetVoteSession) KolKeyIncomeSourceID ¶ added in v1.0.1
func (_TweetVote *TweetVoteSession) KolKeyIncomeSourceID() (int8, error)
KolKeyIncomeSourceID is a free data retrieval call binding the contract method 0x98ac371b.
Solidity: function kolKeyIncomeSourceID() view returns(int8)
func (*TweetVoteSession) KolKeyStop ¶ added in v1.0.1
func (_TweetVote *TweetVoteSession) KolKeyStop() (bool, error)
KolKeyStop is a free data retrieval call binding the contract method 0xf929837a.
Solidity: function kolKeyStop() view returns(bool)
func (*TweetVoteSession) MaxVotePerTweet ¶
func (_TweetVote *TweetVoteSession) MaxVotePerTweet() (*big.Int, error)
MaxVotePerTweet is a free data retrieval call binding the contract method 0xdc8c071c.
Solidity: function maxVotePerTweet() view returns(uint256)
func (*TweetVoteSession) MigrateTweetOwner ¶ added in v1.0.1
func (_TweetVote *TweetVoteSession) MigrateTweetOwner(tweetHashs [][32]byte, newOwner common.Address) (*types.Transaction, error)
MigrateTweetOwner is a paid mutator transaction binding the contract method 0xf8cc9bac.
Solidity: function migrateTweetOwner(bytes32[] tweetHashs, address newOwner) returns()
func (*TweetVoteSession) MinValCheck ¶
func (_TweetVote *TweetVoteSession) MinValCheck() (*big.Int, error)
MinValCheck is a free data retrieval call binding the contract method 0x8509614b.
Solidity: function __minValCheck() view returns(uint256)
func (*TweetVoteSession) OneFinney ¶
func (_TweetVote *TweetVoteSession) OneFinney() (*big.Int, error)
OneFinney is a free data retrieval call binding the contract method 0x080da5dc.
Solidity: function oneFinney() view returns(uint256)
func (*TweetVoteSession) OwnersOfAllTweets ¶
func (_TweetVote *TweetVoteSession) OwnersOfAllTweets(arg0 [32]byte) (common.Address, error)
OwnersOfAllTweets is a free data retrieval call binding the contract method 0x60b7a81b.
Solidity: function ownersOfAllTweets(bytes32 ) view returns(address)
func (*TweetVoteSession) PublishTweet ¶
func (_TweetVote *TweetVoteSession) PublishTweet(hash [32]byte, signature []byte) (*types.Transaction, error)
PublishTweet is a paid mutator transaction binding the contract method 0x4bf8d46f.
Solidity: function publishTweet(bytes32 hash, bytes signature) payable returns()
func (*TweetVoteSession) Receive ¶
func (_TweetVote *TweetVoteSession) Receive() (*types.Transaction, error)
Receive is a paid mutator transaction binding the contract receive function.
Solidity: receive() payable returns()
func (*TweetVoteSession) RecoverSigner ¶
func (_TweetVote *TweetVoteSession) RecoverSigner(prefixedHash [32]byte, signature []byte) (common.Address, error)
RecoverSigner is a free data retrieval call binding the contract method 0x97aba7f9.
Solidity: function recoverSigner(bytes32 prefixedHash, bytes signature) pure returns(address)
func (*TweetVoteSession) ServiceFeePerTweetVoteRate ¶
func (_TweetVote *TweetVoteSession) ServiceFeePerTweetVoteRate() (uint8, error)
ServiceFeePerTweetVoteRate is a free data retrieval call binding the contract method 0x1028672f.
Solidity: function serviceFeePerTweetVoteRate() view returns(uint8)
func (*TweetVoteSession) ServiceFeeReceived ¶
func (_TweetVote *TweetVoteSession) ServiceFeeReceived() (*big.Int, error)
ServiceFeeReceived is a free data retrieval call binding the contract method 0xbe4479e8.
Solidity: function serviceFeeReceived() view returns(uint256)
func (*TweetVoteSession) SystemSettings ¶
func (_TweetVote *TweetVoteSession) SystemSettings() (*big.Int, *big.Int, *big.Int, common.Address, bool, uint8, uint8, error)
SystemSettings is a free data retrieval call binding the contract method 0x60b42f12.
Solidity: function systemSettings() view returns(uint256, uint256, uint256, address, bool, uint8, uint8)
func (*TweetVoteSession) TweetPostPrice ¶
func (_TweetVote *TweetVoteSession) TweetPostPrice() (*big.Int, error)
TweetPostPrice is a free data retrieval call binding the contract method 0x04cea976.
Solidity: function tweetPostPrice() view returns(uint256)
func (*TweetVoteSession) TweetVotePrice ¶
func (_TweetVote *TweetVoteSession) TweetVotePrice() (*big.Int, error)
TweetVotePrice is a free data retrieval call binding the contract method 0x33806cfe.
Solidity: function tweetVotePrice() view returns(uint256)
func (*TweetVoteSession) VoteToTweets ¶
func (_TweetVote *TweetVoteSession) VoteToTweets(tweetHash [32]byte, voteNo *big.Int) (*types.Transaction, error)
VoteToTweets is a paid mutator transaction binding the contract method 0x4e7da0e8.
Solidity: function voteToTweets(bytes32 tweetHash, uint256 voteNo) payable returns()
func (*TweetVoteSession) Withdraw ¶
func (_TweetVote *TweetVoteSession) Withdraw(amount *big.Int, all bool) (*types.Transaction, error)
Withdraw is a paid mutator transaction binding the contract method 0x38d07436.
Solidity: function withdraw(uint256 amount, bool all) returns()
func (*TweetVoteSession) WithdrawFeeRate ¶
func (_TweetVote *TweetVoteSession) WithdrawFeeRate() (*big.Int, error)
WithdrawFeeRate is a free data retrieval call binding the contract method 0xea99e689.
Solidity: function withdrawFeeRate() view returns(uint256)
type TweetVoteSystemRateChanged ¶
type TweetVoteSystemRateChanged struct { PricePost *big.Int RateName string Raw types.Log // Blockchain specific contextual infos }
TweetVoteSystemRateChanged represents a SystemRateChanged event raised by the TweetVote contract.
type TweetVoteSystemRateChangedIterator ¶
type TweetVoteSystemRateChangedIterator struct { Event *TweetVoteSystemRateChanged // Event containing the contract specifics and raw log // contains filtered or unexported fields }
TweetVoteSystemRateChangedIterator is returned from FilterSystemRateChanged and is used to iterate over the raw logs and unpacked data for SystemRateChanged events raised by the TweetVote contract.
func (*TweetVoteSystemRateChangedIterator) Close ¶
func (it *TweetVoteSystemRateChangedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*TweetVoteSystemRateChangedIterator) Error ¶
func (it *TweetVoteSystemRateChangedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*TweetVoteSystemRateChangedIterator) Next ¶
func (it *TweetVoteSystemRateChangedIterator) 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 TweetVoteTransactor ¶
type TweetVoteTransactor struct {
// contains filtered or unexported fields
}
TweetVoteTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewTweetVoteTransactor ¶
func NewTweetVoteTransactor(address common.Address, transactor bind.ContractTransactor) (*TweetVoteTransactor, error)
NewTweetVoteTransactor creates a new write-only instance of TweetVote, bound to a specific deployed contract.
func (*TweetVoteTransactor) AdminChangeKolKeyRate ¶ added in v1.0.1
func (_TweetVote *TweetVoteTransactor) AdminChangeKolKeyRate(opts *bind.TransactOpts, newRate uint8) (*types.Transaction, error)
AdminChangeKolKeyRate is a paid mutator transaction binding the contract method 0x82580978.
Solidity: function adminChangeKolKeyRate(uint8 newRate) returns()
func (*TweetVoteTransactor) AdminOperation ¶
func (_TweetVote *TweetVoteTransactor) AdminOperation(opts *bind.TransactOpts, admin common.Address, isDelete bool) (*types.Transaction, error)
AdminOperation is a paid mutator transaction binding the contract method 0x2b508fde.
Solidity: function adminOperation(address admin, bool isDelete) returns()
func (*TweetVoteTransactor) AdminServiceFeeWithdraw ¶
func (_TweetVote *TweetVoteTransactor) AdminServiceFeeWithdraw(opts *bind.TransactOpts) (*types.Transaction, error)
AdminServiceFeeWithdraw is a paid mutator transaction binding the contract method 0x615f54a1.
Solidity: function adminServiceFeeWithdraw() returns()
func (*TweetVoteTransactor) AdminSetGameContract ¶ added in v1.0.1
func (_TweetVote *TweetVoteTransactor) AdminSetGameContract(opts *bind.TransactOpts, newGameAddr common.Address) (*types.Transaction, error)
AdminSetGameContract is a paid mutator transaction binding the contract method 0xeb54be2a.
Solidity: function adminSetGameContract(address newGameAddr) returns()
func (*TweetVoteTransactor) AdminSetKolIncomePerTweetRate ¶
func (_TweetVote *TweetVoteTransactor) AdminSetKolIncomePerTweetRate(opts *bind.TransactOpts, newRate uint8) (*types.Transaction, error)
AdminSetKolIncomePerTweetRate is a paid mutator transaction binding the contract method 0xa1cd090a.
Solidity: function adminSetKolIncomePerTweetRate(uint8 newRate) returns()
func (*TweetVoteTransactor) AdminSetKolKeyContract ¶ added in v1.0.1
func (_TweetVote *TweetVoteTransactor) AdminSetKolKeyContract(opts *bind.TransactOpts, newKolContract common.Address) (*types.Transaction, error)
AdminSetKolKeyContract is a paid mutator transaction binding the contract method 0x23266c86.
Solidity: function adminSetKolKeyContract(address newKolContract) returns()
func (*TweetVoteTransactor) AdminSetMaxVotePerTweet ¶
func (_TweetVote *TweetVoteTransactor) AdminSetMaxVotePerTweet(opts *bind.TransactOpts, newMaxVote *big.Int) (*types.Transaction, error)
AdminSetMaxVotePerTweet is a paid mutator transaction binding the contract method 0x489e2590.
Solidity: function adminSetMaxVotePerTweet(uint256 newMaxVote) returns()
func (*TweetVoteTransactor) AdminSetServiceFeeRateForPerTweetVote ¶
func (_TweetVote *TweetVoteTransactor) AdminSetServiceFeeRateForPerTweetVote(opts *bind.TransactOpts, newRate uint8) (*types.Transaction, error)
AdminSetServiceFeeRateForPerTweetVote is a paid mutator transaction binding the contract method 0xcef8e395.
Solidity: function adminSetServiceFeeRateForPerTweetVote(uint8 newRate) returns()
func (*TweetVoteTransactor) AdminSetTweetPostPrice ¶
func (_TweetVote *TweetVoteTransactor) AdminSetTweetPostPrice(opts *bind.TransactOpts, newPriceInFinney *big.Int) (*types.Transaction, error)
AdminSetTweetPostPrice is a paid mutator transaction binding the contract method 0xf7d58241.
Solidity: function adminSetTweetPostPrice(uint256 newPriceInFinney) returns()
func (*TweetVoteTransactor) AdminSetTweetVotePrice ¶
func (_TweetVote *TweetVoteTransactor) AdminSetTweetVotePrice(opts *bind.TransactOpts, newPriceInFinney *big.Int) (*types.Transaction, error)
AdminSetTweetVotePrice is a paid mutator transaction binding the contract method 0x1a25d1c0.
Solidity: function adminSetTweetVotePrice(uint256 newPriceInFinney) returns()
func (*TweetVoteTransactor) AdminSetWithdrawFeeRate ¶
func (_TweetVote *TweetVoteTransactor) AdminSetWithdrawFeeRate(opts *bind.TransactOpts, newRate uint8) (*types.Transaction, error)
AdminSetWithdrawFeeRate is a paid mutator transaction binding the contract method 0x94c681d6.
Solidity: function adminSetWithdrawFeeRate(uint8 newRate) returns()
func (*TweetVoteTransactor) AdminStopKolKey ¶ added in v1.0.1
func (_TweetVote *TweetVoteTransactor) AdminStopKolKey(opts *bind.TransactOpts, stop bool) (*types.Transaction, error)
AdminStopKolKey is a paid mutator transaction binding the contract method 0x6b6f28b7.
Solidity: function adminStopKolKey(bool stop) returns()
func (*TweetVoteTransactor) AdminStopPlugin ¶
func (_TweetVote *TweetVoteTransactor) AdminStopPlugin(opts *bind.TransactOpts, stop bool) (*types.Transaction, error)
AdminStopPlugin is a paid mutator transaction binding the contract method 0x24a5834e.
Solidity: function adminStopPlugin(bool stop) returns()
func (*TweetVoteTransactor) AdminUpgradeToNewRule ¶
func (_TweetVote *TweetVoteTransactor) AdminUpgradeToNewRule(opts *bind.TransactOpts, recipient common.Address) (*types.Transaction, error)
AdminUpgradeToNewRule is a paid mutator transaction binding the contract method 0xc75539d1.
Solidity: function adminUpgradeToNewRule(address recipient) returns()
func (*TweetVoteTransactor) ChangeOwner ¶
func (_TweetVote *TweetVoteTransactor) ChangeOwner(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)
ChangeOwner is a paid mutator transaction binding the contract method 0xa6f9dae1.
Solidity: function changeOwner(address newOwner) returns()
func (*TweetVoteTransactor) ChangeStatus ¶ added in v1.0.1
func (_TweetVote *TweetVoteTransactor) ChangeStatus(opts *bind.TransactOpts, stop bool) (*types.Transaction, error)
ChangeStatus is a paid mutator transaction binding the contract method 0x9b3de49b.
Solidity: function changeStatus(bool stop) returns()
func (*TweetVoteTransactor) MigrateTweetOwner ¶ added in v1.0.1
func (_TweetVote *TweetVoteTransactor) MigrateTweetOwner(opts *bind.TransactOpts, tweetHashs [][32]byte, newOwner common.Address) (*types.Transaction, error)
MigrateTweetOwner is a paid mutator transaction binding the contract method 0xf8cc9bac.
Solidity: function migrateTweetOwner(bytes32[] tweetHashs, address newOwner) returns()
func (*TweetVoteTransactor) PublishTweet ¶
func (_TweetVote *TweetVoteTransactor) PublishTweet(opts *bind.TransactOpts, hash [32]byte, signature []byte) (*types.Transaction, error)
PublishTweet is a paid mutator transaction binding the contract method 0x4bf8d46f.
Solidity: function publishTweet(bytes32 hash, bytes signature) payable returns()
func (*TweetVoteTransactor) Receive ¶
func (_TweetVote *TweetVoteTransactor) Receive(opts *bind.TransactOpts) (*types.Transaction, error)
Receive is a paid mutator transaction binding the contract receive function.
Solidity: receive() payable returns()
func (*TweetVoteTransactor) VoteToTweets ¶
func (_TweetVote *TweetVoteTransactor) VoteToTweets(opts *bind.TransactOpts, tweetHash [32]byte, voteNo *big.Int) (*types.Transaction, error)
VoteToTweets is a paid mutator transaction binding the contract method 0x4e7da0e8.
Solidity: function voteToTweets(bytes32 tweetHash, uint256 voteNo) payable returns()
func (*TweetVoteTransactor) Withdraw ¶
func (_TweetVote *TweetVoteTransactor) Withdraw(opts *bind.TransactOpts, amount *big.Int, all bool) (*types.Transaction, error)
Withdraw is a paid mutator transaction binding the contract method 0x38d07436.
Solidity: function withdraw(uint256 amount, bool all) returns()
type TweetVoteTransactorRaw ¶
type TweetVoteTransactorRaw struct {
Contract *TweetVoteTransactor // Generic write-only contract binding to access the raw methods on
}
TweetVoteTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*TweetVoteTransactorRaw) Transact ¶
func (_TweetVote *TweetVoteTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*TweetVoteTransactorRaw) Transfer ¶
func (_TweetVote *TweetVoteTransactorRaw) 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 TweetVoteTransactorSession ¶
type TweetVoteTransactorSession struct { Contract *TweetVoteTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
TweetVoteTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*TweetVoteTransactorSession) AdminChangeKolKeyRate ¶ added in v1.0.1
func (_TweetVote *TweetVoteTransactorSession) AdminChangeKolKeyRate(newRate uint8) (*types.Transaction, error)
AdminChangeKolKeyRate is a paid mutator transaction binding the contract method 0x82580978.
Solidity: function adminChangeKolKeyRate(uint8 newRate) returns()
func (*TweetVoteTransactorSession) AdminOperation ¶
func (_TweetVote *TweetVoteTransactorSession) AdminOperation(admin common.Address, isDelete bool) (*types.Transaction, error)
AdminOperation is a paid mutator transaction binding the contract method 0x2b508fde.
Solidity: function adminOperation(address admin, bool isDelete) returns()
func (*TweetVoteTransactorSession) AdminServiceFeeWithdraw ¶
func (_TweetVote *TweetVoteTransactorSession) AdminServiceFeeWithdraw() (*types.Transaction, error)
AdminServiceFeeWithdraw is a paid mutator transaction binding the contract method 0x615f54a1.
Solidity: function adminServiceFeeWithdraw() returns()
func (*TweetVoteTransactorSession) AdminSetGameContract ¶ added in v1.0.1
func (_TweetVote *TweetVoteTransactorSession) AdminSetGameContract(newGameAddr common.Address) (*types.Transaction, error)
AdminSetGameContract is a paid mutator transaction binding the contract method 0xeb54be2a.
Solidity: function adminSetGameContract(address newGameAddr) returns()
func (*TweetVoteTransactorSession) AdminSetKolIncomePerTweetRate ¶
func (_TweetVote *TweetVoteTransactorSession) AdminSetKolIncomePerTweetRate(newRate uint8) (*types.Transaction, error)
AdminSetKolIncomePerTweetRate is a paid mutator transaction binding the contract method 0xa1cd090a.
Solidity: function adminSetKolIncomePerTweetRate(uint8 newRate) returns()
func (*TweetVoteTransactorSession) AdminSetKolKeyContract ¶ added in v1.0.1
func (_TweetVote *TweetVoteTransactorSession) AdminSetKolKeyContract(newKolContract common.Address) (*types.Transaction, error)
AdminSetKolKeyContract is a paid mutator transaction binding the contract method 0x23266c86.
Solidity: function adminSetKolKeyContract(address newKolContract) returns()
func (*TweetVoteTransactorSession) AdminSetMaxVotePerTweet ¶
func (_TweetVote *TweetVoteTransactorSession) AdminSetMaxVotePerTweet(newMaxVote *big.Int) (*types.Transaction, error)
AdminSetMaxVotePerTweet is a paid mutator transaction binding the contract method 0x489e2590.
Solidity: function adminSetMaxVotePerTweet(uint256 newMaxVote) returns()
func (*TweetVoteTransactorSession) AdminSetServiceFeeRateForPerTweetVote ¶
func (_TweetVote *TweetVoteTransactorSession) AdminSetServiceFeeRateForPerTweetVote(newRate uint8) (*types.Transaction, error)
AdminSetServiceFeeRateForPerTweetVote is a paid mutator transaction binding the contract method 0xcef8e395.
Solidity: function adminSetServiceFeeRateForPerTweetVote(uint8 newRate) returns()
func (*TweetVoteTransactorSession) AdminSetTweetPostPrice ¶
func (_TweetVote *TweetVoteTransactorSession) AdminSetTweetPostPrice(newPriceInFinney *big.Int) (*types.Transaction, error)
AdminSetTweetPostPrice is a paid mutator transaction binding the contract method 0xf7d58241.
Solidity: function adminSetTweetPostPrice(uint256 newPriceInFinney) returns()
func (*TweetVoteTransactorSession) AdminSetTweetVotePrice ¶
func (_TweetVote *TweetVoteTransactorSession) AdminSetTweetVotePrice(newPriceInFinney *big.Int) (*types.Transaction, error)
AdminSetTweetVotePrice is a paid mutator transaction binding the contract method 0x1a25d1c0.
Solidity: function adminSetTweetVotePrice(uint256 newPriceInFinney) returns()
func (*TweetVoteTransactorSession) AdminSetWithdrawFeeRate ¶
func (_TweetVote *TweetVoteTransactorSession) AdminSetWithdrawFeeRate(newRate uint8) (*types.Transaction, error)
AdminSetWithdrawFeeRate is a paid mutator transaction binding the contract method 0x94c681d6.
Solidity: function adminSetWithdrawFeeRate(uint8 newRate) returns()
func (*TweetVoteTransactorSession) AdminStopKolKey ¶ added in v1.0.1
func (_TweetVote *TweetVoteTransactorSession) AdminStopKolKey(stop bool) (*types.Transaction, error)
AdminStopKolKey is a paid mutator transaction binding the contract method 0x6b6f28b7.
Solidity: function adminStopKolKey(bool stop) returns()
func (*TweetVoteTransactorSession) AdminStopPlugin ¶
func (_TweetVote *TweetVoteTransactorSession) AdminStopPlugin(stop bool) (*types.Transaction, error)
AdminStopPlugin is a paid mutator transaction binding the contract method 0x24a5834e.
Solidity: function adminStopPlugin(bool stop) returns()
func (*TweetVoteTransactorSession) AdminUpgradeToNewRule ¶
func (_TweetVote *TweetVoteTransactorSession) AdminUpgradeToNewRule(recipient common.Address) (*types.Transaction, error)
AdminUpgradeToNewRule is a paid mutator transaction binding the contract method 0xc75539d1.
Solidity: function adminUpgradeToNewRule(address recipient) returns()
func (*TweetVoteTransactorSession) ChangeOwner ¶
func (_TweetVote *TweetVoteTransactorSession) ChangeOwner(newOwner common.Address) (*types.Transaction, error)
ChangeOwner is a paid mutator transaction binding the contract method 0xa6f9dae1.
Solidity: function changeOwner(address newOwner) returns()
func (*TweetVoteTransactorSession) ChangeStatus ¶ added in v1.0.1
func (_TweetVote *TweetVoteTransactorSession) ChangeStatus(stop bool) (*types.Transaction, error)
ChangeStatus is a paid mutator transaction binding the contract method 0x9b3de49b.
Solidity: function changeStatus(bool stop) returns()
func (*TweetVoteTransactorSession) MigrateTweetOwner ¶ added in v1.0.1
func (_TweetVote *TweetVoteTransactorSession) MigrateTweetOwner(tweetHashs [][32]byte, newOwner common.Address) (*types.Transaction, error)
MigrateTweetOwner is a paid mutator transaction binding the contract method 0xf8cc9bac.
Solidity: function migrateTweetOwner(bytes32[] tweetHashs, address newOwner) returns()
func (*TweetVoteTransactorSession) PublishTweet ¶
func (_TweetVote *TweetVoteTransactorSession) PublishTweet(hash [32]byte, signature []byte) (*types.Transaction, error)
PublishTweet is a paid mutator transaction binding the contract method 0x4bf8d46f.
Solidity: function publishTweet(bytes32 hash, bytes signature) payable returns()
func (*TweetVoteTransactorSession) Receive ¶
func (_TweetVote *TweetVoteTransactorSession) Receive() (*types.Transaction, error)
Receive is a paid mutator transaction binding the contract receive function.
Solidity: receive() payable returns()
func (*TweetVoteTransactorSession) VoteToTweets ¶
func (_TweetVote *TweetVoteTransactorSession) VoteToTweets(tweetHash [32]byte, voteNo *big.Int) (*types.Transaction, error)
VoteToTweets is a paid mutator transaction binding the contract method 0x4e7da0e8.
Solidity: function voteToTweets(bytes32 tweetHash, uint256 voteNo) payable returns()
func (*TweetVoteTransactorSession) Withdraw ¶
func (_TweetVote *TweetVoteTransactorSession) Withdraw(amount *big.Int, all bool) (*types.Transaction, error)
Withdraw is a paid mutator transaction binding the contract method 0x38d07436.
Solidity: function withdraw(uint256 amount, bool all) returns()
type TweetVoteTweetPublished ¶
type TweetVoteTweetPublished struct { From common.Address TweetHash [32]byte Raw types.Log // Blockchain specific contextual infos }
TweetVoteTweetPublished represents a TweetPublished event raised by the TweetVote contract.
type TweetVoteTweetPublishedIterator ¶
type TweetVoteTweetPublishedIterator struct { Event *TweetVoteTweetPublished // Event containing the contract specifics and raw log // contains filtered or unexported fields }
TweetVoteTweetPublishedIterator is returned from FilterTweetPublished and is used to iterate over the raw logs and unpacked data for TweetPublished events raised by the TweetVote contract.
func (*TweetVoteTweetPublishedIterator) Close ¶
func (it *TweetVoteTweetPublishedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*TweetVoteTweetPublishedIterator) Error ¶
func (it *TweetVoteTweetPublishedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*TweetVoteTweetPublishedIterator) Next ¶
func (it *TweetVoteTweetPublishedIterator) 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 TweetVoteTweetVoted ¶
type TweetVoteTweetVoted struct { TweetHash [32]byte Voter common.Address PricePerVote *big.Int VoteNo *big.Int Raw types.Log // Blockchain specific contextual infos }
TweetVoteTweetVoted represents a TweetVoted event raised by the TweetVote contract.
type TweetVoteTweetVotedIterator ¶
type TweetVoteTweetVotedIterator struct { Event *TweetVoteTweetVoted // Event containing the contract specifics and raw log // contains filtered or unexported fields }
TweetVoteTweetVotedIterator is returned from FilterTweetVoted and is used to iterate over the raw logs and unpacked data for TweetVoted events raised by the TweetVote contract.
func (*TweetVoteTweetVotedIterator) Close ¶
func (it *TweetVoteTweetVotedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*TweetVoteTweetVotedIterator) Error ¶
func (it *TweetVoteTweetVotedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*TweetVoteTweetVotedIterator) Next ¶
func (it *TweetVoteTweetVotedIterator) 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 TweetVoteUpgradeToNewRule ¶
type TweetVoteUpgradeToNewRule struct { NewContract common.Address Balance *big.Int Raw types.Log // Blockchain specific contextual infos }
TweetVoteUpgradeToNewRule represents a UpgradeToNewRule event raised by the TweetVote contract.
type TweetVoteUpgradeToNewRuleIterator ¶
type TweetVoteUpgradeToNewRuleIterator struct { Event *TweetVoteUpgradeToNewRule // Event containing the contract specifics and raw log // contains filtered or unexported fields }
TweetVoteUpgradeToNewRuleIterator is returned from FilterUpgradeToNewRule and is used to iterate over the raw logs and unpacked data for UpgradeToNewRule events raised by the TweetVote contract.
func (*TweetVoteUpgradeToNewRuleIterator) Close ¶
func (it *TweetVoteUpgradeToNewRuleIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*TweetVoteUpgradeToNewRuleIterator) Error ¶
func (it *TweetVoteUpgradeToNewRuleIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*TweetVoteUpgradeToNewRuleIterator) Next ¶
func (it *TweetVoteUpgradeToNewRuleIterator) 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 TweetVoteWithdrawService ¶
type TweetVoteWithdrawService struct { Owner common.Address Balance *big.Int Raw types.Log // Blockchain specific contextual infos }
TweetVoteWithdrawService represents a WithdrawService event raised by the TweetVote contract.
type TweetVoteWithdrawServiceIterator ¶
type TweetVoteWithdrawServiceIterator struct { Event *TweetVoteWithdrawService // Event containing the contract specifics and raw log // contains filtered or unexported fields }
TweetVoteWithdrawServiceIterator is returned from FilterWithdrawService and is used to iterate over the raw logs and unpacked data for WithdrawService events raised by the TweetVote contract.
func (*TweetVoteWithdrawServiceIterator) Close ¶
func (it *TweetVoteWithdrawServiceIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*TweetVoteWithdrawServiceIterator) Error ¶
func (it *TweetVoteWithdrawServiceIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*TweetVoteWithdrawServiceIterator) Next ¶
func (it *TweetVoteWithdrawServiceIterator) 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.