Export additional wallet types
This commit is contained in:
@@ -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;
|
||||
}
|
||||
Reference in New Issue
Block a user