decimal

package module
v0.1.0-preview.11 Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2026 License: MIT Imports: 33 Imported by: 0

README

Decimal Go SDK

An independent EVM Go module, github.com/maxwell2010/decimal-go-sdk, based on pinned official Decimal node, JS SDK and Go SDK sources, with workflow requirements from our Python and C# implementations. Go 1.26.10+ is required. The current public version is v0.1.0-preview.11, a preview with no claim of complete deployment parity.

By MintCandy and @Maxwell2019. MIT license.

Русский README | Getting started | Examples | Changelog

Russian guide with examples · Contract API · Operation matrix · Source hashes · Validation.

The package contains 11 pinned ABI profiles and 300 generated methods: 157 offline transaction builders and 143 typed readers. Administrative functions are included. This is a contract-method count, not a count of user workflows or unique protocol transaction types.

Nine explicitly selected, versioned testnet profiles provide 224 more typed methods: system contracts, Safe/factory/MultiSend and reserve/reserveless token interfaces. Their addresses, observed blocks, code hashes and ABI hashes are recorded in system deployment sources, Safe sources and token sources. These artifacts remain separate from the pinned node ABI and never silently replace defaults. All 524 wrappers are exercised by the ABI integration suite.

The pinned JS index has 93 active write entry points. 55 have at least one related pinned-ABI builder, 35 require an explicit deployment ABI, two use native transfers, and mixed multisend supports DEL while the unsafe generic-Multicall ERC20 spender route is disabled. Related selectors do not establish complete workflow or deployment equivalence.

Read-only network compatibility

For the October 29-30, 2026 Stake tuple and event changes, see Delegation response compatibility. Unified NFT builder examples.

Compatibility matrix separates local ABI tests, observed getters, historical Checks events and limited eth_call simulations. It records fixed blocks and raw RPC hashes for both networks. The configured mainnet Checks address needs deployment review; an initialized proxy is not established. No default address was changed.

Use Client.BlockIdentity for the RPC-reported block hash; types.Header.Hash() may differ on Decimal. ChecksCreationHistory and ChecksCreationReceipt read existing creation hashes without a wallet. History API and example.

Features

  • Native DEL, memo and DEL multisend.
  • ERC20, reservable/reserveless token creation, exact-input/output economy calls, convert, permits and approval planning.
  • Delegation, holds, reset, transfer, withdrawal and completion; typed ordinary/held/frozen stake reads and block-pinned batch verification.
  • ERC721/1155 collections, minting/reserve/transfer/burn/approval, batch transfers and DelegationNFT.
  • Validator controls and contract administration from the pinned ABI.
  • Checks from the official JS ABI, with recipient-bound EIP-191 proofs, signer recovery/verification and offline batch construction. Signing format and example.
  • EIP-712 permit and Safe signing, owner-bound/sorted signature packing, explicit deployment-ABI execution and proxy factory construction.
  • Bridge and GasCenter builders using a supplied deployment ABI; nonce widths are not inferred from JavaScript number types.
  • Context-aware RPC, fees, balances, code, logs, receipts, subscriptions through a WebSocket backend, bounded HTTP API reads and authoritative withdrawal indexing.

Legacy Cosmos protobuf transactions from go-smart-node/sdk/tx use another protocol and are outside this EVM module. IPFS uploads and explorer contract verification are also outside its scope. Full network parity and production readiness are not claimed.

The separate Cosmos module provides 43 schema-backed message constructors and transaction envelopes. Run its checks separately, or use pwsh -File tools/check.ps1 -Race -Vulnerabilities to check both modules. Its own README distinguishes implemented codecs/pipeline from semantic and network acceptance.

Install and update from one permanent command

Inside an existing Go project:

go run github.com/maxwell2010/decimal-go-sdk/cmd/decimal-sdk-install@latest

This installs or updates both EVM and Cosmos to the reviewed published version in latest.json, including previews. The command never changes with the release number. No automatic background updates occur. Use -print to inspect the selected go get command without modifying a project, or -evm-only / -cosmos-only to select one module. New project? Run go mod init example.com/myapp first. Full install/update/rollback guide.

All 260 ABI write-builder examples | EVM envelope types 0/1/2 | All 43 Cosmos message examples. These are offline encoding examples, not deployed execution certificates.

Install a fixed version

Requires Go 1.26.10 or later. In your application's Go module:

go get github.com/maxwell2010/decimal-go-sdk@v0.1.0-preview.11

The independent Cosmos module is optional:

go get github.com/maxwell2010/decimal-go-sdk/cosmos@v0.1.0-preview.11

Go downloads runtime dependencies automatically. GitHub is the release source; the tag pins the preview. Downloadable source ZIP/TAR.GZ files and SHA256SUMS are attached to the release. No compiler-generated bindings or external ABI compiler are needed to use the library.

For local development, clone the repository and run:

go test ./...
go vet ./...
go run ./cmd/decimal-inspect -network testnet

The inspection command is read-only and requires no wallet. Mainnet is configured for EVM chain ID 75; testnet uses 202020. Dial verifies the RPC chain. System child addresses are resolved using ResolveSystemContract, rather than copied between networks.

Quick start

A complete offline example, requiring no wallet or RPC:

package main

import (
    "fmt"
    decimal "github.com/maxwell2010/decimal-go-sdk"
)

func main() {
    amount, err := decimal.ParseUnits("1.25", 18)
    if err != nil { panic(err) }
    to, err := decimal.ParseAddress("0x1000000000000000000000000000000000000001")
    if err != nil { panic(err) }
    call, err := decimal.NativeTransfer(to, amount, "invoice-123")
    if err != nil { panic(err) }
    fmt.Println(call.To.Hex(), decimal.FormatUnits(call.Value, 18), string(call.Data))
}

The address is a fixture. Runnable examples include read-only balance queries and offline ERC20 encoding. Getting started covers installation and transaction preparation.

Offline construction

amount, err := decimal.ParseUnits("1.25", 18)
if err != nil { return err }
to, err := decimal.ParseAddress(recipientAddress)
if err != nil { return err }
call, err := decimal.NativeTransfer(to, amount, "invoice-123")
if err != nil { return err }

Use decimal "github.com/maxwell2010/decimal-go-sdk" as the import. Values are exact base-unit integers; floating-point amounts are not accepted. Build* methods never perform network I/O, sign or broadcast.

Explicit submission

ctx, cancel := context.WithTimeout(context.Background(), 30*time.Second)
defer cancel()
client, err := decimal.Dial(ctx, decimal.Testnet())
if err != nil { return err }
defer client.Close()
signer, err := decimal.NewKeySigner(privateKeyFromSecretStore)
if err != nil { return err }
defer signer.Close()

prepared, err := client.Prepare(ctx, signer.Address(), call, decimal.TxOptions{})
if err != nil { return err }
fmt.Println(prepared.Fee.EstimatedFee, prepared.Fee.ReservedFee)

sent, err := client.Send(ctx, signer, call, decimal.TxOptions{}) // broadcasts
if err != nil { return err }
mined, err := client.WaitReceipt(ctx, sent.Hash, time.Second)
if err != nil { return err }
fmt.Println(mined.ActualFee)

The additional imports are context, fmt and time. Secret and recipient variables come from the application. No secret is embedded in the examples. SignerFromMnemonic supports BIP39/BIP32 and defaults to m/44'/60'/0'/0/0; derive once and reuse the signer. Hardware/external signers can implement Signer.

Preparation checks network, code for contract calls, estimate, limits and available DEL. The default gas-limit buffer is 10%; it is reserved capacity, not the amount necessarily charged. Receipts expose actual fees only when effectiveGasPrice is available. Failed receipts return RevertedError.

Send serializes automatic nonces per sender in one Client. Multiple clients/processes must coordinate externally. Prepare does not reserve a nonce. SubmissionUnknownError preserves the locally computed transaction hash; reconcile it before sending again. No automatic endpoint failover or fee retry is performed after submission. Legacy EIP-155 is the default. Explicit TxOptions.TxType 1 selects EIP-2930 access-list transactions; type 2 selects EIP-1559 with FeeCap, TipCap and optional BaseFeeEstimate. Dynamic reserves use the fee cap; without a base-fee estimate the estimated effective fee is unknown. Network support and the global minimum fee are not inferred from eth_gasPrice.

Contracts and deployment variants

Reference routing recognizes explicitly selected versioned token profiles. Both support their matching ERC20 operations; mintTokenReserveless is restricted to the reserveless profile. For TestnetReserveToken20261029, reference operation updateTokenIdentity explicitly builds updateIdentity(string). This selector adaptation does not apply to pinned Token or arbitrary deployment ABIs. BuildReferenceOperationSignature applies the same operation/profile whitelist.

address, err := client.ResolveSystemContract(ctx, "delegation")
if err != nil { return err }
staking, err := client.Delegation(address)
if err != nil { return err }
call, err := staking.BuildDelegateDEL(amountWei, validator)
if err != nil { return err }

The generated contract API uses typed inputs, including nested tuples, arrays and overloads. Result fields Value0, Value1, etc. follow ABI output order. Decode events with DecodeLog. The full method-to-signature mapping is in docs/API.md.

For versions missing from the pinned node ABI, use ContractWithABI(address, verifiedABI). BuildReferenceOperation adapts a reference JS operation name using ABI-order arguments in raw units. Missing or ambiguous methods fail before RPC/signing. BuildNamed resolves an unambiguous overload; Build accepts an exact Solidity signature. API.DeploymentABI can read an official compact-contract response but never silently replaces a pinned ABI.

PlanERC20Action keeps approve and action separate. Wait for approval and re-estimate the action. Tokens requiring allowance reset need an explicit additional zero-approval step. CheckedPermit checks the actual nonce/domain separator. Callers choose domain version and deadline. Do not grant generic Multicall token allowance.

Additional helpers now cover zero-reset approval plans, full-uint256 weighted Safe policies, mixed EOA/contract signatures and explicitly selected modern/legacy ERC-1271 verification. See SAFE_WORKFLOWS.md. The opt-in sender-restricted multisend adapter is a project extension derived from our C# contract evidence, not an official Decimal ABI/default; it requires explicit chain/address/runtime-hash binding. Only read-only runtime checks were performed in this Go work.

LoadProxyDeploymentContract and LoadBeaconDeploymentContract resolve standard ERC-1967 implementations at a requested block while retaining the proxy as the target. Bound calls recheck code/slot evidence before preparation; reads are also pinned and checked. BindProxyABI/BindBeaconABI accept caller-reviewed artifacts when a public API is unavailable or misannotated. They do not prove that an arbitrary API ABI matches bytecode or prevent an upgrade after the last check. ERC-1967 defines the storage slots and beacon getter.

For Safe, prefer PackSafeSignatures, which binds each signature to an expected owner and transaction hash. The lower-level PackSafeEOASignatures only recovers/sorts signers; it does not establish membership. On-chain owner weights, threshold and nonce remain deployment checks. Contract signatures require a separate deployment-specific encoder.

FrozenWithdrawalsBatch verifies up to 500 known indexes in one block-pinned call; FrozenWithdrawals supports deployments with only the single getter. Index enumeration requires an authoritative indexer. API.WithdrawalIndex rejects unavailable, incomplete or stale results. Maturity is separate from completion.

Reproducible source import

tools/generate.py --node PATH --js PATH --go PATH verifies pinned Git revisions, normalizes plain/wrapped/string-encoded ABIs, copies ABI interfaces with SHA-256 provenance and generates the typed API. tools/compare.py --js PATH --go PATH produces the source-linked operation matrix. Run go fmt ./... afterwards, and run it separately inside the Cosmos module. Avoid recursively formatting ignored dependency/tool caches. Generator input identifiers are validated before producing Go source; python -B -m unittest discover -s tools -p test_generate.py tests those boundaries.

No upstream Go or JS implementation is copied or executed by these tools. Node MIT attribution is preserved in THIRD_PARTY_NODE_LICENSE. The JS package declares ISC without a standalone LICENSE in the snapshot; its interface-artifact attribution is recorded separately for publication review.

Node RPC block identity and hash selector limits.

Local EVM execution, RPC resilience and signing-profile mismatch.

Stable release criteria.

Weighted Safe, standard permit, token Checks and local signed-chain tests.

Observed Decimal permit, Checks routes and Safe administration.

Reserve economics: local execution, rounding, limits and actual fees.

Documentation

Overview

Code generated by tools/generate.py; DO NOT EDIT.

Code generated by tools/generate.py; DO NOT EDIT.

Code generated by tools/generate.py; DO NOT EDIT.

Code generated by tools/generate.py; DO NOT EDIT.

Package decimal implements Decimal EVM transaction construction, signing, contract calls and API access. Building a Call never contacts the network. Sending requires an explicit Client.Send or Client.Broadcast invocation. Cosmos protobuf messages are a separate protocol and are not EVM calls.

Code generated by tools/generate.py; DO NOT EDIT.

Code generated by tools/generate.py; DO NOT EDIT.

Code generated by tools/generate.py; DO NOT EDIT.

Code generated by tools/generate.py; DO NOT EDIT.

Code generated by tools/generate.py; DO NOT EDIT.

Code generated by tools/generate.py; DO NOT EDIT.

Code generated by tools/generate.py; DO NOT EDIT.

Code generated by tools/generate.py; DO NOT EDIT.

Code generated by tools/generate.py; DO NOT EDIT.

Code generated by tools/generate.py; DO NOT EDIT.

Code generated by tools/generate.py; DO NOT EDIT.

Code generated by tools/generate.py; DO NOT EDIT.

Code generated by tools/generate.py; DO NOT EDIT.

Code generated by tools/generate.py; DO NOT EDIT.

Code generated by tools/generate.py; DO NOT EDIT.

Code generated by tools/generate.py; DO NOT EDIT.

Index

Examples

Constants

This section is empty.

Variables

This section is empty.

Functions

func ABIJSON

func ABIJSON(profile string) (json.RawMessage, error)

ABIJSON returns a copy of the pinned ABI, for interoperability and verification.

func EVMCheckRedemptionDigest

func EVMCheckRedemptionDigest(checkHash common.Hash, redeemer common.Address) common.Hash

EVMCheckRedemptionDigest applies the EIP-191 personal-message prefix to the 32 hash bytes, matching ethers Wallet.signMessage(arrayify(messageHash)). It does not prefix the hexadecimal text and does not include an EIP-712 domain. This is the JS source profile; the bundled historical Checks bytecode uses a different digest. Deployment compatibility must be established separately.

func EVMCheckRedemptionHash

func EVMCheckRedemptionHash(checkHash common.Hash, redeemer common.Address) common.Hash

EVMCheckRedemptionHash is Solidity keccak256(abi.encodePacked(checkHash, redeemer)): exactly 32 hash bytes followed by 20 address bytes. checkHash is opaque contract output; this helper does not derive, issue or look up a check.

func FormatUnits

func FormatUnits(n *big.Int, decimals uint8) string

FormatUnits formats an integer exactly; its result can be parsed with ParseUnits.

func NFTPermitTypedData

func NFTPermitTypedData(name, version string, chainID *big.Int, collection, spender common.Address, tokenID, nonce, deadline *big.Int) (apitypes.TypedData, error)

NFTPermitTypedData follows the official JS DRC721/DRC1155 permit schemas. DRC721 uses tokenID; DRC1155 passes nil. Verify DOMAIN_SEPARATOR and nonce on the deployment before signing, as CheckedPermit does for ERC20.

func PackBigWeightedSafeSignatures

func PackBigWeightedSafeSignatures(ctx context.Context, tx SafeTransaction, policy BigSafePolicy, signatures []SafeMixedSignature, verify SafeContractVerifier) ([]byte, error)

PackBigWeightedSafeSignatures validates full-width weighted authorization, then reuses the same owner-bound EOA/contract verification and wire packer. No owner weight or threshold is cast to a machine integer.

func PackSafeEOASignatures

func PackSafeEOASignatures(hash common.Hash, signatures ...[]byte) ([]byte, error)

PackSafeEOASignatures recovers signers from this transaction hash, rejects duplicates and sorts by numeric address. Contract signatures need a deployment- specific encoder and are not accepted as EOA signatures.

func PackSafeSignatures

func PackSafeSignatures(hash common.Hash, signatures ...SafeSignature) ([]byte, error)

PackSafeSignatures additionally binds every signature to the expected owner. The caller must still verify current owners and weight threshold on the Safe.

func PackWeightedSafeSignatures

func PackWeightedSafeSignatures(ctx context.Context, tx SafeTransaction, p SafePolicy, signatures []SafeMixedSignature, verify SafeContractVerifier) ([]byte, error)

PackWeightedSafeSignatures follows official JS execution.ts buildSignatureBytes: sorted 65-byte static entries, then unpadded {uint256 length, bytes} tails. Every contract signature requires a verifier for that exact deployment's signature interface. EIP1271 has incompatible variants; none is assumed here.

func ParseAddress

func ParseAddress(s string) (common.Address, error)

func ParseUnits

func ParseUnits(s string, decimals uint8) (*big.Int, error)

ParseUnits converts an unsigned decimal amount without floating point or rounding.

Example
package main

import (
	"fmt"
	decimal "github.com/maxwell2010/decimal-go-sdk"
)

func main() {
	amount, err := decimal.ParseUnits("1.25", 18)
	if err != nil {
		panic(err)
	}
	fmt.Println(amount)
	fmt.Println(decimal.FormatUnits(amount, 18))
}
Output:
1250000000000000000
1.25

func PermitTypedData

func PermitTypedData(name, version string, chainID *big.Int, token common.Address, p Permit) (apitypes.TypedData, error)

func RecoverEVMCheckRedemptionSigner

func RecoverEVMCheckRedemptionSigner(checkHash common.Hash, redeemer common.Address, signature []byte) (common.Address, error)

RecoverEVMCheckRedemptionSigner accepts canonical low-S 65-byte signatures, with either 0/1 or 27/28 recovery IDs. It verifies only the mathematical proof, not check existence, funding, expiry, redemption status or deployment identity.

func SignEVMCheckRedemption

func SignEVMCheckRedemption(ctx context.Context, signer *KeySigner, checkHash common.Hash, redeemer common.Address) ([]byte, error)

SignEVMCheckRedemption signs a recipient-bound EVM Checks proof offline. For a direct Checks call, use its transaction sender as redeemer.

func SignEVMCheckRedemptionWith

func SignEVMCheckRedemptionWith(ctx context.Context, checkHash common.Hash, redeemer, expectedSigner common.Address, sign func(context.Context, common.Hash) ([]byte, error)) ([]byte, error)

SignEVMCheckRedemptionWith passes the final EIP-191 digest to a signing callback. The callback must sign that digest directly; applying personal_sign again would double-prefix it. The result is owner-verified, copied and normalized to v=27/28. Neither chain ID, contract, amount, nonce nor expiry is added to the official payload. A signature alone cannot establish the check's chain or contract.

func VerifyEVMCheckRedemption

func VerifyEVMCheckRedemption(checkHash common.Hash, redeemer, expectedSigner common.Address, signature []byte) error

VerifyEVMCheckRedemption binds a proof to the explicitly supplied check signer and redeemer. Nonzero signer/redeemer are SDK policy, not inferred contract validation rules. Pure hash/digest/recovery helpers accept all fixed-width values.

Types

type API

type API struct {
	// contains filtered or unexported fields
}

API is an explicit read-only HTTP API. No API key or application service URL is embedded in this SDK. The default HTTP client has a 15 second timeout.

func NewAPI

func NewAPI(base string, client *http.Client) (*API, error)

func (*API) DeploymentABI

func (a *API) DeploymentABI(ctx context.Context, address common.Address) (json.RawMessage, error)

DeploymentABI reads the official compact-contract response; using the result remains an explicit ContractWithABI decision by the caller.

func (*API) Get

func (a *API) Get(ctx context.Context, path string, query url.Values, out any) error

Get supports additional official REST routes without baking in undocumented response shapes. Bodies are bounded; HTTP failures do not expose response data.

func (*API) Transaction

func (a *API) Transaction(ctx context.Context, hash common.Hash, out any) error

func (*API) Validators

func (a *API) Validators(ctx context.Context, out any) error

func (*API) WalletStakes

func (a *API) WalletStakes(ctx context.Context, wallet common.Address, out any) error

func (*API) WalletUnstakes

func (a *API) WalletUnstakes(ctx context.Context, wallet common.Address, out any) error

func (*API) WithdrawalIndex

func (a *API) WithdrawalIndex(ctx context.Context, path string, minBlock *big.Int) (WithdrawalIndex, error)

WithdrawalIndex reads a user-configured authoritative indexer, never a hardcoded application service. Empty, unavailable, incomplete and stale are distinct. Pass a relative path on the API instance configured for that indexer.

type AllowancePlan

type AllowancePlan struct {
	Approvals []Call
	Action    Call
}

type ApprovalPlan

type ApprovalPlan struct {
	Approval *Call
	Action   Call
}

ApprovalPlan always separates EOA approvals from the actual action. Execute the approval, wait for success, then re-estimate/send the action.

type Backend

type Backend interface {
	ChainID(context.Context) (*big.Int, error)
	PendingNonceAt(context.Context, common.Address) (uint64, error)
	SuggestGasPrice(context.Context) (*big.Int, error)
	EstimateGas(context.Context, ethereum.CallMsg) (uint64, error)
	BalanceAt(context.Context, common.Address, *big.Int) (*big.Int, error)
	CodeAt(context.Context, common.Address, *big.Int) ([]byte, error)
	CallContract(context.Context, ethereum.CallMsg, *big.Int) ([]byte, error)
	SendTransaction(context.Context, *types.Transaction) error
	TransactionReceipt(context.Context, common.Hash) (*types.Receipt, error)
}

Backend allows deterministic tests, hardware signers and custom transports.

type BigSafePolicy

type BigSafePolicy struct {
	Safe                  common.Address
	ChainID, Nonce, Block *big.Int
	Owners                map[common.Address]*big.Int
	Threshold             *big.Int
}

BigSafePolicy preserves the actual Safe ABI's uint256 weights and threshold. All numeric inputs are copied before verification callbacks are invoked.

type BlockIdentity

type BlockIdentity struct {
	Number uint64      `json:"number"`
	Hash   common.Hash `json:"hash"`
}

BlockIdentity preserves the RPC-reported canonical block hash. Decimal's block hash need not equal the hash recomputed from an Ethereum types.Header.

type Call

type Call struct {
	To                 common.Address
	Value              *big.Int
	Data               []byte
	Contract           bool
	Profile, Signature string
	// contains filtered or unexported fields
}

Call is an offline transaction intent in base units. It contains no private key.

func NativeTransfer

func NativeTransfer(to common.Address, value *big.Int, memo string) (Call, error)
Example
package main

import (
	"fmt"
	decimal "github.com/maxwell2010/decimal-go-sdk"
	"math/big"
)

func main() {
	to, err := decimal.ParseAddress("0x1000000000000000000000000000000000000001")
	if err != nil {
		panic(err)
	}
	call, err := decimal.NativeTransfer(to, big.NewInt(5), "invoice-123")
	if err != nil {
		panic(err)
	}
	fmt.Println(call.Value, string(call.Data))
}
Output:
5 invoice-123

type Checks

type Checks struct{ *Contract }

func (*Checks) BuildCreateChecksDEL

func (c *Checks) BuildCreateChecksDEL(value *big.Int, arg0 []common.Address, arg1 *big.Int, arg2 *big.Int, arg3 *big.Int) (Call, error)

BuildCreateChecksDEL builds createChecksDEL(address[],uint256,uint256,uint256); it does not sign or send.

func (*Checks) BuildCreateChecksToken

func (c *Checks) BuildCreateChecksToken(arg0 []common.Address, arg1 *big.Int, arg2 *big.Int, arg3 *big.Int, arg4 common.Address) (Call, error)

BuildCreateChecksToken builds createChecksToken(address[],uint256,uint256,uint256,address); it does not sign or send.

func (*Checks) BuildCreateChecksTokenByPermit

func (c *Checks) BuildCreateChecksTokenByPermit(arg0 []common.Address, arg1 *big.Int, arg2 *big.Int, arg3 *big.Int, arg4 common.Address, arg5 *big.Int, arg6 uint8, arg7 [32]byte, arg8 [32]byte) (Call, error)

BuildCreateChecksTokenByPermit builds createChecksTokenByPermit(address[],uint256,uint256,uint256,address,uint256,uint8,bytes32,bytes32); it does not sign or send.

func (*Checks) BuildRedeemChecks

func (c *Checks) BuildRedeemChecks(arg0 [][]byte, arg1 [][32]byte) (Call, error)

BuildRedeemChecks builds redeemChecks(bytes[],bytes32[]); it does not sign or send.

func (*Checks) BuildRenounceOwnership

func (c *Checks) BuildRenounceOwnership() (Call, error)

BuildRenounceOwnership builds renounceOwnership(); it does not sign or send.

func (*Checks) BuildSignedRedemption

func (c *Checks) BuildSignedRedemption(redeemer common.Address, proofs []EVMCheckRedemptionProof) (Call, error)

BuildSignedRedemption verifies all proofs and builds redeemChecks offline in the supplied order. Duplicate hashes are rejected as SDK policy. This Call does not carry a From restriction: a direct call's sender must equal redeemer. No RPC, signature generation, check-state query or broadcast is performed.

func (*Checks) BuildTransferOwnership

func (c *Checks) BuildTransferOwnership(arg0 common.Address) (Call, error)

BuildTransferOwnership builds transferOwnership(address); it does not sign or send.

func (*Checks) BuildUpgrade

func (c *Checks) BuildUpgrade(arg0 common.Address, arg1 []byte) (Call, error)

BuildUpgrade builds upgrade(address,bytes); it does not sign or send.

func (*Checks) ReadGetImpl

func (c *Checks) ReadGetImpl(ctx context.Context) (ChecksGetImplResult, error)

ReadGetImpl calls getImpl().

func (*Checks) ReadNonces

func (c *Checks) ReadNonces(ctx context.Context) (ChecksNoncesResult, error)

ReadNonces calls nonces().

func (*Checks) ReadOwner

func (c *Checks) ReadOwner(ctx context.Context) (ChecksOwnerResult, error)

ReadOwner calls owner().

type ChecksCreation

type ChecksCreation struct {
	CheckHash   common.Hash
	DetailsHash common.Hash
	Signer      common.Address
	Status      uint8
	Log         types.Log
}

ChecksCreation is historical event evidence, not current spendable check state.

func ChecksCreationsFromReceipt

func ChecksCreationsFromReceipt(address common.Address, receipt *types.Receipt) ([]ChecksCreation, error)

ChecksCreationsFromReceipt extracts only matching CreatedCheck events from a successful mined receipt. It rejects inconsistent log/receipt identities. A receipt alone is not a confirmation-depth or current-state guarantee.

func DecodeChecksCreationLog

func DecodeChecksCreationLog(address common.Address, log types.Log) (ChecksCreation, error)

DecodeChecksCreationLog decodes the pinned JS CreatedCheck event exactly.

type ChecksCreationDetails

type ChecksCreationDetails struct {
	DetailsHash      common.Hash
	Type             uint8
	Amount, DueBlock *big.Int
	Token, Creator   common.Address
	Log              types.Log
}

ChecksCreationDetails preserves the explicit CreatedCheckDetails payload. It does not infer how DetailsHash was originally computed.

func DecodeChecksCreationDetailsLog

func DecodeChecksCreationDetailsLog(address common.Address, log types.Log) (ChecksCreationDetails, error)

DecodeChecksCreationDetailsLog decodes the corresponding detail event.

type ChecksGetImplResult

type ChecksGetImplResult struct{ Value0 common.Address }

type ChecksNoncesResult

type ChecksNoncesResult struct{ Value0 *big.Int }

type ChecksOwnerResult

type ChecksOwnerResult struct{ Value0 common.Address }

type Client

type Client struct {
	// contains filtered or unexported fields
}

func Dial

func Dial(ctx context.Context, cfg Config) (*Client, error)

func NewClient

func NewClient(cfg Config, backend Backend) (*Client, error)

func (*Client) Balance

func (c *Client) Balance(ctx context.Context, address common.Address) (*big.Int, error)

func (*Client) BindBeaconABI

func (c *Client) BindBeaconABI(ctx context.Context, address common.Address, block uint64, raw json.RawMessage) (*ProxyDeployment, error)

func (*Client) BindProxyABI

func (c *Client) BindProxyABI(ctx context.Context, address common.Address, block uint64, raw json.RawMessage) (*ProxyDeployment, error)

BindProxyABI and BindBeaconABI attach caller-reviewed artifacts when an API is unavailable or misannotated. Code/slot evidence is still checked on-chain.

func (*Client) BlockIdentity

func (c *Client) BlockIdentity(ctx context.Context, number *big.Int) (BlockIdentity, error)

BlockIdentity reads an authoritative RPC block number/hash pair, not Header.Hash(). A nil number requests latest; explicit numbers must fit uint64. Custom Backends may implement this method themselves. No Ethereum-header hash fallback is used when a backend cannot supply the canonical identity.

func (*Client) BlockNumber

func (c *Client) BlockNumber(ctx context.Context) (uint64, error)

func (*Client) Broadcast

func (c *Client) Broadcast(ctx context.Context, tx *types.Transaction) (common.Hash, error)

Broadcast submits an already signed transaction exactly once.

func (*Client) BuildMultisendDEL

func (c *Client) BuildMultisendDEL(recipients []Recipient) (Call, error)

func (*Client) BuildMultisendERC20

func (c *Client) BuildMultisendERC20() (Call, error)

ERC20 multisend via the arbitrary-call Multicall is intentionally unavailable. A sender-restricted deployment can be used explicitly with ContractWithABI.

func (*Client) BuildSafeFactoryProxy

func (c *Client) BuildSafeFactoryProxy(factory, implementation common.Address, initializer []byte, salt *big.Int) (Call, error)

BuildSafeFactoryProxy accepts explicit initializer bytes. Decimal uses weighted owners, so a standard Gnosis setup(address[]) ABI must not be substituted.

func (*Client) ChainID

func (c *Client) ChainID() *big.Int

func (*Client) CheckedNFTPermit

func (c *Client) CheckedNFTPermit(ctx context.Context, signer *KeySigner, collection *Contract, name, version string, spender common.Address, tokenID, nonce, deadline *big.Int) (Signature, error)

CheckedNFTPermit checks ownership (DRC721), nonce and domain separator before signing either official NFT permit schema. A nil tokenID selects DRC1155.

func (*Client) CheckedPermit

func (c *Client) CheckedPermit(ctx context.Context, signer *KeySigner, token common.Address, name, version string, p Permit) (Signature, error)

CheckedPermit validates chain, owner, nonce and the token's actual EIP712 domain separator before signing. No hardcoded token version or maximum deadline.

func (*Client) Checks

func (c *Client) Checks(address common.Address) (*Checks, error)

func (*Client) ChecksCreationHistory

func (c *Client) ChecksCreationHistory(ctx context.Context, address common.Address, from, to uint64) ([]ChecksCreation, error)

ChecksCreationHistory reads at most 2000 explicitly selected blocks and 10000 matching logs. Empty output means no matching event in this window only.

func (*Client) ChecksCreationReceipt

func (c *Client) ChecksCreationReceipt(ctx context.Context, address common.Address, tx common.Hash) ([]ChecksCreation, error)

ChecksCreationReceipt reads one existing receipt and validates the requested transaction hash before extracting historical creation events.

func (*Client) Close

func (c *Client) Close()

func (*Client) Contract

func (c *Client) Contract(profile string, address common.Address) (*Contract, error)

func (*Client) ContractCenter

func (c *Client) ContractCenter(address common.Address) (*ContractCenter, error)

func (*Client) ContractCode

func (c *Client) ContractCode(ctx context.Context, address common.Address, block *big.Int) ([]byte, error)

func (*Client) ContractSignatureVerifier

func (c *Client) ContractSignatureVerifier(raw json.RawMessage, block *big.Int, kind ContractSignatureInterface, preimage []byte) (SafeContractVerifier, error)

ContractSignatureVerifier explicitly selects one interface from supplied ABI. Legacy requires the exact preimage, whose hash must equal the requested digest. It never probes or falls back to another signature convention.

func (*Client) ContractSignatureVerifierFrom

func (c *Client) ContractSignatureVerifierFrom(raw json.RawMessage, block *big.Int, kind ContractSignatureInterface, preimage []byte, caller common.Address) (SafeContractVerifier, error)

ContractSignatureVerifierFrom preserves an explicit caller (normally the target Safe) for caller-dependent ERC1271 wallet policies.

func (*Client) ContractWithABI

func (c *Client) ContractWithABI(address common.Address, raw json.RawMessage) (*Contract, error)

ContractWithABI opts into a caller-supplied deployment ABI. It does not fetch or trust a remote ABI implicitly. Keep the deployment address/network/block and artifact provenance alongside this ABI in the application.

func (*Client) Delegation

func (c *Client) Delegation(address common.Address) (*Delegation, error)

func (*Client) DelegationNFT

func (c *Client) DelegationNFT(address common.Address) (*DelegationNFT, error)

func (*Client) ERC721

func (c *Client) ERC721(address common.Address) (*ERC721, error)

func (*Client) ERC1155

func (c *Client) ERC1155(address common.Address) (*ERC1155, error)

func (*Client) Header

func (c *Client) Header(ctx context.Context, number *big.Int) (*types.Header, error)

Header returns Ethereum-shaped fields. Header.Hash() recomputes an Ethereum hash and may differ from Decimal canonical RPC identity; use BlockIdentity.

func (*Client) LoadBeaconDeploymentContract

func (c *Client) LoadBeaconDeploymentContract(ctx context.Context, api *API, address common.Address, block uint64) (*ProxyDeployment, error)

func (*Client) LoadDeploymentContract

func (c *Client) LoadDeploymentContract(ctx context.Context, api *API, address common.Address) (*Contract, error)

LoadDeploymentContract explicitly opts into the ABI returned by this API. Chain ID and target code are checked; API provenance is not a proof that a proxy's implementation will remain unchanged. Pin/review artifacts when needed.

func (*Client) LoadProxyDeploymentContract

func (c *Client) LoadProxyDeploymentContract(ctx context.Context, api *API, address common.Address, block uint64) (*ProxyDeployment, error)

LoadProxyDeploymentContract explicitly loads an implementation-address ABI, while retaining the proxy as transaction target. All chain evidence is read at one requested block. API ABI attribution is recorded, not bytecode verification. Use LoadBeaconDeploymentContract for standard beacons; minimal and non-EIP1967 proxies require separate explicit handling.

func (*Client) Logs

func (c *Client) Logs(ctx context.Context, query ethereum.FilterQuery) ([]types.Log, error)

func (*Client) MasterValidator

func (c *Client) MasterValidator(address common.Address) (*MasterValidator, error)

func (*Client) Multicall

func (c *Client) Multicall(address common.Address) (*Multicall, error)

func (*Client) NFTCenter

func (c *Client) NFTCenter(address common.Address) (*NFTCenter, error)

func (*Client) PlanERC20Action

func (c *Client) PlanERC20Action(ctx context.Context, token, owner, spender common.Address, amount *big.Int, action Call) (ApprovalPlan, error)

func (*Client) PlanERC20Allowance

func (c *Client) PlanERC20Allowance(ctx context.Context, token, owner, spender common.Address, amount *big.Int, action Call, resetExisting bool) (AllowancePlan, error)

PlanERC20Allowance supports tokens requiring a confirmed zero allowance before a new nonzero approval. Each approval is an independent EOA transaction. Wait for its successful receipt before preparing the next step. Re-read allowance before the action if other processes can modify it. No step is auto-executed.

func (*Client) Prepare

func (c *Client) Prepare(ctx context.Context, from common.Address, call Call, opts TxOptions) (*Prepared, error)

func (*Client) ResolveSystemContract

func (c *Client) ResolveSystemContract(ctx context.Context, slug string) (common.Address, error)

ResolveSystemContract reads the registry; child addresses are never inherited across networks.

func (*Client) RestrictedMultisend

func (c *Client) RestrictedMultisend(d RestrictedMultisendDeployment) (*RestrictedMultisend, error)

func (*Client) Send

func (c *Client) Send(ctx context.Context, signer Signer, call Call, opts TxOptions) (*Submission, error)

Send serializes automatic nonce allocation per sender within this Client. Separate processes/clients must coordinate nonces externally. Explicit nonces are caller-managed. Prepare does not reserve a nonce.

func (*Client) Simulate

func (c *Client) Simulate(ctx context.Context, from common.Address, call Call, block *big.Int) ([]byte, error)

Simulate executes the exact write calldata without signing or sending it.

func (*Client) SubscribeHeads

func (c *Client) SubscribeHeads(ctx context.Context, ch chan<- *types.Header) (ethereum.Subscription, error)

func (*Client) SubscribeLogs

func (c *Client) SubscribeLogs(ctx context.Context, query ethereum.FilterQuery, ch chan<- types.Log) (ethereum.Subscription, error)

SubscribeLogs works with a WebSocket/IPC Backend supplied through NewClient. The caller owns the subscription and must Unsubscribe or cancel its context.

func (*Client) TestnetContractCenter20261029

func (c *Client) TestnetContractCenter20261029(address common.Address) (*TestnetContractCenter20261029, error)

func (*Client) TestnetMasterValidator20261029

func (c *Client) TestnetMasterValidator20261029(address common.Address) (*TestnetMasterValidator20261029, error)

func (*Client) TestnetNFTCenter20261029

func (c *Client) TestnetNFTCenter20261029(address common.Address) (*TestnetNFTCenter20261029, error)

func (*Client) TestnetReserveToken20261029

func (c *Client) TestnetReserveToken20261029(address common.Address) (*TestnetReserveToken20261029, error)

func (*Client) TestnetReservelessToken20261029

func (c *Client) TestnetReservelessToken20261029(address common.Address) (*TestnetReservelessToken20261029, error)

func (*Client) TestnetSafe20261029

func (c *Client) TestnetSafe20261029(address common.Address) (*TestnetSafe20261029, error)

func (*Client) TestnetSafeFactory20261029

func (c *Client) TestnetSafeFactory20261029(address common.Address) (*TestnetSafeFactory20261029, error)

func (*Client) TestnetSafeMultiSend20261029

func (c *Client) TestnetSafeMultiSend20261029(address common.Address) (*TestnetSafeMultiSend20261029, error)

func (*Client) TestnetTokenCenter20261029

func (c *Client) TestnetTokenCenter20261029(address common.Address) (*TestnetTokenCenter20261029, error)

func (*Client) Token

func (c *Client) Token(address common.Address) (*Token, error)

func (*Client) TokenCenter

func (c *Client) TokenCenter(address common.Address) (*TokenCenter, error)

func (*Client) UnifiedNFTDelegation

func (c *Client) UnifiedNFTDelegation(address common.Address) (*UnifiedNFTDelegation, error)

func (*Client) WaitReceipt

func (c *Client) WaitReceipt(ctx context.Context, hash common.Hash, poll time.Duration) (*Mined, error)

type Config

type Config struct {
	ChainID                                                         *big.Int
	RPCURL, APIURL                                                  string
	ContractCenter, Multicall, Checks, Safe, SafeFactory, MultiSend common.Address
}

Config is copied by NewClient. ChainID is verified against the RPC before use.

func Mainnet

func Mainnet() Config

Mainnet uses the public Decimal EVM network (75); the pinned node source has a different 2020 constant.

func Testnet

func Testnet() Config

type Contract

type Contract struct {
	Address common.Address
	Profile string
	// contains filtered or unexported fields
}

func (*Contract) Build

func (c *Contract) Build(signature string, value *big.Int, args ...any) (Call, error)

func (*Contract) BuildBridgeCompleteTransfer

func (c *Contract) BuildBridgeCompleteTransfer(encodedVM []byte, unwrap bool) (Call, error)

func (*Contract) BuildBridgeTransferNative

func (c *Contract) BuildBridgeTransferNative(amount, fee *big.Int, recipient [32]byte, toChain uint16, nonce *big.Int) (Call, error)

These workflows intentionally accept an explicit deployment Contract because go-smart-node has no pinned bridge-v2, GasCenter, reserveless-token or Safe ABI. Integer widths are taken from that supplied ABI, not guessed from JS numbers.

func (*Contract) BuildBridgeTransferToken

func (c *Contract) BuildBridgeTransferToken(token common.Address, amount, fee *big.Int, recipient [32]byte, toChain uint16, nonce *big.Int) (Call, error)

func (*Contract) BuildGasConversion

func (c *Contract) BuildGasConversion(owner, token common.Address, amount, estimatedGas, deadline *big.Int, sig Signature) (Call, error)

func (*Contract) BuildNamed

func (c *Contract) BuildNamed(name string, value *big.Int, args ...any) (Call, error)

BuildNamed resolves an ABI overload by successful type checking. Ambiguous overloads require Build with an explicit full signature.

func (*Contract) BuildReferenceOperation

func (c *Contract) BuildReferenceOperation(operation string, value *big.Int, args ...any) (Call, error)

BuildReferenceOperation adapts a named official JS workflow to an explicit contract ABI. Arguments are in ABI order and raw units, not JS wrapper order. It neither obtains approvals nor signs permits automatically. Non-pinned methods require a reviewed versioned profile or explicit ContractWithABI; missing methods fail before any RPC/signature.

func (*Contract) BuildReferenceOperationSignature

func (c *Contract) BuildReferenceOperationSignature(operation, signature string, value *big.Int, args ...any) (Call, error)

BuildReferenceOperationSignature disambiguates an overload while preserving the reference operation's contract-family and method-name restrictions. Arguments remain ABI-order values; supplying a deployment ABI is explicit.

func (*Contract) BuildReservelessMint

func (c *Contract) BuildReservelessMint(recipient common.Address, amount *big.Int) (Call, error)

func (*Contract) DecodeDelegationReceipt

func (c *Contract) DecodeDelegationReceipt(receipt *types.Receipt) ([]Event, error)

DecodeDelegationReceipt filters by this contract address and preserves the source order, including multiple exit events sharing one stake ID. Unknown topics are skipped; malformed known events fail the entire decode. It neither changes the receipt nor infers missing metadata or settlement.

func (*Contract) DecodeLog

func (c *Contract) DecodeLog(log types.Log) (Event, error)

func (*Contract) Read

func (c *Contract) Read(ctx context.Context, signature string, args ...any) ([]any, error)

func (*Contract) ReadAt

func (c *Contract) ReadAt(ctx context.Context, block *big.Int, signature string, args ...any) ([]any, error)

ReadAt pins a read to a block number; nil requests latest.

func (*Contract) ReadBigSafePolicy

func (c *Contract) ReadBigSafePolicy(ctx context.Context, block *big.Int) (BigSafePolicy, error)

func (*Contract) ReadFromAt

func (c *Contract) ReadFromAt(ctx context.Context, from common.Address, block *big.Int, signature string, args ...any) ([]any, error)

ReadFromAt supplies an explicit eth_call sender for caller-dependent views. It does not sign, transfer value or prove nested STATICCALL behavior.

func (*Contract) ReadSafePolicy

func (c *Contract) ReadSafePolicy(ctx context.Context, block *big.Int) (SafePolicy, error)

ReadSafePolicy reads actual Decimal weighted Safe getters at one caller-pinned block using the supplied deployment ABI. The JS SDK supports owner weights 1..1000; this policy adapter rejects larger values instead of truncating them. This snapshot does not itself prove that an owner can authorize a transaction.

func (*Contract) Simulate

func (c *Contract) Simulate(ctx context.Context, from common.Address, call Call, block *big.Int) ([]byte, error)

Simulate preserves deployment-specific custom errors as well as the exact target and snapshot. Unlike Client.Simulate, it has the explicit ABI available.

type ContractCenter

type ContractCenter struct{ *Contract }

func (*ContractCenter) BuildMarkReserve

func (c *ContractCenter) BuildMarkReserve(arg0 ContractCenterMarkReserveArg0) (Call, error)

BuildMarkReserve builds markReserve((address,uint256)); it does not sign or send.

func (*ContractCenter) BuildMarkReserves

func (c *ContractCenter) BuildMarkReserves(arg0 []ContractCenterMarkReservesArg0) (Call, error)

BuildMarkReserves builds markReserves((address,uint256)[]); it does not sign or send.

func (*ContractCenter) BuildMigrateReserves

func (c *ContractCenter) BuildMigrateReserves(value *big.Int) (Call, error)

BuildMigrateReserves builds migrateReserves(); it does not sign or send.

func (*ContractCenter) BuildMigrateReservesPage

func (c *ContractCenter) BuildMigrateReservesPage(value *big.Int, arg0 *big.Int, arg1 *big.Int) (Call, error)

BuildMigrateReservesPage builds migrateReservesPage(uint256,uint256); it does not sign or send.

func (*ContractCenter) BuildRenounceOwnership

func (c *ContractCenter) BuildRenounceOwnership() (Call, error)

BuildRenounceOwnership builds renounceOwnership(); it does not sign or send.

func (*ContractCenter) BuildSetAddress

func (c *ContractCenter) BuildSetAddress(arg0 string, arg1 common.Address) (Call, error)

BuildSetAddress builds setAddress(string,address); it does not sign or send.

func (*ContractCenter) BuildSetContractAddress

func (c *ContractCenter) BuildSetContractAddress(arg0 string, arg1 common.Address) (Call, error)

BuildSetContractAddress builds setContractAddress(string,address); it does not sign or send.

func (*ContractCenter) BuildSetMigrating

func (c *ContractCenter) BuildSetMigrating(arg0 bool) (Call, error)

BuildSetMigrating builds setMigrating(bool); it does not sign or send.

func (*ContractCenter) BuildTransferOwnership

func (c *ContractCenter) BuildTransferOwnership(arg0 common.Address) (Call, error)

BuildTransferOwnership builds transferOwnership(address); it does not sign or send.

func (*ContractCenter) BuildUpgrade

func (c *ContractCenter) BuildUpgrade(arg0 common.Address, arg1 []byte) (Call, error)

BuildUpgrade builds upgrade(address,bytes); it does not sign or send.

func (*ContractCenter) ReadGetAddress

func (c *ContractCenter) ReadGetAddress(ctx context.Context, arg0 string) (ContractCenterGetAddressResult, error)

ReadGetAddress calls getAddress(string).

func (*ContractCenter) ReadGetContractAddress

func (c *ContractCenter) ReadGetContractAddress(ctx context.Context, arg0 string) (ContractCenterGetContractAddressResult, error)

ReadGetContractAddress calls getContractAddress(string).

func (*ContractCenter) ReadGetImpl

ReadGetImpl calls getImpl().

func (*ContractCenter) ReadGetMarkedReserve

ReadGetMarkedReserve calls getMarkedReserve(address).

func (*ContractCenter) ReadGetTotalMarkedReserve

func (c *ContractCenter) ReadGetTotalMarkedReserve(ctx context.Context) (ContractCenterGetTotalMarkedReserveResult, error)

ReadGetTotalMarkedReserve calls getTotalMarkedReserve().

func (*ContractCenter) ReadIsMigrating

ReadIsMigrating calls isMigrating().

func (*ContractCenter) ReadIsReserveMigrated

ReadIsReserveMigrated calls isReserveMigrated((address,uint256)).

func (*ContractCenter) ReadIsReservesMigrated

ReadIsReservesMigrated calls isReservesMigrated((address,uint256)[]).

func (*ContractCenter) ReadOwner

ReadOwner calls owner().

type ContractCenterGetAddressResult

type ContractCenterGetAddressResult struct{ Value0 common.Address }

type ContractCenterGetContractAddressResult

type ContractCenterGetContractAddressResult struct{ Value0 common.Address }

type ContractCenterGetImplResult

type ContractCenterGetImplResult struct{ Value0 common.Address }

type ContractCenterGetMarkedReserveResult

type ContractCenterGetMarkedReserveResult struct{ Value0 *big.Int }

type ContractCenterGetTotalMarkedReserveResult

type ContractCenterGetTotalMarkedReserveResult struct{ Value0 *big.Int }

type ContractCenterIsMigratingResult

type ContractCenterIsMigratingResult struct{ Value0 bool }

type ContractCenterIsReserveMigratedArg0

type ContractCenterIsReserveMigratedArg0 struct {
	ContractAddress common.Address `abi:"contractAddress"`
	Amount          *big.Int       `abi:"amount"`
}

type ContractCenterIsReserveMigratedResult

type ContractCenterIsReserveMigratedResult struct{ Value0 bool }

type ContractCenterIsReservesMigratedArg0

type ContractCenterIsReservesMigratedArg0 struct {
	ContractAddress common.Address `abi:"contractAddress"`
	Amount          *big.Int       `abi:"amount"`
}

type ContractCenterIsReservesMigratedResult

type ContractCenterIsReservesMigratedResult struct{ Value0 bool }

type ContractCenterMarkReserveArg0

type ContractCenterMarkReserveArg0 struct {
	ContractAddress common.Address `abi:"contractAddress"`
	Amount          *big.Int       `abi:"amount"`
}

type ContractCenterMarkReservesArg0

type ContractCenterMarkReservesArg0 struct {
	ContractAddress common.Address `abi:"contractAddress"`
	Amount          *big.Int       `abi:"amount"`
}

type ContractCenterOwnerResult

type ContractCenterOwnerResult struct{ Value0 common.Address }

type ContractSignatureInterface

type ContractSignatureInterface uint8
const (
	ERC1271Bytes32 ContractSignatureInterface = iota
	SafeLegacyBytes
)

type Delegation

type Delegation struct{ *Contract }

func (*Delegation) BuildApplyPenaltiesToStakes

func (c *Delegation) BuildApplyPenaltiesToStakes(arg0 [][32]byte) (Call, error)

BuildApplyPenaltiesToStakes builds applyPenaltiesToStakes(bytes32[]); it does not sign or send.

func (*Delegation) BuildApplyPenaltiesToValidator

func (c *Delegation) BuildApplyPenaltiesToValidator(arg0 []DelegationApplyPenaltiesToValidatorArg0) (Call, error)

BuildApplyPenaltiesToValidator builds applyPenaltiesToValidator((address,address,uint256)[]); it does not sign or send.

func (*Delegation) BuildAutoUnbondEnqueue

func (c *Delegation) BuildAutoUnbondEnqueue(arg0 common.Address, arg1 common.Address, arg2 *big.Int, arg3 common.Address, arg4 *big.Int) (Call, error)

BuildAutoUnbondEnqueue builds autoUnbondEnqueue(address,address,uint256,address,uint256); it does not sign or send.

func (*Delegation) BuildChangeStake

func (c *Delegation) BuildChangeStake(arg0 []common.Address, arg1 []common.Address, arg2 []*big.Int, arg3 []common.Address) (Call, error)

BuildChangeStake builds changeStake(address[],address[],uint256[],address[]); it does not sign or send.

func (*Delegation) BuildComplete

func (c *Delegation) BuildComplete(arg0 []*big.Int) (Call, error)

BuildComplete builds complete(uint256[]); it does not sign or send.

func (*Delegation) BuildDelegate

func (c *Delegation) BuildDelegate(arg0 common.Address, arg1 common.Address, arg2 *big.Int) (Call, error)

BuildDelegate builds delegate(address,address,uint256); it does not sign or send.

func (*Delegation) BuildDelegateByPermit

func (c *Delegation) BuildDelegateByPermit(arg0 common.Address, arg1 common.Address, arg2 *big.Int, arg3 *big.Int, arg4 uint8, arg5 [32]byte, arg6 [32]byte) (Call, error)

BuildDelegateByPermit builds delegateByPermit(address,address,uint256,uint256,uint8,bytes32,bytes32); it does not sign or send.

func (*Delegation) BuildDelegateDEL

func (c *Delegation) BuildDelegateDEL(value *big.Int, arg0 common.Address) (Call, error)

BuildDelegateDEL builds delegateDEL(address); it does not sign or send.

func (*Delegation) BuildDelegateDELTo

func (c *Delegation) BuildDelegateDELTo(value *big.Int, arg0 common.Address, arg1 common.Address) (Call, error)

BuildDelegateDELTo builds delegateDELTo(address,address); it does not sign or send.

func (*Delegation) BuildDelegateHold

func (c *Delegation) BuildDelegateHold(arg0 common.Address, arg1 common.Address, arg2 *big.Int, arg3 *big.Int) (Call, error)

BuildDelegateHold builds delegateHold(address,address,uint256,uint256); it does not sign or send.

func (*Delegation) BuildDelegateHoldByPermit

func (c *Delegation) BuildDelegateHoldByPermit(arg0 common.Address, arg1 common.Address, arg2 *big.Int, arg3 *big.Int, arg4 *big.Int, arg5 uint8, arg6 [32]byte, arg7 [32]byte) (Call, error)

BuildDelegateHoldByPermit builds delegateHoldByPermit(address,address,uint256,uint256,uint256,uint8,bytes32,bytes32); it does not sign or send.

func (*Delegation) BuildDelegateHoldDEL

func (c *Delegation) BuildDelegateHoldDEL(value *big.Int, arg0 common.Address, arg1 *big.Int) (Call, error)

BuildDelegateHoldDEL builds delegateHoldDEL(address,uint256); it does not sign or send.

func (*Delegation) BuildDelegateTo

func (c *Delegation) BuildDelegateTo(arg0 common.Address, arg1 common.Address, arg2 common.Address, arg3 *big.Int) (Call, error)

BuildDelegateTo builds delegateTo(address,address,address,uint256); it does not sign or send.

func (*Delegation) BuildForcedWithdrawal

func (c *Delegation) BuildForcedWithdrawal(arg0 common.Address, arg1 common.Address, arg2 *big.Int, arg3 common.Address) (Call, error)

BuildForcedWithdrawal builds forcedWithdrawal(address,address,uint256,address); it does not sign or send.

func (*Delegation) BuildForcedWithdrawalBatch

func (c *Delegation) BuildForcedWithdrawalBatch(arg0 []common.Address, arg1 []common.Address, arg2 []*big.Int, arg3 []common.Address) (Call, error)

BuildForcedWithdrawalBatch builds forcedWithdrawalBatch(address[],address[],uint256[],address[]); it does not sign or send.

func (*Delegation) BuildHold

func (c *Delegation) BuildHold(arg0 common.Address, arg1 common.Address, arg2 *big.Int, arg3 *big.Int, arg4 *big.Int) (Call, error)

BuildHold builds hold(address,address,uint256,uint256,uint256); it does not sign or send.

func (*Delegation) BuildHoldWithReset

func (c *Delegation) BuildHoldWithReset(arg0 common.Address, arg1 common.Address, arg2 *big.Int, arg3 *big.Int, arg4 []*big.Int) (Call, error)

BuildHoldWithReset builds holdWithReset(address,address,uint256,uint256,uint256[]); it does not sign or send.

func (*Delegation) BuildMigrateStakes

func (c *Delegation) BuildMigrateStakes(arg0 []common.Address, arg1 []common.Address, arg2 []common.Address, arg3 []common.Address) (Call, error)

BuildMigrateStakes builds migrateStakes(address[],address[],address[],address[]); it does not sign or send.

func (*Delegation) BuildPause

func (c *Delegation) BuildPause() (Call, error)

BuildPause builds pause(); it does not sign or send.

func (*Delegation) BuildProcessAutoUnbond

func (c *Delegation) BuildProcessAutoUnbond(arg0 *big.Int) (Call, error)

BuildProcessAutoUnbond builds processAutoUnbond(uint256); it does not sign or send.

func (*Delegation) BuildRenounceOwnership

func (c *Delegation) BuildRenounceOwnership() (Call, error)

BuildRenounceOwnership builds renounceOwnership(); it does not sign or send.

func (*Delegation) BuildResetHold

func (c *Delegation) BuildResetHold(arg0 common.Address, arg1 common.Address, arg2 common.Address, arg3 *big.Int) (Call, error)

BuildResetHold builds resetHold(address,address,address,uint256); it does not sign or send.

func (*Delegation) BuildResetHolds

func (c *Delegation) BuildResetHolds(arg0 common.Address, arg1 common.Address, arg2 common.Address, arg3 []*big.Int) (Call, error)

BuildResetHolds builds resetHolds(address,address,address,uint256[]); it does not sign or send.

func (*Delegation) BuildSetContractCenter

func (c *Delegation) BuildSetContractCenter(arg0 common.Address) (Call, error)

BuildSetContractCenter builds setContractCenter(address); it does not sign or send.

func (*Delegation) BuildSetFreezeTime

func (c *Delegation) BuildSetFreezeTime(arg0 *big.Int, arg1 *big.Int) (Call, error)

BuildSetFreezeTime builds setFreezeTime(uint256,uint256); it does not sign or send.

func (*Delegation) BuildTransfer

func (c *Delegation) BuildTransfer(arg0 common.Address, arg1 common.Address, arg2 *big.Int, arg3 common.Address) (Call, error)

BuildTransfer builds transfer(address,address,uint256,address); it does not sign or send.

func (*Delegation) BuildTransferHold

func (c *Delegation) BuildTransferHold(arg0 common.Address, arg1 common.Address, arg2 *big.Int, arg3 *big.Int, arg4 common.Address) (Call, error)

BuildTransferHold builds transferHold(address,address,uint256,uint256,address); it does not sign or send.

func (*Delegation) BuildTransferOwnership

func (c *Delegation) BuildTransferOwnership(arg0 common.Address) (Call, error)

BuildTransferOwnership builds transferOwnership(address); it does not sign or send.

func (*Delegation) BuildTransferWithReset

func (c *Delegation) BuildTransferWithReset(arg0 common.Address, arg1 common.Address, arg2 *big.Int, arg3 common.Address, arg4 []*big.Int) (Call, error)

BuildTransferWithReset builds transferWithReset(address,address,uint256,address,uint256[]); it does not sign or send.

func (*Delegation) BuildUnpause

func (c *Delegation) BuildUnpause() (Call, error)

BuildUnpause builds unpause(); it does not sign or send.

func (*Delegation) BuildUpgrade

func (c *Delegation) BuildUpgrade(arg0 common.Address, arg1 []byte) (Call, error)

BuildUpgrade builds upgrade(address,bytes); it does not sign or send.

func (*Delegation) BuildWithdraw

func (c *Delegation) BuildWithdraw(arg0 common.Address, arg1 common.Address, arg2 *big.Int) (Call, error)

BuildWithdraw builds withdraw(address,address,uint256); it does not sign or send.

func (*Delegation) BuildWithdrawHold

func (c *Delegation) BuildWithdrawHold(arg0 common.Address, arg1 common.Address, arg2 *big.Int, arg3 *big.Int) (Call, error)

BuildWithdrawHold builds withdrawHold(address,address,uint256,uint256); it does not sign or send.

func (*Delegation) BuildWithdrawWithReset

func (c *Delegation) BuildWithdrawWithReset(arg0 common.Address, arg1 common.Address, arg2 *big.Int, arg3 []*big.Int) (Call, error)

BuildWithdrawWithReset builds withdrawWithReset(address,address,uint256,uint256[]); it does not sign or send.

func (*Delegation) FrozenWithdrawals

func (d *Delegation) FrozenWithdrawals(ctx context.Context, wallet common.Address, indexes []*big.Int, block *big.Int) ([]FrozenWithdrawal, error)

FrozenWithdrawals verifies caller-provided authoritative indexes at one block. It never interprets API unavailability as an empty wallet. Index enumeration belongs to an authoritative indexer; this method does not invent missing IDs.

func (*Delegation) FrozenWithdrawalsBatch

func (d *Delegation) FrozenWithdrawalsBatch(ctx context.Context, wallet common.Address, indexes []*big.Int, block *big.Int) ([]FrozenWithdrawal, error)

FrozenWithdrawalsBatch verifies one page of indexes in one eth_call at a pinned block. Use pages of at most 500 entries to bound RPC response/calldata size. Deployments without getFrozenStakes can explicitly use FrozenWithdrawals.

func (*Delegation) ReadAutoUnbondQueueLength

func (c *Delegation) ReadAutoUnbondQueueLength(ctx context.Context) (DelegationAutoUnbondQueueLengthResult, error)

ReadAutoUnbondQueueLength calls autoUnbondQueueLength().

func (*Delegation) ReadGetAutoUnbondEntry

func (c *Delegation) ReadGetAutoUnbondEntry(ctx context.Context, arg0 *big.Int) (DelegationGetAutoUnbondEntryResult, error)

ReadGetAutoUnbondEntry calls getAutoUnbondEntry(uint256).

func (*Delegation) ReadGetContractCenter

func (c *Delegation) ReadGetContractCenter(ctx context.Context) (DelegationGetContractCenterResult, error)

ReadGetContractCenter calls getContractCenter().

func (*Delegation) ReadGetFreezeTime

func (c *Delegation) ReadGetFreezeTime(ctx context.Context, arg0 uint8) (DelegationGetFreezeTimeResult, error)

ReadGetFreezeTime calls getFreezeTime(uint8).

func (*Delegation) ReadGetFrozenStake

func (c *Delegation) ReadGetFrozenStake(ctx context.Context, arg0 *big.Int) (DelegationGetFrozenStakeResult, error)

ReadGetFrozenStake calls getFrozenStake(uint256).

func (*Delegation) ReadGetFrozenStakes

func (c *Delegation) ReadGetFrozenStakes(ctx context.Context, arg0 []*big.Int) (DelegationGetFrozenStakesResult, error)

ReadGetFrozenStakes calls getFrozenStakes(uint256[]).

func (*Delegation) ReadGetHoldStake

func (c *Delegation) ReadGetHoldStake(ctx context.Context, arg0 common.Address, arg1 common.Address, arg2 common.Address, arg3 *big.Int) (DelegationGetHoldStakeResult, error)

ReadGetHoldStake calls getHoldStake(address,address,address,uint256).

func (*Delegation) ReadGetHoldStakeDEL

func (c *Delegation) ReadGetHoldStakeDEL(ctx context.Context, arg0 common.Address, arg1 common.Address, arg2 *big.Int) (DelegationGetHoldStakeDELResult, error)

ReadGetHoldStakeDEL calls getHoldStakeDEL(address,address,uint256).

func (*Delegation) ReadGetHoldStakeId

func (c *Delegation) ReadGetHoldStakeId(ctx context.Context, arg0 common.Address, arg1 common.Address, arg2 common.Address, arg3 *big.Int) (DelegationGetHoldStakeIdResult, error)

ReadGetHoldStakeId calls getHoldStakeId(address,address,address,uint256).

func (*Delegation) ReadGetImpl

func (c *Delegation) ReadGetImpl(ctx context.Context) (DelegationGetImplResult, error)

ReadGetImpl calls getImpl().

func (*Delegation) ReadGetStake

ReadGetStake calls getStake(address,address,address).

func (*Delegation) ReadGetStakeId

func (c *Delegation) ReadGetStakeId(ctx context.Context, arg0 common.Address, arg1 common.Address, arg2 common.Address) (DelegationGetStakeIdResult, error)

ReadGetStakeId calls getStakeId(address,address,address).

func (*Delegation) ReadGetStakePenaltyIndex

func (c *Delegation) ReadGetStakePenaltyIndex(ctx context.Context, arg0 [32]byte) (DelegationGetStakePenaltyIndexResult, error)

ReadGetStakePenaltyIndex calls getStakePenaltyIndex(bytes32).

func (*Delegation) ReadGetStakes

func (c *Delegation) ReadGetStakes(ctx context.Context, arg0 [][32]byte) (DelegationGetStakesResult, error)

ReadGetStakes calls getStakes(bytes32[]).

func (*Delegation) ReadGetValidatorReserve

func (c *Delegation) ReadGetValidatorReserve(ctx context.Context, arg0 common.Address, arg1 common.Address) (DelegationGetValidatorReserveResult, error)

ReadGetValidatorReserve calls getValidatorReserve(address,address).

func (*Delegation) ReadOwner

func (c *Delegation) ReadOwner(ctx context.Context) (DelegationOwnerResult, error)

ReadOwner calls owner().

func (*Delegation) ReadPaused

func (c *Delegation) ReadPaused(ctx context.Context) (DelegationPausedResult, error)

ReadPaused calls paused().

func (*Delegation) ReadWETH

func (c *Delegation) ReadWETH(ctx context.Context) (DelegationWETHResult, error)

ReadWETH calls WETH().

type DelegationApplyPenaltiesToValidatorArg0

type DelegationApplyPenaltiesToValidatorArg0 struct {
	Validator common.Address `abi:"validator"`
	Token     common.Address `abi:"token"`
	TokenId   *big.Int       `abi:"tokenId"`
}

type DelegationAutoUnbondQueueLengthResult

type DelegationAutoUnbondQueueLengthResult struct{ Value0 *big.Int }

type DelegationGetAutoUnbondEntryOutput0

type DelegationGetAutoUnbondEntryOutput0 struct {
	Validator     common.Address `abi:"validator"`
	Delegator     common.Address `abi:"delegator"`
	Amount        *big.Int       `abi:"amount"`
	Token         common.Address `abi:"token"`
	HoldTimestamp *big.Int       `abi:"holdTimestamp"`
}

type DelegationGetAutoUnbondEntryResult

type DelegationGetAutoUnbondEntryResult struct {
	Value0 DelegationGetAutoUnbondEntryOutput0
}

type DelegationGetContractCenterResult

type DelegationGetContractCenterResult struct{ Value0 common.Address }

type DelegationGetFreezeTimeResult

type DelegationGetFreezeTimeResult struct{ Value0 *big.Int }

type DelegationGetFrozenStakeOutput0

type DelegationGetFrozenStakeOutput0 struct {
	Stake             DelegationGetFrozenStakeOutput0Stake `abi:"stake"`
	FreezeStatus      uint8                                `abi:"freezeStatus"`
	FreezeType        uint8                                `abi:"freezeType"`
	UnfreezeTimestamp *big.Int                             `abi:"unfreezeTimestamp"`
}

type DelegationGetFrozenStakeOutput0Stake

type DelegationGetFrozenStakeOutput0Stake struct {
	Validator     common.Address `abi:"validator"`
	Delegator     common.Address `abi:"delegator"`
	Token         common.Address `abi:"token"`
	Amount        *big.Int       `abi:"amount"`
	TokenId       *big.Int       `abi:"tokenId"`
	TokenType     uint8          `abi:"tokenType"`
	HoldTimestamp *big.Int       `abi:"holdTimestamp"`
	HoldStartTime *big.Int       `abi:"holdStartTime"`
}

type DelegationGetFrozenStakeResult

type DelegationGetFrozenStakeResult struct {
	Value0 DelegationGetFrozenStakeOutput0
}

type DelegationGetFrozenStakesOutput0

type DelegationGetFrozenStakesOutput0 struct {
	Stake             DelegationGetFrozenStakesOutput0Stake `abi:"stake"`
	FreezeStatus      uint8                                 `abi:"freezeStatus"`
	FreezeType        uint8                                 `abi:"freezeType"`
	UnfreezeTimestamp *big.Int                              `abi:"unfreezeTimestamp"`
}

type DelegationGetFrozenStakesOutput0Stake

type DelegationGetFrozenStakesOutput0Stake struct {
	Validator     common.Address `abi:"validator"`
	Delegator     common.Address `abi:"delegator"`
	Token         common.Address `abi:"token"`
	Amount        *big.Int       `abi:"amount"`
	TokenId       *big.Int       `abi:"tokenId"`
	TokenType     uint8          `abi:"tokenType"`
	HoldTimestamp *big.Int       `abi:"holdTimestamp"`
	HoldStartTime *big.Int       `abi:"holdStartTime"`
}

type DelegationGetFrozenStakesResult

type DelegationGetFrozenStakesResult struct {
	Value0 []DelegationGetFrozenStakesOutput0
}

type DelegationGetHoldStakeDELOutput0

type DelegationGetHoldStakeDELOutput0 struct {
	Validator     common.Address `abi:"validator"`
	Delegator     common.Address `abi:"delegator"`
	Token         common.Address `abi:"token"`
	Amount        *big.Int       `abi:"amount"`
	TokenId       *big.Int       `abi:"tokenId"`
	TokenType     uint8          `abi:"tokenType"`
	HoldTimestamp *big.Int       `abi:"holdTimestamp"`
	HoldStartTime *big.Int       `abi:"holdStartTime"`
}

type DelegationGetHoldStakeDELResult

type DelegationGetHoldStakeDELResult struct {
	Value0 DelegationGetHoldStakeDELOutput0
}

type DelegationGetHoldStakeIdResult

type DelegationGetHoldStakeIdResult struct{ Value0 [32]byte }

type DelegationGetHoldStakeOutput0

type DelegationGetHoldStakeOutput0 struct {
	Validator     common.Address `abi:"validator"`
	Delegator     common.Address `abi:"delegator"`
	Token         common.Address `abi:"token"`
	Amount        *big.Int       `abi:"amount"`
	TokenId       *big.Int       `abi:"tokenId"`
	TokenType     uint8          `abi:"tokenType"`
	HoldTimestamp *big.Int       `abi:"holdTimestamp"`
	HoldStartTime *big.Int       `abi:"holdStartTime"`
}

type DelegationGetHoldStakeResult

type DelegationGetHoldStakeResult struct{ Value0 DelegationGetHoldStakeOutput0 }

type DelegationGetImplResult

type DelegationGetImplResult struct{ Value0 common.Address }

type DelegationGetStakeIdResult

type DelegationGetStakeIdResult struct{ Value0 [32]byte }

type DelegationGetStakeOutput0

type DelegationGetStakeOutput0 struct {
	Validator     common.Address `abi:"validator"`
	Delegator     common.Address `abi:"delegator"`
	Token         common.Address `abi:"token"`
	Amount        *big.Int       `abi:"amount"`
	TokenId       *big.Int       `abi:"tokenId"`
	TokenType     uint8          `abi:"tokenType"`
	HoldTimestamp *big.Int       `abi:"holdTimestamp"`
	HoldStartTime *big.Int       `abi:"holdStartTime"`
}

type DelegationGetStakePenaltyIndexResult

type DelegationGetStakePenaltyIndexResult struct{ Value0 *big.Int }

type DelegationGetStakeResult

type DelegationGetStakeResult struct{ Value0 DelegationGetStakeOutput0 }

type DelegationGetStakesOutput0

type DelegationGetStakesOutput0 struct {
	Validator     common.Address `abi:"validator"`
	Delegator     common.Address `abi:"delegator"`
	Token         common.Address `abi:"token"`
	Amount        *big.Int       `abi:"amount"`
	TokenId       *big.Int       `abi:"tokenId"`
	TokenType     uint8          `abi:"tokenType"`
	HoldTimestamp *big.Int       `abi:"holdTimestamp"`
	HoldStartTime *big.Int       `abi:"holdStartTime"`
}

type DelegationGetStakesResult

type DelegationGetStakesResult struct{ Value0 []DelegationGetStakesOutput0 }

type DelegationGetValidatorReserveOutput0

type DelegationGetValidatorReserveOutput0 struct {
	PenaltyIndex *big.Int `abi:"penaltyIndex"`
	Reserve      *big.Int `abi:"reserve"`
}

type DelegationGetValidatorReserveResult

type DelegationGetValidatorReserveResult struct {
	Value0 DelegationGetValidatorReserveOutput0
}

type DelegationNFT

type DelegationNFT struct{ *Contract }

func (*DelegationNFT) BuildApplyPenaltiesToValidator

func (c *DelegationNFT) BuildApplyPenaltiesToValidator(arg0 []DelegationNFTApplyPenaltiesToValidatorArg0) (Call, error)

BuildApplyPenaltiesToValidator builds applyPenaltiesToValidator((address,address,uint256)[]); it does not sign or send.

func (*DelegationNFT) BuildComplete

func (c *DelegationNFT) BuildComplete(arg0 []*big.Int) (Call, error)

BuildComplete builds complete(uint256[]); it does not sign or send.

func (*DelegationNFT) BuildDelegateDRC721

func (c *DelegationNFT) BuildDelegateDRC721(arg0 common.Address, arg1 common.Address, arg2 *big.Int) (Call, error)

BuildDelegateDRC721 builds delegateDRC721(address,address,uint256); it does not sign or send.

func (*DelegationNFT) BuildDelegateDRC721ByPermit

func (c *DelegationNFT) BuildDelegateDRC721ByPermit(arg0 common.Address, arg1 common.Address, arg2 *big.Int, arg3 *big.Int, arg4 uint8, arg5 [32]byte, arg6 [32]byte) (Call, error)

BuildDelegateDRC721ByPermit builds delegateDRC721ByPermit(address,address,uint256,uint256,uint8,bytes32,bytes32); it does not sign or send.

func (*DelegationNFT) BuildDelegateDRC1155

func (c *DelegationNFT) BuildDelegateDRC1155(arg0 common.Address, arg1 common.Address, arg2 *big.Int, arg3 *big.Int) (Call, error)

BuildDelegateDRC1155 builds delegateDRC1155(address,address,uint256,uint256); it does not sign or send.

func (*DelegationNFT) BuildDelegateDRC1155ByPermit

func (c *DelegationNFT) BuildDelegateDRC1155ByPermit(arg0 common.Address, arg1 common.Address, arg2 *big.Int, arg3 *big.Int, arg4 *big.Int, arg5 uint8, arg6 [32]byte, arg7 [32]byte) (Call, error)

BuildDelegateDRC1155ByPermit builds delegateDRC1155ByPermit(address,address,uint256,uint256,uint256,uint8,bytes32,bytes32); it does not sign or send.

func (*DelegationNFT) BuildDelegateHoldDRC721

func (c *DelegationNFT) BuildDelegateHoldDRC721(arg0 common.Address, arg1 common.Address, arg2 *big.Int, arg3 *big.Int) (Call, error)

BuildDelegateHoldDRC721 builds delegateHoldDRC721(address,address,uint256,uint256); it does not sign or send.

func (*DelegationNFT) BuildDelegateHoldDRC721ByPermit

func (c *DelegationNFT) BuildDelegateHoldDRC721ByPermit(arg0 common.Address, arg1 common.Address, arg2 *big.Int, arg3 *big.Int, arg4 *big.Int, arg5 uint8, arg6 [32]byte, arg7 [32]byte) (Call, error)

BuildDelegateHoldDRC721ByPermit builds delegateHoldDRC721ByPermit(address,address,uint256,uint256,uint256,uint8,bytes32,bytes32); it does not sign or send.

func (*DelegationNFT) BuildDelegateHoldDRC1155

func (c *DelegationNFT) BuildDelegateHoldDRC1155(arg0 common.Address, arg1 common.Address, arg2 *big.Int, arg3 *big.Int, arg4 *big.Int) (Call, error)

BuildDelegateHoldDRC1155 builds delegateHoldDRC1155(address,address,uint256,uint256,uint256); it does not sign or send.

func (*DelegationNFT) BuildDelegateHoldDRC1155ByPermit

func (c *DelegationNFT) BuildDelegateHoldDRC1155ByPermit(arg0 common.Address, arg1 common.Address, arg2 *big.Int, arg3 *big.Int, arg4 *big.Int, arg5 *big.Int, arg6 uint8, arg7 [32]byte, arg8 [32]byte) (Call, error)

BuildDelegateHoldDRC1155ByPermit builds delegateHoldDRC1155ByPermit(address,address,uint256,uint256,uint256,uint256,uint8,bytes32,bytes32); it does not sign or send.

func (*DelegationNFT) BuildHold

func (c *DelegationNFT) BuildHold(arg0 common.Address, arg1 common.Address, arg2 *big.Int, arg3 *big.Int, arg4 *big.Int, arg5 *big.Int) (Call, error)

BuildHold builds hold(address,address,uint256,uint256,uint256,uint256); it does not sign or send.

func (*DelegationNFT) BuildOnERC721Received

func (c *DelegationNFT) BuildOnERC721Received(arg0 common.Address, arg1 common.Address, arg2 *big.Int, arg3 []byte) (Call, error)

BuildOnERC721Received builds onERC721Received(address,address,uint256,bytes); it does not sign or send.

func (*DelegationNFT) BuildOnERC1155BatchReceived

func (c *DelegationNFT) BuildOnERC1155BatchReceived(arg0 common.Address, arg1 common.Address, arg2 []*big.Int, arg3 []*big.Int, arg4 []byte) (Call, error)

BuildOnERC1155BatchReceived builds onERC1155BatchReceived(address,address,uint256[],uint256[],bytes); it does not sign or send.

func (*DelegationNFT) BuildOnERC1155Received

func (c *DelegationNFT) BuildOnERC1155Received(arg0 common.Address, arg1 common.Address, arg2 *big.Int, arg3 *big.Int, arg4 []byte) (Call, error)

BuildOnERC1155Received builds onERC1155Received(address,address,uint256,uint256,bytes); it does not sign or send.

func (*DelegationNFT) BuildRenounceOwnership

func (c *DelegationNFT) BuildRenounceOwnership() (Call, error)

BuildRenounceOwnership builds renounceOwnership(); it does not sign or send.

func (*DelegationNFT) BuildSetContractCenter

func (c *DelegationNFT) BuildSetContractCenter(arg0 common.Address) (Call, error)

BuildSetContractCenter builds setContractCenter(address); it does not sign or send.

func (*DelegationNFT) BuildSetFreezeTime

func (c *DelegationNFT) BuildSetFreezeTime(arg0 *big.Int, arg1 *big.Int) (Call, error)

BuildSetFreezeTime builds setFreezeTime(uint256,uint256); it does not sign or send.

func (*DelegationNFT) BuildTransfer

func (c *DelegationNFT) BuildTransfer(arg0 common.Address, arg1 common.Address, arg2 *big.Int, arg3 *big.Int, arg4 common.Address) (Call, error)

BuildTransfer builds transfer(address,address,uint256,uint256,address); it does not sign or send.

func (*DelegationNFT) BuildTransferHold

func (c *DelegationNFT) BuildTransferHold(arg0 common.Address, arg1 common.Address, arg2 *big.Int, arg3 *big.Int, arg4 *big.Int, arg5 common.Address) (Call, error)

BuildTransferHold builds transferHold(address,address,uint256,uint256,uint256,address); it does not sign or send.

func (*DelegationNFT) BuildTransferOwnership

func (c *DelegationNFT) BuildTransferOwnership(arg0 common.Address) (Call, error)

BuildTransferOwnership builds transferOwnership(address); it does not sign or send.

func (*DelegationNFT) BuildUpgrade

func (c *DelegationNFT) BuildUpgrade(arg0 common.Address, arg1 []byte) (Call, error)

BuildUpgrade builds upgrade(address,bytes); it does not sign or send.

func (*DelegationNFT) BuildWithdraw

func (c *DelegationNFT) BuildWithdraw(arg0 common.Address, arg1 common.Address, arg2 *big.Int, arg3 *big.Int) (Call, error)

BuildWithdraw builds withdraw(address,address,uint256,uint256); it does not sign or send.

func (*DelegationNFT) BuildWithdrawHold

func (c *DelegationNFT) BuildWithdrawHold(arg0 common.Address, arg1 common.Address, arg2 *big.Int, arg3 *big.Int, arg4 *big.Int) (Call, error)

BuildWithdrawHold builds withdrawHold(address,address,uint256,uint256,uint256); it does not sign or send.

func (*DelegationNFT) ReadGetContractCenter

func (c *DelegationNFT) ReadGetContractCenter(ctx context.Context) (DelegationNFTGetContractCenterResult, error)

ReadGetContractCenter calls getContractCenter().

func (*DelegationNFT) ReadGetFreezeTime

func (c *DelegationNFT) ReadGetFreezeTime(ctx context.Context, arg0 uint8) (DelegationNFTGetFreezeTimeResult, error)

ReadGetFreezeTime calls getFreezeTime(uint8).

func (*DelegationNFT) ReadGetFrozenStake

func (c *DelegationNFT) ReadGetFrozenStake(ctx context.Context, arg0 *big.Int) (DelegationNFTGetFrozenStakeResult, error)

ReadGetFrozenStake calls getFrozenStake(uint256).

func (*DelegationNFT) ReadGetFrozenStakes

func (c *DelegationNFT) ReadGetFrozenStakes(ctx context.Context, arg0 []*big.Int) (DelegationNFTGetFrozenStakesResult, error)

ReadGetFrozenStakes calls getFrozenStakes(uint256[]).

func (*DelegationNFT) ReadGetHoldStake

func (c *DelegationNFT) ReadGetHoldStake(ctx context.Context, arg0 common.Address, arg1 common.Address, arg2 common.Address, arg3 *big.Int, arg4 *big.Int) (DelegationNFTGetHoldStakeResult, error)

ReadGetHoldStake calls getHoldStake(address,address,address,uint256,uint256).

func (*DelegationNFT) ReadGetHoldStakeId

func (c *DelegationNFT) ReadGetHoldStakeId(ctx context.Context, arg0 common.Address, arg1 common.Address, arg2 common.Address, arg3 *big.Int, arg4 *big.Int) (DelegationNFTGetHoldStakeIdResult, error)

ReadGetHoldStakeId calls getHoldStakeId(address,address,address,uint256,uint256).

func (*DelegationNFT) ReadGetImpl

ReadGetImpl calls getImpl().

func (*DelegationNFT) ReadGetStake

func (c *DelegationNFT) ReadGetStake(ctx context.Context, arg0 common.Address, arg1 common.Address, arg2 common.Address, arg3 *big.Int) (DelegationNFTGetStakeResult, error)

ReadGetStake calls getStake(address,address,address,uint256).

func (*DelegationNFT) ReadGetStakeId

func (c *DelegationNFT) ReadGetStakeId(ctx context.Context, arg0 common.Address, arg1 common.Address, arg2 common.Address, arg3 *big.Int) (DelegationNFTGetStakeIdResult, error)

ReadGetStakeId calls getStakeId(address,address,address,uint256).

func (*DelegationNFT) ReadGetStakePenaltyIndex

func (c *DelegationNFT) ReadGetStakePenaltyIndex(ctx context.Context, arg0 [32]byte) (DelegationNFTGetStakePenaltyIndexResult, error)

ReadGetStakePenaltyIndex calls getStakePenaltyIndex(bytes32).

func (*DelegationNFT) ReadGetStakes

func (c *DelegationNFT) ReadGetStakes(ctx context.Context, arg0 [][32]byte) (DelegationNFTGetStakesResult, error)

ReadGetStakes calls getStakes(bytes32[]).

func (*DelegationNFT) ReadGetValidatorReserve

func (c *DelegationNFT) ReadGetValidatorReserve(ctx context.Context, arg0 common.Address, arg1 common.Address, arg2 *big.Int) (DelegationNFTGetValidatorReserveResult, error)

ReadGetValidatorReserve calls getValidatorReserve(address,address,uint256).

func (*DelegationNFT) ReadOwner

ReadOwner calls owner().

func (*DelegationNFT) ReadSupportsInterface

func (c *DelegationNFT) ReadSupportsInterface(ctx context.Context, arg0 [4]byte) (DelegationNFTSupportsInterfaceResult, error)

ReadSupportsInterface calls supportsInterface(bytes4).

type DelegationNFTApplyPenaltiesToValidatorArg0

type DelegationNFTApplyPenaltiesToValidatorArg0 struct {
	Validator common.Address `abi:"validator"`
	Token     common.Address `abi:"token"`
	TokenId   *big.Int       `abi:"tokenId"`
}

type DelegationNFTGetContractCenterResult

type DelegationNFTGetContractCenterResult struct{ Value0 common.Address }

type DelegationNFTGetFreezeTimeResult

type DelegationNFTGetFreezeTimeResult struct{ Value0 *big.Int }

type DelegationNFTGetFrozenStakeOutput0

type DelegationNFTGetFrozenStakeOutput0 struct {
	Stake             DelegationNFTGetFrozenStakeOutput0Stake `abi:"stake"`
	FreezeStatus      uint8                                   `abi:"freezeStatus"`
	FreezeType        uint8                                   `abi:"freezeType"`
	UnfreezeTimestamp *big.Int                                `abi:"unfreezeTimestamp"`
}

type DelegationNFTGetFrozenStakeOutput0Stake

type DelegationNFTGetFrozenStakeOutput0Stake struct {
	Validator     common.Address `abi:"validator"`
	Delegator     common.Address `abi:"delegator"`
	Token         common.Address `abi:"token"`
	Amount        *big.Int       `abi:"amount"`
	TokenId       *big.Int       `abi:"tokenId"`
	TokenType     uint8          `abi:"tokenType"`
	HoldTimestamp *big.Int       `abi:"holdTimestamp"`
}

type DelegationNFTGetFrozenStakeResult

type DelegationNFTGetFrozenStakeResult struct {
	Value0 DelegationNFTGetFrozenStakeOutput0
}

type DelegationNFTGetFrozenStakesOutput0

type DelegationNFTGetFrozenStakesOutput0 struct {
	Stake             DelegationNFTGetFrozenStakesOutput0Stake `abi:"stake"`
	FreezeStatus      uint8                                    `abi:"freezeStatus"`
	FreezeType        uint8                                    `abi:"freezeType"`
	UnfreezeTimestamp *big.Int                                 `abi:"unfreezeTimestamp"`
}

type DelegationNFTGetFrozenStakesOutput0Stake

type DelegationNFTGetFrozenStakesOutput0Stake struct {
	Validator     common.Address `abi:"validator"`
	Delegator     common.Address `abi:"delegator"`
	Token         common.Address `abi:"token"`
	Amount        *big.Int       `abi:"amount"`
	TokenId       *big.Int       `abi:"tokenId"`
	TokenType     uint8          `abi:"tokenType"`
	HoldTimestamp *big.Int       `abi:"holdTimestamp"`
}

type DelegationNFTGetFrozenStakesResult

type DelegationNFTGetFrozenStakesResult struct {
	Value0 []DelegationNFTGetFrozenStakesOutput0
}

type DelegationNFTGetHoldStakeIdResult

type DelegationNFTGetHoldStakeIdResult struct{ Value0 [32]byte }

type DelegationNFTGetHoldStakeOutput0

type DelegationNFTGetHoldStakeOutput0 struct {
	Validator     common.Address `abi:"validator"`
	Delegator     common.Address `abi:"delegator"`
	Token         common.Address `abi:"token"`
	Amount        *big.Int       `abi:"amount"`
	TokenId       *big.Int       `abi:"tokenId"`
	TokenType     uint8          `abi:"tokenType"`
	HoldTimestamp *big.Int       `abi:"holdTimestamp"`
}

type DelegationNFTGetHoldStakeResult

type DelegationNFTGetHoldStakeResult struct {
	Value0 DelegationNFTGetHoldStakeOutput0
}

type DelegationNFTGetImplResult

type DelegationNFTGetImplResult struct{ Value0 common.Address }

type DelegationNFTGetStakeIdResult

type DelegationNFTGetStakeIdResult struct{ Value0 [32]byte }

type DelegationNFTGetStakeOutput0

type DelegationNFTGetStakeOutput0 struct {
	Validator     common.Address `abi:"validator"`
	Delegator     common.Address `abi:"delegator"`
	Token         common.Address `abi:"token"`
	Amount        *big.Int       `abi:"amount"`
	TokenId       *big.Int       `abi:"tokenId"`
	TokenType     uint8          `abi:"tokenType"`
	HoldTimestamp *big.Int       `abi:"holdTimestamp"`
}

type DelegationNFTGetStakePenaltyIndexResult

type DelegationNFTGetStakePenaltyIndexResult struct{ Value0 *big.Int }

type DelegationNFTGetStakeResult

type DelegationNFTGetStakeResult struct{ Value0 DelegationNFTGetStakeOutput0 }

type DelegationNFTGetStakesOutput0

type DelegationNFTGetStakesOutput0 struct {
	Validator     common.Address `abi:"validator"`
	Delegator     common.Address `abi:"delegator"`
	Token         common.Address `abi:"token"`
	Amount        *big.Int       `abi:"amount"`
	TokenId       *big.Int       `abi:"tokenId"`
	TokenType     uint8          `abi:"tokenType"`
	HoldTimestamp *big.Int       `abi:"holdTimestamp"`
}

type DelegationNFTGetStakesResult

type DelegationNFTGetStakesResult struct {
	Value0 []DelegationNFTGetStakesOutput0
}

type DelegationNFTGetValidatorReserveOutput0

type DelegationNFTGetValidatorReserveOutput0 struct {
	PenaltyIndex *big.Int `abi:"penaltyIndex"`
	Reserve      *big.Int `abi:"reserve"`
}

type DelegationNFTGetValidatorReserveResult

type DelegationNFTGetValidatorReserveResult struct {
	Value0 DelegationNFTGetValidatorReserveOutput0
}

type DelegationNFTOwnerResult

type DelegationNFTOwnerResult struct{ Value0 common.Address }

type DelegationNFTSupportsInterfaceResult

type DelegationNFTSupportsInterfaceResult struct{ Value0 bool }

type DelegationOwnerResult

type DelegationOwnerResult struct{ Value0 common.Address }

type DelegationPausedResult

type DelegationPausedResult struct{ Value0 bool }

type DelegationWETHResult

type DelegationWETHResult struct{ Value0 common.Address }

type DeploymentEvidence

type DeploymentEvidence struct {
	ChainID                                        string
	Block                                          uint64
	Proxy, Implementation                          common.Address
	ProxyCodeHash, ImplementationCodeHash, ABIHash common.Hash
	Beacon                                         common.Address
	BeaconCodeHash                                 common.Hash
}

type ERC721

type ERC721 struct{ *Contract }

func (*ERC721) BuildAddReserve

func (c *ERC721) BuildAddReserve(arg0 *big.Int, arg1 *big.Int) (Call, error)

BuildAddReserve builds addReserve(uint256,uint256); it does not sign or send.

func (*ERC721) BuildAddReserveByETH

func (c *ERC721) BuildAddReserveByETH(value *big.Int, arg0 *big.Int) (Call, error)

BuildAddReserveByETH builds addReserveByETH(uint256); it does not sign or send.

func (*ERC721) BuildAddReserveByPermit

func (c *ERC721) BuildAddReserveByPermit(arg0 *big.Int, arg1 *big.Int, arg2 *big.Int, arg3 uint8, arg4 [32]byte, arg5 [32]byte) (Call, error)

BuildAddReserveByPermit builds addReserveByPermit(uint256,uint256,uint256,uint8,bytes32,bytes32); it does not sign or send.

func (*ERC721) BuildApprove

func (c *ERC721) BuildApprove(arg0 common.Address, arg1 *big.Int) (Call, error)

BuildApprove builds approve(address,uint256); it does not sign or send.

func (*ERC721) BuildBurn

func (c *ERC721) BuildBurn(arg0 *big.Int) (Call, error)

BuildBurn builds burn(uint256); it does not sign or send.

func (*ERC721) BuildDisableMint

func (c *ERC721) BuildDisableMint() (Call, error)

BuildDisableMint builds disableMint(); it does not sign or send.

func (*ERC721) BuildInitialize

func (c *ERC721) BuildInitialize(arg0 string, arg1 string, arg2 string, arg3 common.Address, arg4 bool) (Call, error)

BuildInitialize builds initialize(string,string,string,address,bool); it does not sign or send.

func (*ERC721) BuildMint

func (c *ERC721) BuildMint(arg0 common.Address, arg1 string, arg2 *big.Int, arg3 common.Address) (Call, error)

BuildMint builds mint(address,string,uint256,address); it does not sign or send.

func (*ERC721) BuildMintByETH

func (c *ERC721) BuildMintByETH(value *big.Int, arg0 common.Address, arg1 string) (Call, error)

BuildMintByETH builds mintByETH(address,string); it does not sign or send.

func (*ERC721) BuildMintByPermit

func (c *ERC721) BuildMintByPermit(arg0 common.Address, arg1 string, arg2 *big.Int, arg3 common.Address, arg4 *big.Int, arg5 uint8, arg6 [32]byte, arg7 [32]byte) (Call, error)

BuildMintByPermit builds mintByPermit(address,string,uint256,address,uint256,uint8,bytes32,bytes32); it does not sign or send.

func (*ERC721) BuildPenalty

func (c *ERC721) BuildPenalty(arg0 *big.Int, arg1 uint16) (Call, error)

BuildPenalty builds penalty(uint256,uint16); it does not sign or send.

func (*ERC721) BuildPermit

func (c *ERC721) BuildPermit(arg0 common.Address, arg1 *big.Int, arg2 *big.Int, arg3 uint8, arg4 [32]byte, arg5 [32]byte) (Call, error)

BuildPermit builds permit(address,uint256,uint256,uint8,bytes32,bytes32); it does not sign or send.

func (*ERC721) BuildSafeTransferFrom

func (c *ERC721) BuildSafeTransferFrom(arg0 common.Address, arg1 common.Address, arg2 *big.Int) (Call, error)

BuildSafeTransferFrom builds safeTransferFrom(address,address,uint256); it does not sign or send.

func (*ERC721) BuildSafeTransferFrom1

func (c *ERC721) BuildSafeTransferFrom1(arg0 common.Address, arg1 common.Address, arg2 *big.Int, arg3 []byte) (Call, error)

BuildSafeTransferFrom1 builds safeTransferFrom(address,address,uint256,bytes); it does not sign or send.

func (*ERC721) BuildSetApprovalForAll

func (c *ERC721) BuildSetApprovalForAll(arg0 common.Address, arg1 bool) (Call, error)

BuildSetApprovalForAll builds setApprovalForAll(address,bool); it does not sign or send.

func (*ERC721) BuildTransferFrom

func (c *ERC721) BuildTransferFrom(arg0 common.Address, arg1 common.Address, arg2 *big.Int) (Call, error)

BuildTransferFrom builds transferFrom(address,address,uint256); it does not sign or send.

func (*ERC721) ReadBalanceOf

func (c *ERC721) ReadBalanceOf(ctx context.Context, arg0 common.Address) (ERC721BalanceOfResult, error)

ReadBalanceOf calls balanceOf(address).

func (*ERC721) ReadContractURI

func (c *ERC721) ReadContractURI(ctx context.Context) (ERC721ContractURIResult, error)

ReadContractURI calls contractURI().

func (*ERC721) ReadCreator

func (c *ERC721) ReadCreator(ctx context.Context) (ERC721CreatorResult, error)

ReadCreator calls creator().

func (*ERC721) ReadDOMAIN_SEPARATOR

func (c *ERC721) ReadDOMAIN_SEPARATOR(ctx context.Context) (ERC721DOMAIN_SEPARATORResult, error)

ReadDOMAIN_SEPARATOR calls DOMAIN_SEPARATOR().

func (*ERC721) ReadGetAllowMint

func (c *ERC721) ReadGetAllowMint(ctx context.Context) (ERC721GetAllowMintResult, error)

ReadGetAllowMint calls getAllowMint().

func (*ERC721) ReadGetApproved

func (c *ERC721) ReadGetApproved(ctx context.Context, arg0 *big.Int) (ERC721GetApprovedResult, error)

ReadGetApproved calls getApproved(uint256).

func (*ERC721) ReadGetNftType

func (c *ERC721) ReadGetNftType(ctx context.Context) (ERC721GetNftTypeResult, error)

ReadGetNftType calls getNftType().

func (*ERC721) ReadGetRefundable

func (c *ERC721) ReadGetRefundable(ctx context.Context) (ERC721GetRefundableResult, error)

ReadGetRefundable calls getRefundable().

func (*ERC721) ReadGetReserve

func (c *ERC721) ReadGetReserve(ctx context.Context, arg0 *big.Int) (ERC721GetReserveResult, error)

ReadGetReserve calls getReserve(uint256).

func (*ERC721) ReadIsApprovedForAll

func (c *ERC721) ReadIsApprovedForAll(ctx context.Context, arg0 common.Address, arg1 common.Address) (ERC721IsApprovedForAllResult, error)

ReadIsApprovedForAll calls isApprovedForAll(address,address).

func (*ERC721) ReadMIN_RESERVE

func (c *ERC721) ReadMIN_RESERVE(ctx context.Context) (ERC721MIN_RESERVEResult, error)

ReadMIN_RESERVE calls MIN_RESERVE().

func (*ERC721) ReadName

func (c *ERC721) ReadName(ctx context.Context) (ERC721NameResult, error)

ReadName calls name().

func (*ERC721) ReadNonces

func (c *ERC721) ReadNonces(ctx context.Context, arg0 *big.Int) (ERC721NoncesResult, error)

ReadNonces calls nonces(uint256).

func (*ERC721) ReadOwnerOf

func (c *ERC721) ReadOwnerOf(ctx context.Context, arg0 *big.Int) (ERC721OwnerOfResult, error)

ReadOwnerOf calls ownerOf(uint256).

func (*ERC721) ReadSupportsInterface

func (c *ERC721) ReadSupportsInterface(ctx context.Context, arg0 [4]byte) (ERC721SupportsInterfaceResult, error)

ReadSupportsInterface calls supportsInterface(bytes4).

func (*ERC721) ReadSymbol

func (c *ERC721) ReadSymbol(ctx context.Context) (ERC721SymbolResult, error)

ReadSymbol calls symbol().

func (*ERC721) ReadTokenURI

func (c *ERC721) ReadTokenURI(ctx context.Context, arg0 *big.Int) (ERC721TokenURIResult, error)

ReadTokenURI calls tokenURI(uint256).

type ERC721BalanceOfResult

type ERC721BalanceOfResult struct{ Value0 *big.Int }

type ERC721ContractURIResult

type ERC721ContractURIResult struct{ Value0 string }

type ERC721CreatorResult

type ERC721CreatorResult struct{ Value0 common.Address }

type ERC721DOMAIN_SEPARATORResult

type ERC721DOMAIN_SEPARATORResult struct{ Value0 [32]byte }

type ERC721GetAllowMintResult

type ERC721GetAllowMintResult struct{ Value0 bool }

type ERC721GetApprovedResult

type ERC721GetApprovedResult struct{ Value0 common.Address }

type ERC721GetNftTypeResult

type ERC721GetNftTypeResult struct{ Value0 uint8 }

type ERC721GetRefundableResult

type ERC721GetRefundableResult struct{ Value0 bool }

type ERC721GetReserveOutput0

type ERC721GetReserveOutput0 struct {
	Token       common.Address `abi:"token"`
	Amount      *big.Int       `abi:"amount"`
	ReserveType uint8          `abi:"reserveType"`
}

type ERC721GetReserveResult

type ERC721GetReserveResult struct{ Value0 ERC721GetReserveOutput0 }

type ERC721IsApprovedForAllResult

type ERC721IsApprovedForAllResult struct{ Value0 bool }

type ERC721MIN_RESERVEResult

type ERC721MIN_RESERVEResult struct{ Value0 *big.Int }

type ERC721NameResult

type ERC721NameResult struct{ Value0 string }

type ERC721NoncesResult

type ERC721NoncesResult struct{ Value0 *big.Int }

type ERC721OwnerOfResult

type ERC721OwnerOfResult struct{ Value0 common.Address }

type ERC721SupportsInterfaceResult

type ERC721SupportsInterfaceResult struct{ Value0 bool }

type ERC721SymbolResult

type ERC721SymbolResult struct{ Value0 string }

type ERC721TokenURIResult

type ERC721TokenURIResult struct{ Value0 string }

type ERC1155

type ERC1155 struct{ *Contract }

func (*ERC1155) BuildAddReserve

func (c *ERC1155) BuildAddReserve(arg0 *big.Int, arg1 *big.Int) (Call, error)

BuildAddReserve builds addReserve(uint256,uint256); it does not sign or send.

func (*ERC1155) BuildAddReserveByETH

func (c *ERC1155) BuildAddReserveByETH(value *big.Int, arg0 *big.Int) (Call, error)

BuildAddReserveByETH builds addReserveByETH(uint256); it does not sign or send.

func (*ERC1155) BuildAddReserveByPermit

func (c *ERC1155) BuildAddReserveByPermit(arg0 *big.Int, arg1 *big.Int, arg2 *big.Int, arg3 uint8, arg4 [32]byte, arg5 [32]byte) (Call, error)

BuildAddReserveByPermit builds addReserveByPermit(uint256,uint256,uint256,uint8,bytes32,bytes32); it does not sign or send.

func (*ERC1155) BuildBurn

func (c *ERC1155) BuildBurn(arg0 *big.Int, arg1 *big.Int) (Call, error)

BuildBurn builds burn(uint256,uint256); it does not sign or send.

func (*ERC1155) BuildDisableMint

func (c *ERC1155) BuildDisableMint() (Call, error)

BuildDisableMint builds disableMint(); it does not sign or send.

func (*ERC1155) BuildInitialize

func (c *ERC1155) BuildInitialize(arg0 string, arg1 string, arg2 string, arg3 common.Address, arg4 bool) (Call, error)

BuildInitialize builds initialize(string,string,string,address,bool); it does not sign or send.

func (*ERC1155) BuildMint

func (c *ERC1155) BuildMint(arg0 common.Address, arg1 *big.Int, arg2 *big.Int, arg3 string, arg4 *big.Int, arg5 common.Address) (Call, error)

BuildMint builds mint(address,uint256,uint256,string,uint256,address); it does not sign or send.

func (*ERC1155) BuildMintByETH

func (c *ERC1155) BuildMintByETH(value *big.Int, arg0 common.Address, arg1 *big.Int, arg2 *big.Int, arg3 string) (Call, error)

BuildMintByETH builds mintByETH(address,uint256,uint256,string); it does not sign or send.

func (*ERC1155) BuildMintByPermit

func (c *ERC1155) BuildMintByPermit(arg0 common.Address, arg1 *big.Int, arg2 *big.Int, arg3 string, arg4 *big.Int, arg5 common.Address, arg6 *big.Int, arg7 uint8, arg8 [32]byte, arg9 [32]byte) (Call, error)

BuildMintByPermit builds mintByPermit(address,uint256,uint256,string,uint256,address,uint256,uint8,bytes32,bytes32); it does not sign or send.

func (*ERC1155) BuildPenalty

func (c *ERC1155) BuildPenalty(arg0 *big.Int, arg1 *big.Int, arg2 uint16) (Call, error)

BuildPenalty builds penalty(uint256,uint256,uint16); it does not sign or send.

func (*ERC1155) BuildPermit

func (c *ERC1155) BuildPermit(arg0 common.Address, arg1 common.Address, arg2 *big.Int, arg3 uint8, arg4 [32]byte, arg5 [32]byte) (Call, error)

BuildPermit builds permit(address,address,uint256,uint8,bytes32,bytes32); it does not sign or send.

func (*ERC1155) BuildSafeBatchTransferFrom

func (c *ERC1155) BuildSafeBatchTransferFrom(arg0 common.Address, arg1 common.Address, arg2 []*big.Int, arg3 []*big.Int, arg4 []byte) (Call, error)

BuildSafeBatchTransferFrom builds safeBatchTransferFrom(address,address,uint256[],uint256[],bytes); it does not sign or send.

func (*ERC1155) BuildSafeTransferFrom

func (c *ERC1155) BuildSafeTransferFrom(arg0 common.Address, arg1 common.Address, arg2 *big.Int, arg3 *big.Int, arg4 []byte) (Call, error)

BuildSafeTransferFrom builds safeTransferFrom(address,address,uint256,uint256,bytes); it does not sign or send.

func (*ERC1155) BuildSetApprovalForAll

func (c *ERC1155) BuildSetApprovalForAll(arg0 common.Address, arg1 bool) (Call, error)

BuildSetApprovalForAll builds setApprovalForAll(address,bool); it does not sign or send.

func (*ERC1155) ReadBalanceOf

func (c *ERC1155) ReadBalanceOf(ctx context.Context, arg0 common.Address, arg1 *big.Int) (ERC1155BalanceOfResult, error)

ReadBalanceOf calls balanceOf(address,uint256).

func (*ERC1155) ReadBalanceOfBatch

func (c *ERC1155) ReadBalanceOfBatch(ctx context.Context, arg0 []common.Address, arg1 []*big.Int) (ERC1155BalanceOfBatchResult, error)

ReadBalanceOfBatch calls balanceOfBatch(address[],uint256[]).

func (*ERC1155) ReadContractURI

func (c *ERC1155) ReadContractURI(ctx context.Context) (ERC1155ContractURIResult, error)

ReadContractURI calls contractURI().

func (*ERC1155) ReadCreator

func (c *ERC1155) ReadCreator(ctx context.Context) (ERC1155CreatorResult, error)

ReadCreator calls creator().

func (*ERC1155) ReadDOMAIN_SEPARATOR

func (c *ERC1155) ReadDOMAIN_SEPARATOR(ctx context.Context) (ERC1155DOMAIN_SEPARATORResult, error)

ReadDOMAIN_SEPARATOR calls DOMAIN_SEPARATOR().

func (*ERC1155) ReadExists

func (c *ERC1155) ReadExists(ctx context.Context, arg0 *big.Int) (ERC1155ExistsResult, error)

ReadExists calls exists(uint256).

func (*ERC1155) ReadGetAllowMint

func (c *ERC1155) ReadGetAllowMint(ctx context.Context) (ERC1155GetAllowMintResult, error)

ReadGetAllowMint calls getAllowMint().

func (*ERC1155) ReadGetNftType

func (c *ERC1155) ReadGetNftType(ctx context.Context) (ERC1155GetNftTypeResult, error)

ReadGetNftType calls getNftType().

func (*ERC1155) ReadGetRefundable

func (c *ERC1155) ReadGetRefundable(ctx context.Context) (ERC1155GetRefundableResult, error)

ReadGetRefundable calls getRefundable().

func (*ERC1155) ReadGetReserve

func (c *ERC1155) ReadGetReserve(ctx context.Context, arg0 *big.Int) (ERC1155GetReserveResult, error)

ReadGetReserve calls getReserve(uint256).

func (*ERC1155) ReadIsApprovedForAll

func (c *ERC1155) ReadIsApprovedForAll(ctx context.Context, arg0 common.Address, arg1 common.Address) (ERC1155IsApprovedForAllResult, error)

ReadIsApprovedForAll calls isApprovedForAll(address,address).

func (*ERC1155) ReadMIN_RESERVE

func (c *ERC1155) ReadMIN_RESERVE(ctx context.Context) (ERC1155MIN_RESERVEResult, error)

ReadMIN_RESERVE calls MIN_RESERVE().

func (*ERC1155) ReadName

func (c *ERC1155) ReadName(ctx context.Context) (ERC1155NameResult, error)

ReadName calls name().

func (*ERC1155) ReadNonces

func (c *ERC1155) ReadNonces(ctx context.Context, arg0 common.Address) (ERC1155NoncesResult, error)

ReadNonces calls nonces(address).

func (*ERC1155) ReadRate

func (c *ERC1155) ReadRate(ctx context.Context, arg0 *big.Int) (ERC1155RateResult, error)

ReadRate calls rate(uint256).

func (*ERC1155) ReadSupportsInterface

func (c *ERC1155) ReadSupportsInterface(ctx context.Context, arg0 [4]byte) (ERC1155SupportsInterfaceResult, error)

ReadSupportsInterface calls supportsInterface(bytes4).

func (*ERC1155) ReadSymbol

func (c *ERC1155) ReadSymbol(ctx context.Context) (ERC1155SymbolResult, error)

ReadSymbol calls symbol().

func (*ERC1155) ReadTotalSupply

func (c *ERC1155) ReadTotalSupply(ctx context.Context) (ERC1155TotalSupplyResult, error)

ReadTotalSupply calls totalSupply().

func (*ERC1155) ReadTotalSupply1

func (c *ERC1155) ReadTotalSupply1(ctx context.Context, arg0 *big.Int) (ERC1155TotalSupply1Result, error)

ReadTotalSupply1 calls totalSupply(uint256).

func (*ERC1155) ReadUri

func (c *ERC1155) ReadUri(ctx context.Context, arg0 *big.Int) (ERC1155UriResult, error)

ReadUri calls uri(uint256).

type ERC1155BalanceOfBatchResult

type ERC1155BalanceOfBatchResult struct{ Value0 []*big.Int }

type ERC1155BalanceOfResult

type ERC1155BalanceOfResult struct{ Value0 *big.Int }

type ERC1155ContractURIResult

type ERC1155ContractURIResult struct{ Value0 string }

type ERC1155CreatorResult

type ERC1155CreatorResult struct{ Value0 common.Address }

type ERC1155DOMAIN_SEPARATORResult

type ERC1155DOMAIN_SEPARATORResult struct{ Value0 [32]byte }

type ERC1155ExistsResult

type ERC1155ExistsResult struct{ Value0 bool }

type ERC1155GetAllowMintResult

type ERC1155GetAllowMintResult struct{ Value0 bool }

type ERC1155GetNftTypeResult

type ERC1155GetNftTypeResult struct{ Value0 uint8 }

type ERC1155GetRefundableResult

type ERC1155GetRefundableResult struct{ Value0 bool }

type ERC1155GetReserveOutput0

type ERC1155GetReserveOutput0 struct {
	Token       common.Address `abi:"token"`
	Amount      *big.Int       `abi:"amount"`
	ReserveType uint8          `abi:"reserveType"`
}

type ERC1155GetReserveResult

type ERC1155GetReserveResult struct{ Value0 ERC1155GetReserveOutput0 }

type ERC1155IsApprovedForAllResult

type ERC1155IsApprovedForAllResult struct{ Value0 bool }

type ERC1155MIN_RESERVEResult

type ERC1155MIN_RESERVEResult struct{ Value0 *big.Int }

type ERC1155NameResult

type ERC1155NameResult struct{ Value0 string }

type ERC1155NoncesResult

type ERC1155NoncesResult struct{ Value0 *big.Int }

type ERC1155RateResult

type ERC1155RateResult struct{ Value0 *big.Int }

type ERC1155SupportsInterfaceResult

type ERC1155SupportsInterfaceResult struct{ Value0 bool }

type ERC1155SymbolResult

type ERC1155SymbolResult struct{ Value0 string }

type ERC1155TotalSupply1Result

type ERC1155TotalSupply1Result struct{ Value0 *big.Int }

type ERC1155TotalSupplyResult

type ERC1155TotalSupplyResult struct{ Value0 *big.Int }

type ERC1155UriResult

type ERC1155UriResult struct{ Value0 string }

type EVMCheckRedemptionProof

type EVMCheckRedemptionProof struct {
	CheckHash common.Hash
	Signer    common.Address
	Signature []byte
}

EVMCheckRedemptionProof pairs an opaque check identity with its declared check signer and proof. Signer is not implicitly the creator or transaction sender.

type Event

type Event struct {
	Name      string
	Signature string
	Values    map[string]any
	Log       types.Log
}

type FeeQuote

type FeeQuote struct {
	// Dynamic-fee EstimatedFee is nil without an explicit BaseFeeEstimate.
	FeeCap, TipCap, BaseFeeEstimate, EstimatedEffectiveGasPrice *big.Int
	EstimatedGas, GasLimit                                      uint64
	GasPrice, EstimatedFee, ReservedFee, Value, RequiredBalance *big.Int
}

type FrozenWithdrawal

type FrozenWithdrawal struct {
	Index *big.Int
	State DelegationGetFrozenStakeOutput0
}

FrozenWithdrawal preserves contract state. A matured timestamp never means completed.

func (FrozenWithdrawal) Active

func (f FrozenWithdrawal) Active() bool

func (FrozenWithdrawal) Matured

func (f FrozenWithdrawal) Matured(unixSeconds int64) bool

type KeySigner

type KeySigner struct {
	// contains filtered or unexported fields
}

KeySigner derives once and reuses the key. fmt and JSON never expose key material.

func EVMCheckSignerFromPassword

func EVMCheckSignerFromPassword(password string) (*KeySigner, error)

EVMCheckSignerFromPassword follows the official JS Checks password derivation: Keccak256 of the exact nonempty UTF-8 string, without Unicode normalization. This is a check-secret signer, not an application account derivation scheme. Close the returned signer after use. Caller-owned string copies cannot be erased.

func NewKeySigner

func NewKeySigner(hexKey string) (*KeySigner, error)

func SignerFromMnemonic

func SignerFromMnemonic(words, passphrase, path string) (*KeySigner, error)

func (*KeySigner) Address

func (s *KeySigner) Address() common.Address

func (*KeySigner) Close

func (s *KeySigner) Close()

Close invalidates this signer. Go cannot guarantee erasure of all historical heap copies.

func (*KeySigner) Format

func (s *KeySigner) Format(f fmt.State, _ rune)

func (*KeySigner) GoString

func (s *KeySigner) GoString() string

func (*KeySigner) Ready

func (s *KeySigner) Ready() error

func (*KeySigner) SignDigest

func (s *KeySigner) SignDigest(ctx context.Context, digest common.Hash) ([]byte, error)

func (*KeySigner) SignTransaction

func (s *KeySigner) SignTransaction(ctx context.Context, tx *types.Transaction, chainID *big.Int) (*types.Transaction, error)

func (*KeySigner) SignTypedData

func (s *KeySigner) SignTypedData(ctx context.Context, data apitypes.TypedData) ([]byte, error)

func (*KeySigner) String

func (s *KeySigner) String() string

type MasterValidator

type MasterValidator struct{ *Contract }

func (*MasterValidator) BuildAddCandidate

func (c *MasterValidator) BuildAddCandidate(arg0 common.Address, arg1 string, arg2 MasterValidatorAddCandidateArg2) (Call, error)

BuildAddCandidate builds addCandidate(address,string,(address,uint256)); it does not sign or send.

func (*MasterValidator) BuildAddCandidateDEL

func (c *MasterValidator) BuildAddCandidateDEL(value *big.Int, arg0 common.Address, arg1 string) (Call, error)

BuildAddCandidateDEL builds addCandidateDEL(address,string); it does not sign or send.

func (*MasterValidator) BuildAddPenalty

func (c *MasterValidator) BuildAddPenalty(arg0 common.Address, arg1 uint16) (Call, error)

BuildAddPenalty builds addPenalty(address,uint16); it does not sign or send.

func (*MasterValidator) BuildAddValidator

func (c *MasterValidator) BuildAddValidator(arg0 common.Address, arg1 string, arg2 MasterValidatorAddValidatorArg2) (Call, error)

BuildAddValidator builds addValidator(address,string,(address,uint256)); it does not sign or send.

func (*MasterValidator) BuildAddValidatorDEL

func (c *MasterValidator) BuildAddValidatorDEL(value *big.Int, arg0 common.Address, arg1 string) (Call, error)

BuildAddValidatorDEL builds addValidatorDEL(address,string); it does not sign or send.

func (*MasterValidator) BuildAddValidators

func (c *MasterValidator) BuildAddValidators(arg0 []MasterValidatorAddValidatorsArg0) (Call, error)

BuildAddValidators builds addValidators((address,string)[]); it does not sign or send.

func (*MasterValidator) BuildApproveCandidates

func (c *MasterValidator) BuildApproveCandidates(arg0 []common.Address) (Call, error)

BuildApproveCandidates builds approveCandidates(address[]); it does not sign or send.

func (*MasterValidator) BuildClearRewardPerBlock

func (c *MasterValidator) BuildClearRewardPerBlock() (Call, error)

BuildClearRewardPerBlock builds clearRewardPerBlock(); it does not sign or send.

func (*MasterValidator) BuildPauseSelf

func (c *MasterValidator) BuildPauseSelf() (Call, error)

BuildPauseSelf builds pauseSelf(); it does not sign or send.

func (*MasterValidator) BuildPauseValidator

func (c *MasterValidator) BuildPauseValidator(arg0 common.Address) (Call, error)

BuildPauseValidator builds pauseValidator(address); it does not sign or send.

func (*MasterValidator) BuildRemoveValidator

func (c *MasterValidator) BuildRemoveValidator(arg0 common.Address) (Call, error)

BuildRemoveValidator builds removeValidator(address); it does not sign or send.

func (*MasterValidator) BuildRenounceOwnership

func (c *MasterValidator) BuildRenounceOwnership() (Call, error)

BuildRenounceOwnership builds renounceOwnership(); it does not sign or send.

func (*MasterValidator) BuildSetRewardPerBlock

func (c *MasterValidator) BuildSetRewardPerBlock(arg0 *big.Int) (Call, error)

BuildSetRewardPerBlock builds setRewardPerBlock(uint256); it does not sign or send.

func (*MasterValidator) BuildTransferOwnership

func (c *MasterValidator) BuildTransferOwnership(arg0 common.Address) (Call, error)

BuildTransferOwnership builds transferOwnership(address); it does not sign or send.

func (*MasterValidator) BuildUnpauseSelf

func (c *MasterValidator) BuildUnpauseSelf() (Call, error)

BuildUnpauseSelf builds unpauseSelf(); it does not sign or send.

func (*MasterValidator) BuildUnpauseValidator

func (c *MasterValidator) BuildUnpauseValidator(arg0 common.Address) (Call, error)

BuildUnpauseValidator builds unpauseValidator(address); it does not sign or send.

func (*MasterValidator) BuildUpdateValidatorMeta

func (c *MasterValidator) BuildUpdateValidatorMeta(arg0 common.Address, arg1 string) (Call, error)

BuildUpdateValidatorMeta builds updateValidatorMeta(address,string); it does not sign or send.

func (*MasterValidator) BuildUpgrade

func (c *MasterValidator) BuildUpgrade(arg0 common.Address, arg1 []byte) (Call, error)

BuildUpgrade builds upgrade(address,bytes); it does not sign or send.

func (*MasterValidator) ReadGetImpl

ReadGetImpl calls getImpl().

func (*MasterValidator) ReadGetRewardPerBlock

ReadGetRewardPerBlock calls getRewardPerBlock().

func (*MasterValidator) ReadGetValidator

ReadGetValidator calls getValidator(address).

func (*MasterValidator) ReadGetValidatorPenalties

ReadGetValidatorPenalties calls getValidatorPenalties(address).

func (*MasterValidator) ReadGetValidatorStatus

ReadGetValidatorStatus calls getValidatorStatus(address).

func (*MasterValidator) ReadIsActive

ReadIsActive calls isActive(address).

func (*MasterValidator) ReadIsMember

ReadIsMember calls isMember(address).

func (*MasterValidator) ReadOwner

ReadOwner calls owner().

type MasterValidatorAddCandidateArg2

type MasterValidatorAddCandidateArg2 struct {
	Token  common.Address `abi:"token"`
	Amount *big.Int       `abi:"amount"`
}

type MasterValidatorAddValidatorArg2

type MasterValidatorAddValidatorArg2 struct {
	Token  common.Address `abi:"token"`
	Amount *big.Int       `abi:"amount"`
}

type MasterValidatorAddValidatorsArg0

type MasterValidatorAddValidatorsArg0 struct {
	Validator common.Address `abi:"validator"`
	Meta      string         `abi:"meta"`
}

type MasterValidatorGetImplResult

type MasterValidatorGetImplResult struct{ Value0 common.Address }

type MasterValidatorGetRewardPerBlockResult

type MasterValidatorGetRewardPerBlockResult struct {
	Value0 *big.Int
	Value1 bool
}

type MasterValidatorGetValidatorOutput0

type MasterValidatorGetValidatorOutput0 struct {
	Status             uint8    `abi:"status"`
	Paused             bool     `abi:"paused"`
	PenaltyPercantages []uint16 `abi:"penaltyPercantages"`
}

type MasterValidatorGetValidatorPenaltiesResult

type MasterValidatorGetValidatorPenaltiesResult struct{ Value0 []uint16 }

type MasterValidatorGetValidatorResult

type MasterValidatorGetValidatorResult struct {
	Value0 MasterValidatorGetValidatorOutput0
}

type MasterValidatorGetValidatorStatusResult

type MasterValidatorGetValidatorStatusResult struct{ Value0 uint8 }

type MasterValidatorIsActiveResult

type MasterValidatorIsActiveResult struct{ Value0 bool }

type MasterValidatorIsMemberResult

type MasterValidatorIsMemberResult struct{ Value0 bool }

type MasterValidatorOwnerResult

type MasterValidatorOwnerResult struct{ Value0 common.Address }

type Mined

type Mined struct {
	Receipt   *types.Receipt
	ActualFee *big.Int
}

type Multicall

type Multicall struct{ *Contract }

func (*Multicall) BuildAggregate

func (c *Multicall) BuildAggregate(value *big.Int, arg0 []MulticallAggregateArg0) (Call, error)

BuildAggregate builds aggregate((address,uint256,bytes)[]); it does not sign or send.

type MulticallAggregateArg0

type MulticallAggregateArg0 struct {
	Target   common.Address `abi:"target"`
	Value    *big.Int       `abi:"value"`
	CallData []byte         `abi:"callData"`
}

type NFTCenter

type NFTCenter struct{ *Contract }

func (*NFTCenter) BuildCreateERC721

func (c *NFTCenter) BuildCreateERC721(arg0 NFTCenterCreateERC721Arg0) (Call, error)

BuildCreateERC721 builds createERC721((address,string,string,string,bool)); it does not sign or send.

func (*NFTCenter) BuildCreateERC1155

func (c *NFTCenter) BuildCreateERC1155(arg0 NFTCenterCreateERC1155Arg0) (Call, error)

BuildCreateERC1155 builds createERC1155((address,string,string,string,bool)); it does not sign or send.

func (*NFTCenter) BuildInitialize

func (c *NFTCenter) BuildInitialize() (Call, error)

BuildInitialize builds initialize(); it does not sign or send.

func (*NFTCenter) BuildRenounceOwnership

func (c *NFTCenter) BuildRenounceOwnership() (Call, error)

BuildRenounceOwnership builds renounceOwnership(); it does not sign or send.

func (*NFTCenter) BuildSetContractCenter

func (c *NFTCenter) BuildSetContractCenter(arg0 common.Address) (Call, error)

BuildSetContractCenter builds setContractCenter(address); it does not sign or send.

func (*NFTCenter) BuildTransferOwnership

func (c *NFTCenter) BuildTransferOwnership(arg0 common.Address) (Call, error)

BuildTransferOwnership builds transferOwnership(address); it does not sign or send.

func (*NFTCenter) BuildUpgrade

func (c *NFTCenter) BuildUpgrade(arg0 common.Address, arg1 []byte) (Call, error)

BuildUpgrade builds upgrade(address,bytes); it does not sign or send.

func (*NFTCenter) BuildUpgradeNFT

func (c *NFTCenter) BuildUpgradeNFT(arg0 common.Address, arg1 uint8) (Call, error)

BuildUpgradeNFT builds upgradeNFT(address,uint8); it does not sign or send.

func (*NFTCenter) ReadBeacon

func (c *NFTCenter) ReadBeacon(ctx context.Context, arg0 uint8) (NFTCenterBeaconResult, error)

ReadBeacon calls beacon(uint8).

func (*NFTCenter) ReadCheckToken

func (c *NFTCenter) ReadCheckToken(ctx context.Context, arg0 common.Address) (NFTCenterCheckTokenResult, error)

ReadCheckToken calls checkToken(address).

func (*NFTCenter) ReadGetContractCenter

func (c *NFTCenter) ReadGetContractCenter(ctx context.Context) (NFTCenterGetContractCenterResult, error)

ReadGetContractCenter calls getContractCenter().

func (*NFTCenter) ReadGetImplementation

func (c *NFTCenter) ReadGetImplementation(ctx context.Context) (NFTCenterGetImplementationResult, error)

ReadGetImplementation calls getImplementation().

func (*NFTCenter) ReadGetNftState

func (c *NFTCenter) ReadGetNftState(ctx context.Context, arg0 common.Address) (NFTCenterGetNftStateResult, error)

ReadGetNftState calls getNftState(address).

func (*NFTCenter) ReadImplementation

func (c *NFTCenter) ReadImplementation(ctx context.Context, arg0 uint8) (NFTCenterImplementationResult, error)

ReadImplementation calls implementation(uint8).

func (*NFTCenter) ReadMIN_RESERVE

func (c *NFTCenter) ReadMIN_RESERVE(ctx context.Context) (NFTCenterMIN_RESERVEResult, error)

ReadMIN_RESERVE calls MIN_RESERVE().

func (*NFTCenter) ReadOwner

func (c *NFTCenter) ReadOwner(ctx context.Context) (NFTCenterOwnerResult, error)

ReadOwner calls owner().

type NFTCenterBeaconResult

type NFTCenterBeaconResult struct{ Value0 common.Address }

type NFTCenterCheckTokenResult

type NFTCenterCheckTokenResult struct{}

type NFTCenterCreateERC721Arg0

type NFTCenterCreateERC721Arg0 struct {
	Creator     common.Address `abi:"creator"`
	Symbol      string         `abi:"symbol"`
	Name        string         `abi:"name"`
	ContractURI string         `abi:"contractURI"`
	Refundable  bool           `abi:"refundable"`
}

type NFTCenterCreateERC1155Arg0

type NFTCenterCreateERC1155Arg0 struct {
	Creator     common.Address `abi:"creator"`
	Symbol      string         `abi:"symbol"`
	Name        string         `abi:"name"`
	ContractURI string         `abi:"contractURI"`
	Refundable  bool           `abi:"refundable"`
}

type NFTCenterGetContractCenterResult

type NFTCenterGetContractCenterResult struct{ Value0 common.Address }

type NFTCenterGetImplementationResult

type NFTCenterGetImplementationResult struct{ Value0 common.Address }

type NFTCenterGetNftStateOutput0

type NFTCenterGetNftStateOutput0 struct {
	Active  bool  `abi:"active"`
	NftType uint8 `abi:"nftType"`
}

type NFTCenterGetNftStateResult

type NFTCenterGetNftStateResult struct{ Value0 NFTCenterGetNftStateOutput0 }

type NFTCenterImplementationResult

type NFTCenterImplementationResult struct{ Value0 common.Address }

type NFTCenterMIN_RESERVEResult

type NFTCenterMIN_RESERVEResult struct{ Value0 *big.Int }

type NFTCenterOwnerResult

type NFTCenterOwnerResult struct{ Value0 common.Address }

type NFTStake

type NFTStake struct {
	NftContract   common.Address `abi:"nftContract"`
	TokenId       *big.Int       `abi:"tokenId"`
	Amount        *big.Int       `abi:"amount"`
	NftType       uint8          `abi:"nftType"`
	Delegator     common.Address `abi:"delegator"`
	Validator     common.Address `abi:"validator"`
	ReserveToken  common.Address `abi:"reserveToken"`
	ReserveAmount *big.Int       `abi:"reserveAmount"`
	HoldTimestamp *big.Int       `abi:"holdTimestamp"`
	IsActive      bool           `abi:"isActive"`
}

NFTStake is the separate official ten-field NFT tuple, not a Stake7/8.

type Page

type Page struct{ Limit, Offset int }

func (Page) Query

func (p Page) Query() (url.Values, error)

type Permit

type Permit struct {
	Owner, Spender         common.Address
	Value, Nonce, Deadline *big.Int
}

type Prepared

type Prepared struct {
	Transaction *types.Transaction
	From        common.Address
	Fee         FeeQuote
}

type ProxyDeployment

type ProxyDeployment struct {
	Contract *Contract
	Evidence DeploymentEvidence
}

func (*ProxyDeployment) VerifyAt

func (p *ProxyDeployment) VerifyAt(ctx context.Context, block uint64) error

VerifyAt checks whether the observed proxy/implementation code and slot still match at another block. It never switches to another ABI automatically.

type Recipient

type Recipient struct {
	Address common.Address
	Amount  *big.Int
}

type ReferenceOperation

type ReferenceOperation struct {
	Operation string   `json:"operation"`
	Methods   []string `json:"methods"`
	Profiles  []string `json:"profiles"`
	Status    string   `json:"status"`
}

func ReferenceOperations

func ReferenceOperations() []ReferenceOperation

type RestrictedMultisend

type RestrictedMultisend struct {
	// contains filtered or unexported fields
}

func (*RestrictedMultisend) BuildToken

func (s *RestrictedMultisend) BuildToken(owner, token common.Address, recipients []Recipient, memo string) (Call, error)

func (*RestrictedMultisend) BuildTokenWithPermit

func (s *RestrictedMultisend) BuildTokenWithPermit(owner, token common.Address, recipients []Recipient, memo string, deadline *big.Int, sig Signature) (Call, error)

func (*RestrictedMultisend) PrepareToken

func (s *RestrictedMultisend) PrepareToken(ctx context.Context, owner, token common.Address, recipients []Recipient, memo string, options TxOptions) (*Prepared, error)

PrepareToken verifies runtime and token balance/allowance before fee preparation. The builder's owner must equal the sender. It never signs or submits.

func (*RestrictedMultisend) PrepareTokenWithPermit

func (s *RestrictedMultisend) PrepareTokenWithPermit(ctx context.Context, owner, token common.Address, recipients []Recipient, memo, name, version string, deadline *big.Int, sig Signature, options TxOptions) (*Prepared, error)

PrepareTokenWithPermit verifies the sender-bound EIP2612 signature using the actual nonce/domain separator, runtime hash and balance. It never broadcasts.

func (*RestrictedMultisend) Verify

func (s *RestrictedMultisend) Verify(ctx context.Context) error

type RestrictedMultisendDeployment

type RestrictedMultisendDeployment struct {
	Address     common.Address
	ChainID     *big.Int
	RuntimeHash common.Hash
}

RestrictedMultisendDeployment is an explicit caller-reviewed, codehash-bound deployment. No local C# deployment address is silently made a Go default.

type RevertError

type RevertError struct {
	Name      string
	Arguments []any
	Reason    string
}

RevertError exposes only decoded ABI data, never raw RPC URLs or credentials.

func (*RevertError) Error

func (e *RevertError) Error() string

type RevertedError

type RevertedError struct{ Hash common.Hash }

func (*RevertedError) Error

func (e *RevertedError) Error() string

type SafeContractVerifier

type SafeContractVerifier func(context.Context, common.Address, common.Hash, []byte) error

type SafeMixedSignature

type SafeMixedSignature struct {
	Signer common.Address
	Kind   SafeSignatureKind
	Data   []byte
}

type SafePolicy

type SafePolicy struct {
	Safe                  common.Address
	ChainID, Nonce, Block *big.Int
	Owners                map[common.Address]uint32
	Threshold             uint64
}

SafePolicy is an explicit, previously verified deployment snapshot. This SDK does not guess owner/weight getters across Safe versions. Block is provenance; callers must ensure it is sufficiently fresh before submitting execution.

type SafeSignature

type SafeSignature struct {
	Signer common.Address
	Data   []byte
}

type SafeSignatureKind

type SafeSignatureKind uint8
const (
	SafeTypedSignature SafeSignatureKind = iota
	SafePersonalSignature
	SafeContractSignature
)

type SafeTransaction

type SafeTransaction struct {
	To                           common.Address
	Value                        *big.Int
	Data                         []byte
	Operation                    uint8
	SafeTxGas, BaseGas, GasPrice *big.Int
	GasToken, RefundReceiver     common.Address
	Nonce                        *big.Int
}

SafeTransaction follows the exact EIP712 field order in the official JS SDK.

func NewSafeTransaction

func NewSafeTransaction(call Call, nonce *big.Int) SafeTransaction

func (SafeTransaction) BuildExecution

func (s SafeTransaction) BuildExecution(contract *Contract, signatures []byte) (Call, error)

BuildSafeExecution uses a caller-supplied deployment ABI. Owners, threshold, weights and nonce must be checked against that Safe before execution.

func (SafeTransaction) Hash

func (s SafeTransaction) Hash(chainID *big.Int, safe common.Address) (common.Hash, error)

func (SafeTransaction) Sign

func (s SafeTransaction) Sign(ctx context.Context, signer *KeySigner, chainID *big.Int, safe common.Address) ([]byte, error)

func (SafeTransaction) SigningPreimage

func (s SafeTransaction) SigningPreimage(chainID *big.Int, safe common.Address) ([]byte, error)

SigningPreimage is the 66-byte EIP712 envelope used by Safe transaction data validation. It supports deployment verifiers using the legacy bytes/bytes signature interface as well as newer interfaces taking the digest directly.

func (SafeTransaction) TypedData

func (s SafeTransaction) TypedData(chainID *big.Int, safe common.Address) (apitypes.TypedData, error)

type Signature

type Signature struct {
	R, S [32]byte
	V    uint8
}

func SplitSignature

func SplitSignature(sig []byte) (Signature, error)

type Signer

type Signer interface {
	Address() common.Address
	SignTransaction(context.Context, *types.Transaction, *big.Int) (*types.Transaction, error)
}

type Submission

type Submission struct {
	Hash        common.Hash
	Transaction *types.Transaction
	Fee         FeeQuote
}

type SubmissionUnknownError

type SubmissionUnknownError struct{ Hash common.Hash }

SubmissionUnknownError means the RPC may have accepted the signed transaction. Reconcile Hash before resubmitting. No alternate endpoint or fee retry is used.

func (*SubmissionUnknownError) Error

func (e *SubmissionUnknownError) Error() string

type TestnetContractCenter20261029

type TestnetContractCenter20261029 struct{ *Contract }

func (*TestnetContractCenter20261029) BuildMarkReserve

BuildMarkReserve builds markReserve((address,uint256)); it does not sign or send.

func (*TestnetContractCenter20261029) BuildMarkReserves

BuildMarkReserves builds markReserves((address,uint256)[]); it does not sign or send.

func (*TestnetContractCenter20261029) BuildMigrateReserves

func (c *TestnetContractCenter20261029) BuildMigrateReserves(value *big.Int) (Call, error)

BuildMigrateReserves builds migrateReserves(); it does not sign or send.

func (*TestnetContractCenter20261029) BuildMigrateReservesPage

func (c *TestnetContractCenter20261029) BuildMigrateReservesPage(value *big.Int, arg0 *big.Int, arg1 *big.Int) (Call, error)

BuildMigrateReservesPage builds migrateReservesPage(uint256,uint256); it does not sign or send.

func (*TestnetContractCenter20261029) BuildMigrateReservesPageWithSkipping

func (c *TestnetContractCenter20261029) BuildMigrateReservesPageWithSkipping(value *big.Int, arg0 *big.Int, arg1 *big.Int, arg2 []common.Address) (Call, error)

BuildMigrateReservesPageWithSkipping builds migrateReservesPageWithSkipping(uint256,uint256,address[]); it does not sign or send.

func (*TestnetContractCenter20261029) BuildRenounceOwnership

func (c *TestnetContractCenter20261029) BuildRenounceOwnership() (Call, error)

BuildRenounceOwnership builds renounceOwnership(); it does not sign or send.

func (*TestnetContractCenter20261029) BuildSetAddress

func (c *TestnetContractCenter20261029) BuildSetAddress(arg0 string, arg1 common.Address) (Call, error)

BuildSetAddress builds setAddress(string,address); it does not sign or send.

func (*TestnetContractCenter20261029) BuildSetContractAddress

func (c *TestnetContractCenter20261029) BuildSetContractAddress(arg0 string, arg1 common.Address) (Call, error)

BuildSetContractAddress builds setContractAddress(string,address); it does not sign or send.

func (*TestnetContractCenter20261029) BuildSetMigrating

func (c *TestnetContractCenter20261029) BuildSetMigrating(arg0 bool) (Call, error)

BuildSetMigrating builds setMigrating(bool); it does not sign or send.

func (*TestnetContractCenter20261029) BuildTransferOwnership

func (c *TestnetContractCenter20261029) BuildTransferOwnership(arg0 common.Address) (Call, error)

BuildTransferOwnership builds transferOwnership(address); it does not sign or send.

func (*TestnetContractCenter20261029) BuildUpgrade

func (c *TestnetContractCenter20261029) BuildUpgrade(arg0 common.Address, arg1 []byte) (Call, error)

BuildUpgrade builds upgrade(address,bytes); it does not sign or send.

func (*TestnetContractCenter20261029) ReadGetAddress

ReadGetAddress calls getAddress(string).

func (*TestnetContractCenter20261029) ReadGetContractAddress

ReadGetContractAddress calls getContractAddress(string).

func (*TestnetContractCenter20261029) ReadGetContractsWithReserve

ReadGetContractsWithReserve calls getContractsWithReserve().

func (*TestnetContractCenter20261029) ReadGetImpl

ReadGetImpl calls getImpl().

func (*TestnetContractCenter20261029) ReadGetMarkedReserve

ReadGetMarkedReserve calls getMarkedReserve(address).

func (*TestnetContractCenter20261029) ReadGetTotalMarkedReserve

ReadGetTotalMarkedReserve calls getTotalMarkedReserve().

func (*TestnetContractCenter20261029) ReadIsDecimal

ReadIsDecimal calls isDecimal().

func (*TestnetContractCenter20261029) ReadIsMigrating

ReadIsMigrating calls isMigrating().

func (*TestnetContractCenter20261029) ReadIsReserveAdded

ReadIsReserveAdded calls isReserveAdded(address).

func (*TestnetContractCenter20261029) ReadIsReserveMigrated

ReadIsReserveMigrated calls isReserveMigrated((address,uint256)).

func (*TestnetContractCenter20261029) ReadIsReserveMigrationByBalance

ReadIsReserveMigrationByBalance calls isReserveMigrationByBalance(address,uint256).

func (*TestnetContractCenter20261029) ReadIsReservesMigrated

ReadIsReservesMigrated calls isReservesMigrated((address,uint256)[]).

func (*TestnetContractCenter20261029) ReadOwner

ReadOwner calls owner().

type TestnetContractCenter20261029GetAddressResult

type TestnetContractCenter20261029GetAddressResult struct{ Value0 common.Address }

type TestnetContractCenter20261029GetContractAddressResult

type TestnetContractCenter20261029GetContractAddressResult struct{ Value0 common.Address }

type TestnetContractCenter20261029GetContractsWithReserveResult

type TestnetContractCenter20261029GetContractsWithReserveResult struct{ Value0 []common.Address }

type TestnetContractCenter20261029GetImplResult

type TestnetContractCenter20261029GetImplResult struct{ Value0 common.Address }

type TestnetContractCenter20261029GetMarkedReserveResult

type TestnetContractCenter20261029GetMarkedReserveResult struct{ Value0 *big.Int }

type TestnetContractCenter20261029GetTotalMarkedReserveResult

type TestnetContractCenter20261029GetTotalMarkedReserveResult struct{ Value0 *big.Int }

type TestnetContractCenter20261029IsDecimalResult

type TestnetContractCenter20261029IsDecimalResult struct{ Value0 bool }

type TestnetContractCenter20261029IsMigratingResult

type TestnetContractCenter20261029IsMigratingResult struct{ Value0 bool }

type TestnetContractCenter20261029IsReserveAddedResult

type TestnetContractCenter20261029IsReserveAddedResult struct{ Value0 bool }

type TestnetContractCenter20261029IsReserveMigratedArg0

type TestnetContractCenter20261029IsReserveMigratedArg0 struct {
	ContractAddress common.Address `abi:"contractAddress"`
	Amount          *big.Int       `abi:"amount"`
}

type TestnetContractCenter20261029IsReserveMigratedResult

type TestnetContractCenter20261029IsReserveMigratedResult struct{ Value0 bool }

type TestnetContractCenter20261029IsReserveMigrationByBalanceResult

type TestnetContractCenter20261029IsReserveMigrationByBalanceResult struct{ Value0 bool }

type TestnetContractCenter20261029IsReservesMigratedArg0

type TestnetContractCenter20261029IsReservesMigratedArg0 struct {
	ContractAddress common.Address `abi:"contractAddress"`
	Amount          *big.Int       `abi:"amount"`
}

type TestnetContractCenter20261029IsReservesMigratedResult

type TestnetContractCenter20261029IsReservesMigratedResult struct{ Value0 bool }

type TestnetContractCenter20261029MarkReserveArg0

type TestnetContractCenter20261029MarkReserveArg0 struct {
	ContractAddress common.Address `abi:"contractAddress"`
	Amount          *big.Int       `abi:"amount"`
}

type TestnetContractCenter20261029MarkReservesArg0

type TestnetContractCenter20261029MarkReservesArg0 struct {
	ContractAddress common.Address `abi:"contractAddress"`
	Amount          *big.Int       `abi:"amount"`
}

type TestnetContractCenter20261029OwnerResult

type TestnetContractCenter20261029OwnerResult struct{ Value0 common.Address }

type TestnetMasterValidator20261029

type TestnetMasterValidator20261029 struct{ *Contract }

func (*TestnetMasterValidator20261029) BuildAddCandidate

BuildAddCandidate builds addCandidate(address,string,(address,uint256)); it does not sign or send.

func (*TestnetMasterValidator20261029) BuildAddCandidateDEL

func (c *TestnetMasterValidator20261029) BuildAddCandidateDEL(value *big.Int, arg0 common.Address, arg1 string) (Call, error)

BuildAddCandidateDEL builds addCandidateDEL(address,string); it does not sign or send.

func (*TestnetMasterValidator20261029) BuildAddPenalty

func (c *TestnetMasterValidator20261029) BuildAddPenalty(arg0 common.Address, arg1 uint16) (Call, error)

BuildAddPenalty builds addPenalty(address,uint16); it does not sign or send.

func (*TestnetMasterValidator20261029) BuildAddValidator

BuildAddValidator builds addValidator(address,string,(address,uint256)); it does not sign or send.

func (*TestnetMasterValidator20261029) BuildAddValidatorDEL

func (c *TestnetMasterValidator20261029) BuildAddValidatorDEL(value *big.Int, arg0 common.Address, arg1 string) (Call, error)

BuildAddValidatorDEL builds addValidatorDEL(address,string); it does not sign or send.

func (*TestnetMasterValidator20261029) BuildAddValidators

BuildAddValidators builds addValidators((address,string)[]); it does not sign or send.

func (*TestnetMasterValidator20261029) BuildApproveCandidates

func (c *TestnetMasterValidator20261029) BuildApproveCandidates(arg0 []common.Address) (Call, error)

BuildApproveCandidates builds approveCandidates(address[]); it does not sign or send.

func (*TestnetMasterValidator20261029) BuildClearRewardPerBlock

func (c *TestnetMasterValidator20261029) BuildClearRewardPerBlock() (Call, error)

BuildClearRewardPerBlock builds clearRewardPerBlock(); it does not sign or send.

func (*TestnetMasterValidator20261029) BuildPause

func (c *TestnetMasterValidator20261029) BuildPause() (Call, error)

BuildPause builds pause(); it does not sign or send.

func (*TestnetMasterValidator20261029) BuildPauseSelf

func (c *TestnetMasterValidator20261029) BuildPauseSelf() (Call, error)

BuildPauseSelf builds pauseSelf(); it does not sign or send.

func (*TestnetMasterValidator20261029) BuildPauseValidator

func (c *TestnetMasterValidator20261029) BuildPauseValidator(arg0 common.Address) (Call, error)

BuildPauseValidator builds pauseValidator(address); it does not sign or send.

func (*TestnetMasterValidator20261029) BuildRemoveValidator

func (c *TestnetMasterValidator20261029) BuildRemoveValidator(arg0 common.Address) (Call, error)

BuildRemoveValidator builds removeValidator(address); it does not sign or send.

func (*TestnetMasterValidator20261029) BuildRenounceOwnership

func (c *TestnetMasterValidator20261029) BuildRenounceOwnership() (Call, error)

BuildRenounceOwnership builds renounceOwnership(); it does not sign or send.

func (*TestnetMasterValidator20261029) BuildSetRewardPerBlock

func (c *TestnetMasterValidator20261029) BuildSetRewardPerBlock(arg0 *big.Int) (Call, error)

BuildSetRewardPerBlock builds setRewardPerBlock(uint256); it does not sign or send.

func (*TestnetMasterValidator20261029) BuildTransferOwnership

func (c *TestnetMasterValidator20261029) BuildTransferOwnership(arg0 common.Address) (Call, error)

BuildTransferOwnership builds transferOwnership(address); it does not sign or send.

func (*TestnetMasterValidator20261029) BuildUnpause

func (c *TestnetMasterValidator20261029) BuildUnpause() (Call, error)

BuildUnpause builds unpause(); it does not sign or send.

func (*TestnetMasterValidator20261029) BuildUnpauseSelf

func (c *TestnetMasterValidator20261029) BuildUnpauseSelf() (Call, error)

BuildUnpauseSelf builds unpauseSelf(); it does not sign or send.

func (*TestnetMasterValidator20261029) BuildUnpauseValidator

func (c *TestnetMasterValidator20261029) BuildUnpauseValidator(arg0 common.Address) (Call, error)

BuildUnpauseValidator builds unpauseValidator(address); it does not sign or send.

func (*TestnetMasterValidator20261029) BuildUpdateValidatorMeta

func (c *TestnetMasterValidator20261029) BuildUpdateValidatorMeta(arg0 common.Address, arg1 string) (Call, error)

BuildUpdateValidatorMeta builds updateValidatorMeta(address,string); it does not sign or send.

func (*TestnetMasterValidator20261029) BuildUpgrade

func (c *TestnetMasterValidator20261029) BuildUpgrade(arg0 common.Address, arg1 []byte) (Call, error)

BuildUpgrade builds upgrade(address,bytes); it does not sign or send.

func (*TestnetMasterValidator20261029) ReadGetImpl

ReadGetImpl calls getImpl().

func (*TestnetMasterValidator20261029) ReadGetRewardPerBlock

ReadGetRewardPerBlock calls getRewardPerBlock().

func (*TestnetMasterValidator20261029) ReadGetValidator

ReadGetValidator calls getValidator(address).

func (*TestnetMasterValidator20261029) ReadGetValidatorPenalties

ReadGetValidatorPenalties calls getValidatorPenalties(address).

func (*TestnetMasterValidator20261029) ReadGetValidatorStatus

ReadGetValidatorStatus calls getValidatorStatus(address).

func (*TestnetMasterValidator20261029) ReadIsActive

ReadIsActive calls isActive(address).

func (*TestnetMasterValidator20261029) ReadIsMember

ReadIsMember calls isMember(address).

func (*TestnetMasterValidator20261029) ReadOwner

ReadOwner calls owner().

func (*TestnetMasterValidator20261029) ReadPaused

ReadPaused calls paused().

type TestnetMasterValidator20261029AddCandidateArg2

type TestnetMasterValidator20261029AddCandidateArg2 struct {
	Token  common.Address `abi:"token"`
	Amount *big.Int       `abi:"amount"`
}

type TestnetMasterValidator20261029AddValidatorArg2

type TestnetMasterValidator20261029AddValidatorArg2 struct {
	Token  common.Address `abi:"token"`
	Amount *big.Int       `abi:"amount"`
}

type TestnetMasterValidator20261029AddValidatorsArg0

type TestnetMasterValidator20261029AddValidatorsArg0 struct {
	Validator common.Address `abi:"validator"`
	Meta      string         `abi:"meta"`
}

type TestnetMasterValidator20261029GetImplResult

type TestnetMasterValidator20261029GetImplResult struct{ Value0 common.Address }

type TestnetMasterValidator20261029GetRewardPerBlockResult

type TestnetMasterValidator20261029GetRewardPerBlockResult struct {
	Value0 *big.Int
	Value1 bool
}

type TestnetMasterValidator20261029GetValidatorOutput0

type TestnetMasterValidator20261029GetValidatorOutput0 struct {
	Status             uint8    `abi:"status"`
	Paused             bool     `abi:"paused"`
	PenaltyPercantages []uint16 `abi:"penaltyPercantages"`
}

type TestnetMasterValidator20261029GetValidatorPenaltiesResult

type TestnetMasterValidator20261029GetValidatorPenaltiesResult struct{ Value0 []uint16 }

type TestnetMasterValidator20261029GetValidatorResult

type TestnetMasterValidator20261029GetValidatorResult struct {
	Value0 TestnetMasterValidator20261029GetValidatorOutput0
}

type TestnetMasterValidator20261029GetValidatorStatusResult

type TestnetMasterValidator20261029GetValidatorStatusResult struct{ Value0 uint8 }

type TestnetMasterValidator20261029IsActiveResult

type TestnetMasterValidator20261029IsActiveResult struct{ Value0 bool }

type TestnetMasterValidator20261029IsMemberResult

type TestnetMasterValidator20261029IsMemberResult struct{ Value0 bool }

type TestnetMasterValidator20261029OwnerResult

type TestnetMasterValidator20261029OwnerResult struct{ Value0 common.Address }

type TestnetMasterValidator20261029PausedResult

type TestnetMasterValidator20261029PausedResult struct{ Value0 bool }

type TestnetNFTCenter20261029

type TestnetNFTCenter20261029 struct{ *Contract }

func (*TestnetNFTCenter20261029) BuildCreateAndMigrateBatch

BuildCreateAndMigrateBatch builds createAndMigrateBatch(((address,string,string,string,bool,bool),(string,uint256,string,bool),bytes,uint8,(address,uint256)[])[]); it does not sign or send.

func (*TestnetNFTCenter20261029) BuildCreateCollectionDRC721Migration

BuildCreateCollectionDRC721Migration builds createCollectionDRC721Migration(((address,string,string,string,bool,bool),(string,uint256,string,bool),bytes,uint8,(address,uint256)[])); it does not sign or send.

func (*TestnetNFTCenter20261029) BuildCreateCollectionDRC1155Migration

func (c *TestnetNFTCenter20261029) BuildCreateCollectionDRC1155Migration(arg0 TestnetNFTCenter20261029CreateCollectionDRC1155MigrationArg0) (Call, error)

BuildCreateCollectionDRC1155Migration builds createCollectionDRC1155Migration(((address,string,string,string,bool,bool),(string,uint256,string,bool),bytes,uint8,(address,uint256)[])); it does not sign or send.

func (*TestnetNFTCenter20261029) BuildCreateDRC721

BuildCreateDRC721 builds createDRC721((address,string,string,string,bool,bool)); it does not sign or send.

func (*TestnetNFTCenter20261029) BuildCreateDRC721Reserveless

BuildCreateDRC721Reserveless builds createDRC721Reserveless((address,string,string,string,bool,bool)); it does not sign or send.

func (*TestnetNFTCenter20261029) BuildCreateDRC1155

BuildCreateDRC1155 builds createDRC1155((address,string,string,string,bool,bool)); it does not sign or send.

func (*TestnetNFTCenter20261029) BuildCreateDRC1155Reserveless

BuildCreateDRC1155Reserveless builds createDRC1155Reserveless((address,string,string,string,bool,bool)); it does not sign or send.

func (*TestnetNFTCenter20261029) BuildInitialize

func (c *TestnetNFTCenter20261029) BuildInitialize() (Call, error)

BuildInitialize builds initialize(); it does not sign or send.

func (*TestnetNFTCenter20261029) BuildPause

func (c *TestnetNFTCenter20261029) BuildPause() (Call, error)

BuildPause builds pause(); it does not sign or send.

func (*TestnetNFTCenter20261029) BuildRenounceOwnership

func (c *TestnetNFTCenter20261029) BuildRenounceOwnership() (Call, error)

BuildRenounceOwnership builds renounceOwnership(); it does not sign or send.

func (*TestnetNFTCenter20261029) BuildSetContractCenter

func (c *TestnetNFTCenter20261029) BuildSetContractCenter(arg0 common.Address) (Call, error)

BuildSetContractCenter builds setContractCenter(address); it does not sign or send.

func (*TestnetNFTCenter20261029) BuildTransferOwnership

func (c *TestnetNFTCenter20261029) BuildTransferOwnership(arg0 common.Address) (Call, error)

BuildTransferOwnership builds transferOwnership(address); it does not sign or send.

func (*TestnetNFTCenter20261029) BuildUnpause

func (c *TestnetNFTCenter20261029) BuildUnpause() (Call, error)

BuildUnpause builds unpause(); it does not sign or send.

func (*TestnetNFTCenter20261029) BuildUpgrade

func (c *TestnetNFTCenter20261029) BuildUpgrade(arg0 common.Address, arg1 []byte) (Call, error)

BuildUpgrade builds upgrade(address,bytes); it does not sign or send.

func (*TestnetNFTCenter20261029) BuildUpgradeNFT

func (c *TestnetNFTCenter20261029) BuildUpgradeNFT(arg0 common.Address, arg1 uint8, arg2 bool) (Call, error)

BuildUpgradeNFT builds upgradeNFT(address,uint8,bool); it does not sign or send.

func (*TestnetNFTCenter20261029) ReadBeacon

ReadBeacon calls beacon(uint8,bool).

func (*TestnetNFTCenter20261029) ReadCheckToken

ReadCheckToken calls checkToken(address).

func (*TestnetNFTCenter20261029) ReadFilterMigratedBalances

ReadFilterMigratedBalances calls filterMigratedBalances(((string,uint256,string,bool),bytes,uint8,(address,uint256)[])[]).

func (*TestnetNFTCenter20261029) ReadGetContractCenter

ReadGetContractCenter calls getContractCenter().

func (*TestnetNFTCenter20261029) ReadGetImpl

ReadGetImpl calls getImpl().

func (*TestnetNFTCenter20261029) ReadGetNFTBySalt

ReadGetNFTBySalt calls getNFTBySalt(bytes).

func (*TestnetNFTCenter20261029) ReadGetNFTState

ReadGetNFTState calls getNFTState(address).

func (*TestnetNFTCenter20261029) ReadGetNftBySalt

ReadGetNftBySalt calls getNftBySalt(bytes).

func (*TestnetNFTCenter20261029) ReadGetTokenBySymbol

ReadGetTokenBySymbol calls getTokenBySymbol(string).

func (*TestnetNFTCenter20261029) ReadImplementation

ReadImplementation calls implementation(uint8,bool).

func (*TestnetNFTCenter20261029) ReadIsDecimal

ReadIsDecimal calls isDecimal().

func (*TestnetNFTCenter20261029) ReadIsMigrating

ReadIsMigrating calls isMigrating().

func (*TestnetNFTCenter20261029) ReadOwner

ReadOwner calls owner().

func (*TestnetNFTCenter20261029) ReadPaused

ReadPaused calls paused().

type TestnetNFTCenter20261029BeaconResult

type TestnetNFTCenter20261029BeaconResult struct{ Value0 common.Address }

type TestnetNFTCenter20261029CheckTokenResult

type TestnetNFTCenter20261029CheckTokenResult struct{}

type TestnetNFTCenter20261029CreateAndMigrateBatchArg0

type TestnetNFTCenter20261029CreateAndMigrateBatchArg0 struct {
	Meta          TestnetNFTCenter20261029CreateAndMigrateBatchArg0Meta          `abi:"meta"`
	MigrationMeta TestnetNFTCenter20261029CreateAndMigrateBatchArg0MigrationMeta `abi:"migrationMeta"`
	Salt          []byte                                                         `abi:"salt"`
	NftType       uint8                                                          `abi:"nftType"`
	Balances      []TestnetNFTCenter20261029CreateAndMigrateBatchArg0Balances    `abi:"balances"`
}

type TestnetNFTCenter20261029CreateAndMigrateBatchArg0Balances

type TestnetNFTCenter20261029CreateAndMigrateBatchArg0Balances struct {
	Account common.Address `abi:"account"`
	Balance *big.Int       `abi:"balance"`
}

type TestnetNFTCenter20261029CreateAndMigrateBatchArg0Meta

type TestnetNFTCenter20261029CreateAndMigrateBatchArg0Meta struct {
	Creator     common.Address `abi:"creator"`
	Symbol      string         `abi:"symbol"`
	Name        string         `abi:"name"`
	ContractURI string         `abi:"contractURI"`
	Refundable  bool           `abi:"refundable"`
	Burnable    bool           `abi:"burnable"`
}

type TestnetNFTCenter20261029CreateAndMigrateBatchArg0MigrationMeta

type TestnetNFTCenter20261029CreateAndMigrateBatchArg0MigrationMeta struct {
	ReserveSymbol string   `abi:"reserveSymbol"`
	ReserveAmount *big.Int `abi:"reserveAmount"`
	TokenURI      string   `abi:"tokenURI"`
	AllowMint     bool     `abi:"allowMint"`
}

type TestnetNFTCenter20261029CreateCollectionDRC721MigrationArg0

type TestnetNFTCenter20261029CreateCollectionDRC721MigrationArg0 struct {
	Meta          TestnetNFTCenter20261029CreateCollectionDRC721MigrationArg0Meta          `abi:"meta"`
	MigrationMeta TestnetNFTCenter20261029CreateCollectionDRC721MigrationArg0MigrationMeta `abi:"migrationMeta"`
	Salt          []byte                                                                   `abi:"salt"`
	NftType       uint8                                                                    `abi:"nftType"`
	Balances      []TestnetNFTCenter20261029CreateCollectionDRC721MigrationArg0Balances    `abi:"balances"`
}

type TestnetNFTCenter20261029CreateCollectionDRC721MigrationArg0Balances

type TestnetNFTCenter20261029CreateCollectionDRC721MigrationArg0Balances struct {
	Account common.Address `abi:"account"`
	Balance *big.Int       `abi:"balance"`
}

type TestnetNFTCenter20261029CreateCollectionDRC721MigrationArg0Meta

type TestnetNFTCenter20261029CreateCollectionDRC721MigrationArg0Meta struct {
	Creator     common.Address `abi:"creator"`
	Symbol      string         `abi:"symbol"`
	Name        string         `abi:"name"`
	ContractURI string         `abi:"contractURI"`
	Refundable  bool           `abi:"refundable"`
	Burnable    bool           `abi:"burnable"`
}

type TestnetNFTCenter20261029CreateCollectionDRC721MigrationArg0MigrationMeta

type TestnetNFTCenter20261029CreateCollectionDRC721MigrationArg0MigrationMeta struct {
	ReserveSymbol string   `abi:"reserveSymbol"`
	ReserveAmount *big.Int `abi:"reserveAmount"`
	TokenURI      string   `abi:"tokenURI"`
	AllowMint     bool     `abi:"allowMint"`
}

type TestnetNFTCenter20261029CreateCollectionDRC1155MigrationArg0

type TestnetNFTCenter20261029CreateCollectionDRC1155MigrationArg0 struct {
	Meta          TestnetNFTCenter20261029CreateCollectionDRC1155MigrationArg0Meta          `abi:"meta"`
	MigrationMeta TestnetNFTCenter20261029CreateCollectionDRC1155MigrationArg0MigrationMeta `abi:"migrationMeta"`
	Salt          []byte                                                                    `abi:"salt"`
	NftType       uint8                                                                     `abi:"nftType"`
	Balances      []TestnetNFTCenter20261029CreateCollectionDRC1155MigrationArg0Balances    `abi:"balances"`
}

type TestnetNFTCenter20261029CreateCollectionDRC1155MigrationArg0Balances

type TestnetNFTCenter20261029CreateCollectionDRC1155MigrationArg0Balances struct {
	Account common.Address `abi:"account"`
	Balance *big.Int       `abi:"balance"`
}

type TestnetNFTCenter20261029CreateCollectionDRC1155MigrationArg0Meta

type TestnetNFTCenter20261029CreateCollectionDRC1155MigrationArg0Meta struct {
	Creator     common.Address `abi:"creator"`
	Symbol      string         `abi:"symbol"`
	Name        string         `abi:"name"`
	ContractURI string         `abi:"contractURI"`
	Refundable  bool           `abi:"refundable"`
	Burnable    bool           `abi:"burnable"`
}

type TestnetNFTCenter20261029CreateCollectionDRC1155MigrationArg0MigrationMeta

type TestnetNFTCenter20261029CreateCollectionDRC1155MigrationArg0MigrationMeta struct {
	ReserveSymbol string   `abi:"reserveSymbol"`
	ReserveAmount *big.Int `abi:"reserveAmount"`
	TokenURI      string   `abi:"tokenURI"`
	AllowMint     bool     `abi:"allowMint"`
}

type TestnetNFTCenter20261029CreateDRC721Arg0

type TestnetNFTCenter20261029CreateDRC721Arg0 struct {
	Creator     common.Address `abi:"creator"`
	Symbol      string         `abi:"symbol"`
	Name        string         `abi:"name"`
	ContractURI string         `abi:"contractURI"`
	Refundable  bool           `abi:"refundable"`
	Burnable    bool           `abi:"burnable"`
}

type TestnetNFTCenter20261029CreateDRC721ReservelessArg0

type TestnetNFTCenter20261029CreateDRC721ReservelessArg0 struct {
	Creator     common.Address `abi:"creator"`
	Symbol      string         `abi:"symbol"`
	Name        string         `abi:"name"`
	ContractURI string         `abi:"contractURI"`
	Refundable  bool           `abi:"refundable"`
	Burnable    bool           `abi:"burnable"`
}

type TestnetNFTCenter20261029CreateDRC1155Arg0

type TestnetNFTCenter20261029CreateDRC1155Arg0 struct {
	Creator     common.Address `abi:"creator"`
	Symbol      string         `abi:"symbol"`
	Name        string         `abi:"name"`
	ContractURI string         `abi:"contractURI"`
	Refundable  bool           `abi:"refundable"`
	Burnable    bool           `abi:"burnable"`
}

type TestnetNFTCenter20261029CreateDRC1155ReservelessArg0

type TestnetNFTCenter20261029CreateDRC1155ReservelessArg0 struct {
	Creator     common.Address `abi:"creator"`
	Symbol      string         `abi:"symbol"`
	Name        string         `abi:"name"`
	ContractURI string         `abi:"contractURI"`
	Refundable  bool           `abi:"refundable"`
	Burnable    bool           `abi:"burnable"`
}

type TestnetNFTCenter20261029FilterMigratedBalancesArg0

type TestnetNFTCenter20261029FilterMigratedBalancesArg0 struct {
	MigrationMeta TestnetNFTCenter20261029FilterMigratedBalancesArg0MigrationMeta `abi:"migrationMeta"`
	Salt          []byte                                                          `abi:"salt"`
	NftType       uint8                                                           `abi:"nftType"`
	Balances      []TestnetNFTCenter20261029FilterMigratedBalancesArg0Balances    `abi:"balances"`
}

type TestnetNFTCenter20261029FilterMigratedBalancesArg0Balances

type TestnetNFTCenter20261029FilterMigratedBalancesArg0Balances struct {
	Account common.Address `abi:"account"`
	Balance *big.Int       `abi:"balance"`
}

type TestnetNFTCenter20261029FilterMigratedBalancesArg0MigrationMeta

type TestnetNFTCenter20261029FilterMigratedBalancesArg0MigrationMeta struct {
	ReserveSymbol string   `abi:"reserveSymbol"`
	ReserveAmount *big.Int `abi:"reserveAmount"`
	TokenURI      string   `abi:"tokenURI"`
	AllowMint     bool     `abi:"allowMint"`
}

type TestnetNFTCenter20261029FilterMigratedBalancesOutput0

type TestnetNFTCenter20261029FilterMigratedBalancesOutput0 struct {
	MigrationMeta TestnetNFTCenter20261029FilterMigratedBalancesOutput0MigrationMeta `abi:"migrationMeta"`
	Salt          []byte                                                             `abi:"salt"`
	NftType       uint8                                                              `abi:"nftType"`
	Balances      []TestnetNFTCenter20261029FilterMigratedBalancesOutput0Balances    `abi:"balances"`
}

type TestnetNFTCenter20261029FilterMigratedBalancesOutput0Balances

type TestnetNFTCenter20261029FilterMigratedBalancesOutput0Balances struct {
	Account common.Address `abi:"account"`
	Balance *big.Int       `abi:"balance"`
}

type TestnetNFTCenter20261029FilterMigratedBalancesOutput0MigrationMeta

type TestnetNFTCenter20261029FilterMigratedBalancesOutput0MigrationMeta struct {
	ReserveSymbol string   `abi:"reserveSymbol"`
	ReserveAmount *big.Int `abi:"reserveAmount"`
	TokenURI      string   `abi:"tokenURI"`
	AllowMint     bool     `abi:"allowMint"`
}

type TestnetNFTCenter20261029FilterMigratedBalancesResult

type TestnetNFTCenter20261029FilterMigratedBalancesResult struct {
	Value0 []TestnetNFTCenter20261029FilterMigratedBalancesOutput0
}

type TestnetNFTCenter20261029GetContractCenterResult

type TestnetNFTCenter20261029GetContractCenterResult struct{ Value0 common.Address }

type TestnetNFTCenter20261029GetImplResult

type TestnetNFTCenter20261029GetImplResult struct{ Value0 common.Address }

type TestnetNFTCenter20261029GetNFTBySaltResult

type TestnetNFTCenter20261029GetNFTBySaltResult struct{ Value0 common.Address }

type TestnetNFTCenter20261029GetNFTStateOutput0

type TestnetNFTCenter20261029GetNFTStateOutput0 struct {
	Active      bool  `abi:"active"`
	NftType     uint8 `abi:"nftType"`
	WithReserve bool  `abi:"withReserve"`
}

type TestnetNFTCenter20261029GetNFTStateResult

type TestnetNFTCenter20261029GetNFTStateResult struct {
	Value0 TestnetNFTCenter20261029GetNFTStateOutput0
}

type TestnetNFTCenter20261029GetNftBySaltResult

type TestnetNFTCenter20261029GetNftBySaltResult struct{ Value0 common.Address }

type TestnetNFTCenter20261029GetTokenBySymbolResult

type TestnetNFTCenter20261029GetTokenBySymbolResult struct{ Value0 common.Address }

type TestnetNFTCenter20261029ImplementationResult

type TestnetNFTCenter20261029ImplementationResult struct{ Value0 common.Address }

type TestnetNFTCenter20261029IsDecimalResult

type TestnetNFTCenter20261029IsDecimalResult struct{ Value0 bool }

type TestnetNFTCenter20261029IsMigratingResult

type TestnetNFTCenter20261029IsMigratingResult struct{ Value0 bool }

type TestnetNFTCenter20261029OwnerResult

type TestnetNFTCenter20261029OwnerResult struct{ Value0 common.Address }

type TestnetNFTCenter20261029PausedResult

type TestnetNFTCenter20261029PausedResult struct{ Value0 bool }

type TestnetReserveToken20261029

type TestnetReserveToken20261029 struct{ *Contract }

func (*TestnetReserveToken20261029) BuildApprove

func (c *TestnetReserveToken20261029) BuildApprove(arg0 common.Address, arg1 *big.Int) (Call, error)

BuildApprove builds approve(address,uint256); it does not sign or send.

func (*TestnetReserveToken20261029) BuildBurn

func (c *TestnetReserveToken20261029) BuildBurn(arg0 *big.Int) (Call, error)

BuildBurn builds burn(uint256); it does not sign or send.

func (*TestnetReserveToken20261029) BuildBuy

func (c *TestnetReserveToken20261029) BuildBuy(value *big.Int, arg0 *big.Int, arg1 common.Address) (Call, error)

BuildBuy builds buy(uint256,address); it does not sign or send.

func (*TestnetReserveToken20261029) BuildBuyExactTokenForDEL

func (c *TestnetReserveToken20261029) BuildBuyExactTokenForDEL(value *big.Int, arg0 *big.Int, arg1 common.Address) (Call, error)

BuildBuyExactTokenForDEL builds buyExactTokenForDEL(uint256,address); it does not sign or send.

func (*TestnetReserveToken20261029) BuildBuyTokenForExactDEL

func (c *TestnetReserveToken20261029) BuildBuyTokenForExactDEL(value *big.Int, arg0 *big.Int, arg1 common.Address) (Call, error)

BuildBuyTokenForExactDEL builds buyTokenForExactDEL(uint256,address); it does not sign or send.

func (*TestnetReserveToken20261029) BuildInitialize

func (c *TestnetReserveToken20261029) BuildInitialize(value *big.Int, arg0 string, arg1 string, arg2 common.Address, arg3 uint8, arg4 *big.Int, arg5 *big.Int, arg6 *big.Int, arg7 string) (Call, error)

BuildInitialize builds initialize(string,string,address,uint8,uint256,uint256,uint256,string); it does not sign or send.

func (*TestnetReserveToken20261029) BuildPermit

func (c *TestnetReserveToken20261029) BuildPermit(arg0 common.Address, arg1 common.Address, arg2 *big.Int, arg3 *big.Int, arg4 uint8, arg5 [32]byte, arg6 [32]byte) (Call, error)

BuildPermit builds permit(address,address,uint256,uint256,uint8,bytes32,bytes32); it does not sign or send.

func (*TestnetReserveToken20261029) BuildSell

func (c *TestnetReserveToken20261029) BuildSell(arg0 *big.Int, arg1 *big.Int, arg2 common.Address) (Call, error)

BuildSell builds sell(uint256,uint256,address); it does not sign or send.

func (*TestnetReserveToken20261029) BuildSellExactTokensForDEL

func (c *TestnetReserveToken20261029) BuildSellExactTokensForDEL(arg0 *big.Int, arg1 *big.Int, arg2 common.Address) (Call, error)

BuildSellExactTokensForDEL builds sellExactTokensForDEL(uint256,uint256,address); it does not sign or send.

func (*TestnetReserveToken20261029) BuildSellTokensForExactDEL

func (c *TestnetReserveToken20261029) BuildSellTokensForExactDEL(arg0 *big.Int, arg1 *big.Int, arg2 common.Address) (Call, error)

BuildSellTokensForExactDEL builds sellTokensForExactDEL(uint256,uint256,address); it does not sign or send.

func (*TestnetReserveToken20261029) BuildTransfer

func (c *TestnetReserveToken20261029) BuildTransfer(arg0 common.Address, arg1 *big.Int) (Call, error)

BuildTransfer builds transfer(address,uint256); it does not sign or send.

func (*TestnetReserveToken20261029) BuildTransferFrom

func (c *TestnetReserveToken20261029) BuildTransferFrom(arg0 common.Address, arg1 common.Address, arg2 *big.Int) (Call, error)

BuildTransferFrom builds transferFrom(address,address,uint256); it does not sign or send.

func (*TestnetReserveToken20261029) BuildUpdateIdentity

func (c *TestnetReserveToken20261029) BuildUpdateIdentity(arg0 string) (Call, error)

BuildUpdateIdentity builds updateIdentity(string); it does not sign or send.

func (*TestnetReserveToken20261029) BuildUpdateMaxTotalSupply

func (c *TestnetReserveToken20261029) BuildUpdateMaxTotalSupply(arg0 *big.Int) (Call, error)

BuildUpdateMaxTotalSupply builds updateMaxTotalSupply(uint256); it does not sign or send.

func (*TestnetReserveToken20261029) BuildUpdateMinTotalSupply

func (c *TestnetReserveToken20261029) BuildUpdateMinTotalSupply(arg0 *big.Int) (Call, error)

BuildUpdateMinTotalSupply builds updateMinTotalSupply(uint256); it does not sign or send.

func (*TestnetReserveToken20261029) ReadAllowance

ReadAllowance calls allowance(address,address).

func (*TestnetReserveToken20261029) ReadBalanceOf

ReadBalanceOf calls balanceOf(address).

func (*TestnetReserveToken20261029) ReadCalculateBuyInput

ReadCalculateBuyInput calls calculateBuyInput(uint256).

func (*TestnetReserveToken20261029) ReadCalculateBuyInput1

func (c *TestnetReserveToken20261029) ReadCalculateBuyInput1(ctx context.Context, arg0 *big.Int, arg1 *big.Int, arg2 *big.Int, arg3 *big.Int) (TestnetReserveToken20261029CalculateBuyInput1Result, error)

ReadCalculateBuyInput1 calls calculateBuyInput(uint256,uint256,uint256,uint256).

func (*TestnetReserveToken20261029) ReadCalculateBuyInputBefore

ReadCalculateBuyInputBefore calls calculateBuyInputBefore(uint256,uint256).

func (*TestnetReserveToken20261029) ReadCalculateBuyOutput

ReadCalculateBuyOutput calls calculateBuyOutput(uint256).

func (*TestnetReserveToken20261029) ReadCalculateBuyOutput1

func (c *TestnetReserveToken20261029) ReadCalculateBuyOutput1(ctx context.Context, arg0 *big.Int, arg1 *big.Int, arg2 *big.Int, arg3 *big.Int) (TestnetReserveToken20261029CalculateBuyOutput1Result, error)

ReadCalculateBuyOutput1 calls calculateBuyOutput(uint256,uint256,uint256,uint256).

func (*TestnetReserveToken20261029) ReadCalculateBuyOutputBefore

ReadCalculateBuyOutputBefore calls calculateBuyOutputBefore(uint256).

func (*TestnetReserveToken20261029) ReadCalculateSellInput

ReadCalculateSellInput calls calculateSellInput(uint256).

func (*TestnetReserveToken20261029) ReadCalculateSellInput1

func (c *TestnetReserveToken20261029) ReadCalculateSellInput1(ctx context.Context, arg0 *big.Int, arg1 *big.Int, arg2 *big.Int, arg3 *big.Int) (TestnetReserveToken20261029CalculateSellInput1Result, error)

ReadCalculateSellInput1 calls calculateSellInput(uint256,uint256,uint256,uint256).

func (*TestnetReserveToken20261029) ReadCalculateSellOutput

ReadCalculateSellOutput calls calculateSellOutput(uint256).

func (*TestnetReserveToken20261029) ReadCalculateSellOutput1

func (c *TestnetReserveToken20261029) ReadCalculateSellOutput1(ctx context.Context, arg0 *big.Int, arg1 *big.Int, arg2 *big.Int, arg3 *big.Int) (TestnetReserveToken20261029CalculateSellOutput1Result, error)

ReadCalculateSellOutput1 calls calculateSellOutput(uint256,uint256,uint256,uint256).

func (*TestnetReserveToken20261029) ReadCreator

ReadCreator calls creator().

func (*TestnetReserveToken20261029) ReadCrr

ReadCrr calls crr().

func (*TestnetReserveToken20261029) ReadDOMAIN_SEPARATOR

ReadDOMAIN_SEPARATOR calls DOMAIN_SEPARATOR().

func (*TestnetReserveToken20261029) ReadDecimals

ReadDecimals calls decimals().

func (*TestnetReserveToken20261029) ReadEip712Domain

ReadEip712Domain calls eip712Domain().

func (*TestnetReserveToken20261029) ReadGetCurrentPrice

ReadGetCurrentPrice calls getCurrentPrice().

func (*TestnetReserveToken20261029) ReadIdentity

ReadIdentity calls identity().

func (*TestnetReserveToken20261029) ReadMAX_CRR

ReadMAX_CRR calls MAX_CRR().

func (*TestnetReserveToken20261029) ReadMAX_TOTAL_SUPPLY

ReadMAX_TOTAL_SUPPLY calls MAX_TOTAL_SUPPLY().

func (*TestnetReserveToken20261029) ReadMIN_CRR

ReadMIN_CRR calls MIN_CRR().

func (*TestnetReserveToken20261029) ReadMIN_INITIAL_MINT

ReadMIN_INITIAL_MINT calls MIN_INITIAL_MINT().

func (*TestnetReserveToken20261029) ReadMIN_RESERVE

ReadMIN_RESERVE calls MIN_RESERVE().

func (*TestnetReserveToken20261029) ReadMIN_TOTAL_SUPPLY

ReadMIN_TOTAL_SUPPLY calls MIN_TOTAL_SUPPLY().

func (*TestnetReserveToken20261029) ReadMaxTotalSupply

ReadMaxTotalSupply calls maxTotalSupply().

func (*TestnetReserveToken20261029) ReadMinTotalSupply

ReadMinTotalSupply calls minTotalSupply().

func (*TestnetReserveToken20261029) ReadName

ReadName calls name().

func (*TestnetReserveToken20261029) ReadNonces

ReadNonces calls nonces(address).

func (*TestnetReserveToken20261029) ReadPERMIT_TYPEHASH

ReadPERMIT_TYPEHASH calls PERMIT_TYPEHASH().

func (*TestnetReserveToken20261029) ReadPermitHash

ReadPermitHash calls permitHash(address,address,uint256,uint256,uint256).

func (*TestnetReserveToken20261029) ReadReserve

ReadReserve calls reserve().

func (*TestnetReserveToken20261029) ReadSymbol

ReadSymbol calls symbol().

func (*TestnetReserveToken20261029) ReadTotalSupply

ReadTotalSupply calls totalSupply().

type TestnetReserveToken20261029AllowanceResult

type TestnetReserveToken20261029AllowanceResult struct{ Value0 *big.Int }

type TestnetReserveToken20261029BalanceOfResult

type TestnetReserveToken20261029BalanceOfResult struct{ Value0 *big.Int }

type TestnetReserveToken20261029CalculateBuyInput1Result

type TestnetReserveToken20261029CalculateBuyInput1Result struct{ Value0 *big.Int }

type TestnetReserveToken20261029CalculateBuyInputBeforeResult

type TestnetReserveToken20261029CalculateBuyInputBeforeResult struct{ Value0 *big.Int }

type TestnetReserveToken20261029CalculateBuyInputResult

type TestnetReserveToken20261029CalculateBuyInputResult struct{ Value0 *big.Int }

type TestnetReserveToken20261029CalculateBuyOutput1Result

type TestnetReserveToken20261029CalculateBuyOutput1Result struct{ Value0 *big.Int }

type TestnetReserveToken20261029CalculateBuyOutputBeforeResult

type TestnetReserveToken20261029CalculateBuyOutputBeforeResult struct{ Value0 *big.Int }

type TestnetReserveToken20261029CalculateBuyOutputResult

type TestnetReserveToken20261029CalculateBuyOutputResult struct{ Value0 *big.Int }

type TestnetReserveToken20261029CalculateSellInput1Result

type TestnetReserveToken20261029CalculateSellInput1Result struct{ Value0 *big.Int }

type TestnetReserveToken20261029CalculateSellInputResult

type TestnetReserveToken20261029CalculateSellInputResult struct{ Value0 *big.Int }

type TestnetReserveToken20261029CalculateSellOutput1Result

type TestnetReserveToken20261029CalculateSellOutput1Result struct{ Value0 *big.Int }

type TestnetReserveToken20261029CalculateSellOutputResult

type TestnetReserveToken20261029CalculateSellOutputResult struct{ Value0 *big.Int }

type TestnetReserveToken20261029CreatorResult

type TestnetReserveToken20261029CreatorResult struct{ Value0 common.Address }

type TestnetReserveToken20261029CrrResult

type TestnetReserveToken20261029CrrResult struct{ Value0 *big.Int }

type TestnetReserveToken20261029DOMAIN_SEPARATORResult

type TestnetReserveToken20261029DOMAIN_SEPARATORResult struct{ Value0 [32]byte }

type TestnetReserveToken20261029DecimalsResult

type TestnetReserveToken20261029DecimalsResult struct{ Value0 uint8 }

type TestnetReserveToken20261029Eip712DomainResult

type TestnetReserveToken20261029Eip712DomainResult struct {
	Value0 [1]byte
	Value1 string
	Value2 string
	Value3 *big.Int
	Value4 common.Address
	Value5 [32]byte
	Value6 []*big.Int
}

type TestnetReserveToken20261029GetCurrentPriceResult

type TestnetReserveToken20261029GetCurrentPriceResult struct{ Value0 *big.Int }

type TestnetReserveToken20261029IdentityResult

type TestnetReserveToken20261029IdentityResult struct{ Value0 string }

type TestnetReserveToken20261029MAX_CRRResult

type TestnetReserveToken20261029MAX_CRRResult struct{ Value0 *big.Int }

type TestnetReserveToken20261029MAX_TOTAL_SUPPLYResult

type TestnetReserveToken20261029MAX_TOTAL_SUPPLYResult struct{ Value0 *big.Int }

type TestnetReserveToken20261029MIN_CRRResult

type TestnetReserveToken20261029MIN_CRRResult struct{ Value0 *big.Int }

type TestnetReserveToken20261029MIN_INITIAL_MINTResult

type TestnetReserveToken20261029MIN_INITIAL_MINTResult struct{ Value0 *big.Int }

type TestnetReserveToken20261029MIN_RESERVEResult

type TestnetReserveToken20261029MIN_RESERVEResult struct{ Value0 *big.Int }

type TestnetReserveToken20261029MIN_TOTAL_SUPPLYResult

type TestnetReserveToken20261029MIN_TOTAL_SUPPLYResult struct{ Value0 *big.Int }

type TestnetReserveToken20261029MaxTotalSupplyResult

type TestnetReserveToken20261029MaxTotalSupplyResult struct{ Value0 *big.Int }

type TestnetReserveToken20261029MinTotalSupplyResult

type TestnetReserveToken20261029MinTotalSupplyResult struct{ Value0 *big.Int }

type TestnetReserveToken20261029NameResult

type TestnetReserveToken20261029NameResult struct{ Value0 string }

type TestnetReserveToken20261029NoncesResult

type TestnetReserveToken20261029NoncesResult struct{ Value0 *big.Int }

type TestnetReserveToken20261029PERMIT_TYPEHASHResult

type TestnetReserveToken20261029PERMIT_TYPEHASHResult struct{ Value0 [32]byte }

type TestnetReserveToken20261029PermitHashResult

type TestnetReserveToken20261029PermitHashResult struct{ Value0 [32]byte }

type TestnetReserveToken20261029ReserveResult

type TestnetReserveToken20261029ReserveResult struct{ Value0 *big.Int }

type TestnetReserveToken20261029SymbolResult

type TestnetReserveToken20261029SymbolResult struct{ Value0 string }

type TestnetReserveToken20261029TotalSupplyResult

type TestnetReserveToken20261029TotalSupplyResult struct{ Value0 *big.Int }

type TestnetReservelessToken20261029

type TestnetReservelessToken20261029 struct{ *Contract }

func (*TestnetReservelessToken20261029) BuildApprove

func (c *TestnetReservelessToken20261029) BuildApprove(arg0 common.Address, arg1 *big.Int) (Call, error)

BuildApprove builds approve(address,uint256); it does not sign or send.

func (*TestnetReservelessToken20261029) BuildBurn

func (c *TestnetReservelessToken20261029) BuildBurn(arg0 *big.Int) (Call, error)

BuildBurn builds burn(uint256); it does not sign or send.

func (*TestnetReservelessToken20261029) BuildBurnFrom

func (c *TestnetReservelessToken20261029) BuildBurnFrom(arg0 common.Address, arg1 *big.Int) (Call, error)

BuildBurnFrom builds burnFrom(address,uint256); it does not sign or send.

func (*TestnetReservelessToken20261029) BuildInitialize

func (c *TestnetReservelessToken20261029) BuildInitialize(value *big.Int, arg0 string, arg1 string, arg2 common.Address, arg3 bool, arg4 bool, arg5 *big.Int, arg6 *big.Int, arg7 string) (Call, error)

BuildInitialize builds initialize(string,string,address,bool,bool,uint256,uint256,string); it does not sign or send.

func (*TestnetReservelessToken20261029) BuildMint

func (c *TestnetReservelessToken20261029) BuildMint(arg0 common.Address, arg1 *big.Int) (Call, error)

BuildMint builds mint(address,uint256); it does not sign or send.

func (*TestnetReservelessToken20261029) BuildPermit

func (c *TestnetReservelessToken20261029) BuildPermit(arg0 common.Address, arg1 common.Address, arg2 *big.Int, arg3 *big.Int, arg4 uint8, arg5 [32]byte, arg6 [32]byte) (Call, error)

BuildPermit builds permit(address,address,uint256,uint256,uint8,bytes32,bytes32); it does not sign or send.

func (*TestnetReservelessToken20261029) BuildRenounceOwnership

func (c *TestnetReservelessToken20261029) BuildRenounceOwnership() (Call, error)

BuildRenounceOwnership builds renounceOwnership(); it does not sign or send.

func (*TestnetReservelessToken20261029) BuildTransfer

func (c *TestnetReservelessToken20261029) BuildTransfer(arg0 common.Address, arg1 *big.Int) (Call, error)

BuildTransfer builds transfer(address,uint256); it does not sign or send.

func (*TestnetReservelessToken20261029) BuildTransferFrom

func (c *TestnetReservelessToken20261029) BuildTransferFrom(arg0 common.Address, arg1 common.Address, arg2 *big.Int) (Call, error)

BuildTransferFrom builds transferFrom(address,address,uint256); it does not sign or send.

func (*TestnetReservelessToken20261029) BuildTransferOwnership

func (c *TestnetReservelessToken20261029) BuildTransferOwnership(arg0 common.Address) (Call, error)

BuildTransferOwnership builds transferOwnership(address); it does not sign or send.

func (*TestnetReservelessToken20261029) ReadAllowance

ReadAllowance calls allowance(address,address).

func (*TestnetReservelessToken20261029) ReadBalanceOf

ReadBalanceOf calls balanceOf(address).

func (*TestnetReservelessToken20261029) ReadBurnable

ReadBurnable calls burnable().

func (*TestnetReservelessToken20261029) ReadCap

ReadCap calls cap().

func (*TestnetReservelessToken20261029) ReadDOMAIN_SEPARATOR

ReadDOMAIN_SEPARATOR calls DOMAIN_SEPARATOR().

func (*TestnetReservelessToken20261029) ReadDecimals

ReadDecimals calls decimals().

func (*TestnetReservelessToken20261029) ReadEip712Domain

ReadEip712Domain calls eip712Domain().

func (*TestnetReservelessToken20261029) ReadIdentity

ReadIdentity calls identity().

func (*TestnetReservelessToken20261029) ReadMintable

ReadMintable calls mintable().

func (*TestnetReservelessToken20261029) ReadName

ReadName calls name().

func (*TestnetReservelessToken20261029) ReadNonces

ReadNonces calls nonces(address).

func (*TestnetReservelessToken20261029) ReadOwner

ReadOwner calls owner().

func (*TestnetReservelessToken20261029) ReadPERMIT_TYPEHASH

ReadPERMIT_TYPEHASH calls PERMIT_TYPEHASH().

func (*TestnetReservelessToken20261029) ReadPermitHash

ReadPermitHash calls permitHash(address,address,uint256,uint256,uint256).

func (*TestnetReservelessToken20261029) ReadSymbol

ReadSymbol calls symbol().

func (*TestnetReservelessToken20261029) ReadTotalSupply

ReadTotalSupply calls totalSupply().

func (*TestnetReservelessToken20261029) ReadWithCap

ReadWithCap calls withCap().

type TestnetReservelessToken20261029AllowanceResult

type TestnetReservelessToken20261029AllowanceResult struct{ Value0 *big.Int }

type TestnetReservelessToken20261029BalanceOfResult

type TestnetReservelessToken20261029BalanceOfResult struct{ Value0 *big.Int }

type TestnetReservelessToken20261029BurnableResult

type TestnetReservelessToken20261029BurnableResult struct{ Value0 bool }

type TestnetReservelessToken20261029CapResult

type TestnetReservelessToken20261029CapResult struct{ Value0 *big.Int }

type TestnetReservelessToken20261029DOMAIN_SEPARATORResult

type TestnetReservelessToken20261029DOMAIN_SEPARATORResult struct{ Value0 [32]byte }

type TestnetReservelessToken20261029DecimalsResult

type TestnetReservelessToken20261029DecimalsResult struct{ Value0 uint8 }

type TestnetReservelessToken20261029Eip712DomainResult

type TestnetReservelessToken20261029Eip712DomainResult struct {
	Value0 [1]byte
	Value1 string
	Value2 string
	Value3 *big.Int
	Value4 common.Address
	Value5 [32]byte
	Value6 []*big.Int
}

type TestnetReservelessToken20261029IdentityResult

type TestnetReservelessToken20261029IdentityResult struct{ Value0 string }

type TestnetReservelessToken20261029MintableResult

type TestnetReservelessToken20261029MintableResult struct{ Value0 bool }

type TestnetReservelessToken20261029NameResult

type TestnetReservelessToken20261029NameResult struct{ Value0 string }

type TestnetReservelessToken20261029NoncesResult

type TestnetReservelessToken20261029NoncesResult struct{ Value0 *big.Int }

type TestnetReservelessToken20261029OwnerResult

type TestnetReservelessToken20261029OwnerResult struct{ Value0 common.Address }

type TestnetReservelessToken20261029PERMIT_TYPEHASHResult

type TestnetReservelessToken20261029PERMIT_TYPEHASHResult struct{ Value0 [32]byte }

type TestnetReservelessToken20261029PermitHashResult

type TestnetReservelessToken20261029PermitHashResult struct{ Value0 [32]byte }

type TestnetReservelessToken20261029SymbolResult

type TestnetReservelessToken20261029SymbolResult struct{ Value0 string }

type TestnetReservelessToken20261029TotalSupplyResult

type TestnetReservelessToken20261029TotalSupplyResult struct{ Value0 *big.Int }

type TestnetReservelessToken20261029WithCapResult

type TestnetReservelessToken20261029WithCapResult struct{ Value0 bool }

type TestnetSafe20261029

type TestnetSafe20261029 struct{ *Contract }

func (*TestnetSafe20261029) BuildAddOwnerWithThreshold

func (c *TestnetSafe20261029) BuildAddOwnerWithThreshold(arg0 TestnetSafe20261029AddOwnerWithThresholdArg0, arg1 *big.Int) (Call, error)

BuildAddOwnerWithThreshold builds addOwnerWithThreshold((address,uint256),uint256); it does not sign or send.

func (*TestnetSafe20261029) BuildApproveHash

BuildApproveHash builds approveHash((address,uint256,bytes,uint8,uint256,uint256,uint256,address,address,uint256)); it does not sign or send.

func (*TestnetSafe20261029) BuildChangeWeightThreshold

func (c *TestnetSafe20261029) BuildChangeWeightThreshold(arg0 *big.Int) (Call, error)

BuildChangeWeightThreshold builds changeWeightThreshold(uint256); it does not sign or send.

func (*TestnetSafe20261029) BuildDisableModule

func (c *TestnetSafe20261029) BuildDisableModule(arg0 common.Address, arg1 common.Address) (Call, error)

BuildDisableModule builds disableModule(address,address); it does not sign or send.

func (*TestnetSafe20261029) BuildEnableModule

func (c *TestnetSafe20261029) BuildEnableModule(arg0 common.Address) (Call, error)

BuildEnableModule builds enableModule(address); it does not sign or send.

func (*TestnetSafe20261029) BuildExecTransaction

func (c *TestnetSafe20261029) BuildExecTransaction(value *big.Int, arg0 common.Address, arg1 *big.Int, arg2 []byte, arg3 uint8, arg4 *big.Int, arg5 *big.Int, arg6 *big.Int, arg7 common.Address, arg8 common.Address, arg9 []byte) (Call, error)

BuildExecTransaction builds execTransaction(address,uint256,bytes,uint8,uint256,uint256,uint256,address,address,bytes); it does not sign or send.

func (*TestnetSafe20261029) BuildExecTransactionFromModule

func (c *TestnetSafe20261029) BuildExecTransactionFromModule(arg0 common.Address, arg1 *big.Int, arg2 []byte, arg3 uint8) (Call, error)

BuildExecTransactionFromModule builds execTransactionFromModule(address,uint256,bytes,uint8); it does not sign or send.

func (*TestnetSafe20261029) BuildExecTransactionFromModuleReturnData

func (c *TestnetSafe20261029) BuildExecTransactionFromModuleReturnData(arg0 common.Address, arg1 *big.Int, arg2 []byte, arg3 uint8) (Call, error)

BuildExecTransactionFromModuleReturnData builds execTransactionFromModuleReturnData(address,uint256,bytes,uint8); it does not sign or send.

func (*TestnetSafe20261029) BuildRemoveOwner

func (c *TestnetSafe20261029) BuildRemoveOwner(arg0 common.Address, arg1 common.Address, arg2 *big.Int) (Call, error)

BuildRemoveOwner builds removeOwner(address,address,uint256); it does not sign or send.

func (*TestnetSafe20261029) BuildSetFallbackHandler

func (c *TestnetSafe20261029) BuildSetFallbackHandler(arg0 common.Address) (Call, error)

BuildSetFallbackHandler builds setFallbackHandler(address); it does not sign or send.

func (*TestnetSafe20261029) BuildSetGuard

func (c *TestnetSafe20261029) BuildSetGuard(arg0 common.Address) (Call, error)

BuildSetGuard builds setGuard(address); it does not sign or send.

func (*TestnetSafe20261029) BuildSetModuleGuard

func (c *TestnetSafe20261029) BuildSetModuleGuard(arg0 common.Address) (Call, error)

BuildSetModuleGuard builds setModuleGuard(address); it does not sign or send.

func (*TestnetSafe20261029) BuildSetup

func (c *TestnetSafe20261029) BuildSetup(arg0 []TestnetSafe20261029SetupArg0, arg1 *big.Int, arg2 common.Address, arg3 []byte, arg4 common.Address, arg5 common.Address, arg6 *big.Int, arg7 common.Address) (Call, error)

BuildSetup builds setup((address,uint256)[],uint256,address,bytes,address,address,uint256,address); it does not sign or send.

func (*TestnetSafe20261029) BuildSimulateAndRevert

func (c *TestnetSafe20261029) BuildSimulateAndRevert(arg0 common.Address, arg1 []byte) (Call, error)

BuildSimulateAndRevert builds simulateAndRevert(address,bytes); it does not sign or send.

func (*TestnetSafe20261029) BuildSwapOwner

func (c *TestnetSafe20261029) BuildSwapOwner(arg0 common.Address, arg1 common.Address, arg2 common.Address) (Call, error)

BuildSwapOwner builds swapOwner(address,address,address); it does not sign or send.

func (*TestnetSafe20261029) ReadApprovedHashes

ReadApprovedHashes calls approvedHashes(address,bytes32).

func (*TestnetSafe20261029) ReadCheckNSignatures

func (c *TestnetSafe20261029) ReadCheckNSignatures(ctx context.Context, arg0 common.Address, arg1 [32]byte, arg2 []byte, arg3 *big.Int) (TestnetSafe20261029CheckNSignaturesResult, error)

ReadCheckNSignatures calls checkNSignatures(address,bytes32,bytes,uint256).

func (*TestnetSafe20261029) ReadCheckNSignatures1

func (c *TestnetSafe20261029) ReadCheckNSignatures1(ctx context.Context, arg0 [32]byte, arg1 []byte, arg2 []byte, arg3 *big.Int) (TestnetSafe20261029CheckNSignatures1Result, error)

ReadCheckNSignatures1 calls checkNSignatures(bytes32,bytes,bytes,uint256).

func (*TestnetSafe20261029) ReadCheckSignatures

func (c *TestnetSafe20261029) ReadCheckSignatures(ctx context.Context, arg0 [32]byte, arg1 []byte) (TestnetSafe20261029CheckSignaturesResult, error)

ReadCheckSignatures calls checkSignatures(bytes32,bytes).

func (*TestnetSafe20261029) ReadCheckSignatures1

func (c *TestnetSafe20261029) ReadCheckSignatures1(ctx context.Context, arg0 [32]byte, arg1 []byte, arg2 []byte) (TestnetSafe20261029CheckSignatures1Result, error)

ReadCheckSignatures1 calls checkSignatures(bytes32,bytes,bytes).

func (*TestnetSafe20261029) ReadDomainSeparator

ReadDomainSeparator calls domainSeparator().

func (*TestnetSafe20261029) ReadGetModulesPaginated

ReadGetModulesPaginated calls getModulesPaginated(address,uint256).

func (*TestnetSafe20261029) ReadGetOwners

ReadGetOwners calls getOwners().

func (*TestnetSafe20261029) ReadGetOwnersWithWeights

ReadGetOwnersWithWeights calls getOwnersWithWeights().

func (*TestnetSafe20261029) ReadGetStorageAt

func (c *TestnetSafe20261029) ReadGetStorageAt(ctx context.Context, arg0 *big.Int, arg1 *big.Int) (TestnetSafe20261029GetStorageAtResult, error)

ReadGetStorageAt calls getStorageAt(uint256,uint256).

func (*TestnetSafe20261029) ReadGetTotalWeight

ReadGetTotalWeight calls getTotalWeight().

func (*TestnetSafe20261029) ReadGetTransactionHash

func (c *TestnetSafe20261029) ReadGetTransactionHash(ctx context.Context, arg0 common.Address, arg1 *big.Int, arg2 []byte, arg3 uint8, arg4 *big.Int, arg5 *big.Int, arg6 *big.Int, arg7 common.Address, arg8 common.Address, arg9 *big.Int) (TestnetSafe20261029GetTransactionHashResult, error)

ReadGetTransactionHash calls getTransactionHash(address,uint256,bytes,uint8,uint256,uint256,uint256,address,address,uint256).

func (*TestnetSafe20261029) ReadGetWeightThreshold

ReadGetWeightThreshold calls getWeightThreshold().

func (*TestnetSafe20261029) ReadIsModuleEnabled

ReadIsModuleEnabled calls isModuleEnabled(address).

func (*TestnetSafe20261029) ReadIsOwner

ReadIsOwner calls isOwner(address).

func (*TestnetSafe20261029) ReadNonce

ReadNonce calls nonce().

func (*TestnetSafe20261029) ReadSignedMessages

func (c *TestnetSafe20261029) ReadSignedMessages(ctx context.Context, arg0 [32]byte) (TestnetSafe20261029SignedMessagesResult, error)

ReadSignedMessages calls signedMessages(bytes32).

func (*TestnetSafe20261029) ReadVERSION

ReadVERSION calls VERSION().

type TestnetSafe20261029AddOwnerWithThresholdArg0

type TestnetSafe20261029AddOwnerWithThresholdArg0 struct {
	Owner  common.Address `abi:"owner"`
	Weight *big.Int       `abi:"weight"`
}

type TestnetSafe20261029ApproveHashArg0

type TestnetSafe20261029ApproveHashArg0 struct {
	To             common.Address `abi:"to"`
	Value          *big.Int       `abi:"value"`
	Data           []byte         `abi:"data"`
	Operation      uint8          `abi:"operation"`
	SafeTxGas      *big.Int       `abi:"safeTxGas"`
	BaseGas        *big.Int       `abi:"baseGas"`
	GasPrice       *big.Int       `abi:"gasPrice"`
	GasToken       common.Address `abi:"gasToken"`
	RefundReceiver common.Address `abi:"refundReceiver"`
	Nonce          *big.Int       `abi:"nonce"`
}

type TestnetSafe20261029ApprovedHashesResult

type TestnetSafe20261029ApprovedHashesResult struct{ Value0 *big.Int }

type TestnetSafe20261029CheckNSignatures1Result

type TestnetSafe20261029CheckNSignatures1Result struct{}

type TestnetSafe20261029CheckNSignaturesResult

type TestnetSafe20261029CheckNSignaturesResult struct{}

type TestnetSafe20261029CheckSignatures1Result

type TestnetSafe20261029CheckSignatures1Result struct{}

type TestnetSafe20261029CheckSignaturesResult

type TestnetSafe20261029CheckSignaturesResult struct{}

type TestnetSafe20261029DomainSeparatorResult

type TestnetSafe20261029DomainSeparatorResult struct{ Value0 [32]byte }

type TestnetSafe20261029GetModulesPaginatedResult

type TestnetSafe20261029GetModulesPaginatedResult struct {
	Value0 []common.Address
	Value1 common.Address
}

type TestnetSafe20261029GetOwnersResult

type TestnetSafe20261029GetOwnersResult struct{ Value0 []common.Address }

type TestnetSafe20261029GetOwnersWithWeightsOutput0

type TestnetSafe20261029GetOwnersWithWeightsOutput0 struct {
	Owner  common.Address `abi:"owner"`
	Weight *big.Int       `abi:"weight"`
}

type TestnetSafe20261029GetOwnersWithWeightsResult

type TestnetSafe20261029GetOwnersWithWeightsResult struct {
	Value0 []TestnetSafe20261029GetOwnersWithWeightsOutput0
}

type TestnetSafe20261029GetStorageAtResult

type TestnetSafe20261029GetStorageAtResult struct{ Value0 []byte }

type TestnetSafe20261029GetTotalWeightResult

type TestnetSafe20261029GetTotalWeightResult struct{ Value0 *big.Int }

type TestnetSafe20261029GetTransactionHashResult

type TestnetSafe20261029GetTransactionHashResult struct{ Value0 [32]byte }

type TestnetSafe20261029GetWeightThresholdResult

type TestnetSafe20261029GetWeightThresholdResult struct{ Value0 *big.Int }

type TestnetSafe20261029IsModuleEnabledResult

type TestnetSafe20261029IsModuleEnabledResult struct{ Value0 bool }

type TestnetSafe20261029IsOwnerResult

type TestnetSafe20261029IsOwnerResult struct{ Value0 bool }

type TestnetSafe20261029NonceResult

type TestnetSafe20261029NonceResult struct{ Value0 *big.Int }

type TestnetSafe20261029SetupArg0

type TestnetSafe20261029SetupArg0 struct {
	Owner  common.Address `abi:"owner"`
	Weight *big.Int       `abi:"weight"`
}

type TestnetSafe20261029SignedMessagesResult

type TestnetSafe20261029SignedMessagesResult struct{ Value0 *big.Int }

type TestnetSafe20261029VERSIONResult

type TestnetSafe20261029VERSIONResult struct{ Value0 string }

type TestnetSafeFactory20261029

type TestnetSafeFactory20261029 struct{ *Contract }

func (*TestnetSafeFactory20261029) BuildCreateChainSpecificProxyWithNonce

func (c *TestnetSafeFactory20261029) BuildCreateChainSpecificProxyWithNonce(arg0 common.Address, arg1 []byte, arg2 *big.Int) (Call, error)

BuildCreateChainSpecificProxyWithNonce builds createChainSpecificProxyWithNonce(address,bytes,uint256); it does not sign or send.

func (*TestnetSafeFactory20261029) BuildCreateProxyWithCallback

func (c *TestnetSafeFactory20261029) BuildCreateProxyWithCallback(arg0 common.Address, arg1 []byte, arg2 *big.Int, arg3 common.Address) (Call, error)

BuildCreateProxyWithCallback builds createProxyWithCallback(address,bytes,uint256,address); it does not sign or send.

func (*TestnetSafeFactory20261029) BuildCreateProxyWithNonce

func (c *TestnetSafeFactory20261029) BuildCreateProxyWithNonce(arg0 common.Address, arg1 []byte, arg2 *big.Int) (Call, error)

BuildCreateProxyWithNonce builds createProxyWithNonce(address,bytes,uint256); it does not sign or send.

func (*TestnetSafeFactory20261029) ReadGetChainId

ReadGetChainId calls getChainId().

func (*TestnetSafeFactory20261029) ReadProxyCreationCode

ReadProxyCreationCode calls proxyCreationCode().

type TestnetSafeFactory20261029GetChainIdResult

type TestnetSafeFactory20261029GetChainIdResult struct{ Value0 *big.Int }

type TestnetSafeFactory20261029ProxyCreationCodeResult

type TestnetSafeFactory20261029ProxyCreationCodeResult struct{ Value0 []byte }

type TestnetSafeMultiSend20261029

type TestnetSafeMultiSend20261029 struct{ *Contract }

func (*TestnetSafeMultiSend20261029) BuildMultiSend

func (c *TestnetSafeMultiSend20261029) BuildMultiSend(value *big.Int, arg0 []byte) (Call, error)

BuildMultiSend builds multiSend(bytes); it does not sign or send.

type TestnetTokenCenter20261029

type TestnetTokenCenter20261029 struct{ *Contract }

func (*TestnetTokenCenter20261029) BuildConvert

func (c *TestnetTokenCenter20261029) BuildConvert(arg0 common.Address, arg1 common.Address, arg2 *big.Int, arg3 *big.Int, arg4 common.Address) (Call, error)

BuildConvert builds convert(address,address,uint256,uint256,address); it does not sign or send.

func (*TestnetTokenCenter20261029) BuildConvert1

func (c *TestnetTokenCenter20261029) BuildConvert1(arg0 common.Address, arg1 common.Address, arg2 *big.Int, arg3 *big.Int, arg4 common.Address, arg5 *big.Int, arg6 uint8, arg7 [32]byte, arg8 [32]byte) (Call, error)

BuildConvert1 builds convert(address,address,uint256,uint256,address,uint256,uint8,bytes32,bytes32); it does not sign or send.

func (*TestnetTokenCenter20261029) BuildCreateToken

BuildCreateToken builds createToken((uint256,uint256,uint256,address,uint8,string,string,string)); it does not sign or send.

func (*TestnetTokenCenter20261029) BuildCreateTokenReserveless

func (c *TestnetTokenCenter20261029) BuildCreateTokenReserveless(arg0 string, arg1 string, arg2 bool, arg3 bool, arg4 *big.Int, arg5 *big.Int, arg6 string) (Call, error)

BuildCreateTokenReserveless builds createTokenReserveless(string,string,bool,bool,uint256,uint256,string); it does not sign or send.

func (*TestnetTokenCenter20261029) BuildInitialize

func (c *TestnetTokenCenter20261029) BuildInitialize() (Call, error)

BuildInitialize builds initialize(); it does not sign or send.

func (*TestnetTokenCenter20261029) BuildPause

func (c *TestnetTokenCenter20261029) BuildPause() (Call, error)

BuildPause builds pause(); it does not sign or send.

func (*TestnetTokenCenter20261029) BuildRenounceOwnership

func (c *TestnetTokenCenter20261029) BuildRenounceOwnership() (Call, error)

BuildRenounceOwnership builds renounceOwnership(); it does not sign or send.

func (*TestnetTokenCenter20261029) BuildSetContractCenter

func (c *TestnetTokenCenter20261029) BuildSetContractCenter(arg0 common.Address) (Call, error)

BuildSetContractCenter builds setContractCenter(address); it does not sign or send.

func (*TestnetTokenCenter20261029) BuildTransferOwnership

func (c *TestnetTokenCenter20261029) BuildTransferOwnership(arg0 common.Address) (Call, error)

BuildTransferOwnership builds transferOwnership(address); it does not sign or send.

func (*TestnetTokenCenter20261029) BuildUnpause

func (c *TestnetTokenCenter20261029) BuildUnpause() (Call, error)

BuildUnpause builds unpause(); it does not sign or send.

func (*TestnetTokenCenter20261029) BuildUpgrade

func (c *TestnetTokenCenter20261029) BuildUpgrade(arg0 common.Address, arg1 []byte) (Call, error)

BuildUpgrade builds upgrade(address,bytes); it does not sign or send.

func (*TestnetTokenCenter20261029) BuildUpgradeToken

func (c *TestnetTokenCenter20261029) BuildUpgradeToken(arg0 common.Address) (Call, error)

BuildUpgradeToken builds upgradeToken(address); it does not sign or send.

func (*TestnetTokenCenter20261029) BuildUpgradeTokenReserveless

func (c *TestnetTokenCenter20261029) BuildUpgradeTokenReserveless(arg0 common.Address) (Call, error)

BuildUpgradeTokenReserveless builds upgradeTokenReserveless(address); it does not sign or send.

func (*TestnetTokenCenter20261029) ReadCalculateBuyInput

func (c *TestnetTokenCenter20261029) ReadCalculateBuyInput(ctx context.Context, arg0 *big.Int, arg1 *big.Int, arg2 *big.Int, arg3 *big.Int) (TestnetTokenCenter20261029CalculateBuyInputResult, error)

ReadCalculateBuyInput calls calculateBuyInput(uint256,uint256,uint256,uint256).

func (*TestnetTokenCenter20261029) ReadCalculateBuyOutput

func (c *TestnetTokenCenter20261029) ReadCalculateBuyOutput(ctx context.Context, arg0 *big.Int, arg1 *big.Int, arg2 *big.Int, arg3 *big.Int) (TestnetTokenCenter20261029CalculateBuyOutputResult, error)

ReadCalculateBuyOutput calls calculateBuyOutput(uint256,uint256,uint256,uint256).

func (*TestnetTokenCenter20261029) ReadCalculateSellInput

func (c *TestnetTokenCenter20261029) ReadCalculateSellInput(ctx context.Context, arg0 *big.Int, arg1 *big.Int, arg2 *big.Int, arg3 *big.Int) (TestnetTokenCenter20261029CalculateSellInputResult, error)

ReadCalculateSellInput calls calculateSellInput(uint256,uint256,uint256,uint256).

func (*TestnetTokenCenter20261029) ReadCalculateSellOutput

func (c *TestnetTokenCenter20261029) ReadCalculateSellOutput(ctx context.Context, arg0 *big.Int, arg1 *big.Int, arg2 *big.Int, arg3 *big.Int) (TestnetTokenCenter20261029CalculateSellOutputResult, error)

ReadCalculateSellOutput calls calculateSellOutput(uint256,uint256,uint256,uint256).

func (*TestnetTokenCenter20261029) ReadGetCommissionSymbol

ReadGetCommissionSymbol calls getCommissionSymbol(string).

func (*TestnetTokenCenter20261029) ReadGetContractCenter

ReadGetContractCenter calls getContractCenter().

func (*TestnetTokenCenter20261029) ReadGetImpl

ReadGetImpl calls getImpl().

func (*TestnetTokenCenter20261029) ReadImplementation

ReadImplementation calls implementation().

func (*TestnetTokenCenter20261029) ReadImplementationReserveless

ReadImplementationReserveless calls implementationReserveless().

func (*TestnetTokenCenter20261029) ReadIsTokenExists

ReadIsTokenExists calls isTokenExists(address).

func (*TestnetTokenCenter20261029) ReadOwner

ReadOwner calls owner().

func (*TestnetTokenCenter20261029) ReadPaused

ReadPaused calls paused().

func (*TestnetTokenCenter20261029) ReadPredict

ReadPredict calls predict(address,bytes32,bytes).

func (*TestnetTokenCenter20261029) ReadTokens

ReadTokens calls tokens(string).

type TestnetTokenCenter20261029CalculateBuyInputResult

type TestnetTokenCenter20261029CalculateBuyInputResult struct{ Value0 *big.Int }

type TestnetTokenCenter20261029CalculateBuyOutputResult

type TestnetTokenCenter20261029CalculateBuyOutputResult struct{ Value0 *big.Int }

type TestnetTokenCenter20261029CalculateSellInputResult

type TestnetTokenCenter20261029CalculateSellInputResult struct{ Value0 *big.Int }

type TestnetTokenCenter20261029CalculateSellOutputResult

type TestnetTokenCenter20261029CalculateSellOutputResult struct{ Value0 *big.Int }

type TestnetTokenCenter20261029CreateTokenArg0

type TestnetTokenCenter20261029CreateTokenArg0 struct {
	InitialMint    *big.Int       `abi:"initialMint"`
	MinTotalSupply *big.Int       `abi:"minTotalSupply"`
	MaxTotalSupply *big.Int       `abi:"maxTotalSupply"`
	Creator        common.Address `abi:"creator"`
	Crr            uint8          `abi:"crr"`
	Identity       string         `abi:"identity"`
	Symbol         string         `abi:"symbol"`
	Name           string         `abi:"name"`
}

type TestnetTokenCenter20261029GetCommissionSymbolResult

type TestnetTokenCenter20261029GetCommissionSymbolResult struct{ Value0 *big.Int }

type TestnetTokenCenter20261029GetContractCenterResult

type TestnetTokenCenter20261029GetContractCenterResult struct{ Value0 common.Address }

type TestnetTokenCenter20261029GetImplResult

type TestnetTokenCenter20261029GetImplResult struct{ Value0 common.Address }

type TestnetTokenCenter20261029ImplementationReservelessResult

type TestnetTokenCenter20261029ImplementationReservelessResult struct{ Value0 common.Address }

type TestnetTokenCenter20261029ImplementationResult

type TestnetTokenCenter20261029ImplementationResult struct{ Value0 common.Address }

type TestnetTokenCenter20261029IsTokenExistsResult

type TestnetTokenCenter20261029IsTokenExistsResult struct{ Value0 bool }

type TestnetTokenCenter20261029OwnerResult

type TestnetTokenCenter20261029OwnerResult struct{ Value0 common.Address }

type TestnetTokenCenter20261029PausedResult

type TestnetTokenCenter20261029PausedResult struct{ Value0 bool }

type TestnetTokenCenter20261029PredictResult

type TestnetTokenCenter20261029PredictResult struct{ Value0 common.Address }

type TestnetTokenCenter20261029TokensResult

type TestnetTokenCenter20261029TokensResult struct{ Value0 common.Address }

type Token

type Token struct{ *Contract }

func (*Token) BuildApprove

func (c *Token) BuildApprove(arg0 common.Address, arg1 *big.Int) (Call, error)

BuildApprove builds approve(address,uint256); it does not sign or send.

func (*Token) BuildBurn

func (c *Token) BuildBurn(arg0 *big.Int) (Call, error)

BuildBurn builds burn(uint256); it does not sign or send.

func (*Token) BuildBuy

func (c *Token) BuildBuy(value *big.Int, arg0 *big.Int, arg1 common.Address) (Call, error)

BuildBuy builds buy(uint256,address); it does not sign or send.

func (*Token) BuildBuyExactTokenForDEL

func (c *Token) BuildBuyExactTokenForDEL(value *big.Int, arg0 *big.Int, arg1 common.Address) (Call, error)

BuildBuyExactTokenForDEL builds buyExactTokenForDEL(uint256,address); it does not sign or send.

func (*Token) BuildBuyTokenForExactDEL

func (c *Token) BuildBuyTokenForExactDEL(value *big.Int, arg0 *big.Int, arg1 common.Address) (Call, error)

BuildBuyTokenForExactDEL builds buyTokenForExactDEL(uint256,address); it does not sign or send.

func (*Token) BuildInitialize

func (c *Token) BuildInitialize(value *big.Int, arg0 string, arg1 string, arg2 common.Address, arg3 uint8, arg4 *big.Int, arg5 *big.Int, arg6 *big.Int, arg7 string) (Call, error)

BuildInitialize builds initialize(string,string,address,uint8,uint256,uint256,uint256,string); it does not sign or send.

func (*Token) BuildPermit

func (c *Token) BuildPermit(arg0 common.Address, arg1 common.Address, arg2 *big.Int, arg3 *big.Int, arg4 uint8, arg5 [32]byte, arg6 [32]byte) (Call, error)

BuildPermit builds permit(address,address,uint256,uint256,uint8,bytes32,bytes32); it does not sign or send.

func (*Token) BuildSell

func (c *Token) BuildSell(arg0 *big.Int, arg1 *big.Int, arg2 common.Address) (Call, error)

BuildSell builds sell(uint256,uint256,address); it does not sign or send.

func (*Token) BuildSellExactTokensForDEL

func (c *Token) BuildSellExactTokensForDEL(arg0 *big.Int, arg1 *big.Int, arg2 common.Address) (Call, error)

BuildSellExactTokensForDEL builds sellExactTokensForDEL(uint256,uint256,address); it does not sign or send.

func (*Token) BuildSellTokensForExactDEL

func (c *Token) BuildSellTokensForExactDEL(arg0 *big.Int, arg1 *big.Int, arg2 common.Address) (Call, error)

BuildSellTokensForExactDEL builds sellTokensForExactDEL(uint256,uint256,address); it does not sign or send.

func (*Token) BuildTransfer

func (c *Token) BuildTransfer(arg0 common.Address, arg1 *big.Int) (Call, error)

BuildTransfer builds transfer(address,uint256); it does not sign or send.

func (*Token) BuildTransferFrom

func (c *Token) BuildTransferFrom(arg0 common.Address, arg1 common.Address, arg2 *big.Int) (Call, error)

BuildTransferFrom builds transferFrom(address,address,uint256); it does not sign or send.

func (*Token) BuildUpdateDetails

func (c *Token) BuildUpdateDetails(arg0 string, arg1 *big.Int) (Call, error)

BuildUpdateDetails builds updateDetails(string,uint256); it does not sign or send.

func (*Token) ReadAllowance

func (c *Token) ReadAllowance(ctx context.Context, arg0 common.Address, arg1 common.Address) (TokenAllowanceResult, error)

ReadAllowance calls allowance(address,address).

func (*Token) ReadBalanceOf

func (c *Token) ReadBalanceOf(ctx context.Context, arg0 common.Address) (TokenBalanceOfResult, error)

ReadBalanceOf calls balanceOf(address).

func (*Token) ReadCREATOR_ROLE

func (c *Token) ReadCREATOR_ROLE(ctx context.Context) (TokenCREATOR_ROLEResult, error)

ReadCREATOR_ROLE calls CREATOR_ROLE().

func (*Token) ReadCalculateBuyInput

func (c *Token) ReadCalculateBuyInput(ctx context.Context, arg0 *big.Int) (TokenCalculateBuyInputResult, error)

ReadCalculateBuyInput calls calculateBuyInput(uint256).

func (*Token) ReadCalculateBuyInput1

func (c *Token) ReadCalculateBuyInput1(ctx context.Context, arg0 *big.Int, arg1 *big.Int, arg2 *big.Int, arg3 *big.Int) (TokenCalculateBuyInput1Result, error)

ReadCalculateBuyInput1 calls calculateBuyInput(uint256,uint256,uint256,uint256).

func (*Token) ReadCalculateBuyOutput

func (c *Token) ReadCalculateBuyOutput(ctx context.Context, arg0 *big.Int) (TokenCalculateBuyOutputResult, error)

ReadCalculateBuyOutput calls calculateBuyOutput(uint256).

func (*Token) ReadCalculateBuyOutput1

func (c *Token) ReadCalculateBuyOutput1(ctx context.Context, arg0 *big.Int, arg1 *big.Int, arg2 *big.Int, arg3 *big.Int) (TokenCalculateBuyOutput1Result, error)

ReadCalculateBuyOutput1 calls calculateBuyOutput(uint256,uint256,uint256,uint256).

func (*Token) ReadCalculateSellInput

func (c *Token) ReadCalculateSellInput(ctx context.Context, arg0 *big.Int) (TokenCalculateSellInputResult, error)

ReadCalculateSellInput calls calculateSellInput(uint256).

func (*Token) ReadCalculateSellInput1

func (c *Token) ReadCalculateSellInput1(ctx context.Context, arg0 *big.Int, arg1 *big.Int, arg2 *big.Int, arg3 *big.Int) (TokenCalculateSellInput1Result, error)

ReadCalculateSellInput1 calls calculateSellInput(uint256,uint256,uint256,uint256).

func (*Token) ReadCalculateSellOutput

func (c *Token) ReadCalculateSellOutput(ctx context.Context, arg0 *big.Int) (TokenCalculateSellOutputResult, error)

ReadCalculateSellOutput calls calculateSellOutput(uint256).

func (*Token) ReadCalculateSellOutput1

func (c *Token) ReadCalculateSellOutput1(ctx context.Context, arg0 *big.Int, arg1 *big.Int, arg2 *big.Int, arg3 *big.Int) (TokenCalculateSellOutput1Result, error)

ReadCalculateSellOutput1 calls calculateSellOutput(uint256,uint256,uint256,uint256).

func (*Token) ReadCreator

func (c *Token) ReadCreator(ctx context.Context) (TokenCreatorResult, error)

ReadCreator calls creator().

func (*Token) ReadCrr

func (c *Token) ReadCrr(ctx context.Context) (TokenCrrResult, error)

ReadCrr calls crr().

func (*Token) ReadDOMAIN_SEPARATOR

func (c *Token) ReadDOMAIN_SEPARATOR(ctx context.Context) (TokenDOMAIN_SEPARATORResult, error)

ReadDOMAIN_SEPARATOR calls DOMAIN_SEPARATOR().

func (*Token) ReadDecimals

func (c *Token) ReadDecimals(ctx context.Context) (TokenDecimalsResult, error)

ReadDecimals calls decimals().

func (*Token) ReadEip712Domain

func (c *Token) ReadEip712Domain(ctx context.Context) (TokenEip712DomainResult, error)

ReadEip712Domain calls eip712Domain().

func (*Token) ReadGetCurrentPrice

func (c *Token) ReadGetCurrentPrice(ctx context.Context) (TokenGetCurrentPriceResult, error)

ReadGetCurrentPrice calls getCurrentPrice().

func (*Token) ReadIdentity

func (c *Token) ReadIdentity(ctx context.Context) (TokenIdentityResult, error)

ReadIdentity calls identity().

func (*Token) ReadMAX_CRR

func (c *Token) ReadMAX_CRR(ctx context.Context) (TokenMAX_CRRResult, error)

ReadMAX_CRR calls MAX_CRR().

func (*Token) ReadMAX_TOTAL_SUPPLY

func (c *Token) ReadMAX_TOTAL_SUPPLY(ctx context.Context) (TokenMAX_TOTAL_SUPPLYResult, error)

ReadMAX_TOTAL_SUPPLY calls MAX_TOTAL_SUPPLY().

func (*Token) ReadMIN_CRR

func (c *Token) ReadMIN_CRR(ctx context.Context) (TokenMIN_CRRResult, error)

ReadMIN_CRR calls MIN_CRR().

func (*Token) ReadMIN_RESERVE

func (c *Token) ReadMIN_RESERVE(ctx context.Context) (TokenMIN_RESERVEResult, error)

ReadMIN_RESERVE calls MIN_RESERVE().

func (*Token) ReadMIN_TOTAL_SUPPLY

func (c *Token) ReadMIN_TOTAL_SUPPLY(ctx context.Context) (TokenMIN_TOTAL_SUPPLYResult, error)

ReadMIN_TOTAL_SUPPLY calls MIN_TOTAL_SUPPLY().

func (*Token) ReadMaxTotalSupply

func (c *Token) ReadMaxTotalSupply(ctx context.Context) (TokenMaxTotalSupplyResult, error)

ReadMaxTotalSupply calls maxTotalSupply().

func (*Token) ReadMinTotalSupply

func (c *Token) ReadMinTotalSupply(ctx context.Context) (TokenMinTotalSupplyResult, error)

ReadMinTotalSupply calls minTotalSupply().

func (*Token) ReadName

func (c *Token) ReadName(ctx context.Context) (TokenNameResult, error)

ReadName calls name().

func (*Token) ReadNonces

func (c *Token) ReadNonces(ctx context.Context, arg0 common.Address) (TokenNoncesResult, error)

ReadNonces calls nonces(address).

func (*Token) ReadPERMIT_TYPEHASH

func (c *Token) ReadPERMIT_TYPEHASH(ctx context.Context) (TokenPERMIT_TYPEHASHResult, error)

ReadPERMIT_TYPEHASH calls PERMIT_TYPEHASH().

func (*Token) ReadPermitHash

func (c *Token) ReadPermitHash(ctx context.Context, arg0 common.Address, arg1 common.Address, arg2 *big.Int, arg3 *big.Int, arg4 *big.Int) (TokenPermitHashResult, error)

ReadPermitHash calls permitHash(address,address,uint256,uint256,uint256).

func (*Token) ReadReserve

func (c *Token) ReadReserve(ctx context.Context) (TokenReserveResult, error)

ReadReserve calls reserve().

func (*Token) ReadSymbol

func (c *Token) ReadSymbol(ctx context.Context) (TokenSymbolResult, error)

ReadSymbol calls symbol().

func (*Token) ReadTotalSupply

func (c *Token) ReadTotalSupply(ctx context.Context) (TokenTotalSupplyResult, error)

ReadTotalSupply calls totalSupply().

type TokenAllowanceResult

type TokenAllowanceResult struct{ Value0 *big.Int }

type TokenBalanceOfResult

type TokenBalanceOfResult struct{ Value0 *big.Int }

type TokenCREATOR_ROLEResult

type TokenCREATOR_ROLEResult struct{ Value0 [32]byte }

type TokenCalculateBuyInput1Result

type TokenCalculateBuyInput1Result struct{ Value0 *big.Int }

type TokenCalculateBuyInputResult

type TokenCalculateBuyInputResult struct{ Value0 *big.Int }

type TokenCalculateBuyOutput1Result

type TokenCalculateBuyOutput1Result struct{ Value0 *big.Int }

type TokenCalculateBuyOutputResult

type TokenCalculateBuyOutputResult struct{ Value0 *big.Int }

type TokenCalculateSellInput1Result

type TokenCalculateSellInput1Result struct{ Value0 *big.Int }

type TokenCalculateSellInputResult

type TokenCalculateSellInputResult struct{ Value0 *big.Int }

type TokenCalculateSellOutput1Result

type TokenCalculateSellOutput1Result struct{ Value0 *big.Int }

type TokenCalculateSellOutputResult

type TokenCalculateSellOutputResult struct{ Value0 *big.Int }

type TokenCenter

type TokenCenter struct{ *Contract }

func (*TokenCenter) BuildConvert

func (c *TokenCenter) BuildConvert(arg0 common.Address, arg1 common.Address, arg2 *big.Int, arg3 *big.Int, arg4 common.Address) (Call, error)

BuildConvert builds convert(address,address,uint256,uint256,address); it does not sign or send.

func (*TokenCenter) BuildConvert1

func (c *TokenCenter) BuildConvert1(arg0 common.Address, arg1 common.Address, arg2 *big.Int, arg3 *big.Int, arg4 common.Address, arg5 *big.Int, arg6 uint8, arg7 [32]byte, arg8 [32]byte) (Call, error)

BuildConvert1 builds convert(address,address,uint256,uint256,address,uint256,uint8,bytes32,bytes32); it does not sign or send.

func (*TokenCenter) BuildCreateToken

func (c *TokenCenter) BuildCreateToken(value *big.Int, arg0 TokenCenterCreateTokenArg0) (Call, error)

BuildCreateToken builds createToken((uint256,uint256,uint256,address,uint8,string,string,string)); it does not sign or send.

func (*TokenCenter) BuildCreateTokenReserveless

func (c *TokenCenter) BuildCreateTokenReserveless(arg0 string, arg1 string, arg2 bool, arg3 bool, arg4 *big.Int, arg5 *big.Int, arg6 string) (Call, error)

BuildCreateTokenReserveless builds createTokenReserveless(string,string,bool,bool,uint256,uint256,string); it does not sign or send.

func (*TokenCenter) BuildInitialize

func (c *TokenCenter) BuildInitialize() (Call, error)

BuildInitialize builds initialize(); it does not sign or send.

func (*TokenCenter) BuildPause

func (c *TokenCenter) BuildPause() (Call, error)

BuildPause builds pause(); it does not sign or send.

func (*TokenCenter) BuildRenounceOwnership

func (c *TokenCenter) BuildRenounceOwnership() (Call, error)

BuildRenounceOwnership builds renounceOwnership(); it does not sign or send.

func (*TokenCenter) BuildSetContractCenter

func (c *TokenCenter) BuildSetContractCenter(arg0 common.Address) (Call, error)

BuildSetContractCenter builds setContractCenter(address); it does not sign or send.

func (*TokenCenter) BuildTransferOwnership

func (c *TokenCenter) BuildTransferOwnership(arg0 common.Address) (Call, error)

BuildTransferOwnership builds transferOwnership(address); it does not sign or send.

func (*TokenCenter) BuildUnpause

func (c *TokenCenter) BuildUnpause() (Call, error)

BuildUnpause builds unpause(); it does not sign or send.

func (*TokenCenter) BuildUpgrade

func (c *TokenCenter) BuildUpgrade(arg0 common.Address, arg1 []byte) (Call, error)

BuildUpgrade builds upgrade(address,bytes); it does not sign or send.

func (*TokenCenter) BuildUpgradeToken

func (c *TokenCenter) BuildUpgradeToken(arg0 common.Address) (Call, error)

BuildUpgradeToken builds upgradeToken(address); it does not sign or send.

func (*TokenCenter) BuildUpgradeTokenReserveless

func (c *TokenCenter) BuildUpgradeTokenReserveless(arg0 common.Address) (Call, error)

BuildUpgradeTokenReserveless builds upgradeTokenReserveless(address); it does not sign or send.

func (*TokenCenter) ReadCalculateBuyInput

func (c *TokenCenter) ReadCalculateBuyInput(ctx context.Context, arg0 *big.Int, arg1 *big.Int, arg2 *big.Int, arg3 *big.Int) (TokenCenterCalculateBuyInputResult, error)

ReadCalculateBuyInput calls calculateBuyInput(uint256,uint256,uint256,uint256).

func (*TokenCenter) ReadCalculateBuyOutput

func (c *TokenCenter) ReadCalculateBuyOutput(ctx context.Context, arg0 *big.Int, arg1 *big.Int, arg2 *big.Int, arg3 *big.Int) (TokenCenterCalculateBuyOutputResult, error)

ReadCalculateBuyOutput calls calculateBuyOutput(uint256,uint256,uint256,uint256).

func (*TokenCenter) ReadCalculateSellInput

func (c *TokenCenter) ReadCalculateSellInput(ctx context.Context, arg0 *big.Int, arg1 *big.Int, arg2 *big.Int, arg3 *big.Int) (TokenCenterCalculateSellInputResult, error)

ReadCalculateSellInput calls calculateSellInput(uint256,uint256,uint256,uint256).

func (*TokenCenter) ReadCalculateSellOutput

func (c *TokenCenter) ReadCalculateSellOutput(ctx context.Context, arg0 *big.Int, arg1 *big.Int, arg2 *big.Int, arg3 *big.Int) (TokenCenterCalculateSellOutputResult, error)

ReadCalculateSellOutput calls calculateSellOutput(uint256,uint256,uint256,uint256).

func (*TokenCenter) ReadGetCommissionSymbol

func (c *TokenCenter) ReadGetCommissionSymbol(ctx context.Context, arg0 string) (TokenCenterGetCommissionSymbolResult, error)

ReadGetCommissionSymbol calls getCommissionSymbol(string).

func (*TokenCenter) ReadGetContractCenter

func (c *TokenCenter) ReadGetContractCenter(ctx context.Context) (TokenCenterGetContractCenterResult, error)

ReadGetContractCenter calls getContractCenter().

func (*TokenCenter) ReadGetImpl

func (c *TokenCenter) ReadGetImpl(ctx context.Context) (TokenCenterGetImplResult, error)

ReadGetImpl calls getImpl().

func (*TokenCenter) ReadImplementation

func (c *TokenCenter) ReadImplementation(ctx context.Context) (TokenCenterImplementationResult, error)

ReadImplementation calls implementation().

func (*TokenCenter) ReadImplementationReserveless

func (c *TokenCenter) ReadImplementationReserveless(ctx context.Context) (TokenCenterImplementationReservelessResult, error)

ReadImplementationReserveless calls implementationReserveless().

func (*TokenCenter) ReadIsTokenExists

func (c *TokenCenter) ReadIsTokenExists(ctx context.Context, arg0 common.Address) (TokenCenterIsTokenExistsResult, error)

ReadIsTokenExists calls isTokenExists(address).

func (*TokenCenter) ReadOwner

ReadOwner calls owner().

func (*TokenCenter) ReadPaused

ReadPaused calls paused().

func (*TokenCenter) ReadPredict

func (c *TokenCenter) ReadPredict(ctx context.Context, arg0 common.Address, arg1 [32]byte, arg2 []byte) (TokenCenterPredictResult, error)

ReadPredict calls predict(address,bytes32,bytes).

func (*TokenCenter) ReadTokens

func (c *TokenCenter) ReadTokens(ctx context.Context, arg0 string) (TokenCenterTokensResult, error)

ReadTokens calls tokens(string).

type TokenCenterCalculateBuyInputResult

type TokenCenterCalculateBuyInputResult struct{ Value0 *big.Int }

type TokenCenterCalculateBuyOutputResult

type TokenCenterCalculateBuyOutputResult struct{ Value0 *big.Int }

type TokenCenterCalculateSellInputResult

type TokenCenterCalculateSellInputResult struct{ Value0 *big.Int }

type TokenCenterCalculateSellOutputResult

type TokenCenterCalculateSellOutputResult struct{ Value0 *big.Int }

type TokenCenterCreateTokenArg0

type TokenCenterCreateTokenArg0 struct {
	InitialMint    *big.Int       `abi:"initialMint"`
	MinTotalSupply *big.Int       `abi:"minTotalSupply"`
	MaxTotalSupply *big.Int       `abi:"maxTotalSupply"`
	Creator        common.Address `abi:"creator"`
	Crr            uint8          `abi:"crr"`
	Identity       string         `abi:"identity"`
	Symbol         string         `abi:"symbol"`
	Name           string         `abi:"name"`
}

type TokenCenterGetCommissionSymbolResult

type TokenCenterGetCommissionSymbolResult struct{ Value0 *big.Int }

type TokenCenterGetContractCenterResult

type TokenCenterGetContractCenterResult struct{ Value0 common.Address }

type TokenCenterGetImplResult

type TokenCenterGetImplResult struct{ Value0 common.Address }

type TokenCenterImplementationReservelessResult

type TokenCenterImplementationReservelessResult struct{ Value0 common.Address }

type TokenCenterImplementationResult

type TokenCenterImplementationResult struct{ Value0 common.Address }

type TokenCenterIsTokenExistsResult

type TokenCenterIsTokenExistsResult struct{ Value0 bool }

type TokenCenterOwnerResult

type TokenCenterOwnerResult struct{ Value0 common.Address }

type TokenCenterPausedResult

type TokenCenterPausedResult struct{ Value0 bool }

type TokenCenterPredictResult

type TokenCenterPredictResult struct{ Value0 common.Address }

type TokenCenterTokensResult

type TokenCenterTokensResult struct{ Value0 common.Address }

type TokenCreatorResult

type TokenCreatorResult struct{ Value0 common.Address }

type TokenCrrResult

type TokenCrrResult struct{ Value0 *big.Int }

type TokenDOMAIN_SEPARATORResult

type TokenDOMAIN_SEPARATORResult struct{ Value0 [32]byte }

type TokenDecimalsResult

type TokenDecimalsResult struct{ Value0 uint8 }

type TokenEip712DomainResult

type TokenEip712DomainResult struct {
	Value0 [1]byte
	Value1 string
	Value2 string
	Value3 *big.Int
	Value4 common.Address
	Value5 [32]byte
	Value6 []*big.Int
}

type TokenGetCurrentPriceResult

type TokenGetCurrentPriceResult struct{ Value0 *big.Int }

type TokenIdentityResult

type TokenIdentityResult struct{ Value0 string }

type TokenMAX_CRRResult

type TokenMAX_CRRResult struct{ Value0 *big.Int }

type TokenMAX_TOTAL_SUPPLYResult

type TokenMAX_TOTAL_SUPPLYResult struct{ Value0 *big.Int }

type TokenMIN_CRRResult

type TokenMIN_CRRResult struct{ Value0 *big.Int }

type TokenMIN_RESERVEResult

type TokenMIN_RESERVEResult struct{ Value0 *big.Int }

type TokenMIN_TOTAL_SUPPLYResult

type TokenMIN_TOTAL_SUPPLYResult struct{ Value0 *big.Int }

type TokenMaxTotalSupplyResult

type TokenMaxTotalSupplyResult struct{ Value0 *big.Int }

type TokenMinTotalSupplyResult

type TokenMinTotalSupplyResult struct{ Value0 *big.Int }

type TokenNameResult

type TokenNameResult struct{ Value0 string }

type TokenNoncesResult

type TokenNoncesResult struct{ Value0 *big.Int }

type TokenPERMIT_TYPEHASHResult

type TokenPERMIT_TYPEHASHResult struct{ Value0 [32]byte }

type TokenPermitHashResult

type TokenPermitHashResult struct{ Value0 [32]byte }

type TokenReserveResult

type TokenReserveResult struct{ Value0 *big.Int }

type TokenSymbolResult

type TokenSymbolResult struct{ Value0 string }

type TokenTotalSupplyResult

type TokenTotalSupplyResult struct{ Value0 *big.Int }

type TxOptions

type TxOptions struct {
	// TxType is explicit: 0 legacy (default), 1 EIP2930, 2 EIP1559.
	TxType                          uint8
	AccessList                      types.AccessList
	FeeCap, TipCap, BaseFeeEstimate *big.Int
	Nonce                           *uint64
	GasLimit                        uint64
	GasMultiplierBPS                uint64
	GasPrice, MaxGasPrice, MaxFee   *big.Int
}

TxOptions defaults to legacy pricing. Typed envelopes require explicit opt-in and a compatible deployment; support is never inferred from a missing base fee. GasMultiplierBPS defaults to 11000.

type UnifiedNFTDelegation

type UnifiedNFTDelegation struct{ *Contract }

UnifiedNFTDelegation explicitly selects the recovery-era unified NFT route. Construction performs no RPC, approval, signing or transaction submission. Historical NFT positions remain accessible through DelegationNFT.

func (*UnifiedNFTDelegation) ApprovalOperator

func (d *UnifiedNFTDelegation) ApprovalOperator() common.Address

ApprovalOperator is the actual action destination, never a legacy NFT address.

func (*UnifiedNFTDelegation) BuildDelegateNFT

func (d *UnifiedNFTDelegation) BuildDelegateNFT(arg0 common.Address, arg1 common.Address, arg2 *big.Int) (Call, error)

BuildDelegateNFT builds delegateNFT(address,address,uint256) offline; it does not approve, sign or send.

func (*UnifiedNFTDelegation) BuildDelegateNFT1155

func (d *UnifiedNFTDelegation) BuildDelegateNFT1155(arg0 common.Address, arg1 common.Address, arg2 *big.Int, arg3 *big.Int) (Call, error)

BuildDelegateNFT1155 builds delegateNFT1155(address,address,uint256,uint256) offline; it does not approve, sign or send.

func (*UnifiedNFTDelegation) BuildDelegateNFT1155Hold

func (d *UnifiedNFTDelegation) BuildDelegateNFT1155Hold(arg0 common.Address, arg1 common.Address, arg2 *big.Int, arg3 *big.Int, arg4 *big.Int) (Call, error)

BuildDelegateNFT1155Hold builds delegateNFT1155Hold(address,address,uint256,uint256,uint256) offline; it does not approve, sign or send.

func (*UnifiedNFTDelegation) BuildDelegateNFTByPermit

func (d *UnifiedNFTDelegation) BuildDelegateNFTByPermit(arg0 common.Address, arg1 common.Address, arg2 *big.Int, arg3 *big.Int, arg4 uint8, arg5 [32]byte, arg6 [32]byte) (Call, error)

BuildDelegateNFTByPermit builds delegateNFTByPermit(address,address,uint256,uint256,uint8,bytes32,bytes32) offline; it does not approve, sign or send.

func (*UnifiedNFTDelegation) BuildDelegateNFTHold

func (d *UnifiedNFTDelegation) BuildDelegateNFTHold(arg0 common.Address, arg1 common.Address, arg2 *big.Int, arg3 *big.Int) (Call, error)

BuildDelegateNFTHold builds delegateNFTHold(address,address,uint256,uint256) offline; it does not approve, sign or send.

func (*UnifiedNFTDelegation) BuildERC721Approval

func (d *UnifiedNFTDelegation) BuildERC721Approval(collection common.Address, tokenID *big.Int) (Call, error)

BuildERC721Approval builds a token-specific approval for this unified operator.

func (*UnifiedNFTDelegation) BuildERC1155ApprovalForAll

func (d *UnifiedNFTDelegation) BuildERC1155ApprovalForAll(collection common.Address) (Call, error)

BuildERC1155ApprovalForAll builds a collection-wide grant to this unified operator. Review this broader approval separately from the action. Nothing is submitted.

func (*UnifiedNFTDelegation) BuildTransferNFT

func (d *UnifiedNFTDelegation) BuildTransferNFT(arg0 common.Address, arg1 common.Address, arg2 *big.Int, arg3 common.Address) (Call, error)

BuildTransferNFT builds transferNFT(address,address,uint256,address) offline; it does not approve, sign or send.

func (*UnifiedNFTDelegation) BuildTransferNFT1155

func (d *UnifiedNFTDelegation) BuildTransferNFT1155(arg0 common.Address, arg1 common.Address, arg2 *big.Int, arg3 common.Address) (Call, error)

BuildTransferNFT1155 builds transferNFT1155(address,address,uint256,address) offline; it does not approve, sign or send.

func (*UnifiedNFTDelegation) BuildTransferNFT1155Hold

func (d *UnifiedNFTDelegation) BuildTransferNFT1155Hold(arg0 common.Address, arg1 common.Address, arg2 *big.Int, arg3 *big.Int, arg4 common.Address) (Call, error)

BuildTransferNFT1155Hold builds transferNFT1155Hold(address,address,uint256,uint256,address) offline; it does not approve, sign or send.

func (*UnifiedNFTDelegation) BuildTransferNFTHold

func (d *UnifiedNFTDelegation) BuildTransferNFTHold(arg0 common.Address, arg1 common.Address, arg2 *big.Int, arg3 *big.Int, arg4 common.Address) (Call, error)

BuildTransferNFTHold builds transferNFTHold(address,address,uint256,uint256,address) offline; it does not approve, sign or send.

func (*UnifiedNFTDelegation) BuildWithdrawNFT

func (d *UnifiedNFTDelegation) BuildWithdrawNFT(arg0 common.Address, arg1 common.Address, arg2 *big.Int) (Call, error)

BuildWithdrawNFT builds withdrawNFT(address,address,uint256) offline; it does not approve, sign or send.

func (*UnifiedNFTDelegation) BuildWithdrawNFT1155

func (d *UnifiedNFTDelegation) BuildWithdrawNFT1155(arg0 common.Address, arg1 common.Address, arg2 *big.Int) (Call, error)

BuildWithdrawNFT1155 builds withdrawNFT1155(address,address,uint256) offline; it does not approve, sign or send.

func (*UnifiedNFTDelegation) BuildWithdrawNFT1155Hold

func (d *UnifiedNFTDelegation) BuildWithdrawNFT1155Hold(arg0 common.Address, arg1 common.Address, arg2 *big.Int, arg3 *big.Int) (Call, error)

BuildWithdrawNFT1155Hold builds withdrawNFT1155Hold(address,address,uint256,uint256) offline; it does not approve, sign or send.

func (*UnifiedNFTDelegation) BuildWithdrawNFTHold

func (d *UnifiedNFTDelegation) BuildWithdrawNFTHold(arg0 common.Address, arg1 common.Address, arg2 *big.Int, arg3 *big.Int) (Call, error)

BuildWithdrawNFTHold builds withdrawNFTHold(address,address,uint256,uint256) offline; it does not approve, sign or send.

func (*UnifiedNFTDelegation) ReadNFTStakeAt

func (d *UnifiedNFTDelegation) ReadNFTStakeAt(ctx context.Context, block *big.Int, nft common.Address, tokenID *big.Int, delegator, validator common.Address, holdTimestamp *big.Int) (NFTStake, error)

func (*UnifiedNFTDelegation) ReadNFTStakeIDAt

func (d *UnifiedNFTDelegation) ReadNFTStakeIDAt(ctx context.Context, block *big.Int, nft common.Address, tokenID *big.Int, delegator, validator common.Address, holdTimestamp *big.Int) ([32]byte, error)

type WithdrawalIndex

type WithdrawalIndex struct {
	Block   *big.Int
	Entries []WithdrawalIndexEntry
}

type WithdrawalIndexEntry

type WithdrawalIndexEntry struct {
	Contract common.Address
	Index    *big.Int
}

Directories

Path Synopsis
cmd
abi-beacon-inspect command
abi-beacon-inspect records standard EIP1967 beacon storage and view-call evidence.
abi-beacon-inspect records standard EIP1967 beacon storage and view-call evidence.
abi-bridge-inspect command
abi-bridge-inspect replays only official read-only GraphQL bridge discovery.
abi-bridge-inspect replays only official read-only GraphQL bridge discovery.
abi-inspect command
abi-inspect records public testnet registry/ABI evidence.
abi-inspect records public testnet registry/ABI evidence.
abi-metadata-inspect command
abi-metadata-inspect reads deployed Solidity metadata and checks content hashes.
abi-metadata-inspect reads deployed Solidity metadata and checks content hashes.
abi-role-inspect command
abi-role-inspect performs fixed read-only role probes at the evidence block.
abi-role-inspect performs fixed read-only role probes at the evidence block.
abi-source-inspect command
abi-source-inspect tests only source-documented read endpoints and GraphQL introspection.
abi-source-inspect tests only source-documented read endpoints and GraphQL introspection.
checks-inspect command
Command checks-inspect reads public historical Checks events; it never signs or sends.
Command checks-inspect reads public historical Checks events; it never signs or sends.
compatibility-inspect command
compatibility-inspect records bounded, block-pinned public RPC reads only.
compatibility-inspect records bounded, block-pinned public RPC reads only.
decimal-inspect command
decimal-inspect performs read-only network checks.
decimal-inspect performs read-only network checks.
decimal-sdk-install command
Command decimal-sdk-install installs the modules advertised by the project release manifest.
Command decimal-sdk-install installs the modules advertised by the project release manifest.
simulation-inspect command
simulation-inspect performs bounded, block-pinned eth_call probes only.
simulation-inspect performs bounded, block-pinned eth_call probes only.
cosmos module
examples
checks_history command
Command checks_history decodes saved public receipt evidence offline.
Command checks_history decodes saved public receipt evidence offline.
checks_signing command
Command checks_signing signs a public fixture and builds calldata offline.
Command checks_signing signs a public fixture and builds calldata offline.
envelopes command
Command envelopes prepares unsigned EVM types 0, 1 and 2 entirely in process.
Command envelopes prepares unsigned EVM types 0, 1 and 2 entirely in process.
offline_transfer command
Command offline_transfer builds a DEL transfer intent without RPC or signing.
Command offline_transfer builds a DEL transfer intent without RPC or signing.
read_balance command
Command read_balance reads a public testnet DEL balance without a signer.
Command read_balance reads a public testnet DEL balance without a signer.
token_transfer command
Command token_transfer builds ERC20 calldata using fixture addresses only.
Command token_transfer builds ERC20 calldata using fixture addresses only.
transactions command
Code generated by tools/generate_transaction_examples.py; DO NOT EDIT.
Code generated by tools/generate_transaction_examples.py; DO NOT EDIT.

Jump to

Keyboard shortcuts

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