Export additional wallet types

This commit is contained in:
durch
2022-02-28 18:28:53 +01:00
parent 6af0dbd1da
commit 4d0b5b34ec
3 changed files with 16 additions and 0 deletions
+2
View File
@@ -112,5 +112,7 @@ mod test {
vesting_contract_common::Period => "../src/types/rust/period.ts",
crate::vesting::PledgeData => "../src/types/rust/pledgedata.ts",
crate::vesting::OriginalVestingResponse => "../src/types/rust/originalvestingresponse.ts",
crate::vesting::VestingAccountInfo => "../src/types/rust/vestingaccountinfo.ts",
crate::vesting::VestingPeriod => "../src/types/rust/vestingperiod.ts",
}
}
@@ -0,0 +1,10 @@
import { Coin } from "./coin";
import { VestingPeriod } from "./vestingperiod";
export interface VestingAccountInfo {
owner_address: string;
staking_address: string | null;
start_time: bigint;
periods: Array<VestingPeriod>;
coin: Coin;
}
@@ -0,0 +1,4 @@
export interface VestingPeriod {
start_time: bigint;
period_seconds: bigint;
}