auth

package
v1.14.1 Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2026 License: Apache-2.0 Imports: 14 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Address = common.HexToAddress(hexAddress)
	ABI     = abi.ABI{}
)

Functions

This section is empty.

Types

type AccountKeeper

type AccountKeeper interface {
	GetModuleAccount(ctx context.Context, moduleName string) sdk.ModuleAccountI
	ResolveAccountAddress(ctx context.Context, addr sdk.AccAddress, wasmKeeper xplaauthtypes.WasmKeeper) (sdk.AccAddress, error)
}

type MethodAuth

type MethodAuth string
const (
	Account              MethodAuth = "account"
	ModuleAccountByName  MethodAuth = "moduleAccountByName"
	Bech32Prefix         MethodAuth = "bech32Prefix"
	AddressBytesToString MethodAuth = "addressBytesToString"
	AddressStringToBytes MethodAuth = "addressStringToBytes"
)

type PrecompiledAuth

type PrecompiledAuth struct {
	cmn.Precompile
	abi.ABI
	// contains filtered or unexported fields
}

func (PrecompiledAuth) Execute added in v1.9.0

func (p PrecompiledAuth) Execute(ctx sdk.Context, stateDB vm.StateDB, contract *vm.Contract, readOnly bool) ([]byte, error)

func (PrecompiledAuth) IsTransaction

func (p PrecompiledAuth) IsTransaction(method *abi.Method) bool

func (PrecompiledAuth) Logger

func (p PrecompiledAuth) Logger(ctx sdk.Context) log.Logger

func (PrecompiledAuth) RequiredGas

func (p PrecompiledAuth) RequiredGas(input []byte) uint64

func (PrecompiledAuth) Run

func (p PrecompiledAuth) Run(evm *vm.EVM, contract *vm.Contract, readonly bool) (bz []byte, err error)

Jump to

Keyboard shortcuts

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