Utilities
Constants
BigGas
BigGasawait wrappedFantom.transfer(momAddress, 1000, reaper.BigGas);Addresses.json
Addresses.jsonconst { tokens, testnet, mainnet } = require("../Addresses.json");
async function main() {
console.log(tokens.usdc);
console.log(tokens.wftm);
console.log(testnet.router);
console.log(mainnet.spooky.masterChef);
}
> 0x04068DA6C83AFCFA0e13ba15A6696662335D5B75
> 0x21be370D5312f44cB42ce377BC9b8a0cEF1A4C83
> 0xcCAFCf876caB8f9542d6972f87B5D62e1182767d
> 0x2b2929E785374c651a81A63878Ab22742656DcDdContract Instantiation
Decimal Formatting
Formatting human-readable inputs with reaper.parseToken()
reaper.parseToken()Formatting big number outputs with reaper.formatToken()
reaper.formatToken()Pausing Execution
Getting a timestamp
Last updated