Documentation ¶
Index ¶
- Constants
- type Controller
- type ControllerCaller
- func (_Controller *ControllerCaller) CircuitBreaker(opts *bind.CallOpts) (common.Address, error)
- func (_Controller *ControllerCaller) CirculatingMarketCapOracle(opts *bind.CallOpts) (common.Address, error)
- func (_Controller *ControllerCaller) ComputeInitializerAddress(opts *bind.CallOpts, poolAddress common.Address) (common.Address, error)
- func (_Controller *ControllerCaller) ComputePoolAddress(opts *bind.CallOpts, listID *big.Int, indexSize *big.Int) (common.Address, error)
- func (_Controller *ControllerCaller) ComputeSellerAddress(opts *bind.CallOpts, poolAddress common.Address) (common.Address, error)
- func (_Controller *ControllerCaller) DefaultExitFeeRecipient(opts *bind.CallOpts) (common.Address, error)
- func (_Controller *ControllerCaller) DefaultSellerPremium(opts *bind.CallOpts) (uint8, error)
- func (_Controller *ControllerCaller) GetInitialTokensAndBalances(opts *bind.CallOpts, listID *big.Int, indexSize *big.Int, wethValue *big.Int) (struct{ ... }, error)
- func (_Controller *ControllerCaller) GetSortedAndFilteredTokensAndScores(opts *bind.CallOpts, listID *big.Int) (struct{ ... }, error)
- func (_Controller *ControllerCaller) GetTokenList(opts *bind.CallOpts, listID *big.Int) ([]common.Address, error)
- func (_Controller *ControllerCaller) GetTokenListConfig(opts *bind.CallOpts, listID *big.Int) (struct{ ... }, error)
- func (_Controller *ControllerCaller) GetTokenScores(opts *bind.CallOpts, listID *big.Int, tokens []common.Address) ([]*big.Int, error)
- func (_Controller *ControllerCaller) GetTopTokensAndScores(opts *bind.CallOpts, listID *big.Int, count *big.Int) (struct{ ... }, error)
- func (_Controller *ControllerCaller) INITIALIZERIMPLEMENTATIONID(opts *bind.CallOpts) ([32]byte, error)
- func (_Controller *ControllerCaller) IndexPoolMetadata(opts *bind.CallOpts, arg0 common.Address) (struct{ ... }, error)
- func (_Controller *ControllerCaller) IsTokenInlist(opts *bind.CallOpts, listID *big.Int, token common.Address) (bool, error)
- func (_Controller *ControllerCaller) MAXINDEXSIZE(opts *bind.CallOpts) (*big.Int, error)
- func (_Controller *ControllerCaller) MAXLISTTOKENS(opts *bind.CallOpts) (*big.Int, error)
- func (_Controller *ControllerCaller) MINBALANCE(opts *bind.CallOpts) (*big.Int, error)
- func (_Controller *ControllerCaller) MININDEXSIZE(opts *bind.CallOpts) (*big.Int, error)
- func (_Controller *ControllerCaller) Owner(opts *bind.CallOpts) (common.Address, error)
- func (_Controller *ControllerCaller) POOLIMPLEMENTATIONID(opts *bind.CallOpts) ([32]byte, error)
- func (_Controller *ControllerCaller) POOLREWEIGHDELAY(opts *bind.CallOpts) (*big.Int, error)
- func (_Controller *ControllerCaller) PoolFactory(opts *bind.CallOpts) (common.Address, error)
- func (_Controller *ControllerCaller) ProxyManager(opts *bind.CallOpts) (common.Address, error)
- func (_Controller *ControllerCaller) REWEIGHSBEFOREREINDEX(opts *bind.CallOpts) (uint8, error)
- func (_Controller *ControllerCaller) SELLERIMPLEMENTATIONID(opts *bind.CallOpts) ([32]byte, error)
- func (_Controller *ControllerCaller) SHORTTWAPMAXTIMEELAPSED(opts *bind.CallOpts) (uint32, error)
- func (_Controller *ControllerCaller) SHORTTWAPMINTIMEELAPSED(opts *bind.CallOpts) (uint32, error)
- func (_Controller *ControllerCaller) TokenListCount(opts *bind.CallOpts) (*big.Int, error)
- func (_Controller *ControllerCaller) UniswapOracle(opts *bind.CallOpts) (common.Address, error)
- type ControllerCallerRaw
- type ControllerCallerSession
- func (_Controller *ControllerCallerSession) CircuitBreaker() (common.Address, error)
- func (_Controller *ControllerCallerSession) CirculatingMarketCapOracle() (common.Address, error)
- func (_Controller *ControllerCallerSession) ComputeInitializerAddress(poolAddress common.Address) (common.Address, error)
- func (_Controller *ControllerCallerSession) ComputePoolAddress(listID *big.Int, indexSize *big.Int) (common.Address, error)
- func (_Controller *ControllerCallerSession) ComputeSellerAddress(poolAddress common.Address) (common.Address, error)
- func (_Controller *ControllerCallerSession) DefaultExitFeeRecipient() (common.Address, error)
- func (_Controller *ControllerCallerSession) DefaultSellerPremium() (uint8, error)
- func (_Controller *ControllerCallerSession) GetInitialTokensAndBalances(listID *big.Int, indexSize *big.Int, wethValue *big.Int) (struct{ ... }, error)
- func (_Controller *ControllerCallerSession) GetSortedAndFilteredTokensAndScores(listID *big.Int) (struct{ ... }, error)
- func (_Controller *ControllerCallerSession) GetTokenList(listID *big.Int) ([]common.Address, error)
- func (_Controller *ControllerCallerSession) GetTokenListConfig(listID *big.Int) (struct{ ... }, error)
- func (_Controller *ControllerCallerSession) GetTokenScores(listID *big.Int, tokens []common.Address) ([]*big.Int, error)
- func (_Controller *ControllerCallerSession) GetTopTokensAndScores(listID *big.Int, count *big.Int) (struct{ ... }, error)
- func (_Controller *ControllerCallerSession) INITIALIZERIMPLEMENTATIONID() ([32]byte, error)
- func (_Controller *ControllerCallerSession) IndexPoolMetadata(arg0 common.Address) (struct{ ... }, error)
- func (_Controller *ControllerCallerSession) IsTokenInlist(listID *big.Int, token common.Address) (bool, error)
- func (_Controller *ControllerCallerSession) MAXINDEXSIZE() (*big.Int, error)
- func (_Controller *ControllerCallerSession) MAXLISTTOKENS() (*big.Int, error)
- func (_Controller *ControllerCallerSession) MINBALANCE() (*big.Int, error)
- func (_Controller *ControllerCallerSession) MININDEXSIZE() (*big.Int, error)
- func (_Controller *ControllerCallerSession) Owner() (common.Address, error)
- func (_Controller *ControllerCallerSession) POOLIMPLEMENTATIONID() ([32]byte, error)
- func (_Controller *ControllerCallerSession) POOLREWEIGHDELAY() (*big.Int, error)
- func (_Controller *ControllerCallerSession) PoolFactory() (common.Address, error)
- func (_Controller *ControllerCallerSession) ProxyManager() (common.Address, error)
- func (_Controller *ControllerCallerSession) REWEIGHSBEFOREREINDEX() (uint8, error)
- func (_Controller *ControllerCallerSession) SELLERIMPLEMENTATIONID() ([32]byte, error)
- func (_Controller *ControllerCallerSession) SHORTTWAPMAXTIMEELAPSED() (uint32, error)
- func (_Controller *ControllerCallerSession) SHORTTWAPMINTIMEELAPSED() (uint32, error)
- func (_Controller *ControllerCallerSession) TokenListCount() (*big.Int, error)
- func (_Controller *ControllerCallerSession) UniswapOracle() (common.Address, error)
- type ControllerFilterer
- func (_Controller *ControllerFilterer) FilterNewPoolInitializer(opts *bind.FilterOpts) (*ControllerNewPoolInitializerIterator, error)
- func (_Controller *ControllerFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, ...) (*ControllerOwnershipTransferredIterator, error)
- func (_Controller *ControllerFilterer) FilterPoolInitialized(opts *bind.FilterOpts) (*ControllerPoolInitializedIterator, error)
- func (_Controller *ControllerFilterer) FilterTokenAdded(opts *bind.FilterOpts) (*ControllerTokenAddedIterator, error)
- func (_Controller *ControllerFilterer) FilterTokenListAdded(opts *bind.FilterOpts) (*ControllerTokenListAddedIterator, error)
- func (_Controller *ControllerFilterer) FilterTokenListSorted(opts *bind.FilterOpts) (*ControllerTokenListSortedIterator, error)
- func (_Controller *ControllerFilterer) FilterTokenRemoved(opts *bind.FilterOpts) (*ControllerTokenRemovedIterator, error)
- func (_Controller *ControllerFilterer) ParseNewPoolInitializer(log types.Log) (*ControllerNewPoolInitializer, error)
- func (_Controller *ControllerFilterer) ParseOwnershipTransferred(log types.Log) (*ControllerOwnershipTransferred, error)
- func (_Controller *ControllerFilterer) ParsePoolInitialized(log types.Log) (*ControllerPoolInitialized, error)
- func (_Controller *ControllerFilterer) ParseTokenAdded(log types.Log) (*ControllerTokenAdded, error)
- func (_Controller *ControllerFilterer) ParseTokenListAdded(log types.Log) (*ControllerTokenListAdded, error)
- func (_Controller *ControllerFilterer) ParseTokenListSorted(log types.Log) (*ControllerTokenListSorted, error)
- func (_Controller *ControllerFilterer) ParseTokenRemoved(log types.Log) (*ControllerTokenRemoved, error)
- func (_Controller *ControllerFilterer) WatchNewPoolInitializer(opts *bind.WatchOpts, sink chan<- *ControllerNewPoolInitializer) (event.Subscription, error)
- func (_Controller *ControllerFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *ControllerOwnershipTransferred, ...) (event.Subscription, error)
- func (_Controller *ControllerFilterer) WatchPoolInitialized(opts *bind.WatchOpts, sink chan<- *ControllerPoolInitialized) (event.Subscription, error)
- func (_Controller *ControllerFilterer) WatchTokenAdded(opts *bind.WatchOpts, sink chan<- *ControllerTokenAdded) (event.Subscription, error)
- func (_Controller *ControllerFilterer) WatchTokenListAdded(opts *bind.WatchOpts, sink chan<- *ControllerTokenListAdded) (event.Subscription, error)
- func (_Controller *ControllerFilterer) WatchTokenListSorted(opts *bind.WatchOpts, sink chan<- *ControllerTokenListSorted) (event.Subscription, error)
- func (_Controller *ControllerFilterer) WatchTokenRemoved(opts *bind.WatchOpts, sink chan<- *ControllerTokenRemoved) (event.Subscription, error)
- type ControllerNewPoolInitializer
- type ControllerNewPoolInitializerIterator
- type ControllerOwnershipTransferred
- type ControllerOwnershipTransferredIterator
- type ControllerPoolInitialized
- type ControllerPoolInitializedIterator
- type ControllerRaw
- func (_Controller *ControllerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_Controller *ControllerRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_Controller *ControllerRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type ControllerSession
- func (_Controller *ControllerSession) AddToken(listID *big.Int, token common.Address) (*types.Transaction, error)
- func (_Controller *ControllerSession) AddTokens(listID *big.Int, tokens []common.Address) (*types.Transaction, error)
- func (_Controller *ControllerSession) CircuitBreaker() (common.Address, error)
- func (_Controller *ControllerSession) CirculatingMarketCapOracle() (common.Address, error)
- func (_Controller *ControllerSession) ComputeInitializerAddress(poolAddress common.Address) (common.Address, error)
- func (_Controller *ControllerSession) ComputePoolAddress(listID *big.Int, indexSize *big.Int) (common.Address, error)
- func (_Controller *ControllerSession) ComputeSellerAddress(poolAddress common.Address) (common.Address, error)
- func (_Controller *ControllerSession) CreateTokenList(metadataHash [32]byte, scoringStrategy common.Address, minimumScore *big.Int, ...) (*types.Transaction, error)
- func (_Controller *ControllerSession) DefaultExitFeeRecipient() (common.Address, error)
- func (_Controller *ControllerSession) DefaultSellerPremium() (uint8, error)
- func (_Controller *ControllerSession) DelegateCompLikeTokenFromPool(pool common.Address, token common.Address, delegatee common.Address) (*types.Transaction, error)
- func (_Controller *ControllerSession) FinishPreparedIndexPool(poolAddress common.Address, tokens []common.Address, balances []*big.Int) (*types.Transaction, error)
- func (_Controller *ControllerSession) ForceReindexPool(poolAddress common.Address) (*types.Transaction, error)
- func (_Controller *ControllerSession) GetInitialTokensAndBalances(listID *big.Int, indexSize *big.Int, wethValue *big.Int) (struct{ ... }, error)
- func (_Controller *ControllerSession) GetSortedAndFilteredTokensAndScores(listID *big.Int) (struct{ ... }, error)
- func (_Controller *ControllerSession) GetTokenList(listID *big.Int) ([]common.Address, error)
- func (_Controller *ControllerSession) GetTokenListConfig(listID *big.Int) (struct{ ... }, error)
- func (_Controller *ControllerSession) GetTokenScores(listID *big.Int, tokens []common.Address) ([]*big.Int, error)
- func (_Controller *ControllerSession) GetTopTokensAndScores(listID *big.Int, count *big.Int) (struct{ ... }, error)
- func (_Controller *ControllerSession) INITIALIZERIMPLEMENTATIONID() ([32]byte, error)
- func (_Controller *ControllerSession) IndexPoolMetadata(arg0 common.Address) (struct{ ... }, error)
- func (_Controller *ControllerSession) Initialize() (*types.Transaction, error)
- func (_Controller *ControllerSession) Initialize0(circuitBreaker_ common.Address) (*types.Transaction, error)
- func (_Controller *ControllerSession) IsTokenInlist(listID *big.Int, token common.Address) (bool, error)
- func (_Controller *ControllerSession) MAXINDEXSIZE() (*big.Int, error)
- func (_Controller *ControllerSession) MAXLISTTOKENS() (*big.Int, error)
- func (_Controller *ControllerSession) MINBALANCE() (*big.Int, error)
- func (_Controller *ControllerSession) MININDEXSIZE() (*big.Int, error)
- func (_Controller *ControllerSession) Owner() (common.Address, error)
- func (_Controller *ControllerSession) POOLIMPLEMENTATIONID() ([32]byte, error)
- func (_Controller *ControllerSession) POOLREWEIGHDELAY() (*big.Int, error)
- func (_Controller *ControllerSession) PoolFactory() (common.Address, error)
- func (_Controller *ControllerSession) PrepareIndexPool(listID *big.Int, indexSize *big.Int, initialWethValue *big.Int, name string, ...) (*types.Transaction, error)
- func (_Controller *ControllerSession) ProxyManager() (common.Address, error)
- func (_Controller *ControllerSession) REWEIGHSBEFOREREINDEX() (uint8, error)
- func (_Controller *ControllerSession) ReindexPool(poolAddress common.Address) (*types.Transaction, error)
- func (_Controller *ControllerSession) RemoveToken(listID *big.Int, token common.Address) (*types.Transaction, error)
- func (_Controller *ControllerSession) RenounceOwnership() (*types.Transaction, error)
- func (_Controller *ControllerSession) ReweighPool(poolAddress common.Address) (*types.Transaction, error)
- func (_Controller *ControllerSession) SELLERIMPLEMENTATIONID() ([32]byte, error)
- func (_Controller *ControllerSession) SHORTTWAPMAXTIMEELAPSED() (uint32, error)
- func (_Controller *ControllerSession) SHORTTWAPMINTIMEELAPSED() (uint32, error)
- func (_Controller *ControllerSession) SetCircuitBreaker(circuitBreaker_ common.Address) (*types.Transaction, error)
- func (_Controller *ControllerSession) SetDefaultSellerPremium(_defaultSellerPremium uint8) (*types.Transaction, error)
- func (_Controller *ControllerSession) SetPublicSwap(indexPool_ common.Address, publicSwap bool) (*types.Transaction, error)
- func (_Controller *ControllerSession) SetSwapFee(poolAddress common.Address, swapFee *big.Int) (*types.Transaction, error)
- func (_Controller *ControllerSession) SortAndFilterTokens(listID *big.Int) (*types.Transaction, error)
- func (_Controller *ControllerSession) TokenListCount() (*big.Int, error)
- func (_Controller *ControllerSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
- func (_Controller *ControllerSession) UniswapOracle() (common.Address, error)
- func (_Controller *ControllerSession) UpdateMinimumBalance(pool common.Address, tokenAddress common.Address) (*types.Transaction, error)
- func (_Controller *ControllerSession) UpdateSellerPremium(tokenSeller common.Address, premiumPercent uint8) (*types.Transaction, error)
- func (_Controller *ControllerSession) UpdateTokenPrices(listID *big.Int) (*types.Transaction, error)
- type ControllerTokenAdded
- type ControllerTokenAddedIterator
- type ControllerTokenListAdded
- type ControllerTokenListAddedIterator
- type ControllerTokenListSorted
- type ControllerTokenListSortedIterator
- type ControllerTokenRemoved
- type ControllerTokenRemovedIterator
- type ControllerTransactor
- func (_Controller *ControllerTransactor) AddToken(opts *bind.TransactOpts, listID *big.Int, token common.Address) (*types.Transaction, error)
- func (_Controller *ControllerTransactor) AddTokens(opts *bind.TransactOpts, listID *big.Int, tokens []common.Address) (*types.Transaction, error)
- func (_Controller *ControllerTransactor) CreateTokenList(opts *bind.TransactOpts, metadataHash [32]byte, scoringStrategy common.Address, ...) (*types.Transaction, error)
- func (_Controller *ControllerTransactor) DelegateCompLikeTokenFromPool(opts *bind.TransactOpts, pool common.Address, token common.Address, ...) (*types.Transaction, error)
- func (_Controller *ControllerTransactor) FinishPreparedIndexPool(opts *bind.TransactOpts, poolAddress common.Address, tokens []common.Address, ...) (*types.Transaction, error)
- func (_Controller *ControllerTransactor) ForceReindexPool(opts *bind.TransactOpts, poolAddress common.Address) (*types.Transaction, error)
- func (_Controller *ControllerTransactor) Initialize(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_Controller *ControllerTransactor) Initialize0(opts *bind.TransactOpts, circuitBreaker_ common.Address) (*types.Transaction, error)
- func (_Controller *ControllerTransactor) PrepareIndexPool(opts *bind.TransactOpts, listID *big.Int, indexSize *big.Int, ...) (*types.Transaction, error)
- func (_Controller *ControllerTransactor) ReindexPool(opts *bind.TransactOpts, poolAddress common.Address) (*types.Transaction, error)
- func (_Controller *ControllerTransactor) RemoveToken(opts *bind.TransactOpts, listID *big.Int, token common.Address) (*types.Transaction, error)
- func (_Controller *ControllerTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_Controller *ControllerTransactor) ReweighPool(opts *bind.TransactOpts, poolAddress common.Address) (*types.Transaction, error)
- func (_Controller *ControllerTransactor) SetCircuitBreaker(opts *bind.TransactOpts, circuitBreaker_ common.Address) (*types.Transaction, error)
- func (_Controller *ControllerTransactor) SetDefaultSellerPremium(opts *bind.TransactOpts, _defaultSellerPremium uint8) (*types.Transaction, error)
- func (_Controller *ControllerTransactor) SetPublicSwap(opts *bind.TransactOpts, indexPool_ common.Address, publicSwap bool) (*types.Transaction, error)
- func (_Controller *ControllerTransactor) SetSwapFee(opts *bind.TransactOpts, poolAddress common.Address, swapFee *big.Int) (*types.Transaction, error)
- func (_Controller *ControllerTransactor) SortAndFilterTokens(opts *bind.TransactOpts, listID *big.Int) (*types.Transaction, error)
- func (_Controller *ControllerTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)
- func (_Controller *ControllerTransactor) UpdateMinimumBalance(opts *bind.TransactOpts, pool common.Address, tokenAddress common.Address) (*types.Transaction, error)
- func (_Controller *ControllerTransactor) UpdateSellerPremium(opts *bind.TransactOpts, tokenSeller common.Address, premiumPercent uint8) (*types.Transaction, error)
- func (_Controller *ControllerTransactor) UpdateTokenPrices(opts *bind.TransactOpts, listID *big.Int) (*types.Transaction, error)
- type ControllerTransactorRaw
- type ControllerTransactorSession
- func (_Controller *ControllerTransactorSession) AddToken(listID *big.Int, token common.Address) (*types.Transaction, error)
- func (_Controller *ControllerTransactorSession) AddTokens(listID *big.Int, tokens []common.Address) (*types.Transaction, error)
- func (_Controller *ControllerTransactorSession) CreateTokenList(metadataHash [32]byte, scoringStrategy common.Address, minimumScore *big.Int, ...) (*types.Transaction, error)
- func (_Controller *ControllerTransactorSession) DelegateCompLikeTokenFromPool(pool common.Address, token common.Address, delegatee common.Address) (*types.Transaction, error)
- func (_Controller *ControllerTransactorSession) FinishPreparedIndexPool(poolAddress common.Address, tokens []common.Address, balances []*big.Int) (*types.Transaction, error)
- func (_Controller *ControllerTransactorSession) ForceReindexPool(poolAddress common.Address) (*types.Transaction, error)
- func (_Controller *ControllerTransactorSession) Initialize() (*types.Transaction, error)
- func (_Controller *ControllerTransactorSession) Initialize0(circuitBreaker_ common.Address) (*types.Transaction, error)
- func (_Controller *ControllerTransactorSession) PrepareIndexPool(listID *big.Int, indexSize *big.Int, initialWethValue *big.Int, name string, ...) (*types.Transaction, error)
- func (_Controller *ControllerTransactorSession) ReindexPool(poolAddress common.Address) (*types.Transaction, error)
- func (_Controller *ControllerTransactorSession) RemoveToken(listID *big.Int, token common.Address) (*types.Transaction, error)
- func (_Controller *ControllerTransactorSession) RenounceOwnership() (*types.Transaction, error)
- func (_Controller *ControllerTransactorSession) ReweighPool(poolAddress common.Address) (*types.Transaction, error)
- func (_Controller *ControllerTransactorSession) SetCircuitBreaker(circuitBreaker_ common.Address) (*types.Transaction, error)
- func (_Controller *ControllerTransactorSession) SetDefaultSellerPremium(_defaultSellerPremium uint8) (*types.Transaction, error)
- func (_Controller *ControllerTransactorSession) SetPublicSwap(indexPool_ common.Address, publicSwap bool) (*types.Transaction, error)
- func (_Controller *ControllerTransactorSession) SetSwapFee(poolAddress common.Address, swapFee *big.Int) (*types.Transaction, error)
- func (_Controller *ControllerTransactorSession) SortAndFilterTokens(listID *big.Int) (*types.Transaction, error)
- func (_Controller *ControllerTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
- func (_Controller *ControllerTransactorSession) UpdateMinimumBalance(pool common.Address, tokenAddress common.Address) (*types.Transaction, error)
- func (_Controller *ControllerTransactorSession) UpdateSellerPremium(tokenSeller common.Address, premiumPercent uint8) (*types.Transaction, error)
- func (_Controller *ControllerTransactorSession) UpdateTokenPrices(listID *big.Int) (*types.Transaction, error)
Constants ¶
const ControllerABI = "" /* 16214-byte string literal not displayed */
ControllerABI is the input ABI used to generate the binding from.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Controller ¶
type Controller struct { ControllerCaller // Read-only binding to the contract ControllerTransactor // Write-only binding to the contract ControllerFilterer // Log filterer for contract events }
Controller is an auto generated Go binding around an Ethereum contract.
func NewController ¶
func NewController(address common.Address, backend bind.ContractBackend) (*Controller, error)
NewController creates a new instance of Controller, bound to a specific deployed contract.
type ControllerCaller ¶
type ControllerCaller struct {
// contains filtered or unexported fields
}
ControllerCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewControllerCaller ¶
func NewControllerCaller(address common.Address, caller bind.ContractCaller) (*ControllerCaller, error)
NewControllerCaller creates a new read-only instance of Controller, bound to a specific deployed contract.
func (*ControllerCaller) CircuitBreaker ¶
CircuitBreaker is a free data retrieval call binding the contract method 0x16efd941.
Solidity: function circuitBreaker() view returns(address)
func (*ControllerCaller) CirculatingMarketCapOracle ¶
func (_Controller *ControllerCaller) CirculatingMarketCapOracle(opts *bind.CallOpts) (common.Address, error)
CirculatingMarketCapOracle is a free data retrieval call binding the contract method 0xd600751d.
Solidity: function circulatingMarketCapOracle() view returns(address)
func (*ControllerCaller) ComputeInitializerAddress ¶
func (_Controller *ControllerCaller) ComputeInitializerAddress(opts *bind.CallOpts, poolAddress common.Address) (common.Address, error)
ComputeInitializerAddress is a free data retrieval call binding the contract method 0xfa7c0b5e.
Solidity: function computeInitializerAddress(address poolAddress) view returns(address initializerAddress)
func (*ControllerCaller) ComputePoolAddress ¶
func (_Controller *ControllerCaller) ComputePoolAddress(opts *bind.CallOpts, listID *big.Int, indexSize *big.Int) (common.Address, error)
ComputePoolAddress is a free data retrieval call binding the contract method 0x9dd19a52.
Solidity: function computePoolAddress(uint256 listID, uint256 indexSize) view returns(address poolAddress)
func (*ControllerCaller) ComputeSellerAddress ¶
func (_Controller *ControllerCaller) ComputeSellerAddress(opts *bind.CallOpts, poolAddress common.Address) (common.Address, error)
ComputeSellerAddress is a free data retrieval call binding the contract method 0x582edc9b.
Solidity: function computeSellerAddress(address poolAddress) view returns(address sellerAddress)
func (*ControllerCaller) DefaultExitFeeRecipient ¶
func (_Controller *ControllerCaller) DefaultExitFeeRecipient(opts *bind.CallOpts) (common.Address, error)
DefaultExitFeeRecipient is a free data retrieval call binding the contract method 0xa8eb80ab.
Solidity: function defaultExitFeeRecipient() view returns(address)
func (*ControllerCaller) DefaultSellerPremium ¶
func (_Controller *ControllerCaller) DefaultSellerPremium(opts *bind.CallOpts) (uint8, error)
DefaultSellerPremium is a free data retrieval call binding the contract method 0x372accd2.
Solidity: function defaultSellerPremium() view returns(uint8)
func (*ControllerCaller) GetInitialTokensAndBalances ¶
func (_Controller *ControllerCaller) GetInitialTokensAndBalances(opts *bind.CallOpts, listID *big.Int, indexSize *big.Int, wethValue *big.Int) (struct { Tokens []common.Address Balances []*big.Int }, error)
GetInitialTokensAndBalances is a free data retrieval call binding the contract method 0x774cf0cb.
Solidity: function getInitialTokensAndBalances(uint256 listID, uint256 indexSize, uint256 wethValue) view returns(address[] tokens, uint256[] balances)
func (*ControllerCaller) GetSortedAndFilteredTokensAndScores ¶ added in v0.0.9
func (_Controller *ControllerCaller) GetSortedAndFilteredTokensAndScores(opts *bind.CallOpts, listID *big.Int) (struct { Tokens []common.Address Scores []*big.Int }, error)
GetSortedAndFilteredTokensAndScores is a free data retrieval call binding the contract method 0xf2d75471.
Solidity: function getSortedAndFilteredTokensAndScores(uint256 listID) view returns(address[] tokens, uint256[] scores)
func (*ControllerCaller) GetTokenList ¶ added in v0.0.9
func (_Controller *ControllerCaller) GetTokenList(opts *bind.CallOpts, listID *big.Int) ([]common.Address, error)
GetTokenList is a free data retrieval call binding the contract method 0x41b63bd8.
Solidity: function getTokenList(uint256 listID) view returns(address[] tokens)
func (*ControllerCaller) GetTokenListConfig ¶ added in v0.0.9
func (_Controller *ControllerCaller) GetTokenListConfig(opts *bind.CallOpts, listID *big.Int) (struct { ScoringStrategy common.Address MinimumScore *big.Int MaximumScore *big.Int }, error)
GetTokenListConfig is a free data retrieval call binding the contract method 0x13b75360.
Solidity: function getTokenListConfig(uint256 listID) view returns(address scoringStrategy, uint128 minimumScore, uint128 maximumScore)
func (*ControllerCaller) GetTokenScores ¶ added in v0.0.9
func (_Controller *ControllerCaller) GetTokenScores(opts *bind.CallOpts, listID *big.Int, tokens []common.Address) ([]*big.Int, error)
GetTokenScores is a free data retrieval call binding the contract method 0x297c3430.
Solidity: function getTokenScores(uint256 listID, address[] tokens) view returns(uint256[] scores)
func (*ControllerCaller) GetTopTokensAndScores ¶ added in v0.0.9
func (_Controller *ControllerCaller) GetTopTokensAndScores(opts *bind.CallOpts, listID *big.Int, count *big.Int) (struct { Tokens []common.Address Scores []*big.Int }, error)
GetTopTokensAndScores is a free data retrieval call binding the contract method 0x861a9ec9.
Solidity: function getTopTokensAndScores(uint256 listID, uint256 count) view returns(address[] tokens, uint256[] scores)
func (*ControllerCaller) INITIALIZERIMPLEMENTATIONID ¶
func (_Controller *ControllerCaller) INITIALIZERIMPLEMENTATIONID(opts *bind.CallOpts) ([32]byte, error)
INITIALIZERIMPLEMENTATIONID is a free data retrieval call binding the contract method 0xf52a4f26.
Solidity: function INITIALIZER_IMPLEMENTATION_ID() view returns(bytes32)
func (*ControllerCaller) IndexPoolMetadata ¶
func (_Controller *ControllerCaller) IndexPoolMetadata(opts *bind.CallOpts, arg0 common.Address) (struct { Initialized bool ListID uint16 IndexSize uint8 ReweighIndex uint8 LastReweigh uint64 }, error)
IndexPoolMetadata is a free data retrieval call binding the contract method 0x9dfab092.
Solidity: function indexPoolMetadata(address ) view returns(bool initialized, uint16 listID, uint8 indexSize, uint8 reweighIndex, uint64 lastReweigh)
func (*ControllerCaller) IsTokenInlist ¶ added in v0.0.9
func (_Controller *ControllerCaller) IsTokenInlist(opts *bind.CallOpts, listID *big.Int, token common.Address) (bool, error)
IsTokenInlist is a free data retrieval call binding the contract method 0x8a15f964.
Solidity: function isTokenInlist(uint256 listID, address token) view returns(bool)
func (*ControllerCaller) MAXINDEXSIZE ¶
MAXINDEXSIZE is a free data retrieval call binding the contract method 0xacbfc96d.
Solidity: function MAX_INDEX_SIZE() view returns(uint256)
func (*ControllerCaller) MAXLISTTOKENS ¶ added in v0.0.9
MAXLISTTOKENS is a free data retrieval call binding the contract method 0xec0915c7.
Solidity: function MAX_LIST_TOKENS() view returns(uint256)
func (*ControllerCaller) MINBALANCE ¶
MINBALANCE is a free data retrieval call binding the contract method 0x867378c5.
Solidity: function MIN_BALANCE() view returns(uint256)
func (*ControllerCaller) MININDEXSIZE ¶
MININDEXSIZE is a free data retrieval call binding the contract method 0xb3ec862e.
Solidity: function MIN_INDEX_SIZE() view returns(uint256)
func (*ControllerCaller) Owner ¶
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*ControllerCaller) POOLIMPLEMENTATIONID ¶
func (_Controller *ControllerCaller) POOLIMPLEMENTATIONID(opts *bind.CallOpts) ([32]byte, error)
POOLIMPLEMENTATIONID is a free data retrieval call binding the contract method 0x250436fd.
Solidity: function POOL_IMPLEMENTATION_ID() view returns(bytes32)
func (*ControllerCaller) POOLREWEIGHDELAY ¶
POOLREWEIGHDELAY is a free data retrieval call binding the contract method 0x830b6b0b.
Solidity: function POOL_REWEIGH_DELAY() view returns(uint256)
func (*ControllerCaller) PoolFactory ¶
PoolFactory is a free data retrieval call binding the contract method 0x4219dc40.
Solidity: function poolFactory() view returns(address)
func (*ControllerCaller) ProxyManager ¶
ProxyManager is a free data retrieval call binding the contract method 0x96b4ca70.
Solidity: function proxyManager() view returns(address)
func (*ControllerCaller) REWEIGHSBEFOREREINDEX ¶
func (_Controller *ControllerCaller) REWEIGHSBEFOREREINDEX(opts *bind.CallOpts) (uint8, error)
REWEIGHSBEFOREREINDEX is a free data retrieval call binding the contract method 0x3d89da25.
Solidity: function REWEIGHS_BEFORE_REINDEX() view returns(uint8)
func (*ControllerCaller) SELLERIMPLEMENTATIONID ¶
func (_Controller *ControllerCaller) SELLERIMPLEMENTATIONID(opts *bind.CallOpts) ([32]byte, error)
SELLERIMPLEMENTATIONID is a free data retrieval call binding the contract method 0xc5ea91e1.
Solidity: function SELLER_IMPLEMENTATION_ID() view returns(bytes32)
func (*ControllerCaller) SHORTTWAPMAXTIMEELAPSED ¶
func (_Controller *ControllerCaller) SHORTTWAPMAXTIMEELAPSED(opts *bind.CallOpts) (uint32, error)
SHORTTWAPMAXTIMEELAPSED is a free data retrieval call binding the contract method 0xa34fefdd.
Solidity: function SHORT_TWAP_MAX_TIME_ELAPSED() view returns(uint32)
func (*ControllerCaller) SHORTTWAPMINTIMEELAPSED ¶
func (_Controller *ControllerCaller) SHORTTWAPMINTIMEELAPSED(opts *bind.CallOpts) (uint32, error)
SHORTTWAPMINTIMEELAPSED is a free data retrieval call binding the contract method 0x53304eb9.
Solidity: function SHORT_TWAP_MIN_TIME_ELAPSED() view returns(uint32)
func (*ControllerCaller) TokenListCount ¶ added in v0.0.9
TokenListCount is a free data retrieval call binding the contract method 0xa43ad7e7.
Solidity: function tokenListCount() view returns(uint256)
func (*ControllerCaller) UniswapOracle ¶
UniswapOracle is a free data retrieval call binding the contract method 0x120c6c5b.
Solidity: function uniswapOracle() view returns(address)
type ControllerCallerRaw ¶
type ControllerCallerRaw struct {
Contract *ControllerCaller // Generic read-only contract binding to access the raw methods on
}
ControllerCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*ControllerCallerRaw) Call ¶
func (_Controller *ControllerCallerRaw) 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 ControllerCallerSession ¶
type ControllerCallerSession struct { Contract *ControllerCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
ControllerCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*ControllerCallerSession) CircuitBreaker ¶
func (_Controller *ControllerCallerSession) CircuitBreaker() (common.Address, error)
CircuitBreaker is a free data retrieval call binding the contract method 0x16efd941.
Solidity: function circuitBreaker() view returns(address)
func (*ControllerCallerSession) CirculatingMarketCapOracle ¶
func (_Controller *ControllerCallerSession) CirculatingMarketCapOracle() (common.Address, error)
CirculatingMarketCapOracle is a free data retrieval call binding the contract method 0xd600751d.
Solidity: function circulatingMarketCapOracle() view returns(address)
func (*ControllerCallerSession) ComputeInitializerAddress ¶
func (_Controller *ControllerCallerSession) ComputeInitializerAddress(poolAddress common.Address) (common.Address, error)
ComputeInitializerAddress is a free data retrieval call binding the contract method 0xfa7c0b5e.
Solidity: function computeInitializerAddress(address poolAddress) view returns(address initializerAddress)
func (*ControllerCallerSession) ComputePoolAddress ¶
func (_Controller *ControllerCallerSession) ComputePoolAddress(listID *big.Int, indexSize *big.Int) (common.Address, error)
ComputePoolAddress is a free data retrieval call binding the contract method 0x9dd19a52.
Solidity: function computePoolAddress(uint256 listID, uint256 indexSize) view returns(address poolAddress)
func (*ControllerCallerSession) ComputeSellerAddress ¶
func (_Controller *ControllerCallerSession) ComputeSellerAddress(poolAddress common.Address) (common.Address, error)
ComputeSellerAddress is a free data retrieval call binding the contract method 0x582edc9b.
Solidity: function computeSellerAddress(address poolAddress) view returns(address sellerAddress)
func (*ControllerCallerSession) DefaultExitFeeRecipient ¶
func (_Controller *ControllerCallerSession) DefaultExitFeeRecipient() (common.Address, error)
DefaultExitFeeRecipient is a free data retrieval call binding the contract method 0xa8eb80ab.
Solidity: function defaultExitFeeRecipient() view returns(address)
func (*ControllerCallerSession) DefaultSellerPremium ¶
func (_Controller *ControllerCallerSession) DefaultSellerPremium() (uint8, error)
DefaultSellerPremium is a free data retrieval call binding the contract method 0x372accd2.
Solidity: function defaultSellerPremium() view returns(uint8)
func (*ControllerCallerSession) GetInitialTokensAndBalances ¶
func (_Controller *ControllerCallerSession) GetInitialTokensAndBalances(listID *big.Int, indexSize *big.Int, wethValue *big.Int) (struct { Tokens []common.Address Balances []*big.Int }, error)
GetInitialTokensAndBalances is a free data retrieval call binding the contract method 0x774cf0cb.
Solidity: function getInitialTokensAndBalances(uint256 listID, uint256 indexSize, uint256 wethValue) view returns(address[] tokens, uint256[] balances)
func (*ControllerCallerSession) GetSortedAndFilteredTokensAndScores ¶ added in v0.0.9
func (_Controller *ControllerCallerSession) GetSortedAndFilteredTokensAndScores(listID *big.Int) (struct { Tokens []common.Address Scores []*big.Int }, error)
GetSortedAndFilteredTokensAndScores is a free data retrieval call binding the contract method 0xf2d75471.
Solidity: function getSortedAndFilteredTokensAndScores(uint256 listID) view returns(address[] tokens, uint256[] scores)
func (*ControllerCallerSession) GetTokenList ¶ added in v0.0.9
GetTokenList is a free data retrieval call binding the contract method 0x41b63bd8.
Solidity: function getTokenList(uint256 listID) view returns(address[] tokens)
func (*ControllerCallerSession) GetTokenListConfig ¶ added in v0.0.9
func (_Controller *ControllerCallerSession) GetTokenListConfig(listID *big.Int) (struct { ScoringStrategy common.Address MinimumScore *big.Int MaximumScore *big.Int }, error)
GetTokenListConfig is a free data retrieval call binding the contract method 0x13b75360.
Solidity: function getTokenListConfig(uint256 listID) view returns(address scoringStrategy, uint128 minimumScore, uint128 maximumScore)
func (*ControllerCallerSession) GetTokenScores ¶ added in v0.0.9
func (_Controller *ControllerCallerSession) GetTokenScores(listID *big.Int, tokens []common.Address) ([]*big.Int, error)
GetTokenScores is a free data retrieval call binding the contract method 0x297c3430.
Solidity: function getTokenScores(uint256 listID, address[] tokens) view returns(uint256[] scores)
func (*ControllerCallerSession) GetTopTokensAndScores ¶ added in v0.0.9
func (_Controller *ControllerCallerSession) GetTopTokensAndScores(listID *big.Int, count *big.Int) (struct { Tokens []common.Address Scores []*big.Int }, error)
GetTopTokensAndScores is a free data retrieval call binding the contract method 0x861a9ec9.
Solidity: function getTopTokensAndScores(uint256 listID, uint256 count) view returns(address[] tokens, uint256[] scores)
func (*ControllerCallerSession) INITIALIZERIMPLEMENTATIONID ¶
func (_Controller *ControllerCallerSession) INITIALIZERIMPLEMENTATIONID() ([32]byte, error)
INITIALIZERIMPLEMENTATIONID is a free data retrieval call binding the contract method 0xf52a4f26.
Solidity: function INITIALIZER_IMPLEMENTATION_ID() view returns(bytes32)
func (*ControllerCallerSession) IndexPoolMetadata ¶
func (_Controller *ControllerCallerSession) IndexPoolMetadata(arg0 common.Address) (struct { Initialized bool ListID uint16 IndexSize uint8 ReweighIndex uint8 LastReweigh uint64 }, error)
IndexPoolMetadata is a free data retrieval call binding the contract method 0x9dfab092.
Solidity: function indexPoolMetadata(address ) view returns(bool initialized, uint16 listID, uint8 indexSize, uint8 reweighIndex, uint64 lastReweigh)
func (*ControllerCallerSession) IsTokenInlist ¶ added in v0.0.9
func (_Controller *ControllerCallerSession) IsTokenInlist(listID *big.Int, token common.Address) (bool, error)
IsTokenInlist is a free data retrieval call binding the contract method 0x8a15f964.
Solidity: function isTokenInlist(uint256 listID, address token) view returns(bool)
func (*ControllerCallerSession) MAXINDEXSIZE ¶
func (_Controller *ControllerCallerSession) MAXINDEXSIZE() (*big.Int, error)
MAXINDEXSIZE is a free data retrieval call binding the contract method 0xacbfc96d.
Solidity: function MAX_INDEX_SIZE() view returns(uint256)
func (*ControllerCallerSession) MAXLISTTOKENS ¶ added in v0.0.9
func (_Controller *ControllerCallerSession) MAXLISTTOKENS() (*big.Int, error)
MAXLISTTOKENS is a free data retrieval call binding the contract method 0xec0915c7.
Solidity: function MAX_LIST_TOKENS() view returns(uint256)
func (*ControllerCallerSession) MINBALANCE ¶
func (_Controller *ControllerCallerSession) MINBALANCE() (*big.Int, error)
MINBALANCE is a free data retrieval call binding the contract method 0x867378c5.
Solidity: function MIN_BALANCE() view returns(uint256)
func (*ControllerCallerSession) MININDEXSIZE ¶
func (_Controller *ControllerCallerSession) MININDEXSIZE() (*big.Int, error)
MININDEXSIZE is a free data retrieval call binding the contract method 0xb3ec862e.
Solidity: function MIN_INDEX_SIZE() view returns(uint256)
func (*ControllerCallerSession) Owner ¶
func (_Controller *ControllerCallerSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*ControllerCallerSession) POOLIMPLEMENTATIONID ¶
func (_Controller *ControllerCallerSession) POOLIMPLEMENTATIONID() ([32]byte, error)
POOLIMPLEMENTATIONID is a free data retrieval call binding the contract method 0x250436fd.
Solidity: function POOL_IMPLEMENTATION_ID() view returns(bytes32)
func (*ControllerCallerSession) POOLREWEIGHDELAY ¶
func (_Controller *ControllerCallerSession) POOLREWEIGHDELAY() (*big.Int, error)
POOLREWEIGHDELAY is a free data retrieval call binding the contract method 0x830b6b0b.
Solidity: function POOL_REWEIGH_DELAY() view returns(uint256)
func (*ControllerCallerSession) PoolFactory ¶
func (_Controller *ControllerCallerSession) PoolFactory() (common.Address, error)
PoolFactory is a free data retrieval call binding the contract method 0x4219dc40.
Solidity: function poolFactory() view returns(address)
func (*ControllerCallerSession) ProxyManager ¶
func (_Controller *ControllerCallerSession) ProxyManager() (common.Address, error)
ProxyManager is a free data retrieval call binding the contract method 0x96b4ca70.
Solidity: function proxyManager() view returns(address)
func (*ControllerCallerSession) REWEIGHSBEFOREREINDEX ¶
func (_Controller *ControllerCallerSession) REWEIGHSBEFOREREINDEX() (uint8, error)
REWEIGHSBEFOREREINDEX is a free data retrieval call binding the contract method 0x3d89da25.
Solidity: function REWEIGHS_BEFORE_REINDEX() view returns(uint8)
func (*ControllerCallerSession) SELLERIMPLEMENTATIONID ¶
func (_Controller *ControllerCallerSession) SELLERIMPLEMENTATIONID() ([32]byte, error)
SELLERIMPLEMENTATIONID is a free data retrieval call binding the contract method 0xc5ea91e1.
Solidity: function SELLER_IMPLEMENTATION_ID() view returns(bytes32)
func (*ControllerCallerSession) SHORTTWAPMAXTIMEELAPSED ¶
func (_Controller *ControllerCallerSession) SHORTTWAPMAXTIMEELAPSED() (uint32, error)
SHORTTWAPMAXTIMEELAPSED is a free data retrieval call binding the contract method 0xa34fefdd.
Solidity: function SHORT_TWAP_MAX_TIME_ELAPSED() view returns(uint32)
func (*ControllerCallerSession) SHORTTWAPMINTIMEELAPSED ¶
func (_Controller *ControllerCallerSession) SHORTTWAPMINTIMEELAPSED() (uint32, error)
SHORTTWAPMINTIMEELAPSED is a free data retrieval call binding the contract method 0x53304eb9.
Solidity: function SHORT_TWAP_MIN_TIME_ELAPSED() view returns(uint32)
func (*ControllerCallerSession) TokenListCount ¶ added in v0.0.9
func (_Controller *ControllerCallerSession) TokenListCount() (*big.Int, error)
TokenListCount is a free data retrieval call binding the contract method 0xa43ad7e7.
Solidity: function tokenListCount() view returns(uint256)
func (*ControllerCallerSession) UniswapOracle ¶
func (_Controller *ControllerCallerSession) UniswapOracle() (common.Address, error)
UniswapOracle is a free data retrieval call binding the contract method 0x120c6c5b.
Solidity: function uniswapOracle() view returns(address)
type ControllerFilterer ¶
type ControllerFilterer struct {
// contains filtered or unexported fields
}
ControllerFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewControllerFilterer ¶
func NewControllerFilterer(address common.Address, filterer bind.ContractFilterer) (*ControllerFilterer, error)
NewControllerFilterer creates a new log filterer instance of Controller, bound to a specific deployed contract.
func (*ControllerFilterer) FilterNewPoolInitializer ¶
func (_Controller *ControllerFilterer) FilterNewPoolInitializer(opts *bind.FilterOpts) (*ControllerNewPoolInitializerIterator, error)
FilterNewPoolInitializer is a free log retrieval operation binding the contract event 0x7ad23833dba658b2bdc6f260fb60a3240b3868086ad60b4e42276f5eeba73e6a.
Solidity: event NewPoolInitializer(address pool, address initializer, uint256 listID, uint256 indexSize)
func (*ControllerFilterer) FilterOwnershipTransferred ¶
func (_Controller *ControllerFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*ControllerOwnershipTransferredIterator, error)
FilterOwnershipTransferred is a free log retrieval operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*ControllerFilterer) FilterPoolInitialized ¶
func (_Controller *ControllerFilterer) FilterPoolInitialized(opts *bind.FilterOpts) (*ControllerPoolInitializedIterator, error)
FilterPoolInitialized is a free log retrieval operation binding the contract event 0x9ff2050ac7faae9dc192e1cc9abe73b18a9b849f9b43f509914d80fa104d5903.
Solidity: event PoolInitialized(address pool, address unboundTokenSeller, uint256 listID, uint256 indexSize)
func (*ControllerFilterer) FilterTokenAdded ¶
func (_Controller *ControllerFilterer) FilterTokenAdded(opts *bind.FilterOpts) (*ControllerTokenAddedIterator, error)
FilterTokenAdded is a free log retrieval operation binding the contract event 0xf4c563a3ea86ff1f4275e8c207df0375a51963f2b831b7bf4da8be938d92876c.
Solidity: event TokenAdded(address token, uint256 listID)
func (*ControllerFilterer) FilterTokenListAdded ¶ added in v0.0.9
func (_Controller *ControllerFilterer) FilterTokenListAdded(opts *bind.FilterOpts) (*ControllerTokenListAddedIterator, error)
FilterTokenListAdded is a free log retrieval operation binding the contract event 0xd5e8e673f6e24dc7176b58a5620dcee488e08e985c6fd9db96b1b6d214004117.
Solidity: event TokenListAdded(uint256 listID, bytes32 metadataHash, address scoringStrategy, uint128 minimumScore, uint128 maximumScore)
func (*ControllerFilterer) FilterTokenListSorted ¶ added in v0.0.9
func (_Controller *ControllerFilterer) FilterTokenListSorted(opts *bind.FilterOpts) (*ControllerTokenListSortedIterator, error)
FilterTokenListSorted is a free log retrieval operation binding the contract event 0xf53ac44f7bda4111b4677882e4e57cfab74f80d4de1e8b3245754369b48db601.
Solidity: event TokenListSorted(uint256 listID)
func (*ControllerFilterer) FilterTokenRemoved ¶
func (_Controller *ControllerFilterer) FilterTokenRemoved(opts *bind.FilterOpts) (*ControllerTokenRemovedIterator, error)
FilterTokenRemoved is a free log retrieval operation binding the contract event 0xbe9bb4bdca0a094babd75e3a98b1d2e2390633430d0a2f6e2b9970e2ee03fb2e.
Solidity: event TokenRemoved(address token, uint256 listID)
func (*ControllerFilterer) ParseNewPoolInitializer ¶
func (_Controller *ControllerFilterer) ParseNewPoolInitializer(log types.Log) (*ControllerNewPoolInitializer, error)
ParseNewPoolInitializer is a log parse operation binding the contract event 0x7ad23833dba658b2bdc6f260fb60a3240b3868086ad60b4e42276f5eeba73e6a.
Solidity: event NewPoolInitializer(address pool, address initializer, uint256 listID, uint256 indexSize)
func (*ControllerFilterer) ParseOwnershipTransferred ¶
func (_Controller *ControllerFilterer) ParseOwnershipTransferred(log types.Log) (*ControllerOwnershipTransferred, error)
ParseOwnershipTransferred is a log parse operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*ControllerFilterer) ParsePoolInitialized ¶
func (_Controller *ControllerFilterer) ParsePoolInitialized(log types.Log) (*ControllerPoolInitialized, error)
ParsePoolInitialized is a log parse operation binding the contract event 0x9ff2050ac7faae9dc192e1cc9abe73b18a9b849f9b43f509914d80fa104d5903.
Solidity: event PoolInitialized(address pool, address unboundTokenSeller, uint256 listID, uint256 indexSize)
func (*ControllerFilterer) ParseTokenAdded ¶
func (_Controller *ControllerFilterer) ParseTokenAdded(log types.Log) (*ControllerTokenAdded, error)
ParseTokenAdded is a log parse operation binding the contract event 0xf4c563a3ea86ff1f4275e8c207df0375a51963f2b831b7bf4da8be938d92876c.
Solidity: event TokenAdded(address token, uint256 listID)
func (*ControllerFilterer) ParseTokenListAdded ¶ added in v0.0.9
func (_Controller *ControllerFilterer) ParseTokenListAdded(log types.Log) (*ControllerTokenListAdded, error)
ParseTokenListAdded is a log parse operation binding the contract event 0xd5e8e673f6e24dc7176b58a5620dcee488e08e985c6fd9db96b1b6d214004117.
Solidity: event TokenListAdded(uint256 listID, bytes32 metadataHash, address scoringStrategy, uint128 minimumScore, uint128 maximumScore)
func (*ControllerFilterer) ParseTokenListSorted ¶ added in v0.0.9
func (_Controller *ControllerFilterer) ParseTokenListSorted(log types.Log) (*ControllerTokenListSorted, error)
ParseTokenListSorted is a log parse operation binding the contract event 0xf53ac44f7bda4111b4677882e4e57cfab74f80d4de1e8b3245754369b48db601.
Solidity: event TokenListSorted(uint256 listID)
func (*ControllerFilterer) ParseTokenRemoved ¶
func (_Controller *ControllerFilterer) ParseTokenRemoved(log types.Log) (*ControllerTokenRemoved, error)
ParseTokenRemoved is a log parse operation binding the contract event 0xbe9bb4bdca0a094babd75e3a98b1d2e2390633430d0a2f6e2b9970e2ee03fb2e.
Solidity: event TokenRemoved(address token, uint256 listID)
func (*ControllerFilterer) WatchNewPoolInitializer ¶
func (_Controller *ControllerFilterer) WatchNewPoolInitializer(opts *bind.WatchOpts, sink chan<- *ControllerNewPoolInitializer) (event.Subscription, error)
WatchNewPoolInitializer is a free log subscription operation binding the contract event 0x7ad23833dba658b2bdc6f260fb60a3240b3868086ad60b4e42276f5eeba73e6a.
Solidity: event NewPoolInitializer(address pool, address initializer, uint256 listID, uint256 indexSize)
func (*ControllerFilterer) WatchOwnershipTransferred ¶
func (_Controller *ControllerFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *ControllerOwnershipTransferred, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error)
WatchOwnershipTransferred is a free log subscription operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*ControllerFilterer) WatchPoolInitialized ¶
func (_Controller *ControllerFilterer) WatchPoolInitialized(opts *bind.WatchOpts, sink chan<- *ControllerPoolInitialized) (event.Subscription, error)
WatchPoolInitialized is a free log subscription operation binding the contract event 0x9ff2050ac7faae9dc192e1cc9abe73b18a9b849f9b43f509914d80fa104d5903.
Solidity: event PoolInitialized(address pool, address unboundTokenSeller, uint256 listID, uint256 indexSize)
func (*ControllerFilterer) WatchTokenAdded ¶
func (_Controller *ControllerFilterer) WatchTokenAdded(opts *bind.WatchOpts, sink chan<- *ControllerTokenAdded) (event.Subscription, error)
WatchTokenAdded is a free log subscription operation binding the contract event 0xf4c563a3ea86ff1f4275e8c207df0375a51963f2b831b7bf4da8be938d92876c.
Solidity: event TokenAdded(address token, uint256 listID)
func (*ControllerFilterer) WatchTokenListAdded ¶ added in v0.0.9
func (_Controller *ControllerFilterer) WatchTokenListAdded(opts *bind.WatchOpts, sink chan<- *ControllerTokenListAdded) (event.Subscription, error)
WatchTokenListAdded is a free log subscription operation binding the contract event 0xd5e8e673f6e24dc7176b58a5620dcee488e08e985c6fd9db96b1b6d214004117.
Solidity: event TokenListAdded(uint256 listID, bytes32 metadataHash, address scoringStrategy, uint128 minimumScore, uint128 maximumScore)
func (*ControllerFilterer) WatchTokenListSorted ¶ added in v0.0.9
func (_Controller *ControllerFilterer) WatchTokenListSorted(opts *bind.WatchOpts, sink chan<- *ControllerTokenListSorted) (event.Subscription, error)
WatchTokenListSorted is a free log subscription operation binding the contract event 0xf53ac44f7bda4111b4677882e4e57cfab74f80d4de1e8b3245754369b48db601.
Solidity: event TokenListSorted(uint256 listID)
func (*ControllerFilterer) WatchTokenRemoved ¶
func (_Controller *ControllerFilterer) WatchTokenRemoved(opts *bind.WatchOpts, sink chan<- *ControllerTokenRemoved) (event.Subscription, error)
WatchTokenRemoved is a free log subscription operation binding the contract event 0xbe9bb4bdca0a094babd75e3a98b1d2e2390633430d0a2f6e2b9970e2ee03fb2e.
Solidity: event TokenRemoved(address token, uint256 listID)
type ControllerNewPoolInitializer ¶
type ControllerNewPoolInitializer struct { Pool common.Address Initializer common.Address ListID *big.Int IndexSize *big.Int Raw types.Log // Blockchain specific contextual infos }
ControllerNewPoolInitializer represents a NewPoolInitializer event raised by the Controller contract.
type ControllerNewPoolInitializerIterator ¶
type ControllerNewPoolInitializerIterator struct { Event *ControllerNewPoolInitializer // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ControllerNewPoolInitializerIterator is returned from FilterNewPoolInitializer and is used to iterate over the raw logs and unpacked data for NewPoolInitializer events raised by the Controller contract.
func (*ControllerNewPoolInitializerIterator) Close ¶
func (it *ControllerNewPoolInitializerIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ControllerNewPoolInitializerIterator) Error ¶
func (it *ControllerNewPoolInitializerIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ControllerNewPoolInitializerIterator) Next ¶
func (it *ControllerNewPoolInitializerIterator) 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 ControllerOwnershipTransferred ¶
type ControllerOwnershipTransferred struct { PreviousOwner common.Address NewOwner common.Address Raw types.Log // Blockchain specific contextual infos }
ControllerOwnershipTransferred represents a OwnershipTransferred event raised by the Controller contract.
type ControllerOwnershipTransferredIterator ¶
type ControllerOwnershipTransferredIterator struct { Event *ControllerOwnershipTransferred // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ControllerOwnershipTransferredIterator is returned from FilterOwnershipTransferred and is used to iterate over the raw logs and unpacked data for OwnershipTransferred events raised by the Controller contract.
func (*ControllerOwnershipTransferredIterator) Close ¶
func (it *ControllerOwnershipTransferredIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ControllerOwnershipTransferredIterator) Error ¶
func (it *ControllerOwnershipTransferredIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ControllerOwnershipTransferredIterator) Next ¶
func (it *ControllerOwnershipTransferredIterator) 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 ControllerPoolInitialized ¶
type ControllerPoolInitialized struct { Pool common.Address UnboundTokenSeller common.Address ListID *big.Int IndexSize *big.Int Raw types.Log // Blockchain specific contextual infos }
ControllerPoolInitialized represents a PoolInitialized event raised by the Controller contract.
type ControllerPoolInitializedIterator ¶
type ControllerPoolInitializedIterator struct { Event *ControllerPoolInitialized // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ControllerPoolInitializedIterator is returned from FilterPoolInitialized and is used to iterate over the raw logs and unpacked data for PoolInitialized events raised by the Controller contract.
func (*ControllerPoolInitializedIterator) Close ¶
func (it *ControllerPoolInitializedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ControllerPoolInitializedIterator) Error ¶
func (it *ControllerPoolInitializedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ControllerPoolInitializedIterator) Next ¶
func (it *ControllerPoolInitializedIterator) 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 ControllerRaw ¶
type ControllerRaw struct {
Contract *Controller // Generic contract binding to access the raw methods on
}
ControllerRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*ControllerRaw) Call ¶
func (_Controller *ControllerRaw) 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 (*ControllerRaw) Transact ¶
func (_Controller *ControllerRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*ControllerRaw) Transfer ¶
func (_Controller *ControllerRaw) 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 ControllerSession ¶
type ControllerSession struct { Contract *Controller // 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 }
ControllerSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*ControllerSession) AddToken ¶
func (_Controller *ControllerSession) AddToken(listID *big.Int, token common.Address) (*types.Transaction, error)
AddToken is a paid mutator transaction binding the contract method 0x57016b0a.
Solidity: function addToken(uint256 listID, address token) returns()
func (*ControllerSession) AddTokens ¶
func (_Controller *ControllerSession) AddTokens(listID *big.Int, tokens []common.Address) (*types.Transaction, error)
AddTokens is a paid mutator transaction binding the contract method 0x6b5b8808.
Solidity: function addTokens(uint256 listID, address[] tokens) returns()
func (*ControllerSession) CircuitBreaker ¶
func (_Controller *ControllerSession) CircuitBreaker() (common.Address, error)
CircuitBreaker is a free data retrieval call binding the contract method 0x16efd941.
Solidity: function circuitBreaker() view returns(address)
func (*ControllerSession) CirculatingMarketCapOracle ¶
func (_Controller *ControllerSession) CirculatingMarketCapOracle() (common.Address, error)
CirculatingMarketCapOracle is a free data retrieval call binding the contract method 0xd600751d.
Solidity: function circulatingMarketCapOracle() view returns(address)
func (*ControllerSession) ComputeInitializerAddress ¶
func (_Controller *ControllerSession) ComputeInitializerAddress(poolAddress common.Address) (common.Address, error)
ComputeInitializerAddress is a free data retrieval call binding the contract method 0xfa7c0b5e.
Solidity: function computeInitializerAddress(address poolAddress) view returns(address initializerAddress)
func (*ControllerSession) ComputePoolAddress ¶
func (_Controller *ControllerSession) ComputePoolAddress(listID *big.Int, indexSize *big.Int) (common.Address, error)
ComputePoolAddress is a free data retrieval call binding the contract method 0x9dd19a52.
Solidity: function computePoolAddress(uint256 listID, uint256 indexSize) view returns(address poolAddress)
func (*ControllerSession) ComputeSellerAddress ¶
func (_Controller *ControllerSession) ComputeSellerAddress(poolAddress common.Address) (common.Address, error)
ComputeSellerAddress is a free data retrieval call binding the contract method 0x582edc9b.
Solidity: function computeSellerAddress(address poolAddress) view returns(address sellerAddress)
func (*ControllerSession) CreateTokenList ¶ added in v0.0.9
func (_Controller *ControllerSession) CreateTokenList(metadataHash [32]byte, scoringStrategy common.Address, minimumScore *big.Int, maximumScore *big.Int) (*types.Transaction, error)
CreateTokenList is a paid mutator transaction binding the contract method 0x88d6c096.
Solidity: function createTokenList(bytes32 metadataHash, address scoringStrategy, uint128 minimumScore, uint128 maximumScore) returns()
func (*ControllerSession) DefaultExitFeeRecipient ¶
func (_Controller *ControllerSession) DefaultExitFeeRecipient() (common.Address, error)
DefaultExitFeeRecipient is a free data retrieval call binding the contract method 0xa8eb80ab.
Solidity: function defaultExitFeeRecipient() view returns(address)
func (*ControllerSession) DefaultSellerPremium ¶
func (_Controller *ControllerSession) DefaultSellerPremium() (uint8, error)
DefaultSellerPremium is a free data retrieval call binding the contract method 0x372accd2.
Solidity: function defaultSellerPremium() view returns(uint8)
func (*ControllerSession) DelegateCompLikeTokenFromPool ¶
func (_Controller *ControllerSession) DelegateCompLikeTokenFromPool(pool common.Address, token common.Address, delegatee common.Address) (*types.Transaction, error)
DelegateCompLikeTokenFromPool is a paid mutator transaction binding the contract method 0xc6acb34f.
Solidity: function delegateCompLikeTokenFromPool(address pool, address token, address delegatee) returns()
func (*ControllerSession) FinishPreparedIndexPool ¶
func (_Controller *ControllerSession) FinishPreparedIndexPool(poolAddress common.Address, tokens []common.Address, balances []*big.Int) (*types.Transaction, error)
FinishPreparedIndexPool is a paid mutator transaction binding the contract method 0x6a7a93ed.
Solidity: function finishPreparedIndexPool(address poolAddress, address[] tokens, uint256[] balances) returns()
func (*ControllerSession) ForceReindexPool ¶
func (_Controller *ControllerSession) ForceReindexPool(poolAddress common.Address) (*types.Transaction, error)
ForceReindexPool is a paid mutator transaction binding the contract method 0x0fae3828.
Solidity: function forceReindexPool(address poolAddress) returns()
func (*ControllerSession) GetInitialTokensAndBalances ¶
func (_Controller *ControllerSession) GetInitialTokensAndBalances(listID *big.Int, indexSize *big.Int, wethValue *big.Int) (struct { Tokens []common.Address Balances []*big.Int }, error)
GetInitialTokensAndBalances is a free data retrieval call binding the contract method 0x774cf0cb.
Solidity: function getInitialTokensAndBalances(uint256 listID, uint256 indexSize, uint256 wethValue) view returns(address[] tokens, uint256[] balances)
func (*ControllerSession) GetSortedAndFilteredTokensAndScores ¶ added in v0.0.9
func (_Controller *ControllerSession) GetSortedAndFilteredTokensAndScores(listID *big.Int) (struct { Tokens []common.Address Scores []*big.Int }, error)
GetSortedAndFilteredTokensAndScores is a free data retrieval call binding the contract method 0xf2d75471.
Solidity: function getSortedAndFilteredTokensAndScores(uint256 listID) view returns(address[] tokens, uint256[] scores)
func (*ControllerSession) GetTokenList ¶ added in v0.0.9
GetTokenList is a free data retrieval call binding the contract method 0x41b63bd8.
Solidity: function getTokenList(uint256 listID) view returns(address[] tokens)
func (*ControllerSession) GetTokenListConfig ¶ added in v0.0.9
func (_Controller *ControllerSession) GetTokenListConfig(listID *big.Int) (struct { ScoringStrategy common.Address MinimumScore *big.Int MaximumScore *big.Int }, error)
GetTokenListConfig is a free data retrieval call binding the contract method 0x13b75360.
Solidity: function getTokenListConfig(uint256 listID) view returns(address scoringStrategy, uint128 minimumScore, uint128 maximumScore)
func (*ControllerSession) GetTokenScores ¶ added in v0.0.9
func (_Controller *ControllerSession) GetTokenScores(listID *big.Int, tokens []common.Address) ([]*big.Int, error)
GetTokenScores is a free data retrieval call binding the contract method 0x297c3430.
Solidity: function getTokenScores(uint256 listID, address[] tokens) view returns(uint256[] scores)
func (*ControllerSession) GetTopTokensAndScores ¶ added in v0.0.9
func (_Controller *ControllerSession) GetTopTokensAndScores(listID *big.Int, count *big.Int) (struct { Tokens []common.Address Scores []*big.Int }, error)
GetTopTokensAndScores is a free data retrieval call binding the contract method 0x861a9ec9.
Solidity: function getTopTokensAndScores(uint256 listID, uint256 count) view returns(address[] tokens, uint256[] scores)
func (*ControllerSession) INITIALIZERIMPLEMENTATIONID ¶
func (_Controller *ControllerSession) INITIALIZERIMPLEMENTATIONID() ([32]byte, error)
INITIALIZERIMPLEMENTATIONID is a free data retrieval call binding the contract method 0xf52a4f26.
Solidity: function INITIALIZER_IMPLEMENTATION_ID() view returns(bytes32)
func (*ControllerSession) IndexPoolMetadata ¶
func (_Controller *ControllerSession) IndexPoolMetadata(arg0 common.Address) (struct { Initialized bool ListID uint16 IndexSize uint8 ReweighIndex uint8 LastReweigh uint64 }, error)
IndexPoolMetadata is a free data retrieval call binding the contract method 0x9dfab092.
Solidity: function indexPoolMetadata(address ) view returns(bool initialized, uint16 listID, uint8 indexSize, uint8 reweighIndex, uint64 lastReweigh)
func (*ControllerSession) Initialize ¶
func (_Controller *ControllerSession) Initialize() (*types.Transaction, error)
Initialize is a paid mutator transaction binding the contract method 0x8129fc1c.
Solidity: function initialize() returns()
func (*ControllerSession) Initialize0 ¶
func (_Controller *ControllerSession) Initialize0(circuitBreaker_ common.Address) (*types.Transaction, error)
Initialize0 is a paid mutator transaction binding the contract method 0xc4d66de8.
Solidity: function initialize(address circuitBreaker_) returns()
func (*ControllerSession) IsTokenInlist ¶ added in v0.0.9
func (_Controller *ControllerSession) IsTokenInlist(listID *big.Int, token common.Address) (bool, error)
IsTokenInlist is a free data retrieval call binding the contract method 0x8a15f964.
Solidity: function isTokenInlist(uint256 listID, address token) view returns(bool)
func (*ControllerSession) MAXINDEXSIZE ¶
func (_Controller *ControllerSession) MAXINDEXSIZE() (*big.Int, error)
MAXINDEXSIZE is a free data retrieval call binding the contract method 0xacbfc96d.
Solidity: function MAX_INDEX_SIZE() view returns(uint256)
func (*ControllerSession) MAXLISTTOKENS ¶ added in v0.0.9
func (_Controller *ControllerSession) MAXLISTTOKENS() (*big.Int, error)
MAXLISTTOKENS is a free data retrieval call binding the contract method 0xec0915c7.
Solidity: function MAX_LIST_TOKENS() view returns(uint256)
func (*ControllerSession) MINBALANCE ¶
func (_Controller *ControllerSession) MINBALANCE() (*big.Int, error)
MINBALANCE is a free data retrieval call binding the contract method 0x867378c5.
Solidity: function MIN_BALANCE() view returns(uint256)
func (*ControllerSession) MININDEXSIZE ¶
func (_Controller *ControllerSession) MININDEXSIZE() (*big.Int, error)
MININDEXSIZE is a free data retrieval call binding the contract method 0xb3ec862e.
Solidity: function MIN_INDEX_SIZE() view returns(uint256)
func (*ControllerSession) Owner ¶
func (_Controller *ControllerSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*ControllerSession) POOLIMPLEMENTATIONID ¶
func (_Controller *ControllerSession) POOLIMPLEMENTATIONID() ([32]byte, error)
POOLIMPLEMENTATIONID is a free data retrieval call binding the contract method 0x250436fd.
Solidity: function POOL_IMPLEMENTATION_ID() view returns(bytes32)
func (*ControllerSession) POOLREWEIGHDELAY ¶
func (_Controller *ControllerSession) POOLREWEIGHDELAY() (*big.Int, error)
POOLREWEIGHDELAY is a free data retrieval call binding the contract method 0x830b6b0b.
Solidity: function POOL_REWEIGH_DELAY() view returns(uint256)
func (*ControllerSession) PoolFactory ¶
func (_Controller *ControllerSession) PoolFactory() (common.Address, error)
PoolFactory is a free data retrieval call binding the contract method 0x4219dc40.
Solidity: function poolFactory() view returns(address)
func (*ControllerSession) PrepareIndexPool ¶
func (_Controller *ControllerSession) PrepareIndexPool(listID *big.Int, indexSize *big.Int, initialWethValue *big.Int, name string, symbol string) (*types.Transaction, error)
PrepareIndexPool is a paid mutator transaction binding the contract method 0x74a58783.
Solidity: function prepareIndexPool(uint256 listID, uint256 indexSize, uint256 initialWethValue, string name, string symbol) returns(address poolAddress, address initializerAddress)
func (*ControllerSession) ProxyManager ¶
func (_Controller *ControllerSession) ProxyManager() (common.Address, error)
ProxyManager is a free data retrieval call binding the contract method 0x96b4ca70.
Solidity: function proxyManager() view returns(address)
func (*ControllerSession) REWEIGHSBEFOREREINDEX ¶
func (_Controller *ControllerSession) REWEIGHSBEFOREREINDEX() (uint8, error)
REWEIGHSBEFOREREINDEX is a free data retrieval call binding the contract method 0x3d89da25.
Solidity: function REWEIGHS_BEFORE_REINDEX() view returns(uint8)
func (*ControllerSession) ReindexPool ¶
func (_Controller *ControllerSession) ReindexPool(poolAddress common.Address) (*types.Transaction, error)
ReindexPool is a paid mutator transaction binding the contract method 0x50b1e342.
Solidity: function reindexPool(address poolAddress) returns()
func (*ControllerSession) RemoveToken ¶
func (_Controller *ControllerSession) RemoveToken(listID *big.Int, token common.Address) (*types.Transaction, error)
RemoveToken is a paid mutator transaction binding the contract method 0x33fe5676.
Solidity: function removeToken(uint256 listID, address token) returns()
func (*ControllerSession) RenounceOwnership ¶
func (_Controller *ControllerSession) RenounceOwnership() (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*ControllerSession) ReweighPool ¶
func (_Controller *ControllerSession) ReweighPool(poolAddress common.Address) (*types.Transaction, error)
ReweighPool is a paid mutator transaction binding the contract method 0xe9819daf.
Solidity: function reweighPool(address poolAddress) returns()
func (*ControllerSession) SELLERIMPLEMENTATIONID ¶
func (_Controller *ControllerSession) SELLERIMPLEMENTATIONID() ([32]byte, error)
SELLERIMPLEMENTATIONID is a free data retrieval call binding the contract method 0xc5ea91e1.
Solidity: function SELLER_IMPLEMENTATION_ID() view returns(bytes32)
func (*ControllerSession) SHORTTWAPMAXTIMEELAPSED ¶
func (_Controller *ControllerSession) SHORTTWAPMAXTIMEELAPSED() (uint32, error)
SHORTTWAPMAXTIMEELAPSED is a free data retrieval call binding the contract method 0xa34fefdd.
Solidity: function SHORT_TWAP_MAX_TIME_ELAPSED() view returns(uint32)
func (*ControllerSession) SHORTTWAPMINTIMEELAPSED ¶
func (_Controller *ControllerSession) SHORTTWAPMINTIMEELAPSED() (uint32, error)
SHORTTWAPMINTIMEELAPSED is a free data retrieval call binding the contract method 0x53304eb9.
Solidity: function SHORT_TWAP_MIN_TIME_ELAPSED() view returns(uint32)
func (*ControllerSession) SetCircuitBreaker ¶
func (_Controller *ControllerSession) SetCircuitBreaker(circuitBreaker_ common.Address) (*types.Transaction, error)
SetCircuitBreaker is a paid mutator transaction binding the contract method 0x82beee89.
Solidity: function setCircuitBreaker(address circuitBreaker_) returns()
func (*ControllerSession) SetDefaultSellerPremium ¶
func (_Controller *ControllerSession) SetDefaultSellerPremium(_defaultSellerPremium uint8) (*types.Transaction, error)
SetDefaultSellerPremium is a paid mutator transaction binding the contract method 0xdf8e238a.
Solidity: function setDefaultSellerPremium(uint8 _defaultSellerPremium) returns()
func (*ControllerSession) SetPublicSwap ¶
func (_Controller *ControllerSession) SetPublicSwap(indexPool_ common.Address, publicSwap bool) (*types.Transaction, error)
SetPublicSwap is a paid mutator transaction binding the contract method 0x1eccc185.
Solidity: function setPublicSwap(address indexPool_, bool publicSwap) returns()
func (*ControllerSession) SetSwapFee ¶
func (_Controller *ControllerSession) SetSwapFee(poolAddress common.Address, swapFee *big.Int) (*types.Transaction, error)
SetSwapFee is a paid mutator transaction binding the contract method 0x991991c7.
Solidity: function setSwapFee(address poolAddress, uint256 swapFee) returns()
func (*ControllerSession) SortAndFilterTokens ¶
func (_Controller *ControllerSession) SortAndFilterTokens(listID *big.Int) (*types.Transaction, error)
SortAndFilterTokens is a paid mutator transaction binding the contract method 0x88b9813a.
Solidity: function sortAndFilterTokens(uint256 listID) returns()
func (*ControllerSession) TokenListCount ¶ added in v0.0.9
func (_Controller *ControllerSession) TokenListCount() (*big.Int, error)
TokenListCount is a free data retrieval call binding the contract method 0xa43ad7e7.
Solidity: function tokenListCount() view returns(uint256)
func (*ControllerSession) TransferOwnership ¶
func (_Controller *ControllerSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(address newOwner) returns()
func (*ControllerSession) UniswapOracle ¶
func (_Controller *ControllerSession) UniswapOracle() (common.Address, error)
UniswapOracle is a free data retrieval call binding the contract method 0x120c6c5b.
Solidity: function uniswapOracle() view returns(address)
func (*ControllerSession) UpdateMinimumBalance ¶
func (_Controller *ControllerSession) UpdateMinimumBalance(pool common.Address, tokenAddress common.Address) (*types.Transaction, error)
UpdateMinimumBalance is a paid mutator transaction binding the contract method 0x034b904e.
Solidity: function updateMinimumBalance(address pool, address tokenAddress) returns()
func (*ControllerSession) UpdateSellerPremium ¶
func (_Controller *ControllerSession) UpdateSellerPremium(tokenSeller common.Address, premiumPercent uint8) (*types.Transaction, error)
UpdateSellerPremium is a paid mutator transaction binding the contract method 0xdcdf7e16.
Solidity: function updateSellerPremium(address tokenSeller, uint8 premiumPercent) returns()
func (*ControllerSession) UpdateTokenPrices ¶ added in v0.0.9
func (_Controller *ControllerSession) UpdateTokenPrices(listID *big.Int) (*types.Transaction, error)
UpdateTokenPrices is a paid mutator transaction binding the contract method 0xde16eb99.
Solidity: function updateTokenPrices(uint256 listID) returns(bool[] pricesUpdated)
type ControllerTokenAdded ¶
type ControllerTokenAdded struct { Token common.Address ListID *big.Int Raw types.Log // Blockchain specific contextual infos }
ControllerTokenAdded represents a TokenAdded event raised by the Controller contract.
type ControllerTokenAddedIterator ¶
type ControllerTokenAddedIterator struct { Event *ControllerTokenAdded // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ControllerTokenAddedIterator is returned from FilterTokenAdded and is used to iterate over the raw logs and unpacked data for TokenAdded events raised by the Controller contract.
func (*ControllerTokenAddedIterator) Close ¶
func (it *ControllerTokenAddedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ControllerTokenAddedIterator) Error ¶
func (it *ControllerTokenAddedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ControllerTokenAddedIterator) Next ¶
func (it *ControllerTokenAddedIterator) 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 ControllerTokenListAdded ¶ added in v0.0.9
type ControllerTokenListAdded struct { ListID *big.Int MetadataHash [32]byte ScoringStrategy common.Address MinimumScore *big.Int MaximumScore *big.Int Raw types.Log // Blockchain specific contextual infos }
ControllerTokenListAdded represents a TokenListAdded event raised by the Controller contract.
type ControllerTokenListAddedIterator ¶ added in v0.0.9
type ControllerTokenListAddedIterator struct { Event *ControllerTokenListAdded // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ControllerTokenListAddedIterator is returned from FilterTokenListAdded and is used to iterate over the raw logs and unpacked data for TokenListAdded events raised by the Controller contract.
func (*ControllerTokenListAddedIterator) Close ¶ added in v0.0.9
func (it *ControllerTokenListAddedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ControllerTokenListAddedIterator) Error ¶ added in v0.0.9
func (it *ControllerTokenListAddedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ControllerTokenListAddedIterator) Next ¶ added in v0.0.9
func (it *ControllerTokenListAddedIterator) 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 ControllerTokenListSorted ¶ added in v0.0.9
type ControllerTokenListSorted struct { ListID *big.Int Raw types.Log // Blockchain specific contextual infos }
ControllerTokenListSorted represents a TokenListSorted event raised by the Controller contract.
type ControllerTokenListSortedIterator ¶ added in v0.0.9
type ControllerTokenListSortedIterator struct { Event *ControllerTokenListSorted // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ControllerTokenListSortedIterator is returned from FilterTokenListSorted and is used to iterate over the raw logs and unpacked data for TokenListSorted events raised by the Controller contract.
func (*ControllerTokenListSortedIterator) Close ¶ added in v0.0.9
func (it *ControllerTokenListSortedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ControllerTokenListSortedIterator) Error ¶ added in v0.0.9
func (it *ControllerTokenListSortedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ControllerTokenListSortedIterator) Next ¶ added in v0.0.9
func (it *ControllerTokenListSortedIterator) 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 ControllerTokenRemoved ¶
type ControllerTokenRemoved struct { Token common.Address ListID *big.Int Raw types.Log // Blockchain specific contextual infos }
ControllerTokenRemoved represents a TokenRemoved event raised by the Controller contract.
type ControllerTokenRemovedIterator ¶
type ControllerTokenRemovedIterator struct { Event *ControllerTokenRemoved // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ControllerTokenRemovedIterator is returned from FilterTokenRemoved and is used to iterate over the raw logs and unpacked data for TokenRemoved events raised by the Controller contract.
func (*ControllerTokenRemovedIterator) Close ¶
func (it *ControllerTokenRemovedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ControllerTokenRemovedIterator) Error ¶
func (it *ControllerTokenRemovedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ControllerTokenRemovedIterator) Next ¶
func (it *ControllerTokenRemovedIterator) 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 ControllerTransactor ¶
type ControllerTransactor struct {
// contains filtered or unexported fields
}
ControllerTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewControllerTransactor ¶
func NewControllerTransactor(address common.Address, transactor bind.ContractTransactor) (*ControllerTransactor, error)
NewControllerTransactor creates a new write-only instance of Controller, bound to a specific deployed contract.
func (*ControllerTransactor) AddToken ¶
func (_Controller *ControllerTransactor) AddToken(opts *bind.TransactOpts, listID *big.Int, token common.Address) (*types.Transaction, error)
AddToken is a paid mutator transaction binding the contract method 0x57016b0a.
Solidity: function addToken(uint256 listID, address token) returns()
func (*ControllerTransactor) AddTokens ¶
func (_Controller *ControllerTransactor) AddTokens(opts *bind.TransactOpts, listID *big.Int, tokens []common.Address) (*types.Transaction, error)
AddTokens is a paid mutator transaction binding the contract method 0x6b5b8808.
Solidity: function addTokens(uint256 listID, address[] tokens) returns()
func (*ControllerTransactor) CreateTokenList ¶ added in v0.0.9
func (_Controller *ControllerTransactor) CreateTokenList(opts *bind.TransactOpts, metadataHash [32]byte, scoringStrategy common.Address, minimumScore *big.Int, maximumScore *big.Int) (*types.Transaction, error)
CreateTokenList is a paid mutator transaction binding the contract method 0x88d6c096.
Solidity: function createTokenList(bytes32 metadataHash, address scoringStrategy, uint128 minimumScore, uint128 maximumScore) returns()
func (*ControllerTransactor) DelegateCompLikeTokenFromPool ¶
func (_Controller *ControllerTransactor) DelegateCompLikeTokenFromPool(opts *bind.TransactOpts, pool common.Address, token common.Address, delegatee common.Address) (*types.Transaction, error)
DelegateCompLikeTokenFromPool is a paid mutator transaction binding the contract method 0xc6acb34f.
Solidity: function delegateCompLikeTokenFromPool(address pool, address token, address delegatee) returns()
func (*ControllerTransactor) FinishPreparedIndexPool ¶
func (_Controller *ControllerTransactor) FinishPreparedIndexPool(opts *bind.TransactOpts, poolAddress common.Address, tokens []common.Address, balances []*big.Int) (*types.Transaction, error)
FinishPreparedIndexPool is a paid mutator transaction binding the contract method 0x6a7a93ed.
Solidity: function finishPreparedIndexPool(address poolAddress, address[] tokens, uint256[] balances) returns()
func (*ControllerTransactor) ForceReindexPool ¶
func (_Controller *ControllerTransactor) ForceReindexPool(opts *bind.TransactOpts, poolAddress common.Address) (*types.Transaction, error)
ForceReindexPool is a paid mutator transaction binding the contract method 0x0fae3828.
Solidity: function forceReindexPool(address poolAddress) returns()
func (*ControllerTransactor) Initialize ¶
func (_Controller *ControllerTransactor) Initialize(opts *bind.TransactOpts) (*types.Transaction, error)
Initialize is a paid mutator transaction binding the contract method 0x8129fc1c.
Solidity: function initialize() returns()
func (*ControllerTransactor) Initialize0 ¶
func (_Controller *ControllerTransactor) Initialize0(opts *bind.TransactOpts, circuitBreaker_ common.Address) (*types.Transaction, error)
Initialize0 is a paid mutator transaction binding the contract method 0xc4d66de8.
Solidity: function initialize(address circuitBreaker_) returns()
func (*ControllerTransactor) PrepareIndexPool ¶
func (_Controller *ControllerTransactor) PrepareIndexPool(opts *bind.TransactOpts, listID *big.Int, indexSize *big.Int, initialWethValue *big.Int, name string, symbol string) (*types.Transaction, error)
PrepareIndexPool is a paid mutator transaction binding the contract method 0x74a58783.
Solidity: function prepareIndexPool(uint256 listID, uint256 indexSize, uint256 initialWethValue, string name, string symbol) returns(address poolAddress, address initializerAddress)
func (*ControllerTransactor) ReindexPool ¶
func (_Controller *ControllerTransactor) ReindexPool(opts *bind.TransactOpts, poolAddress common.Address) (*types.Transaction, error)
ReindexPool is a paid mutator transaction binding the contract method 0x50b1e342.
Solidity: function reindexPool(address poolAddress) returns()
func (*ControllerTransactor) RemoveToken ¶
func (_Controller *ControllerTransactor) RemoveToken(opts *bind.TransactOpts, listID *big.Int, token common.Address) (*types.Transaction, error)
RemoveToken is a paid mutator transaction binding the contract method 0x33fe5676.
Solidity: function removeToken(uint256 listID, address token) returns()
func (*ControllerTransactor) RenounceOwnership ¶
func (_Controller *ControllerTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*ControllerTransactor) ReweighPool ¶
func (_Controller *ControllerTransactor) ReweighPool(opts *bind.TransactOpts, poolAddress common.Address) (*types.Transaction, error)
ReweighPool is a paid mutator transaction binding the contract method 0xe9819daf.
Solidity: function reweighPool(address poolAddress) returns()
func (*ControllerTransactor) SetCircuitBreaker ¶
func (_Controller *ControllerTransactor) SetCircuitBreaker(opts *bind.TransactOpts, circuitBreaker_ common.Address) (*types.Transaction, error)
SetCircuitBreaker is a paid mutator transaction binding the contract method 0x82beee89.
Solidity: function setCircuitBreaker(address circuitBreaker_) returns()
func (*ControllerTransactor) SetDefaultSellerPremium ¶
func (_Controller *ControllerTransactor) SetDefaultSellerPremium(opts *bind.TransactOpts, _defaultSellerPremium uint8) (*types.Transaction, error)
SetDefaultSellerPremium is a paid mutator transaction binding the contract method 0xdf8e238a.
Solidity: function setDefaultSellerPremium(uint8 _defaultSellerPremium) returns()
func (*ControllerTransactor) SetPublicSwap ¶
func (_Controller *ControllerTransactor) SetPublicSwap(opts *bind.TransactOpts, indexPool_ common.Address, publicSwap bool) (*types.Transaction, error)
SetPublicSwap is a paid mutator transaction binding the contract method 0x1eccc185.
Solidity: function setPublicSwap(address indexPool_, bool publicSwap) returns()
func (*ControllerTransactor) SetSwapFee ¶
func (_Controller *ControllerTransactor) SetSwapFee(opts *bind.TransactOpts, poolAddress common.Address, swapFee *big.Int) (*types.Transaction, error)
SetSwapFee is a paid mutator transaction binding the contract method 0x991991c7.
Solidity: function setSwapFee(address poolAddress, uint256 swapFee) returns()
func (*ControllerTransactor) SortAndFilterTokens ¶
func (_Controller *ControllerTransactor) SortAndFilterTokens(opts *bind.TransactOpts, listID *big.Int) (*types.Transaction, error)
SortAndFilterTokens is a paid mutator transaction binding the contract method 0x88b9813a.
Solidity: function sortAndFilterTokens(uint256 listID) returns()
func (*ControllerTransactor) TransferOwnership ¶
func (_Controller *ControllerTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(address newOwner) returns()
func (*ControllerTransactor) UpdateMinimumBalance ¶
func (_Controller *ControllerTransactor) UpdateMinimumBalance(opts *bind.TransactOpts, pool common.Address, tokenAddress common.Address) (*types.Transaction, error)
UpdateMinimumBalance is a paid mutator transaction binding the contract method 0x034b904e.
Solidity: function updateMinimumBalance(address pool, address tokenAddress) returns()
func (*ControllerTransactor) UpdateSellerPremium ¶
func (_Controller *ControllerTransactor) UpdateSellerPremium(opts *bind.TransactOpts, tokenSeller common.Address, premiumPercent uint8) (*types.Transaction, error)
UpdateSellerPremium is a paid mutator transaction binding the contract method 0xdcdf7e16.
Solidity: function updateSellerPremium(address tokenSeller, uint8 premiumPercent) returns()
func (*ControllerTransactor) UpdateTokenPrices ¶ added in v0.0.9
func (_Controller *ControllerTransactor) UpdateTokenPrices(opts *bind.TransactOpts, listID *big.Int) (*types.Transaction, error)
UpdateTokenPrices is a paid mutator transaction binding the contract method 0xde16eb99.
Solidity: function updateTokenPrices(uint256 listID) returns(bool[] pricesUpdated)
type ControllerTransactorRaw ¶
type ControllerTransactorRaw struct {
Contract *ControllerTransactor // Generic write-only contract binding to access the raw methods on
}
ControllerTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*ControllerTransactorRaw) Transact ¶
func (_Controller *ControllerTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*ControllerTransactorRaw) Transfer ¶
func (_Controller *ControllerTransactorRaw) 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 ControllerTransactorSession ¶
type ControllerTransactorSession struct { Contract *ControllerTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
ControllerTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*ControllerTransactorSession) AddToken ¶
func (_Controller *ControllerTransactorSession) AddToken(listID *big.Int, token common.Address) (*types.Transaction, error)
AddToken is a paid mutator transaction binding the contract method 0x57016b0a.
Solidity: function addToken(uint256 listID, address token) returns()
func (*ControllerTransactorSession) AddTokens ¶
func (_Controller *ControllerTransactorSession) AddTokens(listID *big.Int, tokens []common.Address) (*types.Transaction, error)
AddTokens is a paid mutator transaction binding the contract method 0x6b5b8808.
Solidity: function addTokens(uint256 listID, address[] tokens) returns()
func (*ControllerTransactorSession) CreateTokenList ¶ added in v0.0.9
func (_Controller *ControllerTransactorSession) CreateTokenList(metadataHash [32]byte, scoringStrategy common.Address, minimumScore *big.Int, maximumScore *big.Int) (*types.Transaction, error)
CreateTokenList is a paid mutator transaction binding the contract method 0x88d6c096.
Solidity: function createTokenList(bytes32 metadataHash, address scoringStrategy, uint128 minimumScore, uint128 maximumScore) returns()
func (*ControllerTransactorSession) DelegateCompLikeTokenFromPool ¶
func (_Controller *ControllerTransactorSession) DelegateCompLikeTokenFromPool(pool common.Address, token common.Address, delegatee common.Address) (*types.Transaction, error)
DelegateCompLikeTokenFromPool is a paid mutator transaction binding the contract method 0xc6acb34f.
Solidity: function delegateCompLikeTokenFromPool(address pool, address token, address delegatee) returns()
func (*ControllerTransactorSession) FinishPreparedIndexPool ¶
func (_Controller *ControllerTransactorSession) FinishPreparedIndexPool(poolAddress common.Address, tokens []common.Address, balances []*big.Int) (*types.Transaction, error)
FinishPreparedIndexPool is a paid mutator transaction binding the contract method 0x6a7a93ed.
Solidity: function finishPreparedIndexPool(address poolAddress, address[] tokens, uint256[] balances) returns()
func (*ControllerTransactorSession) ForceReindexPool ¶
func (_Controller *ControllerTransactorSession) ForceReindexPool(poolAddress common.Address) (*types.Transaction, error)
ForceReindexPool is a paid mutator transaction binding the contract method 0x0fae3828.
Solidity: function forceReindexPool(address poolAddress) returns()
func (*ControllerTransactorSession) Initialize ¶
func (_Controller *ControllerTransactorSession) Initialize() (*types.Transaction, error)
Initialize is a paid mutator transaction binding the contract method 0x8129fc1c.
Solidity: function initialize() returns()
func (*ControllerTransactorSession) Initialize0 ¶
func (_Controller *ControllerTransactorSession) Initialize0(circuitBreaker_ common.Address) (*types.Transaction, error)
Initialize0 is a paid mutator transaction binding the contract method 0xc4d66de8.
Solidity: function initialize(address circuitBreaker_) returns()
func (*ControllerTransactorSession) PrepareIndexPool ¶
func (_Controller *ControllerTransactorSession) PrepareIndexPool(listID *big.Int, indexSize *big.Int, initialWethValue *big.Int, name string, symbol string) (*types.Transaction, error)
PrepareIndexPool is a paid mutator transaction binding the contract method 0x74a58783.
Solidity: function prepareIndexPool(uint256 listID, uint256 indexSize, uint256 initialWethValue, string name, string symbol) returns(address poolAddress, address initializerAddress)
func (*ControllerTransactorSession) ReindexPool ¶
func (_Controller *ControllerTransactorSession) ReindexPool(poolAddress common.Address) (*types.Transaction, error)
ReindexPool is a paid mutator transaction binding the contract method 0x50b1e342.
Solidity: function reindexPool(address poolAddress) returns()
func (*ControllerTransactorSession) RemoveToken ¶
func (_Controller *ControllerTransactorSession) RemoveToken(listID *big.Int, token common.Address) (*types.Transaction, error)
RemoveToken is a paid mutator transaction binding the contract method 0x33fe5676.
Solidity: function removeToken(uint256 listID, address token) returns()
func (*ControllerTransactorSession) RenounceOwnership ¶
func (_Controller *ControllerTransactorSession) RenounceOwnership() (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*ControllerTransactorSession) ReweighPool ¶
func (_Controller *ControllerTransactorSession) ReweighPool(poolAddress common.Address) (*types.Transaction, error)
ReweighPool is a paid mutator transaction binding the contract method 0xe9819daf.
Solidity: function reweighPool(address poolAddress) returns()
func (*ControllerTransactorSession) SetCircuitBreaker ¶
func (_Controller *ControllerTransactorSession) SetCircuitBreaker(circuitBreaker_ common.Address) (*types.Transaction, error)
SetCircuitBreaker is a paid mutator transaction binding the contract method 0x82beee89.
Solidity: function setCircuitBreaker(address circuitBreaker_) returns()
func (*ControllerTransactorSession) SetDefaultSellerPremium ¶
func (_Controller *ControllerTransactorSession) SetDefaultSellerPremium(_defaultSellerPremium uint8) (*types.Transaction, error)
SetDefaultSellerPremium is a paid mutator transaction binding the contract method 0xdf8e238a.
Solidity: function setDefaultSellerPremium(uint8 _defaultSellerPremium) returns()
func (*ControllerTransactorSession) SetPublicSwap ¶
func (_Controller *ControllerTransactorSession) SetPublicSwap(indexPool_ common.Address, publicSwap bool) (*types.Transaction, error)
SetPublicSwap is a paid mutator transaction binding the contract method 0x1eccc185.
Solidity: function setPublicSwap(address indexPool_, bool publicSwap) returns()
func (*ControllerTransactorSession) SetSwapFee ¶
func (_Controller *ControllerTransactorSession) SetSwapFee(poolAddress common.Address, swapFee *big.Int) (*types.Transaction, error)
SetSwapFee is a paid mutator transaction binding the contract method 0x991991c7.
Solidity: function setSwapFee(address poolAddress, uint256 swapFee) returns()
func (*ControllerTransactorSession) SortAndFilterTokens ¶
func (_Controller *ControllerTransactorSession) SortAndFilterTokens(listID *big.Int) (*types.Transaction, error)
SortAndFilterTokens is a paid mutator transaction binding the contract method 0x88b9813a.
Solidity: function sortAndFilterTokens(uint256 listID) returns()
func (*ControllerTransactorSession) TransferOwnership ¶
func (_Controller *ControllerTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(address newOwner) returns()
func (*ControllerTransactorSession) UpdateMinimumBalance ¶
func (_Controller *ControllerTransactorSession) UpdateMinimumBalance(pool common.Address, tokenAddress common.Address) (*types.Transaction, error)
UpdateMinimumBalance is a paid mutator transaction binding the contract method 0x034b904e.
Solidity: function updateMinimumBalance(address pool, address tokenAddress) returns()
func (*ControllerTransactorSession) UpdateSellerPremium ¶
func (_Controller *ControllerTransactorSession) UpdateSellerPremium(tokenSeller common.Address, premiumPercent uint8) (*types.Transaction, error)
UpdateSellerPremium is a paid mutator transaction binding the contract method 0xdcdf7e16.
Solidity: function updateSellerPremium(address tokenSeller, uint8 premiumPercent) returns()
func (*ControllerTransactorSession) UpdateTokenPrices ¶ added in v0.0.9
func (_Controller *ControllerTransactorSession) UpdateTokenPrices(listID *big.Int) (*types.Transaction, error)
UpdateTokenPrices is a paid mutator transaction binding the contract method 0xde16eb99.
Solidity: function updateTokenPrices(uint256 listID) returns(bool[] pricesUpdated)