YFi

package
v0.0.0-...-b095981 Latest Latest
Warning

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

Go to latest
Published: Feb 12, 2024 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

View Source
const YFIABI = "" /* 5499-byte string literal not displayed */

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

Variables

View Source
var File_YFi_YFi_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"`
	Owner   []byte                 `protobuf:"bytes,2,opt,name=Owner,proto3" json:"Owner,omitempty"`     //	address
	Spender []byte                 `protobuf:"bytes,3,opt,name=Spender,proto3" json:"Spender,omitempty"` //	address
	Value   []byte                 `protobuf:"bytes,4,opt,name=Value,proto3" json:"Value,omitempty"`     //	uint256
	// contains filtered or unexported fields
}

func (*Approval) Descriptor deprecated

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

Deprecated: Use Approval.ProtoReflect.Descriptor instead.

func (*Approval) GetOwner

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

func (*Approval) GetSpender

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

func (*Approval) GetTs

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

func (*Approval) GetValue

func (x *Approval) GetValue() []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 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"`
	From  []byte                 `protobuf:"bytes,2,opt,name=From,proto3" json:"From,omitempty"`   //	address
	To    []byte                 `protobuf:"bytes,3,opt,name=To,proto3" json:"To,omitempty"`       //	address
	Value []byte                 `protobuf:"bytes,4,opt,name=Value,proto3" json:"Value,omitempty"` //	uint256
	// contains filtered or unexported fields
}

func (*Transfer) Descriptor deprecated

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

Deprecated: Use Transfer.ProtoReflect.Descriptor instead.

func (*Transfer) GetFrom

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

func (*Transfer) GetTo

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

func (*Transfer) GetTs

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

func (*Transfer) GetValue

func (x *Transfer) GetValue() []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

type YFI

type YFI struct {
	YFICaller     // Read-only binding to the contract
	YFITransactor // Write-only binding to the contract
	YFIFilterer   // Log filterer for contract events
}

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

func NewYFI

func NewYFI(address common.Address, backend bind.ContractBackend) (*YFI, error)

NewYFI creates a new instance of YFI, bound to a specific deployed contract.

type YFIApproval

type YFIApproval struct {
	Owner   common.Address
	Spender common.Address
	Value   *big.Int
	Raw     types.Log // Blockchain specific contextual infos
}

YFIApproval represents a Approval event raised by the YFI contract.

type YFIApprovalIterator

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

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

func (*YFIApprovalIterator) Close

func (it *YFIApprovalIterator) Close() error

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

func (*YFIApprovalIterator) Error

func (it *YFIApprovalIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*YFIApprovalIterator) Next

func (it *YFIApprovalIterator) 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 YFICaller

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

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

func NewYFICaller

func NewYFICaller(address common.Address, caller bind.ContractCaller) (*YFICaller, error)

NewYFICaller creates a new read-only instance of YFI, bound to a specific deployed contract.

func (*YFICaller) Allowance

func (_YFI *YFICaller) Allowance(opts *bind.CallOpts, owner common.Address, spender common.Address) (*big.Int, error)

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

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

func (*YFICaller) BalanceOf

func (_YFI *YFICaller) BalanceOf(opts *bind.CallOpts, account common.Address) (*big.Int, error)

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

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

func (*YFICaller) Decimals

func (_YFI *YFICaller) 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 (*YFICaller) Governance

func (_YFI *YFICaller) Governance(opts *bind.CallOpts) (common.Address, error)

Governance is a free data retrieval call binding the contract method 0x5aa6e675.

Solidity: function governance() view returns(address)

func (*YFICaller) Minters

func (_YFI *YFICaller) Minters(opts *bind.CallOpts, arg0 common.Address) (bool, error)

Minters is a free data retrieval call binding the contract method 0xf46eccc4.

Solidity: function minters(address ) view returns(bool)

func (*YFICaller) Name

func (_YFI *YFICaller) 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 (*YFICaller) Symbol

func (_YFI *YFICaller) 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 (*YFICaller) TotalSupply

func (_YFI *YFICaller) 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 YFICallerRaw

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

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

func (*YFICallerRaw) Call

func (_YFI *YFICallerRaw) 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 YFICallerSession

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

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

func (*YFICallerSession) Allowance

func (_YFI *YFICallerSession) Allowance(owner common.Address, spender common.Address) (*big.Int, error)

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

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

func (*YFICallerSession) BalanceOf

func (_YFI *YFICallerSession) BalanceOf(account common.Address) (*big.Int, error)

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

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

func (*YFICallerSession) Decimals

func (_YFI *YFICallerSession) Decimals() (uint8, error)

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

Solidity: function decimals() view returns(uint8)

func (*YFICallerSession) Governance

func (_YFI *YFICallerSession) Governance() (common.Address, error)

Governance is a free data retrieval call binding the contract method 0x5aa6e675.

Solidity: function governance() view returns(address)

func (*YFICallerSession) Minters

func (_YFI *YFICallerSession) Minters(arg0 common.Address) (bool, error)

Minters is a free data retrieval call binding the contract method 0xf46eccc4.

Solidity: function minters(address ) view returns(bool)

func (*YFICallerSession) Name

func (_YFI *YFICallerSession) Name() (string, error)

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

Solidity: function name() view returns(string)

func (*YFICallerSession) Symbol

func (_YFI *YFICallerSession) Symbol() (string, error)

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

Solidity: function symbol() view returns(string)

func (*YFICallerSession) TotalSupply

func (_YFI *YFICallerSession) TotalSupply() (*big.Int, error)

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

Solidity: function totalSupply() view returns(uint256)

type YFIFilterer

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

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

func NewYFIFilterer

func NewYFIFilterer(address common.Address, filterer bind.ContractFilterer) (*YFIFilterer, error)

NewYFIFilterer creates a new log filterer instance of YFI, bound to a specific deployed contract.

func (*YFIFilterer) FilterApproval

func (_YFI *YFIFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*YFIApprovalIterator, error)

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

Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)

func (*YFIFilterer) FilterTransfer

func (_YFI *YFIFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*YFITransferIterator, error)

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

Solidity: event Transfer(address indexed from, address indexed to, uint256 value)

func (*YFIFilterer) ParseApproval

func (_YFI *YFIFilterer) ParseApproval(log types.Log) (*YFIApproval, error)

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

Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)

func (*YFIFilterer) ParseTransfer

func (_YFI *YFIFilterer) ParseTransfer(log types.Log) (*YFITransfer, error)

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

Solidity: event Transfer(address indexed from, address indexed to, uint256 value)

func (*YFIFilterer) WatchApproval

func (_YFI *YFIFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *YFIApproval, owner []common.Address, spender []common.Address) (event.Subscription, error)

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

Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)

func (*YFIFilterer) WatchTransfer

func (_YFI *YFIFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *YFITransfer, from []common.Address, to []common.Address) (event.Subscription, error)

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

Solidity: event Transfer(address indexed from, address indexed to, uint256 value)

type YFIRaw

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

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

func (*YFIRaw) Call

func (_YFI *YFIRaw) 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 (*YFIRaw) Transact

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

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

func (*YFIRaw) Transfer

func (_YFI *YFIRaw) 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 YFISession

type YFISession struct {
	Contract     *YFI              // 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
}

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

func (*YFISession) AddMinter

func (_YFI *YFISession) AddMinter(_minter common.Address) (*types.Transaction, error)

AddMinter is a paid mutator transaction binding the contract method 0x983b2d56.

Solidity: function addMinter(address _minter) returns()

func (*YFISession) Allowance

func (_YFI *YFISession) Allowance(owner common.Address, spender common.Address) (*big.Int, error)

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

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

func (*YFISession) Approve

func (_YFI *YFISession) Approve(spender common.Address, amount *big.Int) (*types.Transaction, error)

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

Solidity: function approve(address spender, uint256 amount) returns(bool)

func (*YFISession) BalanceOf

func (_YFI *YFISession) BalanceOf(account common.Address) (*big.Int, error)

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

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

func (*YFISession) Decimals

func (_YFI *YFISession) Decimals() (uint8, error)

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

Solidity: function decimals() view returns(uint8)

func (*YFISession) DecreaseAllowance

func (_YFI *YFISession) DecreaseAllowance(spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)

DecreaseAllowance is a paid mutator transaction binding the contract method 0xa457c2d7.

Solidity: function decreaseAllowance(address spender, uint256 subtractedValue) returns(bool)

func (*YFISession) Governance

func (_YFI *YFISession) Governance() (common.Address, error)

Governance is a free data retrieval call binding the contract method 0x5aa6e675.

Solidity: function governance() view returns(address)

func (*YFISession) IncreaseAllowance

func (_YFI *YFISession) IncreaseAllowance(spender common.Address, addedValue *big.Int) (*types.Transaction, error)

IncreaseAllowance is a paid mutator transaction binding the contract method 0x39509351.

Solidity: function increaseAllowance(address spender, uint256 addedValue) returns(bool)

func (*YFISession) Mint

func (_YFI *YFISession) Mint(account common.Address, amount *big.Int) (*types.Transaction, error)

Mint is a paid mutator transaction binding the contract method 0x40c10f19.

Solidity: function mint(address account, uint256 amount) returns()

func (*YFISession) Minters

func (_YFI *YFISession) Minters(arg0 common.Address) (bool, error)

Minters is a free data retrieval call binding the contract method 0xf46eccc4.

Solidity: function minters(address ) view returns(bool)

func (*YFISession) Name

func (_YFI *YFISession) Name() (string, error)

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

Solidity: function name() view returns(string)

func (*YFISession) RemoveMinter

func (_YFI *YFISession) RemoveMinter(_minter common.Address) (*types.Transaction, error)

RemoveMinter is a paid mutator transaction binding the contract method 0x3092afd5.

Solidity: function removeMinter(address _minter) returns()

func (*YFISession) SetGovernance

func (_YFI *YFISession) SetGovernance(_governance common.Address) (*types.Transaction, error)

SetGovernance is a paid mutator transaction binding the contract method 0xab033ea9.

Solidity: function setGovernance(address _governance) returns()

func (*YFISession) Symbol

func (_YFI *YFISession) Symbol() (string, error)

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

Solidity: function symbol() view returns(string)

func (*YFISession) TotalSupply

func (_YFI *YFISession) TotalSupply() (*big.Int, error)

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

Solidity: function totalSupply() view returns(uint256)

func (*YFISession) Transfer

func (_YFI *YFISession) Transfer(recipient common.Address, amount *big.Int) (*types.Transaction, error)

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

Solidity: function transfer(address recipient, uint256 amount) returns(bool)

func (*YFISession) TransferFrom

func (_YFI *YFISession) TransferFrom(sender common.Address, recipient common.Address, amount *big.Int) (*types.Transaction, error)

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

Solidity: function transferFrom(address sender, address recipient, uint256 amount) returns(bool)

type YFITransactor

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

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

func NewYFITransactor

func NewYFITransactor(address common.Address, transactor bind.ContractTransactor) (*YFITransactor, error)

NewYFITransactor creates a new write-only instance of YFI, bound to a specific deployed contract.

func (*YFITransactor) AddMinter

func (_YFI *YFITransactor) AddMinter(opts *bind.TransactOpts, _minter common.Address) (*types.Transaction, error)

AddMinter is a paid mutator transaction binding the contract method 0x983b2d56.

Solidity: function addMinter(address _minter) returns()

func (*YFITransactor) Approve

func (_YFI *YFITransactor) Approve(opts *bind.TransactOpts, spender common.Address, amount *big.Int) (*types.Transaction, error)

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

Solidity: function approve(address spender, uint256 amount) returns(bool)

func (*YFITransactor) DecreaseAllowance

func (_YFI *YFITransactor) DecreaseAllowance(opts *bind.TransactOpts, spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)

DecreaseAllowance is a paid mutator transaction binding the contract method 0xa457c2d7.

Solidity: function decreaseAllowance(address spender, uint256 subtractedValue) returns(bool)

func (*YFITransactor) IncreaseAllowance

func (_YFI *YFITransactor) IncreaseAllowance(opts *bind.TransactOpts, spender common.Address, addedValue *big.Int) (*types.Transaction, error)

IncreaseAllowance is a paid mutator transaction binding the contract method 0x39509351.

Solidity: function increaseAllowance(address spender, uint256 addedValue) returns(bool)

func (*YFITransactor) Mint

func (_YFI *YFITransactor) Mint(opts *bind.TransactOpts, account common.Address, amount *big.Int) (*types.Transaction, error)

Mint is a paid mutator transaction binding the contract method 0x40c10f19.

Solidity: function mint(address account, uint256 amount) returns()

func (*YFITransactor) RemoveMinter

func (_YFI *YFITransactor) RemoveMinter(opts *bind.TransactOpts, _minter common.Address) (*types.Transaction, error)

RemoveMinter is a paid mutator transaction binding the contract method 0x3092afd5.

Solidity: function removeMinter(address _minter) returns()

func (*YFITransactor) SetGovernance

func (_YFI *YFITransactor) SetGovernance(opts *bind.TransactOpts, _governance common.Address) (*types.Transaction, error)

SetGovernance is a paid mutator transaction binding the contract method 0xab033ea9.

Solidity: function setGovernance(address _governance) returns()

func (*YFITransactor) Transfer

func (_YFI *YFITransactor) Transfer(opts *bind.TransactOpts, recipient common.Address, amount *big.Int) (*types.Transaction, error)

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

Solidity: function transfer(address recipient, uint256 amount) returns(bool)

func (*YFITransactor) TransferFrom

func (_YFI *YFITransactor) TransferFrom(opts *bind.TransactOpts, sender common.Address, recipient common.Address, amount *big.Int) (*types.Transaction, error)

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

Solidity: function transferFrom(address sender, address recipient, uint256 amount) returns(bool)

type YFITransactorRaw

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

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

func (*YFITransactorRaw) Transact

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

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

func (*YFITransactorRaw) Transfer

func (_YFI *YFITransactorRaw) 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 YFITransactorSession

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

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

func (*YFITransactorSession) AddMinter

func (_YFI *YFITransactorSession) AddMinter(_minter common.Address) (*types.Transaction, error)

AddMinter is a paid mutator transaction binding the contract method 0x983b2d56.

Solidity: function addMinter(address _minter) returns()

func (*YFITransactorSession) Approve

func (_YFI *YFITransactorSession) Approve(spender common.Address, amount *big.Int) (*types.Transaction, error)

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

Solidity: function approve(address spender, uint256 amount) returns(bool)

func (*YFITransactorSession) DecreaseAllowance

func (_YFI *YFITransactorSession) DecreaseAllowance(spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)

DecreaseAllowance is a paid mutator transaction binding the contract method 0xa457c2d7.

Solidity: function decreaseAllowance(address spender, uint256 subtractedValue) returns(bool)

func (*YFITransactorSession) IncreaseAllowance

func (_YFI *YFITransactorSession) IncreaseAllowance(spender common.Address, addedValue *big.Int) (*types.Transaction, error)

IncreaseAllowance is a paid mutator transaction binding the contract method 0x39509351.

Solidity: function increaseAllowance(address spender, uint256 addedValue) returns(bool)

func (*YFITransactorSession) Mint

func (_YFI *YFITransactorSession) Mint(account common.Address, amount *big.Int) (*types.Transaction, error)

Mint is a paid mutator transaction binding the contract method 0x40c10f19.

Solidity: function mint(address account, uint256 amount) returns()

func (*YFITransactorSession) RemoveMinter

func (_YFI *YFITransactorSession) RemoveMinter(_minter common.Address) (*types.Transaction, error)

RemoveMinter is a paid mutator transaction binding the contract method 0x3092afd5.

Solidity: function removeMinter(address _minter) returns()

func (*YFITransactorSession) SetGovernance

func (_YFI *YFITransactorSession) SetGovernance(_governance common.Address) (*types.Transaction, error)

SetGovernance is a paid mutator transaction binding the contract method 0xab033ea9.

Solidity: function setGovernance(address _governance) returns()

func (*YFITransactorSession) Transfer

func (_YFI *YFITransactorSession) Transfer(recipient common.Address, amount *big.Int) (*types.Transaction, error)

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

Solidity: function transfer(address recipient, uint256 amount) returns(bool)

func (*YFITransactorSession) TransferFrom

func (_YFI *YFITransactorSession) TransferFrom(sender common.Address, recipient common.Address, amount *big.Int) (*types.Transaction, error)

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

Solidity: function transferFrom(address sender, address recipient, uint256 amount) returns(bool)

type YFITransfer

type YFITransfer struct {
	From  common.Address
	To    common.Address
	Value *big.Int
	Raw   types.Log // Blockchain specific contextual infos
}

YFITransfer represents a Transfer event raised by the YFI contract.

type YFITransferIterator

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

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

func (*YFITransferIterator) Close

func (it *YFITransferIterator) Close() error

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

func (*YFITransferIterator) Error

func (it *YFITransferIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*YFITransferIterator) Next

func (it *YFITransferIterator) 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.

Jump to

Keyboard shortcuts

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