RenBTC

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 RENBTCABI = "" /* 2333-byte string literal not displayed */

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

Variables

View Source
var File_RenBTC_RenBTC_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type AdminChanged

type AdminChanged struct {
	Ts            *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=ts,proto3" json:"ts,omitempty"`
	PreviousAdmin []byte                 `protobuf:"bytes,2,opt,name=PreviousAdmin,proto3" json:"PreviousAdmin,omitempty"` //	address
	NewAdmin      []byte                 `protobuf:"bytes,3,opt,name=NewAdmin,proto3" json:"NewAdmin,omitempty"`           //	address
	// contains filtered or unexported fields
}

func (*AdminChanged) Descriptor deprecated

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

Deprecated: Use AdminChanged.ProtoReflect.Descriptor instead.

func (*AdminChanged) GetNewAdmin

func (x *AdminChanged) GetNewAdmin() []byte

func (*AdminChanged) GetPreviousAdmin

func (x *AdminChanged) GetPreviousAdmin() []byte

func (*AdminChanged) GetTs

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

func (*AdminChanged) ProtoMessage

func (*AdminChanged) ProtoMessage()

func (*AdminChanged) ProtoReflect

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

func (*AdminChanged) Reset

func (x *AdminChanged) Reset()

func (*AdminChanged) String

func (x *AdminChanged) String() string

type RENBTC

type RENBTC struct {
	RENBTCCaller     // Read-only binding to the contract
	RENBTCTransactor // Write-only binding to the contract
	RENBTCFilterer   // Log filterer for contract events
}

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

func NewRENBTC

func NewRENBTC(address common.Address, backend bind.ContractBackend) (*RENBTC, error)

NewRENBTC creates a new instance of RENBTC, bound to a specific deployed contract.

type RENBTCAdminChanged

type RENBTCAdminChanged struct {
	PreviousAdmin common.Address
	NewAdmin      common.Address
	Raw           types.Log // Blockchain specific contextual infos
}

RENBTCAdminChanged represents a AdminChanged event raised by the RENBTC contract.

type RENBTCAdminChangedIterator

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

RENBTCAdminChangedIterator is returned from FilterAdminChanged and is used to iterate over the raw logs and unpacked data for AdminChanged events raised by the RENBTC contract.

func (*RENBTCAdminChangedIterator) Close

func (it *RENBTCAdminChangedIterator) Close() error

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

func (*RENBTCAdminChangedIterator) Error

func (it *RENBTCAdminChangedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*RENBTCAdminChangedIterator) Next

func (it *RENBTCAdminChangedIterator) 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 RENBTCCaller

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

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

func NewRENBTCCaller

func NewRENBTCCaller(address common.Address, caller bind.ContractCaller) (*RENBTCCaller, error)

NewRENBTCCaller creates a new read-only instance of RENBTC, bound to a specific deployed contract.

type RENBTCCallerRaw

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

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

func (*RENBTCCallerRaw) Call

func (_RENBTC *RENBTCCallerRaw) 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 RENBTCCallerSession

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

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

type RENBTCFilterer

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

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

func NewRENBTCFilterer

func NewRENBTCFilterer(address common.Address, filterer bind.ContractFilterer) (*RENBTCFilterer, error)

NewRENBTCFilterer creates a new log filterer instance of RENBTC, bound to a specific deployed contract.

func (*RENBTCFilterer) FilterAdminChanged

func (_RENBTC *RENBTCFilterer) FilterAdminChanged(opts *bind.FilterOpts) (*RENBTCAdminChangedIterator, error)

FilterAdminChanged is a free log retrieval operation binding the contract event 0x7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f.

Solidity: event AdminChanged(address previousAdmin, address newAdmin)

func (*RENBTCFilterer) FilterUpgraded

func (_RENBTC *RENBTCFilterer) FilterUpgraded(opts *bind.FilterOpts, implementation []common.Address) (*RENBTCUpgradedIterator, error)

FilterUpgraded is a free log retrieval operation binding the contract event 0xbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b.

Solidity: event Upgraded(address indexed implementation)

func (*RENBTCFilterer) ParseAdminChanged

func (_RENBTC *RENBTCFilterer) ParseAdminChanged(log types.Log) (*RENBTCAdminChanged, error)

ParseAdminChanged is a log parse operation binding the contract event 0x7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f.

Solidity: event AdminChanged(address previousAdmin, address newAdmin)

func (*RENBTCFilterer) ParseUpgraded

func (_RENBTC *RENBTCFilterer) ParseUpgraded(log types.Log) (*RENBTCUpgraded, error)

ParseUpgraded is a log parse operation binding the contract event 0xbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b.

Solidity: event Upgraded(address indexed implementation)

func (*RENBTCFilterer) WatchAdminChanged

func (_RENBTC *RENBTCFilterer) WatchAdminChanged(opts *bind.WatchOpts, sink chan<- *RENBTCAdminChanged) (event.Subscription, error)

WatchAdminChanged is a free log subscription operation binding the contract event 0x7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f.

Solidity: event AdminChanged(address previousAdmin, address newAdmin)

func (*RENBTCFilterer) WatchUpgraded

func (_RENBTC *RENBTCFilterer) WatchUpgraded(opts *bind.WatchOpts, sink chan<- *RENBTCUpgraded, implementation []common.Address) (event.Subscription, error)

WatchUpgraded is a free log subscription operation binding the contract event 0xbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b.

Solidity: event Upgraded(address indexed implementation)

type RENBTCRaw

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

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

func (*RENBTCRaw) Call

func (_RENBTC *RENBTCRaw) 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 (*RENBTCRaw) Transact

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

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

func (*RENBTCRaw) Transfer

func (_RENBTC *RENBTCRaw) 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 RENBTCSession

type RENBTCSession struct {
	Contract     *RENBTC           // 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
}

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

func (*RENBTCSession) Admin

func (_RENBTC *RENBTCSession) Admin() (*types.Transaction, error)

Admin is a paid mutator transaction binding the contract method 0xf851a440.

Solidity: function admin() returns(address)

func (*RENBTCSession) ChangeAdmin

func (_RENBTC *RENBTCSession) ChangeAdmin(newAdmin common.Address) (*types.Transaction, error)

ChangeAdmin is a paid mutator transaction binding the contract method 0x8f283970.

Solidity: function changeAdmin(address newAdmin) returns()

func (*RENBTCSession) Fallback

func (_RENBTC *RENBTCSession) Fallback(calldata []byte) (*types.Transaction, error)

Fallback is a paid mutator transaction binding the contract fallback function.

Solidity: fallback() payable returns()

func (*RENBTCSession) Implementation

func (_RENBTC *RENBTCSession) Implementation() (*types.Transaction, error)

Implementation is a paid mutator transaction binding the contract method 0x5c60da1b.

Solidity: function implementation() returns(address)

func (*RENBTCSession) Initialize

func (_RENBTC *RENBTCSession) Initialize(_logic common.Address, _admin common.Address, _data []byte) (*types.Transaction, error)

Initialize is a paid mutator transaction binding the contract method 0xcf7a1d77.

Solidity: function initialize(address _logic, address _admin, bytes _data) payable returns()

func (*RENBTCSession) Initialize0

func (_RENBTC *RENBTCSession) Initialize0(_logic common.Address, _data []byte) (*types.Transaction, error)

Initialize0 is a paid mutator transaction binding the contract method 0xd1f57894.

Solidity: function initialize(address _logic, bytes _data) payable returns()

func (*RENBTCSession) UpgradeTo

func (_RENBTC *RENBTCSession) UpgradeTo(newImplementation common.Address) (*types.Transaction, error)

UpgradeTo is a paid mutator transaction binding the contract method 0x3659cfe6.

Solidity: function upgradeTo(address newImplementation) returns()

func (*RENBTCSession) UpgradeToAndCall

func (_RENBTC *RENBTCSession) UpgradeToAndCall(newImplementation common.Address, data []byte) (*types.Transaction, error)

UpgradeToAndCall is a paid mutator transaction binding the contract method 0x4f1ef286.

Solidity: function upgradeToAndCall(address newImplementation, bytes data) payable returns()

type RENBTCTransactor

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

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

func NewRENBTCTransactor

func NewRENBTCTransactor(address common.Address, transactor bind.ContractTransactor) (*RENBTCTransactor, error)

NewRENBTCTransactor creates a new write-only instance of RENBTC, bound to a specific deployed contract.

func (*RENBTCTransactor) Admin

func (_RENBTC *RENBTCTransactor) Admin(opts *bind.TransactOpts) (*types.Transaction, error)

Admin is a paid mutator transaction binding the contract method 0xf851a440.

Solidity: function admin() returns(address)

func (*RENBTCTransactor) ChangeAdmin

func (_RENBTC *RENBTCTransactor) ChangeAdmin(opts *bind.TransactOpts, newAdmin common.Address) (*types.Transaction, error)

ChangeAdmin is a paid mutator transaction binding the contract method 0x8f283970.

Solidity: function changeAdmin(address newAdmin) returns()

func (*RENBTCTransactor) Fallback

func (_RENBTC *RENBTCTransactor) Fallback(opts *bind.TransactOpts, calldata []byte) (*types.Transaction, error)

Fallback is a paid mutator transaction binding the contract fallback function.

Solidity: fallback() payable returns()

func (*RENBTCTransactor) Implementation

func (_RENBTC *RENBTCTransactor) Implementation(opts *bind.TransactOpts) (*types.Transaction, error)

Implementation is a paid mutator transaction binding the contract method 0x5c60da1b.

Solidity: function implementation() returns(address)

func (*RENBTCTransactor) Initialize

func (_RENBTC *RENBTCTransactor) Initialize(opts *bind.TransactOpts, _logic common.Address, _admin common.Address, _data []byte) (*types.Transaction, error)

Initialize is a paid mutator transaction binding the contract method 0xcf7a1d77.

Solidity: function initialize(address _logic, address _admin, bytes _data) payable returns()

func (*RENBTCTransactor) Initialize0

func (_RENBTC *RENBTCTransactor) Initialize0(opts *bind.TransactOpts, _logic common.Address, _data []byte) (*types.Transaction, error)

Initialize0 is a paid mutator transaction binding the contract method 0xd1f57894.

Solidity: function initialize(address _logic, bytes _data) payable returns()

func (*RENBTCTransactor) UpgradeTo

func (_RENBTC *RENBTCTransactor) UpgradeTo(opts *bind.TransactOpts, newImplementation common.Address) (*types.Transaction, error)

UpgradeTo is a paid mutator transaction binding the contract method 0x3659cfe6.

Solidity: function upgradeTo(address newImplementation) returns()

func (*RENBTCTransactor) UpgradeToAndCall

func (_RENBTC *RENBTCTransactor) UpgradeToAndCall(opts *bind.TransactOpts, newImplementation common.Address, data []byte) (*types.Transaction, error)

UpgradeToAndCall is a paid mutator transaction binding the contract method 0x4f1ef286.

Solidity: function upgradeToAndCall(address newImplementation, bytes data) payable returns()

type RENBTCTransactorRaw

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

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

func (*RENBTCTransactorRaw) Transact

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

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

func (*RENBTCTransactorRaw) Transfer

func (_RENBTC *RENBTCTransactorRaw) 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 RENBTCTransactorSession

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

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

func (*RENBTCTransactorSession) Admin

func (_RENBTC *RENBTCTransactorSession) Admin() (*types.Transaction, error)

Admin is a paid mutator transaction binding the contract method 0xf851a440.

Solidity: function admin() returns(address)

func (*RENBTCTransactorSession) ChangeAdmin

func (_RENBTC *RENBTCTransactorSession) ChangeAdmin(newAdmin common.Address) (*types.Transaction, error)

ChangeAdmin is a paid mutator transaction binding the contract method 0x8f283970.

Solidity: function changeAdmin(address newAdmin) returns()

func (*RENBTCTransactorSession) Fallback

func (_RENBTC *RENBTCTransactorSession) Fallback(calldata []byte) (*types.Transaction, error)

Fallback is a paid mutator transaction binding the contract fallback function.

Solidity: fallback() payable returns()

func (*RENBTCTransactorSession) Implementation

func (_RENBTC *RENBTCTransactorSession) Implementation() (*types.Transaction, error)

Implementation is a paid mutator transaction binding the contract method 0x5c60da1b.

Solidity: function implementation() returns(address)

func (*RENBTCTransactorSession) Initialize

func (_RENBTC *RENBTCTransactorSession) Initialize(_logic common.Address, _admin common.Address, _data []byte) (*types.Transaction, error)

Initialize is a paid mutator transaction binding the contract method 0xcf7a1d77.

Solidity: function initialize(address _logic, address _admin, bytes _data) payable returns()

func (*RENBTCTransactorSession) Initialize0

func (_RENBTC *RENBTCTransactorSession) Initialize0(_logic common.Address, _data []byte) (*types.Transaction, error)

Initialize0 is a paid mutator transaction binding the contract method 0xd1f57894.

Solidity: function initialize(address _logic, bytes _data) payable returns()

func (*RENBTCTransactorSession) UpgradeTo

func (_RENBTC *RENBTCTransactorSession) UpgradeTo(newImplementation common.Address) (*types.Transaction, error)

UpgradeTo is a paid mutator transaction binding the contract method 0x3659cfe6.

Solidity: function upgradeTo(address newImplementation) returns()

func (*RENBTCTransactorSession) UpgradeToAndCall

func (_RENBTC *RENBTCTransactorSession) UpgradeToAndCall(newImplementation common.Address, data []byte) (*types.Transaction, error)

UpgradeToAndCall is a paid mutator transaction binding the contract method 0x4f1ef286.

Solidity: function upgradeToAndCall(address newImplementation, bytes data) payable returns()

type RENBTCUpgraded

type RENBTCUpgraded struct {
	Implementation common.Address
	Raw            types.Log // Blockchain specific contextual infos
}

RENBTCUpgraded represents a Upgraded event raised by the RENBTC contract.

type RENBTCUpgradedIterator

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

RENBTCUpgradedIterator is returned from FilterUpgraded and is used to iterate over the raw logs and unpacked data for Upgraded events raised by the RENBTC contract.

func (*RENBTCUpgradedIterator) Close

func (it *RENBTCUpgradedIterator) Close() error

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

func (*RENBTCUpgradedIterator) Error

func (it *RENBTCUpgradedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*RENBTCUpgradedIterator) Next

func (it *RENBTCUpgradedIterator) 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 Upgraded

type Upgraded struct {
	Ts             *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=ts,proto3" json:"ts,omitempty"`
	Implementation []byte                 `protobuf:"bytes,2,opt,name=Implementation,proto3" json:"Implementation,omitempty"` //	address
	// contains filtered or unexported fields
}

func (*Upgraded) Descriptor deprecated

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

Deprecated: Use Upgraded.ProtoReflect.Descriptor instead.

func (*Upgraded) GetImplementation

func (x *Upgraded) GetImplementation() []byte

func (*Upgraded) GetTs

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

func (*Upgraded) ProtoMessage

func (*Upgraded) ProtoMessage()

func (*Upgraded) ProtoReflect

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

func (*Upgraded) Reset

func (x *Upgraded) Reset()

func (*Upgraded) String

func (x *Upgraded) String() string

Jump to

Keyboard shortcuts

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