contract

package
v0.4.7-rc6 Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2024 License: Apache-2.0 Imports: 7 Imported by: 1

Documentation

Index

Constants

View Source
const (
	ARTELA_FROM_ADDR = "0x0000000000000000000000000000000000A27E14"
)

Variables

View Source
var AspectOwnableMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"}],\"name\":\"isOwner\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"result\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"}]",
	Sigs: map[string]string{
		"2f54bf6e": "isOwner(address)",
	},
}
View Source
var BrokMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"aspectId\",\"type\":\"address\"}],\"name\":\"allowance\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"valueWei\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"}]",
	Sigs: map[string]string{
		"3e5beab9": "allowance(address)",
	},
}

Functions

func ArtelaAllowanceMsg

func ArtelaAllowanceMsg(to *common.Address, nonce uint64, aspectId common.Address) (*core.Message, error)

func ArtelaOwnerMsg

func ArtelaOwnerMsg(to *common.Address, nonce uint64, sender common.Address) (*core.Message, error)

func IsArtelaFrom

func IsArtelaFrom(from *common.Address) bool

func PackAllowanceMsg

func PackAllowanceMsg(from common.Address, to *common.Address, nonce uint64, amount *big.Int, gasLimit uint64, gasPrice, gasFeeCap, gasTipCap *big.Int, accessList types.AccessList, aspectId common.Address) (*core.Message, error)

func PackIsOwnerMsg

func PackIsOwnerMsg(from common.Address, to *common.Address, nonce uint64, amount *big.Int, gasLimit uint64, gasPrice, gasFeeCap, gasTipCap *big.Int, accessList types.AccessList, sender common.Address) (*core.Message, error)

func UnpackAllowanceResult

func UnpackAllowanceResult(data []byte) (*big.Int, error)

func UnpackIsOwnerResult

func UnpackIsOwnerResult(data []byte) (bool, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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