Documentation ¶
Index ¶
- Constants
- type IPremiaOptionOptionWriteArgs
- type PremiaMarket
- type PremiaMarketCaller
- func (_PremiaMarket *PremiaMarketCaller) Amounts(opts *bind.CallOpts, arg0 [32]byte) (*big.Int, error)
- func (_PremiaMarket *PremiaMarketCaller) AreOrdersValid(opts *bind.CallOpts, _orders []PremiaMarketOrder) ([]bool, error)
- func (_PremiaMarket *PremiaMarketCaller) FeeCalculator(opts *bind.CallOpts) (common.Address, error)
- func (_PremiaMarket *PremiaMarketCaller) FeeRecipient(opts *bind.CallOpts) (common.Address, error)
- func (_PremiaMarket *PremiaMarketCaller) GetAmountsBatch(opts *bind.CallOpts, _orderIds [][32]byte) ([]*big.Int, error)
- func (_PremiaMarket *PremiaMarketCaller) GetOrderHash(opts *bind.CallOpts, _order PremiaMarketOrder) ([32]byte, error)
- func (_PremiaMarket *PremiaMarketCaller) GetOrderHashBatch(opts *bind.CallOpts, _orders []PremiaMarketOrder) ([][32]byte, error)
- func (_PremiaMarket *PremiaMarketCaller) GetWhitelistedOptionContracts(opts *bind.CallOpts) ([]common.Address, error)
- func (_PremiaMarket *PremiaMarketCaller) GetWhitelistedPaymentTokens(opts *bind.CallOpts) ([]common.Address, error)
- func (_PremiaMarket *PremiaMarketCaller) IsDelayedWritingEnabled(opts *bind.CallOpts) (bool, error)
- func (_PremiaMarket *PremiaMarketCaller) IsOrderValid(opts *bind.CallOpts, _order PremiaMarketOrder) (bool, error)
- func (_PremiaMarket *PremiaMarketCaller) Owner(opts *bind.CallOpts) (common.Address, error)
- func (_PremiaMarket *PremiaMarketCaller) PaymentTokenDecimals(opts *bind.CallOpts, arg0 common.Address) (uint8, error)
- func (_PremiaMarket *PremiaMarketCaller) PremiaReferral(opts *bind.CallOpts) (common.Address, error)
- func (_PremiaMarket *PremiaMarketCaller) UPremia(opts *bind.CallOpts) (common.Address, error)
- func (_PremiaMarket *PremiaMarketCaller) UPremiaBalance(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)
- type PremiaMarketCallerRaw
- type PremiaMarketCallerSession
- func (_PremiaMarket *PremiaMarketCallerSession) Amounts(arg0 [32]byte) (*big.Int, error)
- func (_PremiaMarket *PremiaMarketCallerSession) AreOrdersValid(_orders []PremiaMarketOrder) ([]bool, error)
- func (_PremiaMarket *PremiaMarketCallerSession) FeeCalculator() (common.Address, error)
- func (_PremiaMarket *PremiaMarketCallerSession) FeeRecipient() (common.Address, error)
- func (_PremiaMarket *PremiaMarketCallerSession) GetAmountsBatch(_orderIds [][32]byte) ([]*big.Int, error)
- func (_PremiaMarket *PremiaMarketCallerSession) GetOrderHash(_order PremiaMarketOrder) ([32]byte, error)
- func (_PremiaMarket *PremiaMarketCallerSession) GetOrderHashBatch(_orders []PremiaMarketOrder) ([][32]byte, error)
- func (_PremiaMarket *PremiaMarketCallerSession) GetWhitelistedOptionContracts() ([]common.Address, error)
- func (_PremiaMarket *PremiaMarketCallerSession) GetWhitelistedPaymentTokens() ([]common.Address, error)
- func (_PremiaMarket *PremiaMarketCallerSession) IsDelayedWritingEnabled() (bool, error)
- func (_PremiaMarket *PremiaMarketCallerSession) IsOrderValid(_order PremiaMarketOrder) (bool, error)
- func (_PremiaMarket *PremiaMarketCallerSession) Owner() (common.Address, error)
- func (_PremiaMarket *PremiaMarketCallerSession) PaymentTokenDecimals(arg0 common.Address) (uint8, error)
- func (_PremiaMarket *PremiaMarketCallerSession) PremiaReferral() (common.Address, error)
- func (_PremiaMarket *PremiaMarketCallerSession) UPremia() (common.Address, error)
- func (_PremiaMarket *PremiaMarketCallerSession) UPremiaBalance(arg0 common.Address) (*big.Int, error)
- type PremiaMarketFilterer
- func (_PremiaMarket *PremiaMarketFilterer) FilterOrderCancelled(opts *bind.FilterOpts, hash [][32]byte, maker []common.Address, ...) (*PremiaMarketOrderCancelledIterator, error)
- func (_PremiaMarket *PremiaMarketFilterer) FilterOrderCreated(opts *bind.FilterOpts, hash [][32]byte, maker []common.Address, ...) (*PremiaMarketOrderCreatedIterator, error)
- func (_PremiaMarket *PremiaMarketFilterer) FilterOrderFilled(opts *bind.FilterOpts, hash [][32]byte, taker []common.Address, ...) (*PremiaMarketOrderFilledIterator, error)
- func (_PremiaMarket *PremiaMarketFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, ...) (*PremiaMarketOwnershipTransferredIterator, error)
- func (_PremiaMarket *PremiaMarketFilterer) ParseOrderCancelled(log types.Log) (*PremiaMarketOrderCancelled, error)
- func (_PremiaMarket *PremiaMarketFilterer) ParseOrderCreated(log types.Log) (*PremiaMarketOrderCreated, error)
- func (_PremiaMarket *PremiaMarketFilterer) ParseOrderFilled(log types.Log) (*PremiaMarketOrderFilled, error)
- func (_PremiaMarket *PremiaMarketFilterer) ParseOwnershipTransferred(log types.Log) (*PremiaMarketOwnershipTransferred, error)
- func (_PremiaMarket *PremiaMarketFilterer) WatchOrderCancelled(opts *bind.WatchOpts, sink chan<- *PremiaMarketOrderCancelled, hash [][32]byte, ...) (event.Subscription, error)
- func (_PremiaMarket *PremiaMarketFilterer) WatchOrderCreated(opts *bind.WatchOpts, sink chan<- *PremiaMarketOrderCreated, hash [][32]byte, ...) (event.Subscription, error)
- func (_PremiaMarket *PremiaMarketFilterer) WatchOrderFilled(opts *bind.WatchOpts, sink chan<- *PremiaMarketOrderFilled, hash [][32]byte, ...) (event.Subscription, error)
- func (_PremiaMarket *PremiaMarketFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *PremiaMarketOwnershipTransferred, ...) (event.Subscription, error)
- type PremiaMarketOption
- type PremiaMarketOrder
- type PremiaMarketOrderCancelled
- type PremiaMarketOrderCancelledIterator
- type PremiaMarketOrderCreated
- type PremiaMarketOrderCreatedIterator
- type PremiaMarketOrderFilled
- type PremiaMarketOrderFilledIterator
- type PremiaMarketOwnershipTransferred
- type PremiaMarketOwnershipTransferredIterator
- type PremiaMarketRaw
- func (_PremiaMarket *PremiaMarketRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_PremiaMarket *PremiaMarketRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_PremiaMarket *PremiaMarketRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type PremiaMarketSession
- func (_PremiaMarket *PremiaMarketSession) AddWhitelistedOptionContracts(_addr []common.Address) (*types.Transaction, error)
- func (_PremiaMarket *PremiaMarketSession) AddWhitelistedPaymentTokens(_addr []common.Address) (*types.Transaction, error)
- func (_PremiaMarket *PremiaMarketSession) Amounts(arg0 [32]byte) (*big.Int, error)
- func (_PremiaMarket *PremiaMarketSession) AreOrdersValid(_orders []PremiaMarketOrder) ([]bool, error)
- func (_PremiaMarket *PremiaMarketSession) CancelOrder(_order PremiaMarketOrder) (*types.Transaction, error)
- func (_PremiaMarket *PremiaMarketSession) CancelOrders(_orders []PremiaMarketOrder) (*types.Transaction, error)
- func (_PremiaMarket *PremiaMarketSession) ClaimUPremia() (*types.Transaction, error)
- func (_PremiaMarket *PremiaMarketSession) CreateOrder(_order PremiaMarketOrder, _amount *big.Int) (*types.Transaction, error)
- func (_PremiaMarket *PremiaMarketSession) CreateOrderAndTryToFill(_order PremiaMarketOrder, _amount *big.Int, ...) (*types.Transaction, error)
- func (_PremiaMarket *PremiaMarketSession) CreateOrderForNewOption(_order PremiaMarketOrder, _amount *big.Int, _option PremiaMarketOption, ...) (*types.Transaction, error)
- func (_PremiaMarket *PremiaMarketSession) CreateOrders(_orders []PremiaMarketOrder, _amounts []*big.Int) (*types.Transaction, error)
- func (_PremiaMarket *PremiaMarketSession) FeeCalculator() (common.Address, error)
- func (_PremiaMarket *PremiaMarketSession) FeeRecipient() (common.Address, error)
- func (_PremiaMarket *PremiaMarketSession) FillOrder(_order PremiaMarketOrder, _amount *big.Int, _writeOnBuyFill bool, ...) (*types.Transaction, error)
- func (_PremiaMarket *PremiaMarketSession) FillOrders(_orders []PremiaMarketOrder, _maxAmount *big.Int, _writeOnBuyFill bool, ...) (*types.Transaction, error)
- func (_PremiaMarket *PremiaMarketSession) GetAmountsBatch(_orderIds [][32]byte) ([]*big.Int, error)
- func (_PremiaMarket *PremiaMarketSession) GetOrderHash(_order PremiaMarketOrder) ([32]byte, error)
- func (_PremiaMarket *PremiaMarketSession) GetOrderHashBatch(_orders []PremiaMarketOrder) ([][32]byte, error)
- func (_PremiaMarket *PremiaMarketSession) GetWhitelistedOptionContracts() ([]common.Address, error)
- func (_PremiaMarket *PremiaMarketSession) GetWhitelistedPaymentTokens() ([]common.Address, error)
- func (_PremiaMarket *PremiaMarketSession) IsDelayedWritingEnabled() (bool, error)
- func (_PremiaMarket *PremiaMarketSession) IsOrderValid(_order PremiaMarketOrder) (bool, error)
- func (_PremiaMarket *PremiaMarketSession) Owner() (common.Address, error)
- func (_PremiaMarket *PremiaMarketSession) PaymentTokenDecimals(arg0 common.Address) (uint8, error)
- func (_PremiaMarket *PremiaMarketSession) PremiaReferral() (common.Address, error)
- func (_PremiaMarket *PremiaMarketSession) RemoveWhitelistedOptionContracts(_addr []common.Address) (*types.Transaction, error)
- func (_PremiaMarket *PremiaMarketSession) RemoveWhitelistedPaymentTokens(_addr []common.Address) (*types.Transaction, error)
- func (_PremiaMarket *PremiaMarketSession) RenounceOwnership() (*types.Transaction, error)
- func (_PremiaMarket *PremiaMarketSession) SetDelayedWritingEnabled(_state bool) (*types.Transaction, error)
- func (_PremiaMarket *PremiaMarketSession) SetFeeCalculator(_feeCalculator common.Address) (*types.Transaction, error)
- func (_PremiaMarket *PremiaMarketSession) SetFeeRecipient(_feeRecipient common.Address) (*types.Transaction, error)
- func (_PremiaMarket *PremiaMarketSession) SetPremiaUncutErc20(_uPremia common.Address) (*types.Transaction, error)
- func (_PremiaMarket *PremiaMarketSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
- func (_PremiaMarket *PremiaMarketSession) UPremia() (common.Address, error)
- func (_PremiaMarket *PremiaMarketSession) UPremiaBalance(arg0 common.Address) (*big.Int, error)
- func (_PremiaMarket *PremiaMarketSession) WriteAndCreateOrder(_option IPremiaOptionOptionWriteArgs, _order PremiaMarketOrder, ...) (*types.Transaction, error)
- type PremiaMarketTransactor
- func (_PremiaMarket *PremiaMarketTransactor) AddWhitelistedOptionContracts(opts *bind.TransactOpts, _addr []common.Address) (*types.Transaction, error)
- func (_PremiaMarket *PremiaMarketTransactor) AddWhitelistedPaymentTokens(opts *bind.TransactOpts, _addr []common.Address) (*types.Transaction, error)
- func (_PremiaMarket *PremiaMarketTransactor) CancelOrder(opts *bind.TransactOpts, _order PremiaMarketOrder) (*types.Transaction, error)
- func (_PremiaMarket *PremiaMarketTransactor) CancelOrders(opts *bind.TransactOpts, _orders []PremiaMarketOrder) (*types.Transaction, error)
- func (_PremiaMarket *PremiaMarketTransactor) ClaimUPremia(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_PremiaMarket *PremiaMarketTransactor) CreateOrder(opts *bind.TransactOpts, _order PremiaMarketOrder, _amount *big.Int) (*types.Transaction, error)
- func (_PremiaMarket *PremiaMarketTransactor) CreateOrderAndTryToFill(opts *bind.TransactOpts, _order PremiaMarketOrder, _amount *big.Int, ...) (*types.Transaction, error)
- func (_PremiaMarket *PremiaMarketTransactor) CreateOrderForNewOption(opts *bind.TransactOpts, _order PremiaMarketOrder, _amount *big.Int, ...) (*types.Transaction, error)
- func (_PremiaMarket *PremiaMarketTransactor) CreateOrders(opts *bind.TransactOpts, _orders []PremiaMarketOrder, _amounts []*big.Int) (*types.Transaction, error)
- func (_PremiaMarket *PremiaMarketTransactor) FillOrder(opts *bind.TransactOpts, _order PremiaMarketOrder, _amount *big.Int, ...) (*types.Transaction, error)
- func (_PremiaMarket *PremiaMarketTransactor) FillOrders(opts *bind.TransactOpts, _orders []PremiaMarketOrder, _maxAmount *big.Int, ...) (*types.Transaction, error)
- func (_PremiaMarket *PremiaMarketTransactor) RemoveWhitelistedOptionContracts(opts *bind.TransactOpts, _addr []common.Address) (*types.Transaction, error)
- func (_PremiaMarket *PremiaMarketTransactor) RemoveWhitelistedPaymentTokens(opts *bind.TransactOpts, _addr []common.Address) (*types.Transaction, error)
- func (_PremiaMarket *PremiaMarketTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_PremiaMarket *PremiaMarketTransactor) SetDelayedWritingEnabled(opts *bind.TransactOpts, _state bool) (*types.Transaction, error)
- func (_PremiaMarket *PremiaMarketTransactor) SetFeeCalculator(opts *bind.TransactOpts, _feeCalculator common.Address) (*types.Transaction, error)
- func (_PremiaMarket *PremiaMarketTransactor) SetFeeRecipient(opts *bind.TransactOpts, _feeRecipient common.Address) (*types.Transaction, error)
- func (_PremiaMarket *PremiaMarketTransactor) SetPremiaUncutErc20(opts *bind.TransactOpts, _uPremia common.Address) (*types.Transaction, error)
- func (_PremiaMarket *PremiaMarketTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)
- func (_PremiaMarket *PremiaMarketTransactor) WriteAndCreateOrder(opts *bind.TransactOpts, _option IPremiaOptionOptionWriteArgs, ...) (*types.Transaction, error)
- type PremiaMarketTransactorRaw
- type PremiaMarketTransactorSession
- func (_PremiaMarket *PremiaMarketTransactorSession) AddWhitelistedOptionContracts(_addr []common.Address) (*types.Transaction, error)
- func (_PremiaMarket *PremiaMarketTransactorSession) AddWhitelistedPaymentTokens(_addr []common.Address) (*types.Transaction, error)
- func (_PremiaMarket *PremiaMarketTransactorSession) CancelOrder(_order PremiaMarketOrder) (*types.Transaction, error)
- func (_PremiaMarket *PremiaMarketTransactorSession) CancelOrders(_orders []PremiaMarketOrder) (*types.Transaction, error)
- func (_PremiaMarket *PremiaMarketTransactorSession) ClaimUPremia() (*types.Transaction, error)
- func (_PremiaMarket *PremiaMarketTransactorSession) CreateOrder(_order PremiaMarketOrder, _amount *big.Int) (*types.Transaction, error)
- func (_PremiaMarket *PremiaMarketTransactorSession) CreateOrderAndTryToFill(_order PremiaMarketOrder, _amount *big.Int, ...) (*types.Transaction, error)
- func (_PremiaMarket *PremiaMarketTransactorSession) CreateOrderForNewOption(_order PremiaMarketOrder, _amount *big.Int, _option PremiaMarketOption, ...) (*types.Transaction, error)
- func (_PremiaMarket *PremiaMarketTransactorSession) CreateOrders(_orders []PremiaMarketOrder, _amounts []*big.Int) (*types.Transaction, error)
- func (_PremiaMarket *PremiaMarketTransactorSession) FillOrder(_order PremiaMarketOrder, _amount *big.Int, _writeOnBuyFill bool, ...) (*types.Transaction, error)
- func (_PremiaMarket *PremiaMarketTransactorSession) FillOrders(_orders []PremiaMarketOrder, _maxAmount *big.Int, _writeOnBuyFill bool, ...) (*types.Transaction, error)
- func (_PremiaMarket *PremiaMarketTransactorSession) RemoveWhitelistedOptionContracts(_addr []common.Address) (*types.Transaction, error)
- func (_PremiaMarket *PremiaMarketTransactorSession) RemoveWhitelistedPaymentTokens(_addr []common.Address) (*types.Transaction, error)
- func (_PremiaMarket *PremiaMarketTransactorSession) RenounceOwnership() (*types.Transaction, error)
- func (_PremiaMarket *PremiaMarketTransactorSession) SetDelayedWritingEnabled(_state bool) (*types.Transaction, error)
- func (_PremiaMarket *PremiaMarketTransactorSession) SetFeeCalculator(_feeCalculator common.Address) (*types.Transaction, error)
- func (_PremiaMarket *PremiaMarketTransactorSession) SetFeeRecipient(_feeRecipient common.Address) (*types.Transaction, error)
- func (_PremiaMarket *PremiaMarketTransactorSession) SetPremiaUncutErc20(_uPremia common.Address) (*types.Transaction, error)
- func (_PremiaMarket *PremiaMarketTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
- func (_PremiaMarket *PremiaMarketTransactorSession) WriteAndCreateOrder(_option IPremiaOptionOptionWriteArgs, _order PremiaMarketOrder, ...) (*types.Transaction, error)
Constants ¶
const PremiaMarketABI = "" /* 23990-byte string literal not displayed */
PremiaMarketABI is the input ABI used to generate the binding from.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IPremiaOptionOptionWriteArgs ¶
type IPremiaOptionOptionWriteArgs struct { Token common.Address Amount *big.Int StrikePrice *big.Int Expiration *big.Int IsCall bool }
IPremiaOptionOptionWriteArgs is an auto generated low-level Go binding around an user-defined struct.
type PremiaMarket ¶
type PremiaMarket struct { PremiaMarketCaller // Read-only binding to the contract PremiaMarketTransactor // Write-only binding to the contract PremiaMarketFilterer // Log filterer for contract events }
PremiaMarket is an auto generated Go binding around an Ethereum contract.
func NewPremiaMarket ¶
func NewPremiaMarket(address common.Address, backend bind.ContractBackend) (*PremiaMarket, error)
NewPremiaMarket creates a new instance of PremiaMarket, bound to a specific deployed contract.
type PremiaMarketCaller ¶
type PremiaMarketCaller struct {
// contains filtered or unexported fields
}
PremiaMarketCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewPremiaMarketCaller ¶
func NewPremiaMarketCaller(address common.Address, caller bind.ContractCaller) (*PremiaMarketCaller, error)
NewPremiaMarketCaller creates a new read-only instance of PremiaMarket, bound to a specific deployed contract.
func (*PremiaMarketCaller) Amounts ¶
func (_PremiaMarket *PremiaMarketCaller) Amounts(opts *bind.CallOpts, arg0 [32]byte) (*big.Int, error)
Amounts is a free data retrieval call binding the contract method 0xc8662d95.
Solidity: function amounts(bytes32 ) view returns(uint256)
func (*PremiaMarketCaller) AreOrdersValid ¶
func (_PremiaMarket *PremiaMarketCaller) AreOrdersValid(opts *bind.CallOpts, _orders []PremiaMarketOrder) ([]bool, error)
AreOrdersValid is a free data retrieval call binding the contract method 0x9e06c6d9.
Solidity: function areOrdersValid((address,uint8,bool,address,uint256,address,uint256,uint256,uint256,uint8)[] _orders) view returns(bool[])
func (*PremiaMarketCaller) FeeCalculator ¶
FeeCalculator is a free data retrieval call binding the contract method 0xb00eb9fe.
Solidity: function feeCalculator() view returns(address)
func (*PremiaMarketCaller) FeeRecipient ¶
FeeRecipient is a free data retrieval call binding the contract method 0x46904840.
Solidity: function feeRecipient() view returns(address)
func (*PremiaMarketCaller) GetAmountsBatch ¶
func (_PremiaMarket *PremiaMarketCaller) GetAmountsBatch(opts *bind.CallOpts, _orderIds [][32]byte) ([]*big.Int, error)
GetAmountsBatch is a free data retrieval call binding the contract method 0x1ef6ab30.
Solidity: function getAmountsBatch(bytes32[] _orderIds) view returns(uint256[])
func (*PremiaMarketCaller) GetOrderHash ¶
func (_PremiaMarket *PremiaMarketCaller) GetOrderHash(opts *bind.CallOpts, _order PremiaMarketOrder) ([32]byte, error)
GetOrderHash is a free data retrieval call binding the contract method 0xfb3f9661.
Solidity: function getOrderHash((address,uint8,bool,address,uint256,address,uint256,uint256,uint256,uint8) _order) pure returns(bytes32)
func (*PremiaMarketCaller) GetOrderHashBatch ¶
func (_PremiaMarket *PremiaMarketCaller) GetOrderHashBatch(opts *bind.CallOpts, _orders []PremiaMarketOrder) ([][32]byte, error)
GetOrderHashBatch is a free data retrieval call binding the contract method 0x783fb8ef.
Solidity: function getOrderHashBatch((address,uint8,bool,address,uint256,address,uint256,uint256,uint256,uint8)[] _orders) pure returns(bytes32[])
func (*PremiaMarketCaller) GetWhitelistedOptionContracts ¶
func (_PremiaMarket *PremiaMarketCaller) GetWhitelistedOptionContracts(opts *bind.CallOpts) ([]common.Address, error)
GetWhitelistedOptionContracts is a free data retrieval call binding the contract method 0x3baa38ef.
Solidity: function getWhitelistedOptionContracts() view returns(address[])
func (*PremiaMarketCaller) GetWhitelistedPaymentTokens ¶
func (_PremiaMarket *PremiaMarketCaller) GetWhitelistedPaymentTokens(opts *bind.CallOpts) ([]common.Address, error)
GetWhitelistedPaymentTokens is a free data retrieval call binding the contract method 0xe6f073e0.
Solidity: function getWhitelistedPaymentTokens() view returns(address[])
func (*PremiaMarketCaller) IsDelayedWritingEnabled ¶
func (_PremiaMarket *PremiaMarketCaller) IsDelayedWritingEnabled(opts *bind.CallOpts) (bool, error)
IsDelayedWritingEnabled is a free data retrieval call binding the contract method 0x4c878a41.
Solidity: function isDelayedWritingEnabled() view returns(bool)
func (*PremiaMarketCaller) IsOrderValid ¶
func (_PremiaMarket *PremiaMarketCaller) IsOrderValid(opts *bind.CallOpts, _order PremiaMarketOrder) (bool, error)
IsOrderValid is a free data retrieval call binding the contract method 0x4969f871.
Solidity: function isOrderValid((address,uint8,bool,address,uint256,address,uint256,uint256,uint256,uint8) _order) view returns(bool)
func (*PremiaMarketCaller) Owner ¶
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*PremiaMarketCaller) PaymentTokenDecimals ¶
func (_PremiaMarket *PremiaMarketCaller) PaymentTokenDecimals(opts *bind.CallOpts, arg0 common.Address) (uint8, error)
PaymentTokenDecimals is a free data retrieval call binding the contract method 0xd481515a.
Solidity: function paymentTokenDecimals(address ) view returns(uint8)
func (*PremiaMarketCaller) PremiaReferral ¶
func (_PremiaMarket *PremiaMarketCaller) PremiaReferral(opts *bind.CallOpts) (common.Address, error)
PremiaReferral is a free data retrieval call binding the contract method 0x4ebd2287.
Solidity: function premiaReferral() view returns(address)
func (*PremiaMarketCaller) UPremia ¶
UPremia is a free data retrieval call binding the contract method 0xb9a8e9d3.
Solidity: function uPremia() view returns(address)
func (*PremiaMarketCaller) UPremiaBalance ¶
func (_PremiaMarket *PremiaMarketCaller) UPremiaBalance(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)
UPremiaBalance is a free data retrieval call binding the contract method 0x929945d9.
Solidity: function uPremiaBalance(address ) view returns(uint256)
type PremiaMarketCallerRaw ¶
type PremiaMarketCallerRaw struct {
Contract *PremiaMarketCaller // Generic read-only contract binding to access the raw methods on
}
PremiaMarketCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*PremiaMarketCallerRaw) Call ¶
func (_PremiaMarket *PremiaMarketCallerRaw) 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 PremiaMarketCallerSession ¶
type PremiaMarketCallerSession struct { Contract *PremiaMarketCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
PremiaMarketCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*PremiaMarketCallerSession) Amounts ¶
func (_PremiaMarket *PremiaMarketCallerSession) Amounts(arg0 [32]byte) (*big.Int, error)
Amounts is a free data retrieval call binding the contract method 0xc8662d95.
Solidity: function amounts(bytes32 ) view returns(uint256)
func (*PremiaMarketCallerSession) AreOrdersValid ¶
func (_PremiaMarket *PremiaMarketCallerSession) AreOrdersValid(_orders []PremiaMarketOrder) ([]bool, error)
AreOrdersValid is a free data retrieval call binding the contract method 0x9e06c6d9.
Solidity: function areOrdersValid((address,uint8,bool,address,uint256,address,uint256,uint256,uint256,uint8)[] _orders) view returns(bool[])
func (*PremiaMarketCallerSession) FeeCalculator ¶
func (_PremiaMarket *PremiaMarketCallerSession) FeeCalculator() (common.Address, error)
FeeCalculator is a free data retrieval call binding the contract method 0xb00eb9fe.
Solidity: function feeCalculator() view returns(address)
func (*PremiaMarketCallerSession) FeeRecipient ¶
func (_PremiaMarket *PremiaMarketCallerSession) FeeRecipient() (common.Address, error)
FeeRecipient is a free data retrieval call binding the contract method 0x46904840.
Solidity: function feeRecipient() view returns(address)
func (*PremiaMarketCallerSession) GetAmountsBatch ¶
func (_PremiaMarket *PremiaMarketCallerSession) GetAmountsBatch(_orderIds [][32]byte) ([]*big.Int, error)
GetAmountsBatch is a free data retrieval call binding the contract method 0x1ef6ab30.
Solidity: function getAmountsBatch(bytes32[] _orderIds) view returns(uint256[])
func (*PremiaMarketCallerSession) GetOrderHash ¶
func (_PremiaMarket *PremiaMarketCallerSession) GetOrderHash(_order PremiaMarketOrder) ([32]byte, error)
GetOrderHash is a free data retrieval call binding the contract method 0xfb3f9661.
Solidity: function getOrderHash((address,uint8,bool,address,uint256,address,uint256,uint256,uint256,uint8) _order) pure returns(bytes32)
func (*PremiaMarketCallerSession) GetOrderHashBatch ¶
func (_PremiaMarket *PremiaMarketCallerSession) GetOrderHashBatch(_orders []PremiaMarketOrder) ([][32]byte, error)
GetOrderHashBatch is a free data retrieval call binding the contract method 0x783fb8ef.
Solidity: function getOrderHashBatch((address,uint8,bool,address,uint256,address,uint256,uint256,uint256,uint8)[] _orders) pure returns(bytes32[])
func (*PremiaMarketCallerSession) GetWhitelistedOptionContracts ¶
func (_PremiaMarket *PremiaMarketCallerSession) GetWhitelistedOptionContracts() ([]common.Address, error)
GetWhitelistedOptionContracts is a free data retrieval call binding the contract method 0x3baa38ef.
Solidity: function getWhitelistedOptionContracts() view returns(address[])
func (*PremiaMarketCallerSession) GetWhitelistedPaymentTokens ¶
func (_PremiaMarket *PremiaMarketCallerSession) GetWhitelistedPaymentTokens() ([]common.Address, error)
GetWhitelistedPaymentTokens is a free data retrieval call binding the contract method 0xe6f073e0.
Solidity: function getWhitelistedPaymentTokens() view returns(address[])
func (*PremiaMarketCallerSession) IsDelayedWritingEnabled ¶
func (_PremiaMarket *PremiaMarketCallerSession) IsDelayedWritingEnabled() (bool, error)
IsDelayedWritingEnabled is a free data retrieval call binding the contract method 0x4c878a41.
Solidity: function isDelayedWritingEnabled() view returns(bool)
func (*PremiaMarketCallerSession) IsOrderValid ¶
func (_PremiaMarket *PremiaMarketCallerSession) IsOrderValid(_order PremiaMarketOrder) (bool, error)
IsOrderValid is a free data retrieval call binding the contract method 0x4969f871.
Solidity: function isOrderValid((address,uint8,bool,address,uint256,address,uint256,uint256,uint256,uint8) _order) view returns(bool)
func (*PremiaMarketCallerSession) Owner ¶
func (_PremiaMarket *PremiaMarketCallerSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*PremiaMarketCallerSession) PaymentTokenDecimals ¶
func (_PremiaMarket *PremiaMarketCallerSession) PaymentTokenDecimals(arg0 common.Address) (uint8, error)
PaymentTokenDecimals is a free data retrieval call binding the contract method 0xd481515a.
Solidity: function paymentTokenDecimals(address ) view returns(uint8)
func (*PremiaMarketCallerSession) PremiaReferral ¶
func (_PremiaMarket *PremiaMarketCallerSession) PremiaReferral() (common.Address, error)
PremiaReferral is a free data retrieval call binding the contract method 0x4ebd2287.
Solidity: function premiaReferral() view returns(address)
func (*PremiaMarketCallerSession) UPremia ¶
func (_PremiaMarket *PremiaMarketCallerSession) UPremia() (common.Address, error)
UPremia is a free data retrieval call binding the contract method 0xb9a8e9d3.
Solidity: function uPremia() view returns(address)
func (*PremiaMarketCallerSession) UPremiaBalance ¶
func (_PremiaMarket *PremiaMarketCallerSession) UPremiaBalance(arg0 common.Address) (*big.Int, error)
UPremiaBalance is a free data retrieval call binding the contract method 0x929945d9.
Solidity: function uPremiaBalance(address ) view returns(uint256)
type PremiaMarketFilterer ¶
type PremiaMarketFilterer struct {
// contains filtered or unexported fields
}
PremiaMarketFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewPremiaMarketFilterer ¶
func NewPremiaMarketFilterer(address common.Address, filterer bind.ContractFilterer) (*PremiaMarketFilterer, error)
NewPremiaMarketFilterer creates a new log filterer instance of PremiaMarket, bound to a specific deployed contract.
func (*PremiaMarketFilterer) FilterOrderCancelled ¶
func (_PremiaMarket *PremiaMarketFilterer) FilterOrderCancelled(opts *bind.FilterOpts, hash [][32]byte, maker []common.Address, optionContract []common.Address) (*PremiaMarketOrderCancelledIterator, error)
FilterOrderCancelled is a free log retrieval operation binding the contract event 0x5d22ca4d7d4d28cd5651ddf3defbaab145d6146acb2b899eb0698144fd9d5e12.
Solidity: event OrderCancelled(bytes32 indexed hash, address indexed maker, address indexed optionContract, address paymentToken, uint256 amount, uint256 pricePerUnit)
func (*PremiaMarketFilterer) FilterOrderCreated ¶
func (_PremiaMarket *PremiaMarketFilterer) FilterOrderCreated(opts *bind.FilterOpts, hash [][32]byte, maker []common.Address, optionContract []common.Address) (*PremiaMarketOrderCreatedIterator, error)
FilterOrderCreated is a free log retrieval operation binding the contract event 0x7b1bb3d3aaec5962def20e424565d7eee44dd6e74694eb87d96f5415ebd57dd3.
Solidity: event OrderCreated(bytes32 indexed hash, address indexed maker, address indexed optionContract, uint8 side, bool isDelayedWriting, uint256 optionId, address paymentToken, uint256 pricePerUnit, uint256 expirationTime, uint256 salt, uint256 amount, uint8 decimals)
func (*PremiaMarketFilterer) FilterOrderFilled ¶
func (_PremiaMarket *PremiaMarketFilterer) FilterOrderFilled(opts *bind.FilterOpts, hash [][32]byte, taker []common.Address, optionContract []common.Address) (*PremiaMarketOrderFilledIterator, error)
FilterOrderFilled is a free log retrieval operation binding the contract event 0x0a7de5ac65db42a71326c71bc572df49b4eaa934a4fdd044ea7fefb03b621280.
Solidity: event OrderFilled(bytes32 indexed hash, address indexed taker, address indexed optionContract, address maker, address paymentToken, uint256 amount, uint256 pricePerUnit)
func (*PremiaMarketFilterer) FilterOwnershipTransferred ¶
func (_PremiaMarket *PremiaMarketFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*PremiaMarketOwnershipTransferredIterator, error)
FilterOwnershipTransferred is a free log retrieval operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*PremiaMarketFilterer) ParseOrderCancelled ¶
func (_PremiaMarket *PremiaMarketFilterer) ParseOrderCancelled(log types.Log) (*PremiaMarketOrderCancelled, error)
ParseOrderCancelled is a log parse operation binding the contract event 0x5d22ca4d7d4d28cd5651ddf3defbaab145d6146acb2b899eb0698144fd9d5e12.
Solidity: event OrderCancelled(bytes32 indexed hash, address indexed maker, address indexed optionContract, address paymentToken, uint256 amount, uint256 pricePerUnit)
func (*PremiaMarketFilterer) ParseOrderCreated ¶
func (_PremiaMarket *PremiaMarketFilterer) ParseOrderCreated(log types.Log) (*PremiaMarketOrderCreated, error)
ParseOrderCreated is a log parse operation binding the contract event 0x7b1bb3d3aaec5962def20e424565d7eee44dd6e74694eb87d96f5415ebd57dd3.
Solidity: event OrderCreated(bytes32 indexed hash, address indexed maker, address indexed optionContract, uint8 side, bool isDelayedWriting, uint256 optionId, address paymentToken, uint256 pricePerUnit, uint256 expirationTime, uint256 salt, uint256 amount, uint8 decimals)
func (*PremiaMarketFilterer) ParseOrderFilled ¶
func (_PremiaMarket *PremiaMarketFilterer) ParseOrderFilled(log types.Log) (*PremiaMarketOrderFilled, error)
ParseOrderFilled is a log parse operation binding the contract event 0x0a7de5ac65db42a71326c71bc572df49b4eaa934a4fdd044ea7fefb03b621280.
Solidity: event OrderFilled(bytes32 indexed hash, address indexed taker, address indexed optionContract, address maker, address paymentToken, uint256 amount, uint256 pricePerUnit)
func (*PremiaMarketFilterer) ParseOwnershipTransferred ¶
func (_PremiaMarket *PremiaMarketFilterer) ParseOwnershipTransferred(log types.Log) (*PremiaMarketOwnershipTransferred, error)
ParseOwnershipTransferred is a log parse operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*PremiaMarketFilterer) WatchOrderCancelled ¶
func (_PremiaMarket *PremiaMarketFilterer) WatchOrderCancelled(opts *bind.WatchOpts, sink chan<- *PremiaMarketOrderCancelled, hash [][32]byte, maker []common.Address, optionContract []common.Address) (event.Subscription, error)
WatchOrderCancelled is a free log subscription operation binding the contract event 0x5d22ca4d7d4d28cd5651ddf3defbaab145d6146acb2b899eb0698144fd9d5e12.
Solidity: event OrderCancelled(bytes32 indexed hash, address indexed maker, address indexed optionContract, address paymentToken, uint256 amount, uint256 pricePerUnit)
func (*PremiaMarketFilterer) WatchOrderCreated ¶
func (_PremiaMarket *PremiaMarketFilterer) WatchOrderCreated(opts *bind.WatchOpts, sink chan<- *PremiaMarketOrderCreated, hash [][32]byte, maker []common.Address, optionContract []common.Address) (event.Subscription, error)
WatchOrderCreated is a free log subscription operation binding the contract event 0x7b1bb3d3aaec5962def20e424565d7eee44dd6e74694eb87d96f5415ebd57dd3.
Solidity: event OrderCreated(bytes32 indexed hash, address indexed maker, address indexed optionContract, uint8 side, bool isDelayedWriting, uint256 optionId, address paymentToken, uint256 pricePerUnit, uint256 expirationTime, uint256 salt, uint256 amount, uint8 decimals)
func (*PremiaMarketFilterer) WatchOrderFilled ¶
func (_PremiaMarket *PremiaMarketFilterer) WatchOrderFilled(opts *bind.WatchOpts, sink chan<- *PremiaMarketOrderFilled, hash [][32]byte, taker []common.Address, optionContract []common.Address) (event.Subscription, error)
WatchOrderFilled is a free log subscription operation binding the contract event 0x0a7de5ac65db42a71326c71bc572df49b4eaa934a4fdd044ea7fefb03b621280.
Solidity: event OrderFilled(bytes32 indexed hash, address indexed taker, address indexed optionContract, address maker, address paymentToken, uint256 amount, uint256 pricePerUnit)
func (*PremiaMarketFilterer) WatchOwnershipTransferred ¶
func (_PremiaMarket *PremiaMarketFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *PremiaMarketOwnershipTransferred, 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)
type PremiaMarketOption ¶
type PremiaMarketOption struct { Token common.Address Expiration *big.Int StrikePrice *big.Int IsCall bool }
PremiaMarketOption is an auto generated low-level Go binding around an user-defined struct.
type PremiaMarketOrder ¶
type PremiaMarketOrder struct { Maker common.Address Side uint8 IsDelayedWriting bool OptionContract common.Address OptionId *big.Int PaymentToken common.Address PricePerUnit *big.Int ExpirationTime *big.Int Salt *big.Int Decimals uint8 }
PremiaMarketOrder is an auto generated low-level Go binding around an user-defined struct.
type PremiaMarketOrderCancelled ¶
type PremiaMarketOrderCancelled struct { Hash [32]byte Maker common.Address OptionContract common.Address PaymentToken common.Address Amount *big.Int PricePerUnit *big.Int Raw types.Log // Blockchain specific contextual infos }
PremiaMarketOrderCancelled represents a OrderCancelled event raised by the PremiaMarket contract.
type PremiaMarketOrderCancelledIterator ¶
type PremiaMarketOrderCancelledIterator struct { Event *PremiaMarketOrderCancelled // Event containing the contract specifics and raw log // contains filtered or unexported fields }
PremiaMarketOrderCancelledIterator is returned from FilterOrderCancelled and is used to iterate over the raw logs and unpacked data for OrderCancelled events raised by the PremiaMarket contract.
func (*PremiaMarketOrderCancelledIterator) Close ¶
func (it *PremiaMarketOrderCancelledIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*PremiaMarketOrderCancelledIterator) Error ¶
func (it *PremiaMarketOrderCancelledIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*PremiaMarketOrderCancelledIterator) Next ¶
func (it *PremiaMarketOrderCancelledIterator) 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 PremiaMarketOrderCreated ¶
type PremiaMarketOrderCreated struct { Hash [32]byte Maker common.Address OptionContract common.Address Side uint8 IsDelayedWriting bool OptionId *big.Int PaymentToken common.Address PricePerUnit *big.Int ExpirationTime *big.Int Salt *big.Int Amount *big.Int Decimals uint8 Raw types.Log // Blockchain specific contextual infos }
PremiaMarketOrderCreated represents a OrderCreated event raised by the PremiaMarket contract.
type PremiaMarketOrderCreatedIterator ¶
type PremiaMarketOrderCreatedIterator struct { Event *PremiaMarketOrderCreated // Event containing the contract specifics and raw log // contains filtered or unexported fields }
PremiaMarketOrderCreatedIterator is returned from FilterOrderCreated and is used to iterate over the raw logs and unpacked data for OrderCreated events raised by the PremiaMarket contract.
func (*PremiaMarketOrderCreatedIterator) Close ¶
func (it *PremiaMarketOrderCreatedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*PremiaMarketOrderCreatedIterator) Error ¶
func (it *PremiaMarketOrderCreatedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*PremiaMarketOrderCreatedIterator) Next ¶
func (it *PremiaMarketOrderCreatedIterator) 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 PremiaMarketOrderFilled ¶
type PremiaMarketOrderFilled struct { Hash [32]byte Taker common.Address OptionContract common.Address Maker common.Address PaymentToken common.Address Amount *big.Int PricePerUnit *big.Int Raw types.Log // Blockchain specific contextual infos }
PremiaMarketOrderFilled represents a OrderFilled event raised by the PremiaMarket contract.
type PremiaMarketOrderFilledIterator ¶
type PremiaMarketOrderFilledIterator struct { Event *PremiaMarketOrderFilled // Event containing the contract specifics and raw log // contains filtered or unexported fields }
PremiaMarketOrderFilledIterator is returned from FilterOrderFilled and is used to iterate over the raw logs and unpacked data for OrderFilled events raised by the PremiaMarket contract.
func (*PremiaMarketOrderFilledIterator) Close ¶
func (it *PremiaMarketOrderFilledIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*PremiaMarketOrderFilledIterator) Error ¶
func (it *PremiaMarketOrderFilledIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*PremiaMarketOrderFilledIterator) Next ¶
func (it *PremiaMarketOrderFilledIterator) 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 PremiaMarketOwnershipTransferred ¶
type PremiaMarketOwnershipTransferred struct { PreviousOwner common.Address NewOwner common.Address Raw types.Log // Blockchain specific contextual infos }
PremiaMarketOwnershipTransferred represents a OwnershipTransferred event raised by the PremiaMarket contract.
type PremiaMarketOwnershipTransferredIterator ¶
type PremiaMarketOwnershipTransferredIterator struct { Event *PremiaMarketOwnershipTransferred // Event containing the contract specifics and raw log // contains filtered or unexported fields }
PremiaMarketOwnershipTransferredIterator is returned from FilterOwnershipTransferred and is used to iterate over the raw logs and unpacked data for OwnershipTransferred events raised by the PremiaMarket contract.
func (*PremiaMarketOwnershipTransferredIterator) Close ¶
func (it *PremiaMarketOwnershipTransferredIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*PremiaMarketOwnershipTransferredIterator) Error ¶
func (it *PremiaMarketOwnershipTransferredIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*PremiaMarketOwnershipTransferredIterator) Next ¶
func (it *PremiaMarketOwnershipTransferredIterator) 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 PremiaMarketRaw ¶
type PremiaMarketRaw struct {
Contract *PremiaMarket // Generic contract binding to access the raw methods on
}
PremiaMarketRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*PremiaMarketRaw) Call ¶
func (_PremiaMarket *PremiaMarketRaw) 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 (*PremiaMarketRaw) Transact ¶
func (_PremiaMarket *PremiaMarketRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*PremiaMarketRaw) Transfer ¶
func (_PremiaMarket *PremiaMarketRaw) 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 PremiaMarketSession ¶
type PremiaMarketSession struct { Contract *PremiaMarket // 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 }
PremiaMarketSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*PremiaMarketSession) AddWhitelistedOptionContracts ¶
func (_PremiaMarket *PremiaMarketSession) AddWhitelistedOptionContracts(_addr []common.Address) (*types.Transaction, error)
AddWhitelistedOptionContracts is a paid mutator transaction binding the contract method 0x8ea19f9b.
Solidity: function addWhitelistedOptionContracts(address[] _addr) returns()
func (*PremiaMarketSession) AddWhitelistedPaymentTokens ¶
func (_PremiaMarket *PremiaMarketSession) AddWhitelistedPaymentTokens(_addr []common.Address) (*types.Transaction, error)
AddWhitelistedPaymentTokens is a paid mutator transaction binding the contract method 0xf4084cee.
Solidity: function addWhitelistedPaymentTokens(address[] _addr) returns()
func (*PremiaMarketSession) Amounts ¶
func (_PremiaMarket *PremiaMarketSession) Amounts(arg0 [32]byte) (*big.Int, error)
Amounts is a free data retrieval call binding the contract method 0xc8662d95.
Solidity: function amounts(bytes32 ) view returns(uint256)
func (*PremiaMarketSession) AreOrdersValid ¶
func (_PremiaMarket *PremiaMarketSession) AreOrdersValid(_orders []PremiaMarketOrder) ([]bool, error)
AreOrdersValid is a free data retrieval call binding the contract method 0x9e06c6d9.
Solidity: function areOrdersValid((address,uint8,bool,address,uint256,address,uint256,uint256,uint256,uint8)[] _orders) view returns(bool[])
func (*PremiaMarketSession) CancelOrder ¶
func (_PremiaMarket *PremiaMarketSession) CancelOrder(_order PremiaMarketOrder) (*types.Transaction, error)
CancelOrder is a paid mutator transaction binding the contract method 0x3eeba766.
Solidity: function cancelOrder((address,uint8,bool,address,uint256,address,uint256,uint256,uint256,uint8) _order) returns()
func (*PremiaMarketSession) CancelOrders ¶
func (_PremiaMarket *PremiaMarketSession) CancelOrders(_orders []PremiaMarketOrder) (*types.Transaction, error)
CancelOrders is a paid mutator transaction binding the contract method 0x306de2df.
Solidity: function cancelOrders((address,uint8,bool,address,uint256,address,uint256,uint256,uint256,uint8)[] _orders) returns()
func (*PremiaMarketSession) ClaimUPremia ¶
func (_PremiaMarket *PremiaMarketSession) ClaimUPremia() (*types.Transaction, error)
ClaimUPremia is a paid mutator transaction binding the contract method 0x6c5c662e.
Solidity: function claimUPremia() returns()
func (*PremiaMarketSession) CreateOrder ¶
func (_PremiaMarket *PremiaMarketSession) CreateOrder(_order PremiaMarketOrder, _amount *big.Int) (*types.Transaction, error)
CreateOrder is a paid mutator transaction binding the contract method 0x11e4c3bc.
Solidity: function createOrder((address,uint8,bool,address,uint256,address,uint256,uint256,uint256,uint8) _order, uint256 _amount) returns(bytes32)
func (*PremiaMarketSession) CreateOrderAndTryToFill ¶
func (_PremiaMarket *PremiaMarketSession) CreateOrderAndTryToFill(_order PremiaMarketOrder, _amount *big.Int, _orderCandidates []PremiaMarketOrder, _writeOnBuyFill bool, _referrer common.Address) (*types.Transaction, error)
CreateOrderAndTryToFill is a paid mutator transaction binding the contract method 0x4f66efd9.
Solidity: function createOrderAndTryToFill((address,uint8,bool,address,uint256,address,uint256,uint256,uint256,uint8) _order, uint256 _amount, (address,uint8,bool,address,uint256,address,uint256,uint256,uint256,uint8)[] _orderCandidates, bool _writeOnBuyFill, address _referrer) returns()
func (*PremiaMarketSession) CreateOrderForNewOption ¶
func (_PremiaMarket *PremiaMarketSession) CreateOrderForNewOption(_order PremiaMarketOrder, _amount *big.Int, _option PremiaMarketOption, _referrer common.Address) (*types.Transaction, error)
CreateOrderForNewOption is a paid mutator transaction binding the contract method 0x947f75d0.
Solidity: function createOrderForNewOption((address,uint8,bool,address,uint256,address,uint256,uint256,uint256,uint8) _order, uint256 _amount, (address,uint256,uint256,bool) _option, address _referrer) returns(bytes32)
func (*PremiaMarketSession) CreateOrders ¶
func (_PremiaMarket *PremiaMarketSession) CreateOrders(_orders []PremiaMarketOrder, _amounts []*big.Int) (*types.Transaction, error)
CreateOrders is a paid mutator transaction binding the contract method 0x6fc7aafc.
Solidity: function createOrders((address,uint8,bool,address,uint256,address,uint256,uint256,uint256,uint8)[] _orders, uint256[] _amounts) returns(bytes32[])
func (*PremiaMarketSession) FeeCalculator ¶
func (_PremiaMarket *PremiaMarketSession) FeeCalculator() (common.Address, error)
FeeCalculator is a free data retrieval call binding the contract method 0xb00eb9fe.
Solidity: function feeCalculator() view returns(address)
func (*PremiaMarketSession) FeeRecipient ¶
func (_PremiaMarket *PremiaMarketSession) FeeRecipient() (common.Address, error)
FeeRecipient is a free data retrieval call binding the contract method 0x46904840.
Solidity: function feeRecipient() view returns(address)
func (*PremiaMarketSession) FillOrder ¶
func (_PremiaMarket *PremiaMarketSession) FillOrder(_order PremiaMarketOrder, _amount *big.Int, _writeOnBuyFill bool, _referrer common.Address) (*types.Transaction, error)
FillOrder is a paid mutator transaction binding the contract method 0x668dd276.
Solidity: function fillOrder((address,uint8,bool,address,uint256,address,uint256,uint256,uint256,uint8) _order, uint256 _amount, bool _writeOnBuyFill, address _referrer) returns(uint256)
func (*PremiaMarketSession) FillOrders ¶
func (_PremiaMarket *PremiaMarketSession) FillOrders(_orders []PremiaMarketOrder, _maxAmount *big.Int, _writeOnBuyFill bool, _referrer common.Address) (*types.Transaction, error)
FillOrders is a paid mutator transaction binding the contract method 0x097d29a7.
Solidity: function fillOrders((address,uint8,bool,address,uint256,address,uint256,uint256,uint256,uint8)[] _orders, uint256 _maxAmount, bool _writeOnBuyFill, address _referrer) returns(uint256)
func (*PremiaMarketSession) GetAmountsBatch ¶
func (_PremiaMarket *PremiaMarketSession) GetAmountsBatch(_orderIds [][32]byte) ([]*big.Int, error)
GetAmountsBatch is a free data retrieval call binding the contract method 0x1ef6ab30.
Solidity: function getAmountsBatch(bytes32[] _orderIds) view returns(uint256[])
func (*PremiaMarketSession) GetOrderHash ¶
func (_PremiaMarket *PremiaMarketSession) GetOrderHash(_order PremiaMarketOrder) ([32]byte, error)
GetOrderHash is a free data retrieval call binding the contract method 0xfb3f9661.
Solidity: function getOrderHash((address,uint8,bool,address,uint256,address,uint256,uint256,uint256,uint8) _order) pure returns(bytes32)
func (*PremiaMarketSession) GetOrderHashBatch ¶
func (_PremiaMarket *PremiaMarketSession) GetOrderHashBatch(_orders []PremiaMarketOrder) ([][32]byte, error)
GetOrderHashBatch is a free data retrieval call binding the contract method 0x783fb8ef.
Solidity: function getOrderHashBatch((address,uint8,bool,address,uint256,address,uint256,uint256,uint256,uint8)[] _orders) pure returns(bytes32[])
func (*PremiaMarketSession) GetWhitelistedOptionContracts ¶
func (_PremiaMarket *PremiaMarketSession) GetWhitelistedOptionContracts() ([]common.Address, error)
GetWhitelistedOptionContracts is a free data retrieval call binding the contract method 0x3baa38ef.
Solidity: function getWhitelistedOptionContracts() view returns(address[])
func (*PremiaMarketSession) GetWhitelistedPaymentTokens ¶
func (_PremiaMarket *PremiaMarketSession) GetWhitelistedPaymentTokens() ([]common.Address, error)
GetWhitelistedPaymentTokens is a free data retrieval call binding the contract method 0xe6f073e0.
Solidity: function getWhitelistedPaymentTokens() view returns(address[])
func (*PremiaMarketSession) IsDelayedWritingEnabled ¶
func (_PremiaMarket *PremiaMarketSession) IsDelayedWritingEnabled() (bool, error)
IsDelayedWritingEnabled is a free data retrieval call binding the contract method 0x4c878a41.
Solidity: function isDelayedWritingEnabled() view returns(bool)
func (*PremiaMarketSession) IsOrderValid ¶
func (_PremiaMarket *PremiaMarketSession) IsOrderValid(_order PremiaMarketOrder) (bool, error)
IsOrderValid is a free data retrieval call binding the contract method 0x4969f871.
Solidity: function isOrderValid((address,uint8,bool,address,uint256,address,uint256,uint256,uint256,uint8) _order) view returns(bool)
func (*PremiaMarketSession) Owner ¶
func (_PremiaMarket *PremiaMarketSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*PremiaMarketSession) PaymentTokenDecimals ¶
func (_PremiaMarket *PremiaMarketSession) PaymentTokenDecimals(arg0 common.Address) (uint8, error)
PaymentTokenDecimals is a free data retrieval call binding the contract method 0xd481515a.
Solidity: function paymentTokenDecimals(address ) view returns(uint8)
func (*PremiaMarketSession) PremiaReferral ¶
func (_PremiaMarket *PremiaMarketSession) PremiaReferral() (common.Address, error)
PremiaReferral is a free data retrieval call binding the contract method 0x4ebd2287.
Solidity: function premiaReferral() view returns(address)
func (*PremiaMarketSession) RemoveWhitelistedOptionContracts ¶
func (_PremiaMarket *PremiaMarketSession) RemoveWhitelistedOptionContracts(_addr []common.Address) (*types.Transaction, error)
RemoveWhitelistedOptionContracts is a paid mutator transaction binding the contract method 0xd906ba58.
Solidity: function removeWhitelistedOptionContracts(address[] _addr) returns()
func (*PremiaMarketSession) RemoveWhitelistedPaymentTokens ¶
func (_PremiaMarket *PremiaMarketSession) RemoveWhitelistedPaymentTokens(_addr []common.Address) (*types.Transaction, error)
RemoveWhitelistedPaymentTokens is a paid mutator transaction binding the contract method 0x79c19c83.
Solidity: function removeWhitelistedPaymentTokens(address[] _addr) returns()
func (*PremiaMarketSession) RenounceOwnership ¶
func (_PremiaMarket *PremiaMarketSession) RenounceOwnership() (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*PremiaMarketSession) SetDelayedWritingEnabled ¶
func (_PremiaMarket *PremiaMarketSession) SetDelayedWritingEnabled(_state bool) (*types.Transaction, error)
SetDelayedWritingEnabled is a paid mutator transaction binding the contract method 0x9a52b73e.
Solidity: function setDelayedWritingEnabled(bool _state) returns()
func (*PremiaMarketSession) SetFeeCalculator ¶
func (_PremiaMarket *PremiaMarketSession) SetFeeCalculator(_feeCalculator common.Address) (*types.Transaction, error)
SetFeeCalculator is a paid mutator transaction binding the contract method 0x8c66d04f.
Solidity: function setFeeCalculator(address _feeCalculator) returns()
func (*PremiaMarketSession) SetFeeRecipient ¶
func (_PremiaMarket *PremiaMarketSession) SetFeeRecipient(_feeRecipient common.Address) (*types.Transaction, error)
SetFeeRecipient is a paid mutator transaction binding the contract method 0xe74b981b.
Solidity: function setFeeRecipient(address _feeRecipient) returns()
func (*PremiaMarketSession) SetPremiaUncutErc20 ¶
func (_PremiaMarket *PremiaMarketSession) SetPremiaUncutErc20(_uPremia common.Address) (*types.Transaction, error)
SetPremiaUncutErc20 is a paid mutator transaction binding the contract method 0xc0b5f2cc.
Solidity: function setPremiaUncutErc20(address _uPremia) returns()
func (*PremiaMarketSession) TransferOwnership ¶
func (_PremiaMarket *PremiaMarketSession) 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 (*PremiaMarketSession) UPremia ¶
func (_PremiaMarket *PremiaMarketSession) UPremia() (common.Address, error)
UPremia is a free data retrieval call binding the contract method 0xb9a8e9d3.
Solidity: function uPremia() view returns(address)
func (*PremiaMarketSession) UPremiaBalance ¶
UPremiaBalance is a free data retrieval call binding the contract method 0x929945d9.
Solidity: function uPremiaBalance(address ) view returns(uint256)
func (*PremiaMarketSession) WriteAndCreateOrder ¶
func (_PremiaMarket *PremiaMarketSession) WriteAndCreateOrder(_option IPremiaOptionOptionWriteArgs, _order PremiaMarketOrder, _referrer common.Address) (*types.Transaction, error)
WriteAndCreateOrder is a paid mutator transaction binding the contract method 0xf4738c13.
Solidity: function writeAndCreateOrder((address,uint256,uint256,uint256,bool) _option, (address,uint8,bool,address,uint256,address,uint256,uint256,uint256,uint8) _order, address _referrer) returns(bytes32)
type PremiaMarketTransactor ¶
type PremiaMarketTransactor struct {
// contains filtered or unexported fields
}
PremiaMarketTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewPremiaMarketTransactor ¶
func NewPremiaMarketTransactor(address common.Address, transactor bind.ContractTransactor) (*PremiaMarketTransactor, error)
NewPremiaMarketTransactor creates a new write-only instance of PremiaMarket, bound to a specific deployed contract.
func (*PremiaMarketTransactor) AddWhitelistedOptionContracts ¶
func (_PremiaMarket *PremiaMarketTransactor) AddWhitelistedOptionContracts(opts *bind.TransactOpts, _addr []common.Address) (*types.Transaction, error)
AddWhitelistedOptionContracts is a paid mutator transaction binding the contract method 0x8ea19f9b.
Solidity: function addWhitelistedOptionContracts(address[] _addr) returns()
func (*PremiaMarketTransactor) AddWhitelistedPaymentTokens ¶
func (_PremiaMarket *PremiaMarketTransactor) AddWhitelistedPaymentTokens(opts *bind.TransactOpts, _addr []common.Address) (*types.Transaction, error)
AddWhitelistedPaymentTokens is a paid mutator transaction binding the contract method 0xf4084cee.
Solidity: function addWhitelistedPaymentTokens(address[] _addr) returns()
func (*PremiaMarketTransactor) CancelOrder ¶
func (_PremiaMarket *PremiaMarketTransactor) CancelOrder(opts *bind.TransactOpts, _order PremiaMarketOrder) (*types.Transaction, error)
CancelOrder is a paid mutator transaction binding the contract method 0x3eeba766.
Solidity: function cancelOrder((address,uint8,bool,address,uint256,address,uint256,uint256,uint256,uint8) _order) returns()
func (*PremiaMarketTransactor) CancelOrders ¶
func (_PremiaMarket *PremiaMarketTransactor) CancelOrders(opts *bind.TransactOpts, _orders []PremiaMarketOrder) (*types.Transaction, error)
CancelOrders is a paid mutator transaction binding the contract method 0x306de2df.
Solidity: function cancelOrders((address,uint8,bool,address,uint256,address,uint256,uint256,uint256,uint8)[] _orders) returns()
func (*PremiaMarketTransactor) ClaimUPremia ¶
func (_PremiaMarket *PremiaMarketTransactor) ClaimUPremia(opts *bind.TransactOpts) (*types.Transaction, error)
ClaimUPremia is a paid mutator transaction binding the contract method 0x6c5c662e.
Solidity: function claimUPremia() returns()
func (*PremiaMarketTransactor) CreateOrder ¶
func (_PremiaMarket *PremiaMarketTransactor) CreateOrder(opts *bind.TransactOpts, _order PremiaMarketOrder, _amount *big.Int) (*types.Transaction, error)
CreateOrder is a paid mutator transaction binding the contract method 0x11e4c3bc.
Solidity: function createOrder((address,uint8,bool,address,uint256,address,uint256,uint256,uint256,uint8) _order, uint256 _amount) returns(bytes32)
func (*PremiaMarketTransactor) CreateOrderAndTryToFill ¶
func (_PremiaMarket *PremiaMarketTransactor) CreateOrderAndTryToFill(opts *bind.TransactOpts, _order PremiaMarketOrder, _amount *big.Int, _orderCandidates []PremiaMarketOrder, _writeOnBuyFill bool, _referrer common.Address) (*types.Transaction, error)
CreateOrderAndTryToFill is a paid mutator transaction binding the contract method 0x4f66efd9.
Solidity: function createOrderAndTryToFill((address,uint8,bool,address,uint256,address,uint256,uint256,uint256,uint8) _order, uint256 _amount, (address,uint8,bool,address,uint256,address,uint256,uint256,uint256,uint8)[] _orderCandidates, bool _writeOnBuyFill, address _referrer) returns()
func (*PremiaMarketTransactor) CreateOrderForNewOption ¶
func (_PremiaMarket *PremiaMarketTransactor) CreateOrderForNewOption(opts *bind.TransactOpts, _order PremiaMarketOrder, _amount *big.Int, _option PremiaMarketOption, _referrer common.Address) (*types.Transaction, error)
CreateOrderForNewOption is a paid mutator transaction binding the contract method 0x947f75d0.
Solidity: function createOrderForNewOption((address,uint8,bool,address,uint256,address,uint256,uint256,uint256,uint8) _order, uint256 _amount, (address,uint256,uint256,bool) _option, address _referrer) returns(bytes32)
func (*PremiaMarketTransactor) CreateOrders ¶
func (_PremiaMarket *PremiaMarketTransactor) CreateOrders(opts *bind.TransactOpts, _orders []PremiaMarketOrder, _amounts []*big.Int) (*types.Transaction, error)
CreateOrders is a paid mutator transaction binding the contract method 0x6fc7aafc.
Solidity: function createOrders((address,uint8,bool,address,uint256,address,uint256,uint256,uint256,uint8)[] _orders, uint256[] _amounts) returns(bytes32[])
func (*PremiaMarketTransactor) FillOrder ¶
func (_PremiaMarket *PremiaMarketTransactor) FillOrder(opts *bind.TransactOpts, _order PremiaMarketOrder, _amount *big.Int, _writeOnBuyFill bool, _referrer common.Address) (*types.Transaction, error)
FillOrder is a paid mutator transaction binding the contract method 0x668dd276.
Solidity: function fillOrder((address,uint8,bool,address,uint256,address,uint256,uint256,uint256,uint8) _order, uint256 _amount, bool _writeOnBuyFill, address _referrer) returns(uint256)
func (*PremiaMarketTransactor) FillOrders ¶
func (_PremiaMarket *PremiaMarketTransactor) FillOrders(opts *bind.TransactOpts, _orders []PremiaMarketOrder, _maxAmount *big.Int, _writeOnBuyFill bool, _referrer common.Address) (*types.Transaction, error)
FillOrders is a paid mutator transaction binding the contract method 0x097d29a7.
Solidity: function fillOrders((address,uint8,bool,address,uint256,address,uint256,uint256,uint256,uint8)[] _orders, uint256 _maxAmount, bool _writeOnBuyFill, address _referrer) returns(uint256)
func (*PremiaMarketTransactor) RemoveWhitelistedOptionContracts ¶
func (_PremiaMarket *PremiaMarketTransactor) RemoveWhitelistedOptionContracts(opts *bind.TransactOpts, _addr []common.Address) (*types.Transaction, error)
RemoveWhitelistedOptionContracts is a paid mutator transaction binding the contract method 0xd906ba58.
Solidity: function removeWhitelistedOptionContracts(address[] _addr) returns()
func (*PremiaMarketTransactor) RemoveWhitelistedPaymentTokens ¶
func (_PremiaMarket *PremiaMarketTransactor) RemoveWhitelistedPaymentTokens(opts *bind.TransactOpts, _addr []common.Address) (*types.Transaction, error)
RemoveWhitelistedPaymentTokens is a paid mutator transaction binding the contract method 0x79c19c83.
Solidity: function removeWhitelistedPaymentTokens(address[] _addr) returns()
func (*PremiaMarketTransactor) RenounceOwnership ¶
func (_PremiaMarket *PremiaMarketTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*PremiaMarketTransactor) SetDelayedWritingEnabled ¶
func (_PremiaMarket *PremiaMarketTransactor) SetDelayedWritingEnabled(opts *bind.TransactOpts, _state bool) (*types.Transaction, error)
SetDelayedWritingEnabled is a paid mutator transaction binding the contract method 0x9a52b73e.
Solidity: function setDelayedWritingEnabled(bool _state) returns()
func (*PremiaMarketTransactor) SetFeeCalculator ¶
func (_PremiaMarket *PremiaMarketTransactor) SetFeeCalculator(opts *bind.TransactOpts, _feeCalculator common.Address) (*types.Transaction, error)
SetFeeCalculator is a paid mutator transaction binding the contract method 0x8c66d04f.
Solidity: function setFeeCalculator(address _feeCalculator) returns()
func (*PremiaMarketTransactor) SetFeeRecipient ¶
func (_PremiaMarket *PremiaMarketTransactor) SetFeeRecipient(opts *bind.TransactOpts, _feeRecipient common.Address) (*types.Transaction, error)
SetFeeRecipient is a paid mutator transaction binding the contract method 0xe74b981b.
Solidity: function setFeeRecipient(address _feeRecipient) returns()
func (*PremiaMarketTransactor) SetPremiaUncutErc20 ¶
func (_PremiaMarket *PremiaMarketTransactor) SetPremiaUncutErc20(opts *bind.TransactOpts, _uPremia common.Address) (*types.Transaction, error)
SetPremiaUncutErc20 is a paid mutator transaction binding the contract method 0xc0b5f2cc.
Solidity: function setPremiaUncutErc20(address _uPremia) returns()
func (*PremiaMarketTransactor) TransferOwnership ¶
func (_PremiaMarket *PremiaMarketTransactor) 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 (*PremiaMarketTransactor) WriteAndCreateOrder ¶
func (_PremiaMarket *PremiaMarketTransactor) WriteAndCreateOrder(opts *bind.TransactOpts, _option IPremiaOptionOptionWriteArgs, _order PremiaMarketOrder, _referrer common.Address) (*types.Transaction, error)
WriteAndCreateOrder is a paid mutator transaction binding the contract method 0xf4738c13.
Solidity: function writeAndCreateOrder((address,uint256,uint256,uint256,bool) _option, (address,uint8,bool,address,uint256,address,uint256,uint256,uint256,uint8) _order, address _referrer) returns(bytes32)
type PremiaMarketTransactorRaw ¶
type PremiaMarketTransactorRaw struct {
Contract *PremiaMarketTransactor // Generic write-only contract binding to access the raw methods on
}
PremiaMarketTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*PremiaMarketTransactorRaw) Transact ¶
func (_PremiaMarket *PremiaMarketTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*PremiaMarketTransactorRaw) Transfer ¶
func (_PremiaMarket *PremiaMarketTransactorRaw) 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 PremiaMarketTransactorSession ¶
type PremiaMarketTransactorSession struct { Contract *PremiaMarketTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
PremiaMarketTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*PremiaMarketTransactorSession) AddWhitelistedOptionContracts ¶
func (_PremiaMarket *PremiaMarketTransactorSession) AddWhitelistedOptionContracts(_addr []common.Address) (*types.Transaction, error)
AddWhitelistedOptionContracts is a paid mutator transaction binding the contract method 0x8ea19f9b.
Solidity: function addWhitelistedOptionContracts(address[] _addr) returns()
func (*PremiaMarketTransactorSession) AddWhitelistedPaymentTokens ¶
func (_PremiaMarket *PremiaMarketTransactorSession) AddWhitelistedPaymentTokens(_addr []common.Address) (*types.Transaction, error)
AddWhitelistedPaymentTokens is a paid mutator transaction binding the contract method 0xf4084cee.
Solidity: function addWhitelistedPaymentTokens(address[] _addr) returns()
func (*PremiaMarketTransactorSession) CancelOrder ¶
func (_PremiaMarket *PremiaMarketTransactorSession) CancelOrder(_order PremiaMarketOrder) (*types.Transaction, error)
CancelOrder is a paid mutator transaction binding the contract method 0x3eeba766.
Solidity: function cancelOrder((address,uint8,bool,address,uint256,address,uint256,uint256,uint256,uint8) _order) returns()
func (*PremiaMarketTransactorSession) CancelOrders ¶
func (_PremiaMarket *PremiaMarketTransactorSession) CancelOrders(_orders []PremiaMarketOrder) (*types.Transaction, error)
CancelOrders is a paid mutator transaction binding the contract method 0x306de2df.
Solidity: function cancelOrders((address,uint8,bool,address,uint256,address,uint256,uint256,uint256,uint8)[] _orders) returns()
func (*PremiaMarketTransactorSession) ClaimUPremia ¶
func (_PremiaMarket *PremiaMarketTransactorSession) ClaimUPremia() (*types.Transaction, error)
ClaimUPremia is a paid mutator transaction binding the contract method 0x6c5c662e.
Solidity: function claimUPremia() returns()
func (*PremiaMarketTransactorSession) CreateOrder ¶
func (_PremiaMarket *PremiaMarketTransactorSession) CreateOrder(_order PremiaMarketOrder, _amount *big.Int) (*types.Transaction, error)
CreateOrder is a paid mutator transaction binding the contract method 0x11e4c3bc.
Solidity: function createOrder((address,uint8,bool,address,uint256,address,uint256,uint256,uint256,uint8) _order, uint256 _amount) returns(bytes32)
func (*PremiaMarketTransactorSession) CreateOrderAndTryToFill ¶
func (_PremiaMarket *PremiaMarketTransactorSession) CreateOrderAndTryToFill(_order PremiaMarketOrder, _amount *big.Int, _orderCandidates []PremiaMarketOrder, _writeOnBuyFill bool, _referrer common.Address) (*types.Transaction, error)
CreateOrderAndTryToFill is a paid mutator transaction binding the contract method 0x4f66efd9.
Solidity: function createOrderAndTryToFill((address,uint8,bool,address,uint256,address,uint256,uint256,uint256,uint8) _order, uint256 _amount, (address,uint8,bool,address,uint256,address,uint256,uint256,uint256,uint8)[] _orderCandidates, bool _writeOnBuyFill, address _referrer) returns()
func (*PremiaMarketTransactorSession) CreateOrderForNewOption ¶
func (_PremiaMarket *PremiaMarketTransactorSession) CreateOrderForNewOption(_order PremiaMarketOrder, _amount *big.Int, _option PremiaMarketOption, _referrer common.Address) (*types.Transaction, error)
CreateOrderForNewOption is a paid mutator transaction binding the contract method 0x947f75d0.
Solidity: function createOrderForNewOption((address,uint8,bool,address,uint256,address,uint256,uint256,uint256,uint8) _order, uint256 _amount, (address,uint256,uint256,bool) _option, address _referrer) returns(bytes32)
func (*PremiaMarketTransactorSession) CreateOrders ¶
func (_PremiaMarket *PremiaMarketTransactorSession) CreateOrders(_orders []PremiaMarketOrder, _amounts []*big.Int) (*types.Transaction, error)
CreateOrders is a paid mutator transaction binding the contract method 0x6fc7aafc.
Solidity: function createOrders((address,uint8,bool,address,uint256,address,uint256,uint256,uint256,uint8)[] _orders, uint256[] _amounts) returns(bytes32[])
func (*PremiaMarketTransactorSession) FillOrder ¶
func (_PremiaMarket *PremiaMarketTransactorSession) FillOrder(_order PremiaMarketOrder, _amount *big.Int, _writeOnBuyFill bool, _referrer common.Address) (*types.Transaction, error)
FillOrder is a paid mutator transaction binding the contract method 0x668dd276.
Solidity: function fillOrder((address,uint8,bool,address,uint256,address,uint256,uint256,uint256,uint8) _order, uint256 _amount, bool _writeOnBuyFill, address _referrer) returns(uint256)
func (*PremiaMarketTransactorSession) FillOrders ¶
func (_PremiaMarket *PremiaMarketTransactorSession) FillOrders(_orders []PremiaMarketOrder, _maxAmount *big.Int, _writeOnBuyFill bool, _referrer common.Address) (*types.Transaction, error)
FillOrders is a paid mutator transaction binding the contract method 0x097d29a7.
Solidity: function fillOrders((address,uint8,bool,address,uint256,address,uint256,uint256,uint256,uint8)[] _orders, uint256 _maxAmount, bool _writeOnBuyFill, address _referrer) returns(uint256)
func (*PremiaMarketTransactorSession) RemoveWhitelistedOptionContracts ¶
func (_PremiaMarket *PremiaMarketTransactorSession) RemoveWhitelistedOptionContracts(_addr []common.Address) (*types.Transaction, error)
RemoveWhitelistedOptionContracts is a paid mutator transaction binding the contract method 0xd906ba58.
Solidity: function removeWhitelistedOptionContracts(address[] _addr) returns()
func (*PremiaMarketTransactorSession) RemoveWhitelistedPaymentTokens ¶
func (_PremiaMarket *PremiaMarketTransactorSession) RemoveWhitelistedPaymentTokens(_addr []common.Address) (*types.Transaction, error)
RemoveWhitelistedPaymentTokens is a paid mutator transaction binding the contract method 0x79c19c83.
Solidity: function removeWhitelistedPaymentTokens(address[] _addr) returns()
func (*PremiaMarketTransactorSession) RenounceOwnership ¶
func (_PremiaMarket *PremiaMarketTransactorSession) RenounceOwnership() (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*PremiaMarketTransactorSession) SetDelayedWritingEnabled ¶
func (_PremiaMarket *PremiaMarketTransactorSession) SetDelayedWritingEnabled(_state bool) (*types.Transaction, error)
SetDelayedWritingEnabled is a paid mutator transaction binding the contract method 0x9a52b73e.
Solidity: function setDelayedWritingEnabled(bool _state) returns()
func (*PremiaMarketTransactorSession) SetFeeCalculator ¶
func (_PremiaMarket *PremiaMarketTransactorSession) SetFeeCalculator(_feeCalculator common.Address) (*types.Transaction, error)
SetFeeCalculator is a paid mutator transaction binding the contract method 0x8c66d04f.
Solidity: function setFeeCalculator(address _feeCalculator) returns()
func (*PremiaMarketTransactorSession) SetFeeRecipient ¶
func (_PremiaMarket *PremiaMarketTransactorSession) SetFeeRecipient(_feeRecipient common.Address) (*types.Transaction, error)
SetFeeRecipient is a paid mutator transaction binding the contract method 0xe74b981b.
Solidity: function setFeeRecipient(address _feeRecipient) returns()
func (*PremiaMarketTransactorSession) SetPremiaUncutErc20 ¶
func (_PremiaMarket *PremiaMarketTransactorSession) SetPremiaUncutErc20(_uPremia common.Address) (*types.Transaction, error)
SetPremiaUncutErc20 is a paid mutator transaction binding the contract method 0xc0b5f2cc.
Solidity: function setPremiaUncutErc20(address _uPremia) returns()
func (*PremiaMarketTransactorSession) TransferOwnership ¶
func (_PremiaMarket *PremiaMarketTransactorSession) 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 (*PremiaMarketTransactorSession) WriteAndCreateOrder ¶
func (_PremiaMarket *PremiaMarketTransactorSession) WriteAndCreateOrder(_option IPremiaOptionOptionWriteArgs, _order PremiaMarketOrder, _referrer common.Address) (*types.Transaction, error)
WriteAndCreateOrder is a paid mutator transaction binding the contract method 0xf4738c13.
Solidity: function writeAndCreateOrder((address,uint256,uint256,uint256,bool) _option, (address,uint8,bool,address,uint256,address,uint256,uint256,uint256,uint8) _order, address _referrer) returns(bytes32)