Module-level declarations

Types

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
function apply_blockchain_move(proposal: proposal)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
@extend(apply_voting_result_handlers) function (): map<text, (proposal) -> unit>
Link copied to clipboard
@extend(delete_proposal_handlers) function (): map<text, (proposal) -> unit>
Link copied to clipboard
@extend(proposal_delay_time_handlers) function (): map<text, (proposal) -> (blockchain?, delay: integer)>
Link copied to clipboard
Link copied to clipboard
@extend(apply_voting_result_handlers) function (): map<text, (proposal) -> unit>
Link copied to clipboard
@extend(delete_proposal_handlers) function (): map<text, (proposal) -> unit>
Link copied to clipboard
@extend(apply_voting_result_handlers) function (): map<text, (proposal) -> unit>
Link copied to clipboard
@extend(delete_proposal_handlers) function (): map<text, (proposal) -> unit>
Link copied to clipboard
function increment_move_counter_in_name(current_name: text): text
Link copied to clipboard
function move_container_blockchains_impl(src_container_name: text, destination_cluster_name: text, anchored_blockchains: map<byte_array, integer>, destination_container_units: integer, destination_container_extra_storage: integer, destination_container_extra_compute_requests: integer): (container_name: text, cluster_name: text)
Link copied to clipboard
function validate_blockchain_move_proposal(blockchain: blockchain, proposed_by: provider, destination_container: text): container

Queries

Link copied to clipboard
query get_blockchain_move_cancel_proposal(rowid: rowid?): (blockchain_rid: byte_array, blockchain_name: text, cluster: text, container: text)?

Returns a proposal object for canceling a blockchain move.

Link copied to clipboard
query get_blockchain_move_finish_proposal(rowid: rowid?): (blockchain_rid: byte_array, blockchain_name: text, cluster: text, container: text, final_height: integer)?

Returns a proposal object for finalizing a blockchain move.

Link copied to clipboard
query get_blockchain_move_proposal(rowid: rowid?): (blockchain_rid: byte_array, blockchain_name: text, container: text, cluster: text)?

Returns a proposal object for moving a blockchain.

Operations

Link copied to clipboard
operation propose_blockchain_move(my_pubkey: byte_array, blockchain_rid: byte_array, destination_container: text, description: text)

Propose a blockchain move

Permission: container deployer

Rate limit: actions

Link copied to clipboard
operation propose_blockchain_move_cancel(my_pubkey: byte_array, blockchain_rid: byte_array, description: text)

Propose canceling a blockchain move

Permission: container deployer

Rate limit: actions

Link copied to clipboard
operation propose_blockchain_move_finish(my_pubkey: byte_array, blockchain_rid: byte_array, final_height: integer, description: text)

Propose finishing a blockchain move

Permission: container deployer

Rate limit: actions