ownership

package
v0.0.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 5, 2026 License: MIT Imports: 37 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ContractOwner

func ContractOwner(ctx context.Context, deps stellardeps.StellarDeps, ref datastore.AddressRef) (string, error)

ContractOwner returns the current owner address string for a Soroban CCIP contract ref (simulation read).

func ExecuteAcceptOwnership

func ExecuteAcceptOwnership(b cldfops.Bundle, deps stellardeps.StellarDeps, ref datastore.AddressRef) error

ExecuteAcceptOwnership runs the Soroban accept_ownership op for the contract type in ref.

func ExecuteTransferOwnership

func ExecuteTransferOwnership(
	b cldfops.Bundle,
	deps stellardeps.StellarDeps,
	ref datastore.AddressRef,
	newOwner string,
) error

ExecuteTransferOwnership runs the Soroban transfer_ownership op for the contract type in ref.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL