RWA

package
v0.0.0-...-a05b099 Latest Latest
Warning

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

Go to latest
Published: Jun 20, 2023 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

View Source
const RWAABI = "" /* 3283-byte string literal not displayed */

RWAABI is the input ABI used to generate the binding from.

Variables

View Source
var File_RWA_RWA_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Approval

type Approval struct {
	Ts  *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=ts,proto3" json:"ts,omitempty"`
	Src []byte                 `protobuf:"bytes,2,opt,name=Src,proto3" json:"Src,omitempty"` //	address
	Guy []byte                 `protobuf:"bytes,3,opt,name=Guy,proto3" json:"Guy,omitempty"` //	address
	Wad []byte                 `protobuf:"bytes,4,opt,name=Wad,proto3" json:"Wad,omitempty"` //	uint256
	// contains filtered or unexported fields
}

func (*Approval) Descriptor deprecated

func (*Approval) Descriptor() ([]byte, []int)

Deprecated: Use Approval.ProtoReflect.Descriptor instead.

func (*Approval) GetGuy

func (x *Approval) GetGuy() []byte

func (*Approval) GetSrc

func (x *Approval) GetSrc() []byte

func (*Approval) GetTs

func (x *Approval) GetTs() *timestamppb.Timestamp

func (*Approval) GetWad

func (x *Approval) GetWad() []byte

func (*Approval) ProtoMessage

func (*Approval) ProtoMessage()

func (*Approval) ProtoReflect

func (x *Approval) ProtoReflect() protoreflect.Message

func (*Approval) Reset

func (x *Approval) Reset()

func (*Approval) String

func (x *Approval) String() string

type RWA

type RWA struct {
	RWACaller     // Read-only binding to the contract
	RWATransactor // Write-only binding to the contract
	RWAFilterer   // Log filterer for contract events
}

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

func NewRWA

func NewRWA(address common.Address, backend bind.ContractBackend) (*RWA, error)

NewRWA creates a new instance of RWA, bound to a specific deployed contract.

type RWAApproval

type RWAApproval struct {
	Src common.Address
	Guy common.Address
	Wad *big.Int
	Raw types.Log // Blockchain specific contextual infos
}

RWAApproval represents a Approval event raised by the RWA contract.

type RWAApprovalIterator

type RWAApprovalIterator struct {
	Event *RWAApproval // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

RWAApprovalIterator is returned from FilterApproval and is used to iterate over the raw logs and unpacked data for Approval events raised by the RWA contract.

func (*RWAApprovalIterator) Close

func (it *RWAApprovalIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*RWAApprovalIterator) Error

func (it *RWAApprovalIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*RWAApprovalIterator) Next

func (it *RWAApprovalIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type RWACaller

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

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

func NewRWACaller

func NewRWACaller(address common.Address, caller bind.ContractCaller) (*RWACaller, error)

NewRWACaller creates a new read-only instance of RWA, bound to a specific deployed contract.

func (*RWACaller) Allowance

func (_RWA *RWACaller) Allowance(opts *bind.CallOpts, arg0 common.Address, arg1 common.Address) (*big.Int, error)

Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.

Solidity: function allowance(address , address ) view returns(uint256)

func (*RWACaller) BalanceOf

func (_RWA *RWACaller) BalanceOf(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)

BalanceOf is a free data retrieval call binding the contract method 0x70a08231.

Solidity: function balanceOf(address ) view returns(uint256)

func (*RWACaller) Decimals

func (_RWA *RWACaller) Decimals(opts *bind.CallOpts) (uint8, error)

Decimals is a free data retrieval call binding the contract method 0x313ce567.

Solidity: function decimals() view returns(uint8)

func (*RWACaller) Name

func (_RWA *RWACaller) Name(opts *bind.CallOpts) (string, error)

Name is a free data retrieval call binding the contract method 0x06fdde03.

Solidity: function name() view returns(string)

func (*RWACaller) Symbol

func (_RWA *RWACaller) Symbol(opts *bind.CallOpts) (string, error)

Symbol is a free data retrieval call binding the contract method 0x95d89b41.

Solidity: function symbol() view returns(string)

func (*RWACaller) TotalSupply

func (_RWA *RWACaller) TotalSupply(opts *bind.CallOpts) (*big.Int, error)

TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.

Solidity: function totalSupply() view returns(uint256)

type RWACallerRaw

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

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

func (*RWACallerRaw) Call

func (_RWA *RWACallerRaw) 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 RWACallerSession

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

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

func (*RWACallerSession) Allowance

func (_RWA *RWACallerSession) Allowance(arg0 common.Address, arg1 common.Address) (*big.Int, error)

Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.

Solidity: function allowance(address , address ) view returns(uint256)

func (*RWACallerSession) BalanceOf

func (_RWA *RWACallerSession) BalanceOf(arg0 common.Address) (*big.Int, error)

BalanceOf is a free data retrieval call binding the contract method 0x70a08231.

Solidity: function balanceOf(address ) view returns(uint256)

func (*RWACallerSession) Decimals

func (_RWA *RWACallerSession) Decimals() (uint8, error)

Decimals is a free data retrieval call binding the contract method 0x313ce567.

Solidity: function decimals() view returns(uint8)

func (*RWACallerSession) Name

func (_RWA *RWACallerSession) Name() (string, error)

Name is a free data retrieval call binding the contract method 0x06fdde03.

Solidity: function name() view returns(string)

func (*RWACallerSession) Symbol

func (_RWA *RWACallerSession) Symbol() (string, error)

Symbol is a free data retrieval call binding the contract method 0x95d89b41.

Solidity: function symbol() view returns(string)

func (*RWACallerSession) TotalSupply

func (_RWA *RWACallerSession) TotalSupply() (*big.Int, error)

TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.

Solidity: function totalSupply() view returns(uint256)

type RWAFilterer

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

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

func NewRWAFilterer

func NewRWAFilterer(address common.Address, filterer bind.ContractFilterer) (*RWAFilterer, error)

NewRWAFilterer creates a new log filterer instance of RWA, bound to a specific deployed contract.

func (*RWAFilterer) FilterApproval

func (_RWA *RWAFilterer) FilterApproval(opts *bind.FilterOpts, src []common.Address, guy []common.Address) (*RWAApprovalIterator, error)

FilterApproval is a free log retrieval operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.

Solidity: event Approval(address indexed src, address indexed guy, uint256 wad)

func (*RWAFilterer) FilterTransfer

func (_RWA *RWAFilterer) FilterTransfer(opts *bind.FilterOpts, src []common.Address, dst []common.Address) (*RWATransferIterator, error)

FilterTransfer is a free log retrieval operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.

Solidity: event Transfer(address indexed src, address indexed dst, uint256 wad)

func (*RWAFilterer) ParseApproval

func (_RWA *RWAFilterer) ParseApproval(log types.Log) (*RWAApproval, error)

ParseApproval is a log parse operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.

Solidity: event Approval(address indexed src, address indexed guy, uint256 wad)

func (*RWAFilterer) ParseTransfer

func (_RWA *RWAFilterer) ParseTransfer(log types.Log) (*RWATransfer, error)

ParseTransfer is a log parse operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.

Solidity: event Transfer(address indexed src, address indexed dst, uint256 wad)

func (*RWAFilterer) WatchApproval

func (_RWA *RWAFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *RWAApproval, src []common.Address, guy []common.Address) (event.Subscription, error)

WatchApproval is a free log subscription operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.

Solidity: event Approval(address indexed src, address indexed guy, uint256 wad)

func (*RWAFilterer) WatchTransfer

func (_RWA *RWAFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *RWATransfer, src []common.Address, dst []common.Address) (event.Subscription, error)

WatchTransfer is a free log subscription operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.

Solidity: event Transfer(address indexed src, address indexed dst, uint256 wad)

type RWARaw

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

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

func (*RWARaw) Call

func (_RWA *RWARaw) 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 (*RWARaw) Transact

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

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

func (*RWARaw) Transfer

func (_RWA *RWARaw) 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 RWASession

type RWASession struct {
	Contract     *RWA              // 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
}

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

func (*RWASession) Allowance

func (_RWA *RWASession) Allowance(arg0 common.Address, arg1 common.Address) (*big.Int, error)

Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.

Solidity: function allowance(address , address ) view returns(uint256)

func (*RWASession) Approve

func (_RWA *RWASession) Approve(usr common.Address, wad *big.Int) (*types.Transaction, error)

Approve is a paid mutator transaction binding the contract method 0x095ea7b3.

Solidity: function approve(address usr, uint256 wad) returns(bool)

func (*RWASession) BalanceOf

func (_RWA *RWASession) BalanceOf(arg0 common.Address) (*big.Int, error)

BalanceOf is a free data retrieval call binding the contract method 0x70a08231.

Solidity: function balanceOf(address ) view returns(uint256)

func (*RWASession) Decimals

func (_RWA *RWASession) Decimals() (uint8, error)

Decimals is a free data retrieval call binding the contract method 0x313ce567.

Solidity: function decimals() view returns(uint8)

func (*RWASession) Name

func (_RWA *RWASession) Name() (string, error)

Name is a free data retrieval call binding the contract method 0x06fdde03.

Solidity: function name() view returns(string)

func (*RWASession) Symbol

func (_RWA *RWASession) Symbol() (string, error)

Symbol is a free data retrieval call binding the contract method 0x95d89b41.

Solidity: function symbol() view returns(string)

func (*RWASession) TotalSupply

func (_RWA *RWASession) TotalSupply() (*big.Int, error)

TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.

Solidity: function totalSupply() view returns(uint256)

func (*RWASession) Transfer

func (_RWA *RWASession) Transfer(dst common.Address, wad *big.Int) (*types.Transaction, error)

Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.

Solidity: function transfer(address dst, uint256 wad) returns(bool)

func (*RWASession) TransferFrom

func (_RWA *RWASession) TransferFrom(src common.Address, dst common.Address, wad *big.Int) (*types.Transaction, error)

TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.

Solidity: function transferFrom(address src, address dst, uint256 wad) returns(bool)

type RWATransactor

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

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

func NewRWATransactor

func NewRWATransactor(address common.Address, transactor bind.ContractTransactor) (*RWATransactor, error)

NewRWATransactor creates a new write-only instance of RWA, bound to a specific deployed contract.

func (*RWATransactor) Approve

func (_RWA *RWATransactor) Approve(opts *bind.TransactOpts, usr common.Address, wad *big.Int) (*types.Transaction, error)

Approve is a paid mutator transaction binding the contract method 0x095ea7b3.

Solidity: function approve(address usr, uint256 wad) returns(bool)

func (*RWATransactor) Transfer

func (_RWA *RWATransactor) Transfer(opts *bind.TransactOpts, dst common.Address, wad *big.Int) (*types.Transaction, error)

Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.

Solidity: function transfer(address dst, uint256 wad) returns(bool)

func (*RWATransactor) TransferFrom

func (_RWA *RWATransactor) TransferFrom(opts *bind.TransactOpts, src common.Address, dst common.Address, wad *big.Int) (*types.Transaction, error)

TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.

Solidity: function transferFrom(address src, address dst, uint256 wad) returns(bool)

type RWATransactorRaw

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

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

func (*RWATransactorRaw) Transact

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

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

func (*RWATransactorRaw) Transfer

func (_RWA *RWATransactorRaw) 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 RWATransactorSession

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

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

func (*RWATransactorSession) Approve

func (_RWA *RWATransactorSession) Approve(usr common.Address, wad *big.Int) (*types.Transaction, error)

Approve is a paid mutator transaction binding the contract method 0x095ea7b3.

Solidity: function approve(address usr, uint256 wad) returns(bool)

func (*RWATransactorSession) Transfer

func (_RWA *RWATransactorSession) Transfer(dst common.Address, wad *big.Int) (*types.Transaction, error)

Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.

Solidity: function transfer(address dst, uint256 wad) returns(bool)

func (*RWATransactorSession) TransferFrom

func (_RWA *RWATransactorSession) TransferFrom(src common.Address, dst common.Address, wad *big.Int) (*types.Transaction, error)

TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.

Solidity: function transferFrom(address src, address dst, uint256 wad) returns(bool)

type RWATransfer

type RWATransfer struct {
	Src common.Address
	Dst common.Address
	Wad *big.Int
	Raw types.Log // Blockchain specific contextual infos
}

RWATransfer represents a Transfer event raised by the RWA contract.

type RWATransferIterator

type RWATransferIterator struct {
	Event *RWATransfer // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

RWATransferIterator is returned from FilterTransfer and is used to iterate over the raw logs and unpacked data for Transfer events raised by the RWA contract.

func (*RWATransferIterator) Close

func (it *RWATransferIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*RWATransferIterator) Error

func (it *RWATransferIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*RWATransferIterator) Next

func (it *RWATransferIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type SmartContract

type SmartContract struct{}

func (*SmartContract) Message

func (sc *SmartContract) Message(eventName string, contractAbi *abi.ABI, vLog types.Log, timestamp *timestamppb.Timestamp) protoreflect.ProtoMessage

type Transfer

type Transfer struct {
	Ts  *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=ts,proto3" json:"ts,omitempty"`
	Src []byte                 `protobuf:"bytes,2,opt,name=Src,proto3" json:"Src,omitempty"` //	address
	Dst []byte                 `protobuf:"bytes,3,opt,name=Dst,proto3" json:"Dst,omitempty"` //	address
	Wad []byte                 `protobuf:"bytes,4,opt,name=Wad,proto3" json:"Wad,omitempty"` //	uint256
	// contains filtered or unexported fields
}

func (*Transfer) Descriptor deprecated

func (*Transfer) Descriptor() ([]byte, []int)

Deprecated: Use Transfer.ProtoReflect.Descriptor instead.

func (*Transfer) GetDst

func (x *Transfer) GetDst() []byte

func (*Transfer) GetSrc

func (x *Transfer) GetSrc() []byte

func (*Transfer) GetTs

func (x *Transfer) GetTs() *timestamppb.Timestamp

func (*Transfer) GetWad

func (x *Transfer) GetWad() []byte

func (*Transfer) ProtoMessage

func (*Transfer) ProtoMessage()

func (*Transfer) ProtoReflect

func (x *Transfer) ProtoReflect() protoreflect.Message

func (*Transfer) Reset

func (x *Transfer) Reset()

func (*Transfer) String

func (x *Transfer) String() string

Jump to

Keyboard shortcuts

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