diff options
author | Kiel barry <kiel.j.barry@gmail.com> | 2018-05-01 07:05:24 +0800 |
---|---|---|
committer | Rafael Matias <rafael@skyle.net> | 2019-02-19 20:18:02 +0800 |
commit | fd34bf594c7aac73530a449130387a0797fd1977 (patch) | |
tree | 2c2389acb064c6716c860e8402216c5ea66fe4e7 /contracts/ens/contract/ens.go | |
parent | 996230174ce203f328e622b82ffc0b9e0fc1c99b (diff) | |
download | dexon-fd34bf594c7aac73530a449130387a0797fd1977.tar dexon-fd34bf594c7aac73530a449130387a0797fd1977.tar.gz dexon-fd34bf594c7aac73530a449130387a0797fd1977.tar.bz2 dexon-fd34bf594c7aac73530a449130387a0797fd1977.tar.lz dexon-fd34bf594c7aac73530a449130387a0797fd1977.tar.xz dexon-fd34bf594c7aac73530a449130387a0797fd1977.tar.zst dexon-fd34bf594c7aac73530a449130387a0797fd1977.zip |
contracts/*: golint updates for this or self warning
(cherry picked from commit 53b823afc8c24337290ba2e7889c2dde496e9272)
Diffstat (limited to 'contracts/ens/contract/ens.go')
-rw-r--r-- | contracts/ens/contract/ens.go | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/contracts/ens/contract/ens.go b/contracts/ens/contract/ens.go index cbf6cb05b..8827071af 100644 --- a/contracts/ens/contract/ens.go +++ b/contracts/ens/contract/ens.go @@ -227,10 +227,10 @@ func (_ENS *ENSCallerSession) Resolver(node [32]byte) (common.Address, error) { return _ENS.Contract.Resolver(&_ENS.CallOpts, node) } -// Ttl is a free data retrieval call binding the contract method 0x16a25cbd. +// TTL is a free data retrieval call binding the contract method 0x16a25cbd. // // Solidity: function ttl(node bytes32) constant returns(uint64) -func (_ENS *ENSCaller) Ttl(opts *bind.CallOpts, node [32]byte) (uint64, error) { +func (_ENS *ENSCaller) TTL(opts *bind.CallOpts, node [32]byte) (uint64, error) { var ( ret0 = new(uint64) ) @@ -239,18 +239,18 @@ func (_ENS *ENSCaller) Ttl(opts *bind.CallOpts, node [32]byte) (uint64, error) { return *ret0, err } -// Ttl is a free data retrieval call binding the contract method 0x16a25cbd. +// TTL is a free data retrieval call binding the contract method 0x16a25cbd. // // Solidity: function ttl(node bytes32) constant returns(uint64) -func (_ENS *ENSSession) Ttl(node [32]byte) (uint64, error) { - return _ENS.Contract.Ttl(&_ENS.CallOpts, node) +func (_ENS *ENSSession) TTL(node [32]byte) (uint64, error) { + return _ENS.Contract.TTL(&_ENS.CallOpts, node) } -// Ttl is a free data retrieval call binding the contract method 0x16a25cbd. +// TTL is a free data retrieval call binding the contract method 0x16a25cbd. // // Solidity: function ttl(node bytes32) constant returns(uint64) -func (_ENS *ENSCallerSession) Ttl(node [32]byte) (uint64, error) { - return _ENS.Contract.Ttl(&_ENS.CallOpts, node) +func (_ENS *ENSCallerSession) TTL(node [32]byte) (uint64, error) { + return _ENS.Contract.TTL(&_ENS.CallOpts, node) } // SetOwner is a paid mutator transaction binding the contract method 0x5b0fc9c3. @@ -682,7 +682,7 @@ func (it *ENSNewTTLIterator) Close() error { // ENSNewTTL represents a NewTTL event raised by the ENS contract. type ENSNewTTL struct { Node [32]byte - Ttl uint64 + TTL uint64 Raw types.Log // Blockchain specific contextual infos } |