import Sienna from '.'
import { Scrt } from '@fadroma/scrt'
import TESTNET from './deployments/pulsar-2.json'
const app = new Sienna({
state: TESTNET,
agent: await Scrt.Testnet().getAgent({
mnemonic: 'genius supply lecture echo follow that silly meadow used gym nerve together'
})
})
The TGE consists of the SIENNA token, the MGMT (vesting) contract and the RPT (funding) contract.
await app.tge.getSchedule()
await app.tge.getMgmtStatus()
// TODO test claiming
await app.tge.getRptStatus()
// TODO test vesting
The AMM consists of the factory and multiple exchanges (liquidity pools), each of which has a LP token attached.
await app.amm.v2.showStatus()
// TODO test creating an exchange
// TODO test finding an exchange
// TODO test querying liquidity
// TODO test providing liquidity