safemath

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2024 License: AGPL-3.0, AGPL-3.0-or-later Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var SafemathABI = SafemathMetaData.ABI

SafemathABI is the input ABI used to generate the binding from. Deprecated: Use SafemathMetaData.ABI instead.

View Source
var SafemathBin = SafemathMetaData.Bin

SafemathBin is the compiled bytecode used for deploying new contracts. Deprecated: Use SafemathMetaData.Bin instead.

View Source
var SafemathMetaData = &bind.MetaData{
	ABI: "[]",
	Bin: "0x60636023600b82828239805160001a607314601657fe5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea365627a7a72315820bc4a0febc7ad87043a5959ed7bc6c7b7b25582d3fec6d1117b1e2f3d5866b7356c6578706572696d656e74616cf564736f6c63430005100040",
}

SafemathMetaData contains all meta data concerning the Safemath contract.

Functions

This section is empty.

Types

type Safemath

type Safemath struct {
	SafemathCaller     // Read-only binding to the contract
	SafemathTransactor // Write-only binding to the contract
	SafemathFilterer   // Log filterer for contract events
}

Safemath is an auto generated Go binding around an Ethereum contract.

func DeploySafemath

func DeploySafemath(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *Safemath, error)

DeploySafemath deploys a new Ethereum contract, binding an instance of Safemath to it.

func NewSafemath

func NewSafemath(address common.Address, backend bind.ContractBackend) (*Safemath, error)

NewSafemath creates a new instance of Safemath, bound to a specific deployed contract.

type SafemathCaller

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

SafemathCaller is an auto generated read-only Go binding around an Ethereum contract.

func NewSafemathCaller

func NewSafemathCaller(address common.Address, caller bind.ContractCaller) (*SafemathCaller, error)

NewSafemathCaller creates a new read-only instance of Safemath, bound to a specific deployed contract.

type SafemathCallerRaw

type SafemathCallerRaw struct {
	Contract *SafemathCaller // Generic read-only contract binding to access the raw methods on
}

SafemathCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.

func (*SafemathCallerRaw) Call

func (_Safemath *SafemathCallerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error

Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.

type SafemathCallerSession

type SafemathCallerSession struct {
	Contract *SafemathCaller // Generic contract caller binding to set the session for
	CallOpts bind.CallOpts   // Call options to use throughout this session
}

SafemathCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.

type SafemathFilterer

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

SafemathFilterer is an auto generated log filtering Go binding around an Ethereum contract events.

func NewSafemathFilterer

func NewSafemathFilterer(address common.Address, filterer bind.ContractFilterer) (*SafemathFilterer, error)

NewSafemathFilterer creates a new log filterer instance of Safemath, bound to a specific deployed contract.

type SafemathRaw

type SafemathRaw struct {
	Contract *Safemath // Generic contract binding to access the raw methods on
}

SafemathRaw is an auto generated low-level Go binding around an Ethereum contract.

func (*SafemathRaw) Call

func (_Safemath *SafemathRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error

Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.

func (*SafemathRaw) Transact

func (_Safemath *SafemathRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*SafemathRaw) Transfer

func (_Safemath *SafemathRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.

type SafemathSession

type SafemathSession struct {
	Contract     *Safemath         // Generic contract binding to set the session for
	CallOpts     bind.CallOpts     // Call options to use throughout this session
	TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session
}

SafemathSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.

type SafemathTransactor

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

SafemathTransactor is an auto generated write-only Go binding around an Ethereum contract.

func NewSafemathTransactor

func NewSafemathTransactor(address common.Address, transactor bind.ContractTransactor) (*SafemathTransactor, error)

NewSafemathTransactor creates a new write-only instance of Safemath, bound to a specific deployed contract.

type SafemathTransactorRaw

type SafemathTransactorRaw struct {
	Contract *SafemathTransactor // Generic write-only contract binding to access the raw methods on
}

SafemathTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.

func (*SafemathTransactorRaw) Transact

func (_Safemath *SafemathTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*SafemathTransactorRaw) Transfer

func (_Safemath *SafemathTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.

type SafemathTransactorSession

type SafemathTransactorSession struct {
	Contract     *SafemathTransactor // Generic contract transactor binding to set the session for
	TransactOpts bind.TransactOpts   // Transaction auth options to use throughout this session
}

SafemathTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.

Jump to

Keyboard shortcuts

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