@dfinity/sns
Version:
A library for interfacing with a Service Nervous System (SNS) project.
8 lines (7 loc) • 3.8 kB
Source Map (JSON)
{
"version": 3,
"sources": ["../src/index.ts"],
"sourcesContent": ["import type {\n SnsGovernanceDid,\n SnsRootDid,\n SnsSwapDid,\n} from \"@icp-sdk/canisters/sns\";\n\nexport type SnsAccount = SnsGovernanceDid.Account;\nexport type SnsAction = SnsGovernanceDid.Action;\nexport type SnsBallot = SnsGovernanceDid.Ballot;\nexport type SnsDefaultFollowees = SnsGovernanceDid.DefaultFollowees;\nexport type SnsDisburseMaturityInProgress =\n SnsGovernanceDid.DisburseMaturityInProgress;\nexport type SnsFollowee = SnsGovernanceDid.Followee;\nexport type SnsFolloweesForTopic = SnsGovernanceDid.FolloweesForTopic;\nexport type SnsFunctionType = SnsGovernanceDid.FunctionType;\nexport type SnsGetMetadataResponse = SnsGovernanceDid.GetMetadataResponse;\nexport type SnsGetMetricsResponse = SnsGovernanceDid.GetMetricsResponse;\nexport type SnsListNervousSystemFunctionsResponse =\n SnsGovernanceDid.ListNervousSystemFunctionsResponse;\nexport type SnsListProposalsResponse = SnsGovernanceDid.ListProposalsResponse;\nexport type SnsListTopicsResponse = SnsGovernanceDid.ListTopicsResponse;\nexport type SnsManageNeuron = SnsGovernanceDid.ManageNeuron;\nexport type SnsManageNeuronResponse = SnsGovernanceDid.ManageNeuronResponse;\nexport type SnsNervousSystemFunction = SnsGovernanceDid.NervousSystemFunction;\nexport type SnsNervousSystemParameters =\n SnsGovernanceDid.NervousSystemParameters;\nexport type SnsNeuron = SnsGovernanceDid.Neuron;\nexport type SnsNeuronId = SnsGovernanceDid.NeuronId;\nexport type SnsNeuronPermission = SnsGovernanceDid.NeuronPermission;\nexport type SnsNeuronPermissionList = SnsGovernanceDid.NeuronPermissionList;\nexport type SnsPercentage = SnsGovernanceDid.Percentage;\nexport type SnsProposalData = SnsGovernanceDid.ProposalData;\nexport type SnsProposalId = SnsGovernanceDid.ProposalId;\nexport type SnsRewardEvent = SnsGovernanceDid.RewardEvent;\nexport type SnsTally = SnsGovernanceDid.Tally;\nexport type SnsTopic = SnsGovernanceDid.Topic;\nexport type SnsTopicInfo = SnsGovernanceDid.TopicInfo;\nexport type SnsVotingRewardsParameters =\n SnsGovernanceDid.VotingRewardsParameters;\nexport type TransferSnsTreasuryFunds =\n SnsGovernanceDid.TransferSnsTreasuryFunds;\n\nexport type SnsCanisterStatus = SnsRootDid.CanisterStatusResultV2;\n\nexport type CfParticipant = SnsSwapDid.CfParticipant;\nexport type SnsFinalizeSwapResponse = SnsSwapDid.FinalizeSwapResponse;\nexport type SnsGetAutoFinalizationStatusResponse =\n SnsSwapDid.GetAutoFinalizationStatusResponse;\nexport type SnsGetBuyerStateRequest = SnsSwapDid.GetBuyerStateRequest;\nexport type SnsGetBuyerStateResponse = SnsSwapDid.GetBuyerStateResponse;\nexport type SnsGetDerivedStateResponse = SnsSwapDid.GetDerivedStateResponse;\nexport type SnsGetInitResponse = SnsSwapDid.GetInitResponse;\nexport type SnsGetLifecycleResponse = SnsSwapDid.GetLifecycleResponse;\nexport type SnsGetSaleParametersResponse = SnsSwapDid.GetSaleParametersResponse;\nexport type SnsInvalidUserAmount = SnsSwapDid.InvalidUserAmount;\nexport type SnsNeuronRecipe = SnsSwapDid.SnsNeuronRecipe;\nexport type SnsNeuronsFundParticipationConstraints =\n SnsSwapDid.NeuronsFundParticipationConstraints;\nexport type SnsParams = SnsSwapDid.Params;\nexport type SnsRefreshBuyerTokensResponse =\n SnsSwapDid.RefreshBuyerTokensResponse;\nexport type SnsSwap = SnsSwapDid.Swap;\nexport type SnsSwapBuyerState = SnsSwapDid.BuyerState;\nexport type SnsSwapDerivedState = SnsSwapDid.DerivedState;\nexport type SnsSwapInit = SnsSwapDid.Init;\nexport type SnsSwapTicket = SnsSwapDid.Ticket;\nexport type SnsTransferableAmount = SnsSwapDid.TransferableAmount;\n\n/**\n * @deprecated Use \"@icp-sdk/canisters/sns\" directly instead\n */\nexport * from \"@icp-sdk/canisters/sns\";\n"],
"mappings": ";;AAuEA,WAAc",
"names": []
}