Documentation ¶
Index ¶
- func DeployDateTime(testenv *Testenv) (common.Address, *datetime.Datetime, error)
- func DeployLevToken(testenv *Testenv, supply *big.Int) (common.Address, *levtoken.Levtoken, error)
- func DeployVestingContract(testenv *Testenv, levToken common.Address, dateTime common.Address, ...) (common.Address, *vesting.Vesting, error)
- type Testenv
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeployDateTime ¶
func DeployLevToken ¶
DeployLevToken is used to deploy the leverage token
Types ¶
type Testenv ¶
type Testenv struct { Auth *bind.TransactOpts *backends.SimulatedBackend }
func NewBlockchain ¶
NewBlockchain is used to generate a simulated blockchain
func (*Testenv) DoWaitDeployed ¶
func (*Testenv) DoWaitMined ¶
func (t *Testenv) DoWaitMined(tx *types.Transaction, printArgs ...string) error
Click to show internal directories.
Click to hide internal directories.