Documentation ¶
Index ¶
- type ETH
- type ETHClient
- type Exchange
- func (e *Exchange) Deposit(amount *big.Int, positionId *big.Int, transact *bind.TransactOpts) (*types.Transaction, error)
- func (e *Exchange) GetWithdrawalBalance() (*big.Int, error)
- func (e *Exchange) New(c ETHClient) *Exchange
- func (e *Exchange) RegisterUser(signature []byte, transact *bind.TransactOpts) (*types.Transaction, error)
- func (e *Exchange) Withdraw(transact *bind.TransactOpts) (*types.Transaction, error)
- type Token
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Exchange ¶
type Exchange struct { ETHClient // contains filtered or unexported fields }
func (*Exchange) Deposit ¶
func (e *Exchange) Deposit(amount *big.Int, positionId *big.Int, transact *bind.TransactOpts) (*types.Transaction, error)
func (*Exchange) RegisterUser ¶
func (e *Exchange) RegisterUser(signature []byte, transact *bind.TransactOpts) (*types.Transaction, error)
func (*Exchange) Withdraw ¶
func (e *Exchange) Withdraw(transact *bind.TransactOpts) (*types.Transaction, error)
type Token ¶
type Token struct { ETHClient // contains filtered or unexported fields }
func (*Token) SetAllowance ¶
func (t *Token) SetAllowance(amount *big.Int, transact *bind.TransactOpts)
Click to show internal directories.
Click to hide internal directories.