Constructors
constructor
Parameters
Properties
bondingInfo
config
Methods
bond
- bond(amount: u64): Promise<TransactionEnvelope>
Parameters
Returns Promise<TransactionEnvelope>
calcPayout
- calcPayout(bondingInfo: IBonding, payoutTokenDecimals: number, depositTokenDecimals: number, amount?: number): IPayoutInfo
Parameters
payoutTokenDecimals: number
depositTokenDecimals: number
amount: number = 1