/** * The type used for returning account balance information. * @remark All provided amounts are in weis. */ export type Balance = { availableOnC: bigint; availableOnP: bigint; wrappedOnC: bigint; stakedOnP: bigint; notImportedToC: bigint; notImportedToP: bigint; }; /** * The type used for returning basic RNat project information */ export type RNatProject = { id: number; name: string; claimingDisabled: boolean; }; /** * The type used for returning basic RNat project information together with the claimable reward */ export type RNatProjectAndClaimableReward = RNatProject & { claimableReward: bigint; }; /** * The type used for returning detailed RNat project information */ export type RNatProjectInfo = { name: string; distributor: string; currentMonthDistributionEnabled: boolean; distributionDisabled: boolean; claimingDisabled: boolean; totalAssignedRewards: bigint; totalDistributedRewards: bigint; totalClaimedRewards: bigint; totalUnassignedUnclaimedRewards: bigint; monthsWithRewards: Array; }; /** * The type used for returning RNat account balance */ export type RNatAccountBalance = { wNatBalance: bigint; rNatBalance: bigint; lockedBalance: bigint; }; /** * The type used for returning foundation proposal information */ export type FoundationProposalInfo = { proposer: string; accept: boolean; votePowerBlock: bigint; voteStartTime: bigint; voteEndTime: bigint; thresholdConditionBP: bigint; majorityConditionBP: bigint; circulatingSupply: bigint; description: string; state: FoundationProposalState; votePowerFor: bigint; votePowerAgainst: bigint; }; /** * Foundation proposal states */ export declare enum FoundationProposalState { PENDING = 0, ACTIVE = 1, DEFEATED = 2, SUCCEEDED = 3, QUEUED = 4, EXPIRED = 5, EXECUTED = 6, CANCELED = 7 } /** * Foundation proposal support */ export declare enum FoundationProposalSupport { AGAINST = 0, FOR = 1 } /** * FTSO reward claim types */ export declare enum ClaimType { DIRECT = 0, FEE = 1, WNAT = 2, MIRROR = 3, CCHAIN = 4 } /** * The type used for returning FTSO reward state information */ export type FtsoRewardState = { rewardEpochId: bigint; beneficiary: string; amount: bigint; claimType: ClaimType; initialised: boolean; }; /** * The type used for specifying FTSO reward claims */ export type FtsoRewardClaim = { rewardEpochId: bigint; beneficiary: string; amount: bigint; claimType: ClaimType; }; /** * The type used for specifying FTSO reward claims with Merkle proofs */ export type FtsoRewardClaimWithProof = { merkleProof: string[]; body: FtsoRewardClaim; }; /** * The type used for returning FTSO delegate information */ export type FtsoDelegate = { address: string; shareBP: bigint; }; /** * Source networks in FDC protocol */ export declare enum FdcSourceNetwork { ETH = "ETH", FLR = "FLR", SGB = "SGB", BTC = "BTC", DOGE = "DOGE", XRP = "XRP" } /** * The type used for describing FDC attestation request */ export type FdcAttestationRequest = { data: string; votingRoundId: number | null; }; /** * The type used for describing FDC attestation */ export type FdcAttestation = { response: { attestationType: string; sourceId: string; votingRound: number; lowestUsedTimestamp: bigint; requestBody: any; responseBody: any; }; proof: Array; }; /** * The type used for returning information on stakes on the P-chain */ export type Stake = { txId: string; type: StakeType; pAddress: string; nodeId: string; startTime: bigint; endTime: bigint; amount: bigint; delegationFee?: bigint; }; /** * Stake types */ export declare enum StakeType { DELEGATOR = "delegator", VALIDATOR = "validator" } /** * The type used for returning information on stake limits */ export type StakeLimits = { minStakeDuration: bigint; maxStakeDuration: bigint; minStakeAmountDelegator: bigint; minStakeAmountValidator: bigint; maxStakeAmount: bigint; }; /** * The type used for representing a Safe smart account */ export type SafeSmartAccount = { address: string; owners: Array; threshold: bigint; }; //# sourceMappingURL=iotype.d.ts.map