Documentation ¶
Index ¶
- type AcceleratorApi
- func (aa *AcceleratorApi) AddPhase(id types.Hash, name, description, url string, ...) *nom.AccountBlock
- func (aa *AcceleratorApi) CreateProject(name, description, url string, znnFundsNeeded, qsrFundsNeeded *big.Int) *nom.AccountBlock
- func (aa *AcceleratorApi) Donate(amount *big.Int, tokenStandard types.ZenonTokenStandard) *nom.AccountBlock
- func (aa *AcceleratorApi) GetAll(pageIndex, pageSize uint32) (*embedded.ProjectList, error)
- func (aa *AcceleratorApi) GetPhaseById(id types.Hash) (*embedded.Phase, error)
- func (aa *AcceleratorApi) GetPillarVotes(name string, hashes []types.Hash) ([]*definition.PillarVote, error)
- func (aa *AcceleratorApi) GetProjectById(id types.Hash) (*embedded.Project, error)
- func (aa *AcceleratorApi) GetVoteBreakdown(id types.Hash) (*definition.VoteBreakdown, error)
- func (aa *AcceleratorApi) UpdatePhase(id types.Hash, name, description, url string, ...) *nom.AccountBlock
- func (aa *AcceleratorApi) VoteByName(id types.Hash, pillarName string, vote uint8) *nom.AccountBlock
- func (aa *AcceleratorApi) VoteByProducerAddress(id types.Hash, vote uint8) *nom.AccountBlock
- type BridgeApi
- func (ba *BridgeApi) AddNetwork(networkClass uint32, chainId uint32, name, contractAddress, metadata string) *nom.AccountBlock
- func (ba *BridgeApi) ChangeAdministrator(administrator types.Address) *nom.AccountBlock
- func (ba *BridgeApi) ChangeTssECDSAPubKey(pubKey, signature, newSignature string) *nom.AccountBlock
- func (ba *BridgeApi) Emergency() *nom.AccountBlock
- func (ba *BridgeApi) GetAllNetworks(pageIndex, pageSize uint32) (*embedded.NetworkInfoList, error)
- func (ba *BridgeApi) GetAllUnsignedWrapTokenRequests(pageIndex, pageSize uint32) (*embedded.WrapTokenRequestList, error)
- func (ba *BridgeApi) GetAllUnwrapTokenRequests(pageIndex, pageSize uint32) (*embedded.UnwrapTokenRequestList, error)
- func (ba *BridgeApi) GetAllUnwrapTokenRequestsByToAddress(toAddress string, pageIndex, pageSize uint32) (*embedded.UnwrapTokenRequestList, error)
- func (ba *BridgeApi) GetAllWrapTokenRequests(pageIndex, pageSize uint32) (*embedded.WrapTokenRequestList, error)
- func (ba *BridgeApi) GetAllWrapTokenRequestsByToAddress(toAddress string, pageIndex, pageSize uint32) (*embedded.WrapTokenRequestList, error)
- func (ba *BridgeApi) GetAllWrapTokenRequestsByToAddressNetworkClassAndChainId(toAddress string, networkClass, pageIndex, pageSize uint32) (*embedded.WrapTokenRequestList, error)
- func (ba *BridgeApi) GetBridgeInfo() (*definition.BridgeInfoVariable, error)
- func (ba *BridgeApi) GetNetworkInfo(networkClass, chainId uint32) (*definition.NetworkInfo, error)
- func (ba *BridgeApi) GetOrchestratorInfo() (*definition.OrchestratorInfo, error)
- func (ba *BridgeApi) GetSecurityInfo() (*definition.SecurityInfoVariable, error)
- func (ba *BridgeApi) GetTimeChallengesInfo() (*embedded.TimeChallengesList, error)
- func (ba *BridgeApi) GetUnwrapTokenRequestByHashAndLog(txHash types.Hash, logIndex uint32) (*definition.UnwrapTokenRequest, error)
- func (ba *BridgeApi) GetWrapTokenRequestById(id types.Hash) (*definition.WrapTokenRequest, error)
- func (ba *BridgeApi) Halt(signature string) *nom.AccountBlock
- func (ba *BridgeApi) NominateGuardians(guardians []types.Address) *nom.AccountBlock
- func (ba *BridgeApi) Redeem(hash types.Hash, logIndex uint32) *nom.AccountBlock
- func (ba *BridgeApi) RemoveNetwork(networkClass uint32, chainId uint32) *nom.AccountBlock
- func (ba *BridgeApi) RemoveTokenPair(networkClass uint32, chainId uint32, tokenStandard types.ZenonTokenStandard, ...) *nom.AccountBlock
- func (ba *BridgeApi) SetAllowKeygen(allowKeyGen bool) *nom.AccountBlock
- func (ba *BridgeApi) SetBridgeMetadata(metadata string) *nom.AccountBlock
- func (ba *BridgeApi) SetNetworkMetadata(networkClass uint32, chainId uint32, metadata string) *nom.AccountBlock
- func (ba *BridgeApi) SetOrchestratorInfo(windowSize uint64, ...) *nom.AccountBlock
- func (ba *BridgeApi) SetTokenPair(networkClass uint32, chainId uint32, tokenStandard types.ZenonTokenStandard, ...) *nom.AccountBlock
- func (ba *BridgeApi) Unhalt() *nom.AccountBlock
- func (ba *BridgeApi) UnwrapToken(networkClass uint32, chainId uint32, tokenAddress string, txHash types.Hash, ...) *nom.AccountBlock
- func (ba *BridgeApi) UpdateWrapRequest(id types.Hash, signature string) *nom.AccountBlock
- func (ba *BridgeApi) WrapToken(networkClass uint32, chainId uint32, toAddress string, amount *big.Int, ...) *nom.AccountBlock
- type LiquidityApi
- func (sa *LiquidityApi) CancelLiquidity(id types.Hash) *nom.AccountBlock
- func (sa *LiquidityApi) CollectReward() *nom.AccountBlock
- func (sa *LiquidityApi) GetFrontierRewardByPage(address types.Address, pageIndex, pageSize uint32) (*embedded.RewardHistoryList, error)
- func (sa *LiquidityApi) GetLiquidityInfo() (*definition.LiquidityInfo, error)
- func (sa *LiquidityApi) GetLiquidityStakeEntriesByAddress(address types.Address, pageIndex, pageSize uint32) (*embedded.LiquidityStakeList, error)
- func (sa *LiquidityApi) GetSecurityInfo() (*definition.SecurityInfoVariable, error)
- func (sa *LiquidityApi) GetTimeChallengesInfo() (*embedded.TimeChallengesList, error)
- func (sa *LiquidityApi) GetUncollectedReward(address types.Address) (*definition.RewardDeposit, error)
- func (sa *LiquidityApi) LiquidityStake(durationInSec int64, amount *big.Int, zts types.ZenonTokenStandard) *nom.AccountBlock
- func (sa *LiquidityApi) NominateGuardians(guardians []types.Address) *nom.AccountBlock
- func (sa *LiquidityApi) SetAdditionalReward(znnReward *big.Int, qsrAmount *big.Int) *nom.AccountBlock
- func (sa *LiquidityApi) SetIsHalted(value bool) *nom.AccountBlock
- func (sa *LiquidityApi) SetTokenTupleMethod(tokenStandards []string, znnPercentages []uint32, qsrPercentages []uint32, ...) *nom.AccountBlock
- func (sa *LiquidityApi) UnlockLiquidityStakeEntries(zts types.ZenonTokenStandard) *nom.AccountBlock
- type PillarApi
- func (pa *PillarApi) CheckNameAvailability(name string) (*bool, error)
- func (pa *PillarApi) CollectReward() *nom.AccountBlock
- func (pa *PillarApi) Delegate(name string) *nom.AccountBlock
- func (pa *PillarApi) DepositQsr(amount *big.Int) *nom.AccountBlock
- func (pa *PillarApi) GetAll(pageIndex, pageSize uint32) (*embedded.PillarInfoList, error)
- func (pa *PillarApi) GetByName(name string) (*embedded.PillarInfo, error)
- func (pa *PillarApi) GetByOwner(address types.Address) ([]*embedded.PillarInfo, error)
- func (pa *PillarApi) GetDelegatedPillar(address types.Address) (*embedded.GetDelegatedPillarResponse, error)
- func (pa *PillarApi) GetDepositedQsr(address types.Address) (*big.Int, error)
- func (pa *PillarApi) GetFrontierRewardByPage(address types.Address, pageIndex, pageSize uint32) (*embedded.RewardHistoryList, error)
- func (pa *PillarApi) GetPillarEpochHistory(pillarName string, pageIndex, pageSize uint32) (*embedded.PillarEpochHistoryList, error)
- func (pa *PillarApi) GetPillarsHistoryByEpoch(epoch uint64, pageIndex, pageSize uint32) (*embedded.PillarEpochHistoryList, error)
- func (pa *PillarApi) GetQsrRegistrationCost() (*big.Int, error)
- func (pa *PillarApi) GetUncollectedReward(address types.Address) (*definition.RewardDeposit, error)
- func (pa *PillarApi) Register(name string, producerAddress, rewardAddress types.Address, ...) *nom.AccountBlock
- func (pa *PillarApi) RegisterLegacy(name string, producerAddress, rewardAddress types.Address, ...) *nom.AccountBlock
- func (pa *PillarApi) Revoke() *nom.AccountBlock
- func (pa *PillarApi) Undelegate() *nom.AccountBlock
- func (pa *PillarApi) UpdatePillar(name string, producerAddress, rewardAddress types.Address, ...) *nom.AccountBlock
- func (pa *PillarApi) WithdrawQsr() *nom.AccountBlock
- type PlasmaApi
- func (pa *PlasmaApi) Cancel(id types.Hash) *nom.AccountBlock
- func (pa *PlasmaApi) Fuse(address types.Address, amount *big.Int) *nom.AccountBlock
- func (pa *PlasmaApi) Get(address types.Address) (*embedded.PlasmaInfo, error)
- func (pa *PlasmaApi) GetEntriesByAddress(address types.Address, pageIndex, pageSize uint32) (*embedded.FusionEntryList, error)
- func (pa *PlasmaApi) GetRequiredPoWForAccountBlock(param embedded.GetRequiredParam) (*embedded.GetRequiredResult, error)
- type SentinelApi
- func (sa *SentinelApi) CollectReward() *nom.AccountBlock
- func (sa *SentinelApi) DepositQsr(amount *big.Int) *nom.AccountBlock
- func (sa *SentinelApi) GetAllActive(pageIndex, pageSize uint32) (*embedded.SentinelInfoList, error)
- func (sa *SentinelApi) GetByOwner(address types.Address) (*embedded.SentinelInfo, error)
- func (sa *SentinelApi) GetDepositedQsr(address types.Address) (*big.Int, error)
- func (sa *SentinelApi) GetFrontierRewardByPage(address types.Address, pageIndex, pageSize uint32) (*embedded.RewardHistoryList, error)
- func (sa *SentinelApi) GetUncollectedReward(address types.Address) (*definition.RewardDeposit, error)
- func (sa *SentinelApi) Register() *nom.AccountBlock
- func (sa *SentinelApi) Revoke() *nom.AccountBlock
- func (sa *SentinelApi) WithdrawQsr() *nom.AccountBlock
- type SporkApi
- type StakeApi
- func (sa *StakeApi) Cancel(id types.Hash) *nom.AccountBlock
- func (sa *StakeApi) CollectReward() *nom.AccountBlock
- func (sa *StakeApi) GetEntriesByAddress(address types.Address, pageIndex, pageSize uint32) (*embedded.StakeList, error)
- func (sa *StakeApi) GetFrontierRewardByPage(address types.Address, pageIndex, pageSize uint32) (*embedded.RewardHistoryList, error)
- func (sa *StakeApi) GetUncollectedReward(address types.Address) (*definition.RewardDeposit, error)
- func (sa *StakeApi) Stake(durationInSec int64, amount *big.Int) *nom.AccountBlock
- type SwapApi
- type TokenApi
- func (ta *TokenApi) Burn(tokenStandard types.ZenonTokenStandard, amount *big.Int) *nom.AccountBlock
- func (ta *TokenApi) GetAll(pageIndex, pageSize uint32) (*embedded.TokenList, error)
- func (ta *TokenApi) GetByOwner(address types.Address, pageIndex, pageSize uint32) (*embedded.TokenList, error)
- func (ta *TokenApi) GetByZts(zts types.ZenonTokenStandard) (*api.Token, error)
- func (ta *TokenApi) IssueToken(tokenName, tokenSymbol, tokenDomain string, totalSupply, maxSupply *big.Int, ...) *nom.AccountBlock
- func (ta *TokenApi) Mint(tokenStandard types.ZenonTokenStandard, amount *big.Int, ...) *nom.AccountBlock
- func (ta *TokenApi) UpdateToken(tokenStandard types.ZenonTokenStandard, owner types.Address, ...) *nom.AccountBlock
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AcceleratorApi ¶
type AcceleratorApi struct {
// contains filtered or unexported fields
}
func NewAcceleratorApi ¶
func NewAcceleratorApi(client *server.Client) *AcceleratorApi
func (*AcceleratorApi) AddPhase ¶
func (aa *AcceleratorApi) AddPhase(id types.Hash, name, description, url string, znnFundsNeeded, qsrFundsNeeded *big.Int) *nom.AccountBlock
func (*AcceleratorApi) CreateProject ¶
func (aa *AcceleratorApi) CreateProject(name, description, url string, znnFundsNeeded, qsrFundsNeeded *big.Int) *nom.AccountBlock
func (*AcceleratorApi) Donate ¶
func (aa *AcceleratorApi) Donate(amount *big.Int, tokenStandard types.ZenonTokenStandard) *nom.AccountBlock
func (*AcceleratorApi) GetAll ¶
func (aa *AcceleratorApi) GetAll(pageIndex, pageSize uint32) (*embedded.ProjectList, error)
func (*AcceleratorApi) GetPhaseById ¶
func (*AcceleratorApi) GetPillarVotes ¶
func (aa *AcceleratorApi) GetPillarVotes(name string, hashes []types.Hash) ([]*definition.PillarVote, error)
func (*AcceleratorApi) GetProjectById ¶
func (*AcceleratorApi) GetVoteBreakdown ¶
func (aa *AcceleratorApi) GetVoteBreakdown(id types.Hash) (*definition.VoteBreakdown, error)
func (*AcceleratorApi) UpdatePhase ¶
func (aa *AcceleratorApi) UpdatePhase(id types.Hash, name, description, url string, znnFundsNeeded, qsrFundsNeeded *big.Int) *nom.AccountBlock
func (*AcceleratorApi) VoteByName ¶
func (aa *AcceleratorApi) VoteByName(id types.Hash, pillarName string, vote uint8) *nom.AccountBlock
func (*AcceleratorApi) VoteByProducerAddress ¶
func (aa *AcceleratorApi) VoteByProducerAddress(id types.Hash, vote uint8) *nom.AccountBlock
type BridgeApi ¶
type BridgeApi struct {
// contains filtered or unexported fields
}
func NewBridgeApi ¶
func (*BridgeApi) AddNetwork ¶
func (*BridgeApi) ChangeAdministrator ¶
func (ba *BridgeApi) ChangeAdministrator(administrator types.Address) *nom.AccountBlock
func (*BridgeApi) ChangeTssECDSAPubKey ¶
func (ba *BridgeApi) ChangeTssECDSAPubKey(pubKey, signature, newSignature string) *nom.AccountBlock
func (*BridgeApi) Emergency ¶
func (ba *BridgeApi) Emergency() *nom.AccountBlock
func (*BridgeApi) GetAllNetworks ¶
func (ba *BridgeApi) GetAllNetworks(pageIndex, pageSize uint32) (*embedded.NetworkInfoList, error)
func (*BridgeApi) GetAllUnsignedWrapTokenRequests ¶
func (ba *BridgeApi) GetAllUnsignedWrapTokenRequests(pageIndex, pageSize uint32) (*embedded.WrapTokenRequestList, error)
func (*BridgeApi) GetAllUnwrapTokenRequests ¶
func (ba *BridgeApi) GetAllUnwrapTokenRequests(pageIndex, pageSize uint32) (*embedded.UnwrapTokenRequestList, error)
func (*BridgeApi) GetAllUnwrapTokenRequestsByToAddress ¶
func (*BridgeApi) GetAllWrapTokenRequests ¶
func (ba *BridgeApi) GetAllWrapTokenRequests(pageIndex, pageSize uint32) (*embedded.WrapTokenRequestList, error)
func (*BridgeApi) GetAllWrapTokenRequestsByToAddress ¶
func (*BridgeApi) GetAllWrapTokenRequestsByToAddressNetworkClassAndChainId ¶
func (*BridgeApi) GetBridgeInfo ¶
func (ba *BridgeApi) GetBridgeInfo() (*definition.BridgeInfoVariable, error)
func (*BridgeApi) GetNetworkInfo ¶
func (ba *BridgeApi) GetNetworkInfo(networkClass, chainId uint32) (*definition.NetworkInfo, error)
func (*BridgeApi) GetOrchestratorInfo ¶
func (ba *BridgeApi) GetOrchestratorInfo() (*definition.OrchestratorInfo, error)
func (*BridgeApi) GetSecurityInfo ¶
func (ba *BridgeApi) GetSecurityInfo() (*definition.SecurityInfoVariable, error)
func (*BridgeApi) GetTimeChallengesInfo ¶
func (ba *BridgeApi) GetTimeChallengesInfo() (*embedded.TimeChallengesList, error)
func (*BridgeApi) GetUnwrapTokenRequestByHashAndLog ¶
func (ba *BridgeApi) GetUnwrapTokenRequestByHashAndLog(txHash types.Hash, logIndex uint32) (*definition.UnwrapTokenRequest, error)
func (*BridgeApi) GetWrapTokenRequestById ¶
func (ba *BridgeApi) GetWrapTokenRequestById(id types.Hash) (*definition.WrapTokenRequest, error)
func (*BridgeApi) NominateGuardians ¶
func (ba *BridgeApi) NominateGuardians(guardians []types.Address) *nom.AccountBlock
func (*BridgeApi) RemoveNetwork ¶
func (ba *BridgeApi) RemoveNetwork(networkClass uint32, chainId uint32) *nom.AccountBlock
func (*BridgeApi) RemoveTokenPair ¶
func (ba *BridgeApi) RemoveTokenPair(networkClass uint32, chainId uint32, tokenStandard types.ZenonTokenStandard, tokenAddress string) *nom.AccountBlock
func (*BridgeApi) SetAllowKeygen ¶
func (ba *BridgeApi) SetAllowKeygen(allowKeyGen bool) *nom.AccountBlock
func (*BridgeApi) SetBridgeMetadata ¶
func (ba *BridgeApi) SetBridgeMetadata(metadata string) *nom.AccountBlock
func (*BridgeApi) SetNetworkMetadata ¶
func (*BridgeApi) SetOrchestratorInfo ¶
func (ba *BridgeApi) SetOrchestratorInfo(windowSize uint64, keyGenThreshold, confirmationsToFinality, estimatedMomentumTime uint32) *nom.AccountBlock
func (*BridgeApi) SetTokenPair ¶
func (*BridgeApi) Unhalt ¶
func (ba *BridgeApi) Unhalt() *nom.AccountBlock
func (*BridgeApi) UnwrapToken ¶
func (*BridgeApi) UpdateWrapRequest ¶
type LiquidityApi ¶
type LiquidityApi struct {
// contains filtered or unexported fields
}
func NewLiquidityApi ¶
func NewLiquidityApi(client *server.Client) *LiquidityApi
func (*LiquidityApi) CancelLiquidity ¶
func (sa *LiquidityApi) CancelLiquidity(id types.Hash) *nom.AccountBlock
func (*LiquidityApi) CollectReward ¶
func (sa *LiquidityApi) CollectReward() *nom.AccountBlock
func (*LiquidityApi) GetFrontierRewardByPage ¶
func (sa *LiquidityApi) GetFrontierRewardByPage(address types.Address, pageIndex, pageSize uint32) (*embedded.RewardHistoryList, error)
func (*LiquidityApi) GetLiquidityInfo ¶
func (sa *LiquidityApi) GetLiquidityInfo() (*definition.LiquidityInfo, error)
func (*LiquidityApi) GetLiquidityStakeEntriesByAddress ¶
func (sa *LiquidityApi) GetLiquidityStakeEntriesByAddress(address types.Address, pageIndex, pageSize uint32) (*embedded.LiquidityStakeList, error)
func (*LiquidityApi) GetSecurityInfo ¶
func (sa *LiquidityApi) GetSecurityInfo() (*definition.SecurityInfoVariable, error)
func (*LiquidityApi) GetTimeChallengesInfo ¶
func (sa *LiquidityApi) GetTimeChallengesInfo() (*embedded.TimeChallengesList, error)
func (*LiquidityApi) GetUncollectedReward ¶
func (sa *LiquidityApi) GetUncollectedReward(address types.Address) (*definition.RewardDeposit, error)
func (*LiquidityApi) LiquidityStake ¶
func (sa *LiquidityApi) LiquidityStake(durationInSec int64, amount *big.Int, zts types.ZenonTokenStandard) *nom.AccountBlock
func (*LiquidityApi) NominateGuardians ¶
func (sa *LiquidityApi) NominateGuardians(guardians []types.Address) *nom.AccountBlock
func (*LiquidityApi) SetAdditionalReward ¶
func (sa *LiquidityApi) SetAdditionalReward(znnReward *big.Int, qsrAmount *big.Int) *nom.AccountBlock
func (*LiquidityApi) SetIsHalted ¶
func (sa *LiquidityApi) SetIsHalted(value bool) *nom.AccountBlock
func (*LiquidityApi) SetTokenTupleMethod ¶
func (sa *LiquidityApi) SetTokenTupleMethod(tokenStandards []string, znnPercentages []uint32, qsrPercentages []uint32, minAmounts []*big.Int) *nom.AccountBlock
func (*LiquidityApi) UnlockLiquidityStakeEntries ¶
func (sa *LiquidityApi) UnlockLiquidityStakeEntries(zts types.ZenonTokenStandard) *nom.AccountBlock
type PillarApi ¶
type PillarApi struct {
// contains filtered or unexported fields
}
func NewPillarApi ¶
func (*PillarApi) CheckNameAvailability ¶
func (*PillarApi) CollectReward ¶
func (pa *PillarApi) CollectReward() *nom.AccountBlock
func (*PillarApi) DepositQsr ¶
func (pa *PillarApi) DepositQsr(amount *big.Int) *nom.AccountBlock
func (*PillarApi) GetAll ¶
func (pa *PillarApi) GetAll(pageIndex, pageSize uint32) (*embedded.PillarInfoList, error)
func (*PillarApi) GetByName ¶
func (pa *PillarApi) GetByName(name string) (*embedded.PillarInfo, error)
func (*PillarApi) GetByOwner ¶
func (*PillarApi) GetDelegatedPillar ¶
func (*PillarApi) GetDepositedQsr ¶
func (*PillarApi) GetFrontierRewardByPage ¶
func (*PillarApi) GetPillarEpochHistory ¶
func (*PillarApi) GetPillarsHistoryByEpoch ¶
func (*PillarApi) GetQsrRegistrationCost ¶
func (*PillarApi) GetUncollectedReward ¶
func (pa *PillarApi) GetUncollectedReward(address types.Address) (*definition.RewardDeposit, error)
func (*PillarApi) RegisterLegacy ¶
func (*PillarApi) Revoke ¶
func (pa *PillarApi) Revoke() *nom.AccountBlock
func (*PillarApi) Undelegate ¶
func (pa *PillarApi) Undelegate() *nom.AccountBlock
func (*PillarApi) UpdatePillar ¶
func (*PillarApi) WithdrawQsr ¶
func (pa *PillarApi) WithdrawQsr() *nom.AccountBlock
type PlasmaApi ¶
type PlasmaApi struct {
// contains filtered or unexported fields
}
func NewPlasmaApi ¶
func (*PlasmaApi) GetEntriesByAddress ¶
func (*PlasmaApi) GetRequiredPoWForAccountBlock ¶
func (pa *PlasmaApi) GetRequiredPoWForAccountBlock(param embedded.GetRequiredParam) (*embedded.GetRequiredResult, error)
type SentinelApi ¶
type SentinelApi struct {
// contains filtered or unexported fields
}
func NewSentinelApi ¶
func NewSentinelApi(client *server.Client) *SentinelApi
func (*SentinelApi) CollectReward ¶
func (sa *SentinelApi) CollectReward() *nom.AccountBlock
func (*SentinelApi) DepositQsr ¶
func (sa *SentinelApi) DepositQsr(amount *big.Int) *nom.AccountBlock
func (*SentinelApi) GetAllActive ¶
func (sa *SentinelApi) GetAllActive(pageIndex, pageSize uint32) (*embedded.SentinelInfoList, error)
func (*SentinelApi) GetByOwner ¶
func (sa *SentinelApi) GetByOwner(address types.Address) (*embedded.SentinelInfo, error)
func (*SentinelApi) GetDepositedQsr ¶
func (*SentinelApi) GetFrontierRewardByPage ¶
func (sa *SentinelApi) GetFrontierRewardByPage(address types.Address, pageIndex, pageSize uint32) (*embedded.RewardHistoryList, error)
func (*SentinelApi) GetUncollectedReward ¶
func (sa *SentinelApi) GetUncollectedReward(address types.Address) (*definition.RewardDeposit, error)
func (*SentinelApi) Register ¶
func (sa *SentinelApi) Register() *nom.AccountBlock
func (*SentinelApi) Revoke ¶
func (sa *SentinelApi) Revoke() *nom.AccountBlock
func (*SentinelApi) WithdrawQsr ¶
func (sa *SentinelApi) WithdrawQsr() *nom.AccountBlock
type SporkApi ¶
type SporkApi struct {
// contains filtered or unexported fields
}
func NewSporkApi ¶
type StakeApi ¶
type StakeApi struct {
// contains filtered or unexported fields
}
func NewStakeApi ¶
func (*StakeApi) CollectReward ¶
func (sa *StakeApi) CollectReward() *nom.AccountBlock
func (*StakeApi) GetEntriesByAddress ¶
func (*StakeApi) GetFrontierRewardByPage ¶
func (*StakeApi) GetUncollectedReward ¶
func (sa *StakeApi) GetUncollectedReward(address types.Address) (*definition.RewardDeposit, error)
type SwapApi ¶
type SwapApi struct {
// contains filtered or unexported fields
}
func NewSwapApi ¶
func (*SwapApi) GetAssetsByKeyIdHash ¶
func (*SwapApi) GetLegacyPillars ¶
func (sa *SwapApi) GetLegacyPillars() ([]*embedded.SwapLegacyPillarEntry, error)
type TokenApi ¶
type TokenApi struct {
// contains filtered or unexported fields
}
func NewTokenApi ¶
func (*TokenApi) Burn ¶
func (ta *TokenApi) Burn(tokenStandard types.ZenonTokenStandard, amount *big.Int) *nom.AccountBlock
func (*TokenApi) GetByOwner ¶
func (*TokenApi) IssueToken ¶
func (*TokenApi) Mint ¶
func (ta *TokenApi) Mint(tokenStandard types.ZenonTokenStandard, amount *big.Int, receiver types.Address) *nom.AccountBlock
func (*TokenApi) UpdateToken ¶
func (ta *TokenApi) UpdateToken(tokenStandard types.ZenonTokenStandard, owner types.Address, isMintable, isBurnable bool) *nom.AccountBlock
Click to show internal directories.
Click to hide internal directories.