Module-level declarations
Types
Link copied to clipboard
entity pending_provider_batch
Link copied to clipboard
entity pending_provider_is_system
Link copied to clipboard
entity pending_provider_quota
Link copied to clipboard
entity pending_provider_state
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Queries
Link copied to clipboard
query get_provider_batch_proposal(rowid: rowid): (provider_infos: list<provider_info>, tier: provider_tier, system: boolean, active: boolean)?
Returns provider batch proposal.
Link copied to clipboard
query get_provider_quota_proposal(rowid: rowid): (tier: provider_tier, quota_type: provider_quota_type, value: integer)?
Returns system provider quota proposal.
Link copied to clipboard
query get_provider_state_proposal(rowid: rowid): (provider: byte_array, provider_name: text, active: boolean)?
Returns provider state proposal.
Link copied to clipboard
Returns system provider proposal.
Operations
Link copied to clipboard
operation propose_provider_is_system(my_pubkey: byte_array, provider_pubkey: byte_array, promote: boolean, description: text)
Propose promotion or demotion of a provider to system provider.
Permission: system provider
Rate limit: actions
Link copied to clipboard
operation propose_provider_quota(my_pubkey: byte_array, tier: provider_tier, provider_quota_type: provider_quota_type, value: integer, description: text)
Propose provider quotas.
Permission: system provider
Rate limit: actions
Link copied to clipboard
operation propose_provider_state(my_pubkey: byte_array, provider_pubkey: byte_array, active: boolean, description: text)
Propose provider change state to another provider. NP can enable/disable DP without voting.
Permission: SP SP, NP, DP, NP DP
Rate limit: actions
Link copied to clipboard
operation propose_providers(my_pubkey: byte_array, provider_infos: list<provider_info>, tier: provider_tier, system: boolean, active: boolean, description: text)
Propose providers.
Permission: system provider
Rate limit: actions