You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This task is to write an additional CLI command for vesting recipient verification and airdrop input file generation.
This command will take as input:
A filepath pointing to a json file containing the following format:
For now, we will only parse Private Sales, we will likely implement tokenomics as a separate command, reusing some code.
dataPrivateSale=PrivateSale{address::Address-- Treasury address
, start::POSIXTime
, tranches:: [Tranche]
, assetClass::AssetClass-- Vesting token
, investors:: [PrivateInvestor]
}dataPrivateInvestor=PrivateInvestor{address::Address
, allocation::Integer-- Amount of vesting tokens to lock (note, this is likely NOT equal to the total amounts of investments, as different tokens)
, investments:: [Investment]
}dataInvestment=Investment{tx::TxId-- Tx that sends below asset class to payment address
, assetClass::AssetClass
, amount::Integer-- Amount of above asset class expected to be sent to payment address}dataTranche=Tranche{percentage::Integer-- out of 1000
, duration::Integer-- number of slots, we may change this to a POSIXTime in future, but conversions between these are currently not correct in plutus}
Tasks:
Write the CLI interface and flag parsing into some kind of VestConfig data type.
Using the same tool other tokenomia commands use to query the chain, pull down all the given transactions. Verify each pays the expected amount to the treasury address of the payment token for each Investment. If a transaction does not do this, or does not exist, fail out gracefully.
Further tasks defined later.
The text was updated successfully, but these errors were encountered:
the assetClass is correct
You can trust us for the amount of tokens to vest as we will probably accept multiple tokens for investing (at least ADA and CLAP), the ratio will be different.
This task is to write an additional CLI command for vesting recipient verification and airdrop input file generation.
This command will take as input:
A filepath pointing to a json file containing the following format:
For now, we will only parse Private Sales, we will likely implement tokenomics as a separate command, reusing some code.
Tasks:
The text was updated successfully, but these errors were encountered: