yarn build
yarn dev
To test run:
yarn test
recipient()
amount()
amount_claimed()
cliff()
start()
duration()
revocable()
releasable_amount()
calculate_amount_vested()
near call dev-1631684538328-15645042144806 --accountId dev-1631684538328-15645042144806 new '{"owner":"dev-1631684538328-15645042144806", "recipient":"rng.testnet","token":"dev-1631277489384-75412609538902","amount":"1250000000000000000000000","start":"1629055854000000000", "duration":"31556952000000000", "cliff_duration":"0", "revocable":false}'
NOTE: after calling new(), do ft_transfer of PARAS to vesting_contract
NOTE: the recipient must register on PARAS FT contract to obtain tokens\
claim_vested()
revoke({"recipient":"alice.testnet"})