Documentation ¶
Index ¶
- Constants
- type ENS
- type ENSCaller
- type ENSCallerRaw
- type ENSCallerSession
- type ENSFilterer
- func (_ENS *ENSFilterer) FilterNewOwner(opts *bind.FilterOpts, node [][32]byte, label [][32]byte) (*ENSNewOwnerIterator, error)
- func (_ENS *ENSFilterer) FilterNewResolver(opts *bind.FilterOpts, node [][32]byte) (*ENSNewResolverIterator, error)
- func (_ENS *ENSFilterer) FilterNewTTL(opts *bind.FilterOpts, node [][32]byte) (*ENSNewTTLIterator, error)
- func (_ENS *ENSFilterer) FilterTransfer(opts *bind.FilterOpts, node [][32]byte) (*ENSTransferIterator, error)
- func (_ENS *ENSFilterer) WatchNewOwner(opts *bind.WatchOpts, sink chan<- *ENSNewOwner, node [][32]byte, ...) (event.Subscription, error)
- func (_ENS *ENSFilterer) WatchNewResolver(opts *bind.WatchOpts, sink chan<- *ENSNewResolver, node [][32]byte) (event.Subscription, error)
- func (_ENS *ENSFilterer) WatchNewTTL(opts *bind.WatchOpts, sink chan<- *ENSNewTTL, node [][32]byte) (event.Subscription, error)
- func (_ENS *ENSFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *ENSTransfer, node [][32]byte) (event.Subscription, error)
- type ENSNewOwner
- type ENSNewOwnerIterator
- type ENSNewResolver
- type ENSNewResolverIterator
- type ENSNewTTL
- type ENSNewTTLIterator
- type ENSRaw
- func (_ENS *ENSRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error
- func (_ENS *ENSRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_ENS *ENSRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type ENSSession
- func (_ENS *ENSSession) Owner(node [32]byte) (common.Address, error)
- func (_ENS *ENSSession) Resolver(node [32]byte) (common.Address, error)
- func (_ENS *ENSSession) SetOwner(node [32]byte, owner common.Address) (*types.Transaction, error)
- func (_ENS *ENSSession) SetResolver(node [32]byte, resolver common.Address) (*types.Transaction, error)
- func (_ENS *ENSSession) SetSubnodeOwner(node [32]byte, label [32]byte, owner common.Address) (*types.Transaction, error)
- func (_ENS *ENSSession) SetTTL(node [32]byte, ttl uint64) (*types.Transaction, error)
- func (_ENS *ENSSession) Ttl(node [32]byte) (uint64, error)
- type ENSTransactor
- func (_ENS *ENSTransactor) SetOwner(opts *bind.TransactOpts, node [32]byte, owner common.Address) (*types.Transaction, error)
- func (_ENS *ENSTransactor) SetResolver(opts *bind.TransactOpts, node [32]byte, resolver common.Address) (*types.Transaction, error)
- func (_ENS *ENSTransactor) SetSubnodeOwner(opts *bind.TransactOpts, node [32]byte, label [32]byte, owner common.Address) (*types.Transaction, error)
- func (_ENS *ENSTransactor) SetTTL(opts *bind.TransactOpts, node [32]byte, ttl uint64) (*types.Transaction, error)
- type ENSTransactorRaw
- type ENSTransactorSession
- func (_ENS *ENSTransactorSession) SetOwner(node [32]byte, owner common.Address) (*types.Transaction, error)
- func (_ENS *ENSTransactorSession) SetResolver(node [32]byte, resolver common.Address) (*types.Transaction, error)
- func (_ENS *ENSTransactorSession) SetSubnodeOwner(node [32]byte, label [32]byte, owner common.Address) (*types.Transaction, error)
- func (_ENS *ENSTransactorSession) SetTTL(node [32]byte, ttl uint64) (*types.Transaction, error)
- type ENSTransfer
- type ENSTransferIterator
- type FIFSRegistrar
- type FIFSRegistrarCaller
- type FIFSRegistrarCallerRaw
- type FIFSRegistrarCallerSession
- type FIFSRegistrarFilterer
- type FIFSRegistrarRaw
- func (_FIFSRegistrar *FIFSRegistrarRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error
- func (_FIFSRegistrar *FIFSRegistrarRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_FIFSRegistrar *FIFSRegistrarRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type FIFSRegistrarSession
- type FIFSRegistrarTransactor
- type FIFSRegistrarTransactorRaw
- type FIFSRegistrarTransactorSession
- type PublicResolver
- type PublicResolverABIChanged
- type PublicResolverABIChangedIterator
- type PublicResolverAddrChanged
- type PublicResolverAddrChangedIterator
- type PublicResolverCaller
- func (_PublicResolver *PublicResolverCaller) ABI(opts *bind.CallOpts, node [32]byte, contentTypes *big.Int) (struct{ ... }, error)
- func (_PublicResolver *PublicResolverCaller) Addr(opts *bind.CallOpts, node [32]byte) (common.Address, error)
- func (_PublicResolver *PublicResolverCaller) Content(opts *bind.CallOpts, node [32]byte) ([32]byte, error)
- func (_PublicResolver *PublicResolverCaller) Name(opts *bind.CallOpts, node [32]byte) (string, error)
- func (_PublicResolver *PublicResolverCaller) Pubkey(opts *bind.CallOpts, node [32]byte) (struct{ ... }, error)
- func (_PublicResolver *PublicResolverCaller) SupportsInterface(opts *bind.CallOpts, interfaceID [4]byte) (bool, error)
- func (_PublicResolver *PublicResolverCaller) Text(opts *bind.CallOpts, node [32]byte, key string) (string, error)
- type PublicResolverCallerRaw
- type PublicResolverCallerSession
- func (_PublicResolver *PublicResolverCallerSession) ABI(node [32]byte, contentTypes *big.Int) (struct{ ... }, error)
- func (_PublicResolver *PublicResolverCallerSession) Addr(node [32]byte) (common.Address, error)
- func (_PublicResolver *PublicResolverCallerSession) Content(node [32]byte) ([32]byte, error)
- func (_PublicResolver *PublicResolverCallerSession) Name(node [32]byte) (string, error)
- func (_PublicResolver *PublicResolverCallerSession) Pubkey(node [32]byte) (struct{ ... }, error)
- func (_PublicResolver *PublicResolverCallerSession) SupportsInterface(interfaceID [4]byte) (bool, error)
- func (_PublicResolver *PublicResolverCallerSession) Text(node [32]byte, key string) (string, error)
- type PublicResolverContentChanged
- type PublicResolverContentChangedIterator
- type PublicResolverFilterer
- func (_PublicResolver *PublicResolverFilterer) FilterABIChanged(opts *bind.FilterOpts, node [][32]byte, contentType []*big.Int) (*PublicResolverABIChangedIterator, error)
- func (_PublicResolver *PublicResolverFilterer) FilterAddrChanged(opts *bind.FilterOpts, node [][32]byte) (*PublicResolverAddrChangedIterator, error)
- func (_PublicResolver *PublicResolverFilterer) FilterContentChanged(opts *bind.FilterOpts, node [][32]byte) (*PublicResolverContentChangedIterator, error)
- func (_PublicResolver *PublicResolverFilterer) FilterNameChanged(opts *bind.FilterOpts, node [][32]byte) (*PublicResolverNameChangedIterator, error)
- func (_PublicResolver *PublicResolverFilterer) FilterPubkeyChanged(opts *bind.FilterOpts, node [][32]byte) (*PublicResolverPubkeyChangedIterator, error)
- func (_PublicResolver *PublicResolverFilterer) FilterTextChanged(opts *bind.FilterOpts, node [][32]byte, indexedKey []string) (*PublicResolverTextChangedIterator, error)
- func (_PublicResolver *PublicResolverFilterer) WatchABIChanged(opts *bind.WatchOpts, sink chan<- *PublicResolverABIChanged, node [][32]byte, ...) (event.Subscription, error)
- func (_PublicResolver *PublicResolverFilterer) WatchAddrChanged(opts *bind.WatchOpts, sink chan<- *PublicResolverAddrChanged, node [][32]byte) (event.Subscription, error)
- func (_PublicResolver *PublicResolverFilterer) WatchContentChanged(opts *bind.WatchOpts, sink chan<- *PublicResolverContentChanged, ...) (event.Subscription, error)
- func (_PublicResolver *PublicResolverFilterer) WatchNameChanged(opts *bind.WatchOpts, sink chan<- *PublicResolverNameChanged, node [][32]byte) (event.Subscription, error)
- func (_PublicResolver *PublicResolverFilterer) WatchPubkeyChanged(opts *bind.WatchOpts, sink chan<- *PublicResolverPubkeyChanged, ...) (event.Subscription, error)
- func (_PublicResolver *PublicResolverFilterer) WatchTextChanged(opts *bind.WatchOpts, sink chan<- *PublicResolverTextChanged, node [][32]byte, ...) (event.Subscription, error)
- type PublicResolverNameChanged
- type PublicResolverNameChangedIterator
- type PublicResolverPubkeyChanged
- type PublicResolverPubkeyChangedIterator
- type PublicResolverRaw
- func (_PublicResolver *PublicResolverRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error
- func (_PublicResolver *PublicResolverRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_PublicResolver *PublicResolverRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type PublicResolverSession
- func (_PublicResolver *PublicResolverSession) ABI(node [32]byte, contentTypes *big.Int) (struct{ ... }, error)
- func (_PublicResolver *PublicResolverSession) Addr(node [32]byte) (common.Address, error)
- func (_PublicResolver *PublicResolverSession) Content(node [32]byte) ([32]byte, error)
- func (_PublicResolver *PublicResolverSession) Name(node [32]byte) (string, error)
- func (_PublicResolver *PublicResolverSession) Pubkey(node [32]byte) (struct{ ... }, error)
- func (_PublicResolver *PublicResolverSession) SetABI(node [32]byte, contentType *big.Int, data []byte) (*types.Transaction, error)
- func (_PublicResolver *PublicResolverSession) SetAddr(node [32]byte, addr common.Address) (*types.Transaction, error)
- func (_PublicResolver *PublicResolverSession) SetContent(node [32]byte, hash [32]byte) (*types.Transaction, error)
- func (_PublicResolver *PublicResolverSession) SetName(node [32]byte, name string) (*types.Transaction, error)
- func (_PublicResolver *PublicResolverSession) SetPubkey(node [32]byte, x [32]byte, y [32]byte) (*types.Transaction, error)
- func (_PublicResolver *PublicResolverSession) SetText(node [32]byte, key string, value string) (*types.Transaction, error)
- func (_PublicResolver *PublicResolverSession) SupportsInterface(interfaceID [4]byte) (bool, error)
- func (_PublicResolver *PublicResolverSession) Text(node [32]byte, key string) (string, error)
- type PublicResolverTextChanged
- type PublicResolverTextChangedIterator
- type PublicResolverTransactor
- func (_PublicResolver *PublicResolverTransactor) SetABI(opts *bind.TransactOpts, node [32]byte, contentType *big.Int, data []byte) (*types.Transaction, error)
- func (_PublicResolver *PublicResolverTransactor) SetAddr(opts *bind.TransactOpts, node [32]byte, addr common.Address) (*types.Transaction, error)
- func (_PublicResolver *PublicResolverTransactor) SetContent(opts *bind.TransactOpts, node [32]byte, hash [32]byte) (*types.Transaction, error)
- func (_PublicResolver *PublicResolverTransactor) SetName(opts *bind.TransactOpts, node [32]byte, name string) (*types.Transaction, error)
- func (_PublicResolver *PublicResolverTransactor) SetPubkey(opts *bind.TransactOpts, node [32]byte, x [32]byte, y [32]byte) (*types.Transaction, error)
- func (_PublicResolver *PublicResolverTransactor) SetText(opts *bind.TransactOpts, node [32]byte, key string, value string) (*types.Transaction, error)
- type PublicResolverTransactorRaw
- type PublicResolverTransactorSession
- func (_PublicResolver *PublicResolverTransactorSession) SetABI(node [32]byte, contentType *big.Int, data []byte) (*types.Transaction, error)
- func (_PublicResolver *PublicResolverTransactorSession) SetAddr(node [32]byte, addr common.Address) (*types.Transaction, error)
- func (_PublicResolver *PublicResolverTransactorSession) SetContent(node [32]byte, hash [32]byte) (*types.Transaction, error)
- func (_PublicResolver *PublicResolverTransactorSession) SetName(node [32]byte, name string) (*types.Transaction, error)
- func (_PublicResolver *PublicResolverTransactorSession) SetPubkey(node [32]byte, x [32]byte, y [32]byte) (*types.Transaction, error)
- func (_PublicResolver *PublicResolverTransactorSession) SetText(node [32]byte, key string, value string) (*types.Transaction, error)
Constants ¶
const ENSABI = "" /* 2536-byte string literal not displayed */
ensabi是用于从中生成绑定的输入abi。
const ENSBin = `` /* 2764-byte string literal not displayed */
ensbin是用于部署新合同的编译字节码。
const FIFSRegistrarABI = "" /* 411-byte string literal not displayed */
const FIFSRegistrarBin = `` /* 1098-byte string literal not displayed */
const PublicResolverABI = "" /* 4610-byte string literal not displayed */
publicResolverabi是用于从中生成绑定的输入abi。
const PublicResolverBin = `` /* 9062-byte string literal not displayed */
publicResolverbin是用于部署新合同的编译字节码。
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ENS ¶
type ENS struct { ENSCaller //对合同具有只读约束力 ENSTransactor //只写对合同有约束力 ENSFilterer //合同事件的日志筛选程序 }
ENS是围绕以太坊合同自动生成的Go绑定。
func DeployENS ¶
func DeployENS(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *ENS, error)
Deployeens部署一个新的以太坊契约,将ENS实例绑定到它。
type ENSCaller ¶
type ENSCaller struct {
// contains filtered or unexported fields
}
EnsCaller是围绕以太坊契约自动生成的只读Go绑定。
func NewENSCaller ¶
newenscaller创建一个新的ENS只读实例,绑定到特定的已部署契约。
type ENSCallerRaw ¶
type ENSCallerRaw struct {
Contract *ENSCaller //用于访问上的原始方法的通用只读协定绑定
}
EnsCallerraw是围绕以太坊合约自动生成的低级只读Go绑定。
type ENSCallerSession ¶
type ENSCallerSession struct { Contract *ENSCaller //用于设置会话的通用协定调用方绑定 CallOpts bind.CallOpts //在整个会话中使用的调用选项 }
EnCallersession是围绕以太坊合约自动生成的只读Go绑定, 带预设通话选项。
func (*ENSCallerSession) Owner ¶
func (_ENS *ENSCallerSession) Owner(node [32]byte) (common.Address, error)
owner是一个绑定契约方法0x02571BE3的免费数据检索调用。
solidity:函数所有者(节点字节32)常量返回(地址)
type ENSFilterer ¶
type ENSFilterer struct {
// contains filtered or unexported fields
}
EnsFilter是围绕以太坊合同事件自动生成的日志筛选Go绑定。
func NewENSFilterer ¶
func NewENSFilterer(address common.Address, filterer bind.ContractFilterer) (*ENSFilterer, error)
newensfilter创建一个新的ens日志筛选器实例,绑定到特定的已部署协定。
func (*ENSFilterer) FilterNewOwner ¶
func (_ENS *ENSFilterer) FilterNewOwner(opts *bind.FilterOpts, node [][32]byte, label [][32]byte) (*ENSNewOwnerIterator, error)
FieldNeWOrthor是一个绑定日志事件的免费日志检索操作,绑定了合同事件0xCE047FE737、F824cc26316695128128C118B49 D34 81717417C6D108D155E82.
solidity:事件newowner(节点索引字节32,标签索引字节32,所有者地址)
func (*ENSFilterer) FilterNewResolver ¶
func (_ENS *ENSFilterer) FilterNewResolver(opts *bind.FilterOpts, node [][32]byte) (*ENSNewResolverIterator, error)
filternewresolver是一个自由的日志检索操作,绑定合同事件0x335721b01866dc23fbee8B6b2c7b1e14d6f05c28cd35a2c934239f94095602a0。
func (*ENSFilterer) FilterNewTTL ¶
func (_ENS *ENSFilterer) FilterNewTTL(opts *bind.FilterOpts, node [][32]byte) (*ENSNewTTLIterator, error)
func (*ENSFilterer) FilterTransfer ¶
func (_ENS *ENSFilterer) FilterTransfer(opts *bind.FilterOpts, node [][32]byte) (*ENSTransferIterator, error)
func (*ENSFilterer) WatchNewOwner ¶
func (_ENS *ENSFilterer) WatchNewOwner(opts *bind.WatchOpts, sink chan<- *ENSNewOwner, node [][32]byte, label [][32]byte) (event.Subscription, error)
WatchNewOwner是一个绑定合同事件0xCE0457FE73731F824CC27236169235128C118B49D344817417C6D108D155E82的免费日志订阅操作。
solidity:事件newowner(节点索引字节32,标签索引字节32,所有者地址)
func (*ENSFilterer) WatchNewResolver ¶
func (_ENS *ENSFilterer) WatchNewResolver(opts *bind.WatchOpts, sink chan<- *ENSNewResolver, node [][32]byte) (event.Subscription, error)
func (*ENSFilterer) WatchNewTTL ¶
func (_ENS *ENSFilterer) WatchNewTTL(opts *bind.WatchOpts, sink chan<- *ENSNewTTL, node [][32]byte) (event.Subscription, error)
solidity:事件newttl(节点索引字节32,ttl uint64)
func (*ENSFilterer) WatchTransfer ¶
func (_ENS *ENSFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *ENSTransfer, node [][32]byte) (event.Subscription, error)
type ENSNewOwner ¶
type ENSNewOwner struct { Node [32]byte Label [32]byte Owner common.Address Raw types.Log //区块链特定的上下文信息 }
EnsNewOwner表示ENS合同引发的NewOwner事件。
type ENSNewOwnerIterator ¶
type ENSNewOwnerIterator struct { Event *ENSNewOwner //包含合同细节和原始日志的事件 // contains filtered or unexported fields }
EnsNewOwnerIterator从filterNewOwner返回,用于迭代ENS合同引发的NewOwner事件的原始日志和解包数据。
func (*ENSNewOwnerIterator) Close ¶
func (it *ENSNewOwnerIterator) Close() error
关闭终止迭代过程,释放任何挂起的基础 资源。
func (*ENSNewOwnerIterator) Error ¶
func (it *ENSNewOwnerIterator) Error() error
重试时出错。筛选过程中出现任何检索或分析错误。
func (*ENSNewOwnerIterator) Next ¶
func (it *ENSNewOwnerIterator) Next() bool
next将迭代器前进到后续事件,返回是否存在 是否找到更多事件。在检索或分析错误的情况下,false是 返回错误(),可以查询错误()的确切错误。
type ENSNewResolver ¶
ens newresolver表示由ens协定引发的newresolver事件。
type ENSNewResolverIterator ¶
type ENSNewResolverIterator struct { Event *ENSNewResolver // // contains filtered or unexported fields }
ENSNewResolverIterator is returned from FilterNewResolver and is used to iterate over the raw logs and unpacked data for NewResolver events raised by the ENS contract.
func (*ENSNewResolverIterator) Close ¶
func (it *ENSNewResolverIterator) Close() error
关闭终止迭代过程,释放任何挂起的基础 资源。
func (*ENSNewResolverIterator) Error ¶
func (it *ENSNewResolverIterator) Error() error
重试时出错。筛选过程中出现任何检索或分析错误。
func (*ENSNewResolverIterator) Next ¶
func (it *ENSNewResolverIterator) Next() bool
next将迭代器前进到后续事件,返回是否存在 是否找到更多事件。在检索或分析错误的情况下,false是 返回错误(),可以查询错误()的确切错误。
type ENSNewTTLIterator ¶
type ENSNewTTLIterator struct { Event *ENSNewTTL //包含合同细节和原始日志的事件 // contains filtered or unexported fields }
func (*ENSNewTTLIterator) Error ¶
func (it *ENSNewTTLIterator) Error() error
重试时出错。筛选过程中出现任何检索或分析错误。
func (*ENSNewTTLIterator) Next ¶
func (it *ENSNewTTLIterator) Next() bool
next将迭代器前进到后续事件,返回是否存在 是否找到更多事件。在检索或分析错误的情况下,false是 返回错误(),可以查询错误()的确切错误。
type ENSRaw ¶
type ENSRaw struct {
Contract *ENS //用于访问上的原始方法的通用合同绑定
}
Ensraw是围绕以太坊合同自动生成的低级Go绑定。
func (*ENSRaw) Call ¶
func (_ENS *ENSRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error
调用调用(常量)contract方法,参数作为输入值,并且 将输出设置为结果。结果类型可能是用于 返回、匿名返回的接口切片和命名的结构 返回。
func (*ENSRaw) Transact ¶
func (_ENS *ENSRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact使用参数作为输入值调用(付费)Contract方法。
func (*ENSRaw) Transfer ¶
func (_ENS *ENSRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
转账启动普通交易以将资金转移到合同,调用 它的默认方法(如果有)。
type ENSSession ¶
type ENSSession struct { Contract *ENS //为其设置会话的通用约定绑定 CallOpts bind.CallOpts //在整个会话中使用的调用选项 TransactOpts bind.TransactOpts //要在此会话中使用的事务验证选项 }
EnSession是围绕以太坊合同自动生成的Go绑定, 具有预设的调用和事务处理选项。
func (*ENSSession) Owner ¶
func (_ENS *ENSSession) Owner(node [32]byte) (common.Address, error)
owner是一个绑定契约方法0x02571BE3的免费数据检索调用。
solidity:函数所有者(节点字节32)常量返回(地址)
func (*ENSSession) Resolver ¶
func (_ENS *ENSSession) Resolver(node [32]byte) (common.Address, error)
解析器是一个自由的数据检索调用,绑定契约方法0x0178B8bf。
solidity:函数解析程序(节点字节32)常量返回(地址)
func (*ENSSession) SetOwner ¶
func (_ENS *ENSSession) SetOwner(node [32]byte, owner common.Address) (*types.Transaction, error)
setowner是一个受合同方法0x5b0fc9c3约束的付费mutator事务。
solidity:函数setowner(node bytes32,owner address)返回()
func (*ENSSession) SetResolver ¶
func (_ENS *ENSSession) SetResolver(node [32]byte, resolver common.Address) (*types.Transaction, error)
setresolver是一个受契约方法0x1896F70A约束的付费转换器事务。
solidity:函数setresolver(node bytes32,resolver address)返回()
func (*ENSSession) SetSubnodeOwner ¶
func (_ENS *ENSSession) SetSubnodeOwner(node [32]byte, label [32]byte, owner common.Address) (*types.Transaction, error)
setSubnodeOwner是一个付费的mutator事务,绑定合同方法0x06AB5923。
solidity:函数setSubNodeOwner(node bytes32,label bytes32,owner address)返回()
func (*ENSSession) SetTTL ¶
func (_ENS *ENSSession) SetTTL(node [32]byte, ttl uint64) (*types.Transaction, error)
settl是一个受合同方法0x14AB9038约束的付费的转换程序事务。
solidity:函数settl(节点字节32,ttl uint64)返回()
type ENSTransactor ¶
type ENSTransactor struct {
// contains filtered or unexported fields
}
EnsTransactor是围绕以太坊合同自动生成的只写Go绑定。
func NewENSTransactor ¶
func NewENSTransactor(address common.Address, transactor bind.ContractTransactor) (*ENSTransactor, error)
func (*ENSTransactor) SetOwner ¶
func (_ENS *ENSTransactor) SetOwner(opts *bind.TransactOpts, node [32]byte, owner common.Address) (*types.Transaction, error)
setowner是一个受合同方法0x5b0fc9c3约束的付费mutator事务。
Solidity: function setOwner(node bytes32, owner address) returns()
func (*ENSTransactor) SetResolver ¶
func (_ENS *ENSTransactor) SetResolver(opts *bind.TransactOpts, node [32]byte, resolver common.Address) (*types.Transaction, error)
setresolver是一个受契约方法0x1896F70A约束的付费转换器事务。
solidity:函数setresolver(node bytes32,resolver address)返回()
func (*ENSTransactor) SetSubnodeOwner ¶
func (_ENS *ENSTransactor) SetSubnodeOwner(opts *bind.TransactOpts, node [32]byte, label [32]byte, owner common.Address) (*types.Transaction, error)
setSubnodeOwner是一个付费的mutator事务,绑定合同方法0x06AB5923。
solidity:函数setSubNodeOwner(node bytes32,label bytes32,owner address)返回()
func (*ENSTransactor) SetTTL ¶
func (_ENS *ENSTransactor) SetTTL(opts *bind.TransactOpts, node [32]byte, ttl uint64) (*types.Transaction, error)
settl是一个受合同方法0x14AB9038约束的付费的转换程序事务。
solidity:函数settl(节点字节32,ttl uint64)返回()
type ENSTransactorRaw ¶
type ENSTransactorRaw struct {
Contract *ENSTransactor //用于访问上的原始方法的通用只写协定绑定
}
func (*ENSTransactorRaw) Transact ¶
func (_ENS *ENSTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact使用参数作为输入值调用(付费)Contract方法。
func (*ENSTransactorRaw) Transfer ¶
func (_ENS *ENSTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
转账启动普通交易以将资金转移到合同,调用 它的默认方法(如果有)。
type ENSTransactorSession ¶
type ENSTransactorSession struct { Contract *ENSTransactor //用于设置会话的通用合同事务处理程序绑定 TransactOpts bind.TransactOpts //要在此会话中使用的事务验证选项 }
enstransactiorsession是围绕以太坊合同自动生成的只写Go绑定, 具有预设的Transact选项。
func (*ENSTransactorSession) SetOwner ¶
func (_ENS *ENSTransactorSession) SetOwner(node [32]byte, owner common.Address) (*types.Transaction, error)
setowner是一个受合同方法0x5b0fc9c3约束的付费mutator事务。
solidity:函数setowner(node bytes32,owner address)返回()
func (*ENSTransactorSession) SetResolver ¶
func (_ENS *ENSTransactorSession) SetResolver(node [32]byte, resolver common.Address) (*types.Transaction, error)
setresolver是一个受契约方法0x1896F70A约束的付费转换器事务。
solidity:函数setresolver(node bytes32,resolver address)返回()
func (*ENSTransactorSession) SetSubnodeOwner ¶
func (_ENS *ENSTransactorSession) SetSubnodeOwner(node [32]byte, label [32]byte, owner common.Address) (*types.Transaction, error)
setSubnodeOwner是一个付费的mutator事务,绑定合同方法0x06AB5923。
solidity:函数setSubNodeOwner(node bytes32,label bytes32,owner address)返回()
func (*ENSTransactorSession) SetTTL ¶
func (_ENS *ENSTransactorSession) SetTTL(node [32]byte, ttl uint64) (*types.Transaction, error)
settl是一个受合同方法0x14AB9038约束的付费的转换程序事务。
solidity:函数settl(节点字节32,ttl uint64)返回()
type ENSTransfer ¶
EnsTransfer表示ENS合同引发的转让事件。
type ENSTransferIterator ¶
type ENSTransferIterator struct { Event *ENSTransfer //包含合同细节和原始日志的事件 // contains filtered or unexported fields }
enstransferriterator从filtertransfer返回,用于迭代ens协定引发的传输事件的原始日志和解包数据。
func (*ENSTransferIterator) Close ¶
func (it *ENSTransferIterator) Close() error
关闭终止迭代过程,释放任何挂起的基础 资源。
func (*ENSTransferIterator) Error ¶
func (it *ENSTransferIterator) Error() error
重试时出错。筛选过程中出现任何检索或分析错误。
func (*ENSTransferIterator) Next ¶
func (it *ENSTransferIterator) Next() bool
next将迭代器前进到后续事件,返回是否存在 是否找到更多事件。在检索或分析错误的情况下,false是 返回错误(),可以查询错误()的确切错误。
type FIFSRegistrar ¶
type FIFSRegistrar struct { FIFSRegistrarCaller //对合同具有只读约束力 FIFSRegistrarTransactor //只写对合同有约束力 FIFSRegistrarFilterer //合同事件的日志筛选程序 }
FIFSREGISTRAR是围绕以太坊合同自动生成的Go绑定。
func DeployFIFSRegistrar ¶
func DeployFIFSRegistrar(auth *bind.TransactOpts, backend bind.ContractBackend, ensAddr common.Address, node [32]byte) (common.Address, *types.Transaction, *FIFSRegistrar, error)
DeployyFifsRegistrar部署新的以太坊合同,将FifsRegistrar的实例绑定到该合同。
func NewFIFSRegistrar ¶
func NewFIFSRegistrar(address common.Address, backend bind.ContractBackend) (*FIFSRegistrar, error)
NewFIFSRegistrar creates a new instance of FIFSRegistrar, bound to a specific deployed contract.
type FIFSRegistrarCaller ¶
type FIFSRegistrarCaller struct {
// contains filtered or unexported fields
}
func NewFIFSRegistrarCaller ¶
func NewFIFSRegistrarCaller(address common.Address, caller bind.ContractCaller) (*FIFSRegistrarCaller, error)
NewFifsRegistrarCaller创建一个新的FifsRegistrar只读实例,绑定到特定的已部署协定。
type FIFSRegistrarCallerRaw ¶
type FIFSRegistrarCallerRaw struct {
Contract *FIFSRegistrarCaller //用于访问上的原始方法的通用只读协定绑定
}
type FIFSRegistrarCallerSession ¶
type FIFSRegistrarCallerSession struct { Contract *FIFSRegistrarCaller //用于设置会话的通用协定调用方绑定 CallOpts bind.CallOpts //在整个会话中使用的调用选项 }
FifsRegistrarCallersession是围绕以太坊合约自动生成的只读Go绑定, 带预设通话选项。
type FIFSRegistrarFilterer ¶
type FIFSRegistrarFilterer struct {
// contains filtered or unexported fields
}
func NewFIFSRegistrarFilterer ¶
func NewFIFSRegistrarFilterer(address common.Address, filterer bind.ContractFilterer) (*FIFSRegistrarFilterer, error)
NewFifsRegistrarFilter创建一个新的FifsRegistrar日志筛选器实例,绑定到特定的已部署协定。
type FIFSRegistrarRaw ¶
type FIFSRegistrarRaw struct {
Contract *FIFSRegistrar //用于访问上的原始方法的通用合同绑定
}
func (*FIFSRegistrarRaw) Call ¶
func (_FIFSRegistrar *FIFSRegistrarRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error
调用调用(常量)contract方法,参数作为输入值,并且 将输出设置为结果。结果类型可能是用于 返回、匿名返回的接口切片和命名的结构 返回。
func (*FIFSRegistrarRaw) Transact ¶
func (_FIFSRegistrar *FIFSRegistrarRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact使用参数作为输入值调用(付费)Contract方法。
func (*FIFSRegistrarRaw) Transfer ¶
func (_FIFSRegistrar *FIFSRegistrarRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
转账启动普通交易以将资金转移到合同,调用 它的默认方法(如果有)。
type FIFSRegistrarSession ¶
type FIFSRegistrarSession struct { Contract *FIFSRegistrar //为其设置会话的通用约定绑定 CallOpts bind.CallOpts //在整个会话中使用的调用选项 TransactOpts bind.TransactOpts //要在此会话中使用的事务验证选项 }
具有预设的调用和事务处理选项。
func (*FIFSRegistrarSession) Register ¶
func (_FIFSRegistrar *FIFSRegistrarSession) Register(subnode [32]byte, owner common.Address) (*types.Transaction, error)
寄存器是一个受合同方法0xD22057A9约束的付费转换器事务。
solidity:函数寄存器(子节点字节32,所有者地址)返回()
type FIFSRegistrarTransactor ¶
type FIFSRegistrarTransactor struct {
// contains filtered or unexported fields
}
func NewFIFSRegistrarTransactor ¶
func NewFIFSRegistrarTransactor(address common.Address, transactor bind.ContractTransactor) (*FIFSRegistrarTransactor, error)
NewFifsRegistrarTransactior创建一个新的FifsRegistrar的只写实例,绑定到一个特定的已部署协定。
func (*FIFSRegistrarTransactor) Register ¶
func (_FIFSRegistrar *FIFSRegistrarTransactor) Register(opts *bind.TransactOpts, subnode [32]byte, owner common.Address) (*types.Transaction, error)
Register is a paid mutator transaction binding the contract method 0xd22057a9.
solidity:函数寄存器(子节点字节32,所有者地址)返回()
type FIFSRegistrarTransactorRaw ¶
type FIFSRegistrarTransactorRaw struct {
Contract *FIFSRegistrarTransactor //用于访问上的原始方法的通用只写协定绑定
}
func (*FIFSRegistrarTransactorRaw) Transact ¶
func (_FIFSRegistrar *FIFSRegistrarTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact使用参数作为输入值调用(付费)Contract方法。
func (*FIFSRegistrarTransactorRaw) Transfer ¶
func (_FIFSRegistrar *FIFSRegistrarTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
转账启动普通交易以将资金转移到合同,调用 它的默认方法(如果有)。
type FIFSRegistrarTransactorSession ¶
type FIFSRegistrarTransactorSession struct { Contract *FIFSRegistrarTransactor //用于设置会话的通用合同事务处理程序绑定 TransactOpts bind.TransactOpts //要在此会话中使用的事务验证选项 }
具有预设的Transact选项。
func (*FIFSRegistrarTransactorSession) Register ¶
func (_FIFSRegistrar *FIFSRegistrarTransactorSession) Register(subnode [32]byte, owner common.Address) (*types.Transaction, error)
寄存器是一个受合同方法0xD22057A9约束的付费转换器事务。
solidity:函数寄存器(子节点字节32,所有者地址)返回()
type PublicResolver ¶
type PublicResolver struct { PublicResolverCaller //对合同具有只读约束力 PublicResolverTransactor //只写对合同有约束力 PublicResolverFilterer //合同事件的日志筛选程序 }
PublicResolver是围绕以太坊契约自动生成的Go绑定。
func DeployPublicResolver ¶
func DeployPublicResolver(auth *bind.TransactOpts, backend bind.ContractBackend, ensAddr common.Address) (common.Address, *types.Transaction, *PublicResolver, error)
部署公共解析器部署一个新的EUTHUM合同,将公共解析器的实例绑定到它。
func NewPublicResolver ¶
func NewPublicResolver(address common.Address, backend bind.ContractBackend) (*PublicResolver, error)
NewPublicResolver创建绑定到特定部署协定的PublicResolver的新实例。
type PublicResolverABIChanged ¶
type PublicResolverABIChanged struct { Node [32]byte ContentType *big.Int Raw types.Log //区块链特定的上下文信息 }
PublicResolverAbiChanged表示PublicResolver协定引发的AbiChanged事件。
type PublicResolverABIChangedIterator ¶
type PublicResolverABIChangedIterator struct { Event *PublicResolverABIChanged //包含合同细节和原始日志的事件 // contains filtered or unexported fields }
publicResolvabicChangedEditor从filterabichanged返回,用于对publicResolver协定引发的abichanged事件的原始日志和解包数据进行迭代。
func (*PublicResolverABIChangedIterator) Close ¶
func (it *PublicResolverABIChangedIterator) Close() error
关闭终止迭代过程,释放任何挂起的基础 资源。
func (*PublicResolverABIChangedIterator) Error ¶
func (it *PublicResolverABIChangedIterator) Error() error
重试时出错。筛选过程中出现任何检索或分析错误。
func (*PublicResolverABIChangedIterator) Next ¶
func (it *PublicResolverABIChangedIterator) Next() bool
next将迭代器前进到后续事件,返回是否存在 是否找到更多事件。在检索或分析错误的情况下,false是 返回错误(),可以查询错误()的确切错误。
type PublicResolverAddrChanged ¶
type PublicResolverAddrChanged struct { Node [32]byte A common.Address Raw types.Log //区块链特定的上下文信息 }
PublicResolverAddrChanged表示PublicResolver协定引发的AddrChanged事件。
type PublicResolverAddrChangedIterator ¶
type PublicResolverAddrChangedIterator struct { Event *PublicResolverAddrChanged //包含合同细节和原始日志的事件 // contains filtered or unexported fields }
publicResolver addrChangediterator从filterAddrChanged返回,用于迭代publicResolver协定引发的addrChanged事件的原始日志和解包数据。
func (*PublicResolverAddrChangedIterator) Close ¶
func (it *PublicResolverAddrChangedIterator) Close() error
关闭终止迭代过程,释放任何挂起的基础 资源。
func (*PublicResolverAddrChangedIterator) Error ¶
func (it *PublicResolverAddrChangedIterator) Error() error
重试时出错。筛选过程中出现任何检索或分析错误。
func (*PublicResolverAddrChangedIterator) Next ¶
func (it *PublicResolverAddrChangedIterator) Next() bool
next将迭代器前进到后续事件,返回是否存在 是否找到更多事件。在检索或分析错误的情况下,false是 返回错误(),可以查询错误()的确切错误。
type PublicResolverCaller ¶
type PublicResolverCaller struct {
// contains filtered or unexported fields
}
PublicResolverCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewPublicResolverCaller ¶
func NewPublicResolverCaller(address common.Address, caller bind.ContractCaller) (*PublicResolverCaller, error)
NewPublicResolver调用程序创建绑定到特定部署协定的PublicResolver的新只读实例。
func (*PublicResolverCaller) ABI ¶
func (_PublicResolver *PublicResolverCaller) ABI(opts *bind.CallOpts, node [32]byte, contentTypes *big.Int) (struct { ContentType *big.Int Data []byte }, error)
ABI是一个绑定契约方法0x2203ab56的免费数据检索调用。
solidity:函数abi(node bytes32,contenttype uint256)常量返回(contenttype uint256,data bytes)
func (*PublicResolverCaller) Addr ¶
func (_PublicResolver *PublicResolverCaller) Addr(opts *bind.CallOpts, node [32]byte) (common.Address, error)
addr是绑定contract方法0x3b3b57de的自由数据检索调用。
solidity:函数addr(node bytes32)常量返回(ret address)
func (*PublicResolverCaller) Content ¶
func (_PublicResolver *PublicResolverCaller) Content(opts *bind.CallOpts, node [32]byte) ([32]byte, error)
content是一个绑定contract方法0x2dff6941的免费数据检索调用。
solidity:函数内容(节点字节32)常量返回(ret字节32)
func (*PublicResolverCaller) Name ¶
func (_PublicResolver *PublicResolverCaller) Name(opts *bind.CallOpts, node [32]byte) (string, error)
name是绑定协定方法0x691F3431的免费数据检索调用。
solidity:函数名(node bytes32)常量返回(ret string)
func (*PublicResolverCaller) Pubkey ¶
func (_PublicResolver *PublicResolverCaller) Pubkey(opts *bind.CallOpts, node [32]byte) (struct { X [32]byte Y [32]byte }, error)
pubkey是绑定契约方法0xC8690233的免费数据检索调用。
solidity:函数pubkey(node bytes 32)常量返回(x bytes 32,y bytes 32)
func (*PublicResolverCaller) SupportsInterface ¶
func (_PublicResolver *PublicResolverCaller) SupportsInterface(opts *bind.CallOpts, interfaceID [4]byte) (bool, error)
SUPPORTSInterface是一个绑定契约方法0x01FC9A7的免费数据检索调用。
solidity:函数支持接口(interfaceid bytes 4)常量返回(bool)
type PublicResolverCallerRaw ¶
type PublicResolverCallerRaw struct {
Contract *PublicResolverCaller //用于访问上的原始方法的通用只读协定绑定
}
PublicResolverCallerraw是围绕以太坊契约自动生成的低级别只读Go绑定。
type PublicResolverCallerSession ¶
type PublicResolverCallerSession struct { Contract *PublicResolverCaller //用于设置会话的通用协定调用方绑定 CallOpts bind.CallOpts //在整个会话中使用的调用选项 }
PublicResolverCallersession是围绕以太坊合约自动生成的只读Go绑定, 带预设通话选项。
func (*PublicResolverCallerSession) ABI ¶
func (_PublicResolver *PublicResolverCallerSession) ABI(node [32]byte, contentTypes *big.Int) (struct { ContentType *big.Int Data []byte }, error)
ABI是一个绑定契约方法0x2203ab56的免费数据检索调用。
solidity:函数abi(node bytes32,contenttype uint256)常量返回(contenttype uint256,data bytes)
func (*PublicResolverCallerSession) Addr ¶
func (_PublicResolver *PublicResolverCallerSession) Addr(node [32]byte) (common.Address, error)
addr是绑定contract方法0x3b3b57de的自由数据检索调用。
solidity:函数addr(node bytes32)常量返回(ret address)
func (*PublicResolverCallerSession) Content ¶
func (_PublicResolver *PublicResolverCallerSession) Content(node [32]byte) ([32]byte, error)
content是一个绑定contract方法0x2dff6941的免费数据检索调用。
solidity:函数内容(节点字节32)常量返回(ret字节32)
func (*PublicResolverCallerSession) Name ¶
func (_PublicResolver *PublicResolverCallerSession) Name(node [32]byte) (string, error)
name是绑定协定方法0x691F3431的免费数据检索调用。
solidity:函数名(node bytes32)常量返回(ret string)
func (*PublicResolverCallerSession) Pubkey ¶
func (_PublicResolver *PublicResolverCallerSession) Pubkey(node [32]byte) (struct { X [32]byte Y [32]byte }, error)
pubkey是绑定契约方法0xC8690233的免费数据检索调用。
solidity:函数pubkey(node bytes 32)常量返回(x bytes 32,y bytes 32)
func (*PublicResolverCallerSession) SupportsInterface ¶
func (_PublicResolver *PublicResolverCallerSession) SupportsInterface(interfaceID [4]byte) (bool, error)
SUPPORTSInterface是一个绑定契约方法0x01FC9A7的免费数据检索调用。
solidity:函数支持接口(interfaceid bytes 4)常量返回(bool)
type PublicResolverContentChanged ¶
type PublicResolverContentChanged struct { Node [32]byte Hash [32]byte Raw types.Log //区块链特定的上下文信息 }
PublicResolverContentChanged表示PublicResolver协定引发的ContentChanged事件。
type PublicResolverContentChangedIterator ¶
type PublicResolverContentChangedIterator struct { Event *PublicResolverContentChanged //包含合同细节和原始日志的事件 // contains filtered or unexported fields }
func (*PublicResolverContentChangedIterator) Close ¶
func (it *PublicResolverContentChangedIterator) Close() error
关闭终止迭代过程,释放任何挂起的基础 资源。
func (*PublicResolverContentChangedIterator) Error ¶
func (it *PublicResolverContentChangedIterator) Error() error
重试时出错。筛选过程中出现任何检索或分析错误。
func (*PublicResolverContentChangedIterator) Next ¶
func (it *PublicResolverContentChangedIterator) Next() bool
next将迭代器前进到后续事件,返回是否存在 是否找到更多事件。在检索或分析错误的情况下,false是 返回错误(),可以查询错误()的确切错误。
type PublicResolverFilterer ¶
type PublicResolverFilterer struct {
// contains filtered or unexported fields
}
PublicResolverFilter是围绕以太坊契约事件自动生成的日志筛选Go绑定。
func NewPublicResolverFilterer ¶
func NewPublicResolverFilterer(address common.Address, filterer bind.ContractFilterer) (*PublicResolverFilterer, error)
NewPublicResolverFilter创建PublicResolver的新日志筛选器实例,该实例绑定到特定的已部署协定。
func (*PublicResolverFilterer) FilterABIChanged ¶
func (_PublicResolver *PublicResolverFilterer) FilterABIChanged(opts *bind.FilterOpts, node [][32]byte, contentType []*big.Int) (*PublicResolverABIChangedIterator, error)
filterabichanged是绑定合同事件0xaa121bbeef5f32f5961a2896e769023910fc9479059ee3495d4c1a696efe3的自由日志检索操作。
solidity:事件abichanged(节点索引字节32,内容类型索引uint256)
func (*PublicResolverFilterer) FilterAddrChanged ¶
func (_PublicResolver *PublicResolverFilterer) FilterAddrChanged(opts *bind.FilterOpts, node [][32]byte) (*PublicResolverAddrChangedIterator, error)
filterAddrChanged是一个绑定合同事件0x52d7d861f09ab3d26239d492e8968629f95e9e318cf0b73bfddc441522a15fd2的免费日志检索操作。
func (*PublicResolverFilterer) FilterContentChanged ¶
func (_PublicResolver *PublicResolverFilterer) FilterContentChanged(opts *bind.FilterOpts, node [][32]byte) (*PublicResolverContentChangedIterator, error)
filterContentChanged是绑定合同事件0x0424B6FE0D9c3bBece07799dc241bb0c22e900be8b6c168b4ee08bd9bf83bc的自由日志检索操作。
solidity:事件内容已更改(节点索引字节32、哈希字节32)
func (*PublicResolverFilterer) FilterNameChanged ¶
func (_PublicResolver *PublicResolverFilterer) FilterNameChanged(opts *bind.FilterOpts, node [][32]byte) (*PublicResolverNameChangedIterator, error)
filternamechanged是绑定合同事件0xb7d29e911041e8d9b843369e890bcb72c9388692ba48b65ac54e724c4c348f7的自由日志检索操作。
solidity:事件名称已更改(节点索引字节32,名称字符串)
func (*PublicResolverFilterer) FilterPubkeyChanged ¶
func (_PublicResolver *PublicResolverFilterer) FilterPubkeyChanged(opts *bind.FilterOpts, node [][32]byte) (*PublicResolverPubkeyChangedIterator, error)
filterPubKeyChanged是一个自由的日志检索操作,绑定合同事件0x1d6f5e03d3f63eb58751986629a5439baee5079ff04f345becb66e23eb154e46。
Solidity:事件PubKeyChanged(节点索引字节32、X字节32、Y字节32)
func (*PublicResolverFilterer) FilterTextChanged ¶
func (_PublicResolver *PublicResolverFilterer) FilterTextChanged(opts *bind.FilterOpts, node [][32]byte, indexedKey []string) (*PublicResolverTextChangedIterator, error)
filtertextchanged是绑定合同事件0xD8C9334B1A9C2F9DA342A2A232629C1A229B6445DAD78947F674B44444A7550的自由日志检索操作。
solidity:事件文本已更改(节点索引字节32、索引键索引字符串、键字符串)
func (*PublicResolverFilterer) WatchABIChanged ¶
func (_PublicResolver *PublicResolverFilterer) WatchABIChanged(opts *bind.WatchOpts, sink chan<- *PublicResolverABIChanged, node [][32]byte, contentType []*big.Int) (event.Subscription, error)
watchabiChanged是一个绑定合同事件0xaa121bbeef5f32f5961a2896e769023910fc9479059ee3495d4c1a696efe3的自由日志订阅操作。
solidity:事件abichanged(节点索引字节32,内容类型索引uint256)
func (*PublicResolverFilterer) WatchAddrChanged ¶
func (_PublicResolver *PublicResolverFilterer) WatchAddrChanged(opts *bind.WatchOpts, sink chan<- *PublicResolverAddrChanged, node [][32]byte) (event.Subscription, error)
watchAddrChanged是绑定合同事件0x52d7d861f09ab3d26239d492e8968629f95e9e318cf0b73bfddc441522a15fd2的免费日志订阅操作。
solidity:事件addrChanged(节点索引字节32,地址)
func (*PublicResolverFilterer) WatchContentChanged ¶
func (_PublicResolver *PublicResolverFilterer) WatchContentChanged(opts *bind.WatchOpts, sink chan<- *PublicResolverContentChanged, node [][32]byte) (event.Subscription, error)
watchContentChanged是绑定合同事件0x0424B6FE0D9c3bBece07799dc241bb0c22e900be8b6c168b4ee08bd9bf83bc的自由日志订阅操作。
solidity:事件内容已更改(节点索引字节32、哈希字节32)
func (*PublicResolverFilterer) WatchNameChanged ¶
func (_PublicResolver *PublicResolverFilterer) WatchNameChanged(opts *bind.WatchOpts, sink chan<- *PublicResolverNameChanged, node [][32]byte) (event.Subscription, error)
watchnamechanged是绑定合同事件0xb7d29e911041e8d9b843369e890bcb72c9388692ba48b65ac54e724c4c348f7的免费日志订阅操作。
solidity:事件名称已更改(节点索引字节32,名称字符串)
func (*PublicResolverFilterer) WatchPubkeyChanged ¶
func (_PublicResolver *PublicResolverFilterer) WatchPubkeyChanged(opts *bind.WatchOpts, sink chan<- *PublicResolverPubkeyChanged, node [][32]byte) (event.Subscription, error)
Solidity:事件PubKeyChanged(节点索引字节32、X字节32、Y字节32)
func (*PublicResolverFilterer) WatchTextChanged ¶
func (_PublicResolver *PublicResolverFilterer) WatchTextChanged(opts *bind.WatchOpts, sink chan<- *PublicResolverTextChanged, node [][32]byte, indexedKey []string) (event.Subscription, error)
watchTextChanged是一个绑定合同事件0xD8C9334B1A9C2F9DA342A2A232629C1A229B6445DAD78947F674B44444A7550的免费日志订阅操作。
solidity:事件文本已更改(节点索引字节32、索引键索引字符串、键字符串)
type PublicResolverNameChanged ¶
PublicResolverNameChanged表示PublicResolver协定引发的NameChanged事件。
type PublicResolverNameChangedIterator ¶
type PublicResolverNameChangedIterator struct { Event *PublicResolverNameChanged //包含合同细节和原始日志的事件 // contains filtered or unexported fields }
publicResolverNameChangedEditor从filterNameChanged返回,用于迭代publicResolver协定引发的名称更改事件的原始日志和解包数据。
func (*PublicResolverNameChangedIterator) Close ¶
func (it *PublicResolverNameChangedIterator) Close() error
关闭终止迭代过程,释放任何挂起的基础 资源。
func (*PublicResolverNameChangedIterator) Error ¶
func (it *PublicResolverNameChangedIterator) Error() error
重试时出错。筛选过程中出现任何检索或分析错误。
func (*PublicResolverNameChangedIterator) Next ¶
func (it *PublicResolverNameChangedIterator) Next() bool
next将迭代器前进到后续事件,返回是否存在 是否找到更多事件。在检索或分析错误的情况下,false是 返回错误(),可以查询错误()的确切错误。
type PublicResolverPubkeyChanged ¶
type PublicResolverPubkeyChanged struct { Node [32]byte X [32]byte Y [32]byte Raw types.Log //区块链特定的上下文信息 }
PublicResolverPubKeyChanged表示PublicResolver协定引发的PubKeyChanged事件。
type PublicResolverPubkeyChangedIterator ¶
type PublicResolverPubkeyChangedIterator struct { Event *PublicResolverPubkeyChanged //包含合同细节和原始日志的事件 // contains filtered or unexported fields }
PublicResolverPubKeyChangedEditor从filterPubKeyChanged返回,用于迭代PublicResolver协定引发的PubKeyChanged事件的原始日志和解包数据。
func (*PublicResolverPubkeyChangedIterator) Close ¶
func (it *PublicResolverPubkeyChangedIterator) Close() error
关闭终止迭代过程,释放任何挂起的基础 资源。
func (*PublicResolverPubkeyChangedIterator) Error ¶
func (it *PublicResolverPubkeyChangedIterator) Error() error
重试时出错。筛选过程中出现任何检索或分析错误。
func (*PublicResolverPubkeyChangedIterator) Next ¶
func (it *PublicResolverPubkeyChangedIterator) Next() bool
next将迭代器前进到后续事件,返回是否存在 是否找到更多事件。在检索或分析错误的情况下,false是 返回错误(),可以查询错误()的确切错误。
type PublicResolverRaw ¶
type PublicResolverRaw struct {
Contract *PublicResolver //用于访问上的原始方法的通用合同绑定
}
PublicResolverRaw是围绕以太坊合同自动生成的低级Go绑定。
func (*PublicResolverRaw) Call ¶
func (_PublicResolver *PublicResolverRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error
调用调用(常量)contract方法,参数作为输入值,并且 将输出设置为结果。结果类型可能是用于 返回、匿名返回的接口切片和命名的结构 返回。
func (*PublicResolverRaw) Transact ¶
func (_PublicResolver *PublicResolverRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact使用参数作为输入值调用(付费)Contract方法。
func (*PublicResolverRaw) Transfer ¶
func (_PublicResolver *PublicResolverRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
转账启动普通交易以将资金转移到合同,调用 它的默认方法(如果有)。
type PublicResolverSession ¶
type PublicResolverSession struct { Contract *PublicResolver //为其设置会话的通用约定绑定 CallOpts bind.CallOpts //在整个会话中使用的调用选项 TransactOpts bind.TransactOpts //要在此会话中使用的事务验证选项 }
PublicResolverSession是围绕以太坊合同自动生成的Go绑定, 具有预设的调用和事务处理选项。
func (*PublicResolverSession) ABI ¶
func (_PublicResolver *PublicResolverSession) ABI(node [32]byte, contentTypes *big.Int) (struct { ContentType *big.Int Data []byte }, error)
ABI是一个绑定契约方法0x2203ab56的免费数据检索调用。
solidity:函数abi(node bytes32,contenttype uint256)常量返回(contenttype uint256,data bytes)
func (*PublicResolverSession) Addr ¶
func (_PublicResolver *PublicResolverSession) Addr(node [32]byte) (common.Address, error)
addr是绑定contract方法0x3b3b57de的自由数据检索调用。
solidity:函数addr(node bytes32)常量返回(ret address)
func (*PublicResolverSession) Content ¶
func (_PublicResolver *PublicResolverSession) Content(node [32]byte) ([32]byte, error)
content是一个绑定contract方法0x2dff6941的免费数据检索调用。
solidity:函数内容(节点字节32)常量返回(ret字节32)
func (*PublicResolverSession) Name ¶
func (_PublicResolver *PublicResolverSession) Name(node [32]byte) (string, error)
name是绑定协定方法0x691F3431的免费数据检索调用。
solidity:函数名(node bytes32)常量返回(ret string)
func (*PublicResolverSession) Pubkey ¶
func (_PublicResolver *PublicResolverSession) Pubkey(node [32]byte) (struct { X [32]byte Y [32]byte }, error)
pubkey是绑定契约方法0xC8690233的免费数据检索调用。
solidity:函数pubkey(node bytes 32)常量返回(x bytes 32,y bytes 32)
func (*PublicResolverSession) SetABI ¶
func (_PublicResolver *PublicResolverSession) SetABI(node [32]byte, contentType *big.Int, data []byte) (*types.Transaction, error)
setabi是一个受合同方法0x623195b0约束的付费变元事务。
solidity:函数setabi(node bytes 32,contenttype uint256,data bytes)返回()
func (*PublicResolverSession) SetAddr ¶
func (_PublicResolver *PublicResolverSession) SetAddr(node [32]byte, addr common.Address) (*types.Transaction, error)
setaddr是一个付费的mutator事务,绑定合同方法0xD5FA2B00。
solidity:函数setaddr(node bytes32,addr address)返回()
func (*PublicResolverSession) SetContent ¶
func (_PublicResolver *PublicResolverSession) SetContent(node [32]byte, hash [32]byte) (*types.Transaction, error)
setContent是一个付费的mutator事务,绑定合同方法0xc3d014d6。
solidity:函数setcontent(node bytes 32,hash bytes 32)返回()
func (*PublicResolverSession) SetName ¶
func (_PublicResolver *PublicResolverSession) SetName(node [32]byte, name string) (*types.Transaction, error)
setname是一个付费的mutator事务,绑定合同方法0x77372213。
solidity:函数setname(node bytes32,name string)返回()
func (*PublicResolverSession) SetPubkey ¶
func (_PublicResolver *PublicResolverSession) SetPubkey(node [32]byte, x [32]byte, y [32]byte) (*types.Transaction, error)
setpubkey是一个付费的mutator事务,绑定合同方法0x29CD62EA。
solidity:函数setpubkey(node bytes 32,x bytes 32,y bytes 32)返回()
func (*PublicResolverSession) SetText ¶
func (_PublicResolver *PublicResolverSession) SetText(node [32]byte, key string, value string) (*types.Transaction, error)
settext是一个付费的mutator事务,绑定合同方法0x10F13A8C。
solidity:函数settext(node bytes 32,key string,value string)返回()
func (*PublicResolverSession) SupportsInterface ¶
func (_PublicResolver *PublicResolverSession) SupportsInterface(interfaceID [4]byte) (bool, error)
SUPPORTSInterface是一个绑定契约方法0x01FC9A7的免费数据检索调用。
solidity:函数支持接口(interfaceid bytes 4)常量返回(bool)
type PublicResolverTextChanged ¶
type PublicResolverTextChanged struct { Node [32]byte IndexedKey common.Hash Key string Raw types.Log //区块链特定的上下文信息 }
PublicResolverTextChanged represents a TextChanged event raised by the PublicResolver contract.
type PublicResolverTextChangedIterator ¶
type PublicResolverTextChangedIterator struct { Event *PublicResolverTextChanged //包含合同细节和原始日志的事件 // contains filtered or unexported fields }
publicResolverTextChangedEditor从filterTextChanged返回,用于为publicResolver协定引发的textChanged事件迭代原始日志和解包数据。
func (*PublicResolverTextChangedIterator) Close ¶
func (it *PublicResolverTextChangedIterator) Close() error
关闭终止迭代过程,释放任何挂起的基础 资源。
func (*PublicResolverTextChangedIterator) Error ¶
func (it *PublicResolverTextChangedIterator) Error() error
重试时出错。筛选过程中出现任何检索或分析错误。
func (*PublicResolverTextChangedIterator) Next ¶
func (it *PublicResolverTextChangedIterator) Next() bool
next将迭代器前进到后续事件,返回是否存在 是否找到更多事件。在检索或分析错误的情况下,false是 返回错误(),可以查询错误()的确切错误。
type PublicResolverTransactor ¶
type PublicResolverTransactor struct {
// contains filtered or unexported fields
}
PublicResolverTransactior是围绕以太坊契约自动生成的只写Go绑定。
func NewPublicResolverTransactor ¶
func NewPublicResolverTransactor(address common.Address, transactor bind.ContractTransactor) (*PublicResolverTransactor, error)
NewPublicResolverTransactior创建绑定到特定部署协定的PublicResolver的新的只写实例。
func (*PublicResolverTransactor) SetABI ¶
func (_PublicResolver *PublicResolverTransactor) SetABI(opts *bind.TransactOpts, node [32]byte, contentType *big.Int, data []byte) (*types.Transaction, error)
setabi是一个受合同方法0x623195b0约束的付费变元事务。
solidity:函数setabi(node bytes 32,contenttype uint256,data bytes)返回()
func (*PublicResolverTransactor) SetAddr ¶
func (_PublicResolver *PublicResolverTransactor) SetAddr(opts *bind.TransactOpts, node [32]byte, addr common.Address) (*types.Transaction, error)
setaddr是一个付费的mutator事务,绑定合同方法0xD5FA2B00。
solidity:函数setaddr(node bytes32,addr address)返回()
func (*PublicResolverTransactor) SetContent ¶
func (_PublicResolver *PublicResolverTransactor) SetContent(opts *bind.TransactOpts, node [32]byte, hash [32]byte) (*types.Transaction, error)
setContent是一个付费的mutator事务,绑定合同方法0xc3d014d6。
func (*PublicResolverTransactor) SetName ¶
func (_PublicResolver *PublicResolverTransactor) SetName(opts *bind.TransactOpts, node [32]byte, name string) (*types.Transaction, error)
setname是一个付费的mutator事务,绑定合同方法0x77372213。
solidity:函数setname(node bytes32,name string)返回()
func (*PublicResolverTransactor) SetPubkey ¶
func (_PublicResolver *PublicResolverTransactor) SetPubkey(opts *bind.TransactOpts, node [32]byte, x [32]byte, y [32]byte) (*types.Transaction, error)
setpubkey是一个付费的mutator事务,绑定合同方法0x29CD62EA。
solidity:函数setpubkey(node bytes 32,x bytes 32,y bytes 32)返回()
func (*PublicResolverTransactor) SetText ¶
func (_PublicResolver *PublicResolverTransactor) SetText(opts *bind.TransactOpts, node [32]byte, key string, value string) (*types.Transaction, error)
settext是一个付费的mutator事务,绑定合同方法0x10F13A8C。
solidity:函数settext(node bytes 32,key string,value string)返回()
type PublicResolverTransactorRaw ¶
type PublicResolverTransactorRaw struct {
Contract *PublicResolverTransactor //用于访问上的原始方法的通用只写协定绑定
}
func (*PublicResolverTransactorRaw) Transact ¶
func (_PublicResolver *PublicResolverTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact使用参数作为输入值调用(付费)Contract方法。
func (*PublicResolverTransactorRaw) Transfer ¶
func (_PublicResolver *PublicResolverTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
转账启动普通交易以将资金转移到合同,调用 它的默认方法(如果有)。
type PublicResolverTransactorSession ¶
type PublicResolverTransactorSession struct { Contract *PublicResolverTransactor //用于设置会话的通用合同事务处理程序绑定 TransactOpts bind.TransactOpts //要在此会话中使用的事务验证选项 }
PublicResolverTransactiorSession是围绕以太坊合同自动生成的只写Go绑定, 具有预设的Transact选项。
func (*PublicResolverTransactorSession) SetABI ¶
func (_PublicResolver *PublicResolverTransactorSession) SetABI(node [32]byte, contentType *big.Int, data []byte) (*types.Transaction, error)
setabi是一个受合同方法0x623195b0约束的付费变元事务。
solidity:函数setabi(node bytes 32,contenttype uint256,data bytes)返回()
func (*PublicResolverTransactorSession) SetAddr ¶
func (_PublicResolver *PublicResolverTransactorSession) SetAddr(node [32]byte, addr common.Address) (*types.Transaction, error)
setaddr是一个付费的mutator事务,绑定合同方法0xD5FA2B00。
solidity:函数setaddr(node bytes32,addr address)返回()
func (*PublicResolverTransactorSession) SetContent ¶
func (_PublicResolver *PublicResolverTransactorSession) SetContent(node [32]byte, hash [32]byte) (*types.Transaction, error)
setContent是一个付费的mutator事务,绑定合同方法0xc3d014d6。
solidity:函数setcontent(node bytes 32,hash bytes 32)返回()
func (*PublicResolverTransactorSession) SetName ¶
func (_PublicResolver *PublicResolverTransactorSession) SetName(node [32]byte, name string) (*types.Transaction, error)
setname是一个付费的mutator事务,绑定合同方法0x77372213。
solidity:函数setname(node bytes32,name string)返回()
func (*PublicResolverTransactorSession) SetPubkey ¶
func (_PublicResolver *PublicResolverTransactorSession) SetPubkey(node [32]byte, x [32]byte, y [32]byte) (*types.Transaction, error)
setpubkey是一个付费的mutator事务,绑定合同方法0x29CD62EA。
solidity:函数setpubkey(node bytes 32,x bytes 32,y bytes 32)返回()
func (*PublicResolverTransactorSession) SetText ¶
func (_PublicResolver *PublicResolverTransactorSession) SetText(node [32]byte, key string, value string) (*types.Transaction, error)
settext是一个付费的mutator事务,绑定合同方法0x10F13A8C。
solidity:函数settext(node bytes 32,key string,value string)返回()