did

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Sep 22, 2022 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ContractABI = ContractMetaData.ABI

ContractABI is the input ABI used to generate the binding from. Deprecated: Use ContractMetaData.ABI instead.

View Source
var ContractMetaData = &bind.MetaData{
	ABI: "[{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"string\",\"name\":\"did\",\"type\":\"string\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"addr\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"}],\"name\":\"AddAuth\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"KYCProvider\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"KYCId\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"bool\",\"name\":\"status\",\"type\":\"bool\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"updateTime\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"expireTime\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"evidence\",\"type\":\"bytes\"}],\"name\":\"AddKYC\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"approved\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"Approval\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bool\",\"name\":\"approved\",\"type\":\"bool\"}],\"name\":\"ApprovalForAll\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"addr\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"string\",\"name\":\"did\",\"type\":\"string\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"Claim\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint8\",\"name\":\"version\",\"type\":\"uint8\"}],\"name\":\"Initialized\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"IssueDG\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"IssueNFT\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"previousOwner\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnerChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"string\",\"name\":\"did\",\"type\":\"string\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"addr\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"}],\"name\":\"RemoveAuth\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"Transfer\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"addr\",\"type\":\"address\"}],\"name\":\"addAuth\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"KYCProvider\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"KYCId\",\"type\":\"uint256\"},{\"internalType\":\"bool\",\"name\":\"status\",\"type\":\"bool\"},{\"internalType\":\"uint256\",\"name\":\"updateTime\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"expireTime\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"evidence\",\"type\":\"bytes\"}],\"name\":\"addKYC\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"addrClaimed\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"baseURI_\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"did\",\"type\":\"string\"}],\"name\":\"claim\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"DGAddr\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"evidence\",\"type\":\"bytes\"}],\"name\":\"claimDG\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"NFTAddr\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"sid\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"evidence\",\"type\":\"bytes\"}],\"name\":\"claimDGNFT\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"deedGrainAddrToIssuer\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"dgFactory\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"dgMinter\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"name\":\"did2TokenId\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"name\":\"didClaimed\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"didMinter\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"getApproved\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"getAuthorizedAddrs\",\"outputs\":[{\"internalType\":\"address[]\",\"name\":\"\",\"type\":\"address[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"KYCProvider\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"KYCId\",\"type\":\"uint256\"}],\"name\":\"getKYCInfo\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"_name\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"_symbol\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"_baseTokenURI\",\"type\":\"string\"},{\"internalType\":\"address\",\"name\":\"_owner\",\"type\":\"address\"}],\"name\":\"initialize\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"addr\",\"type\":\"address\"}],\"name\":\"isAddrAuthorized\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"}],\"name\":\"isApprovedForAll\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"_name\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"_symbol\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"_baseUri\",\"type\":\"string\"},{\"internalType\":\"bytes\",\"name\":\"_evidence\",\"type\":\"bytes\"},{\"internalType\":\"bool\",\"name\":\"_transferable\",\"type\":\"bool\"}],\"name\":\"issueDG\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"_name\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"_symbol\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"_baseUri\",\"type\":\"string\"},{\"internalType\":\"bytes\",\"name\":\"_evidence\",\"type\":\"bytes\"},{\"internalType\":\"uint256\",\"name\":\"_supply\",\"type\":\"uint256\"}],\"name\":\"issueNFT\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"string\",\"name\":\"did\",\"type\":\"string\"}],\"name\":\"mint\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"DGAddr\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"},{\"internalType\":\"address[]\",\"name\":\"addrs\",\"type\":\"address[]\"}],\"name\":\"mintDG\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"NFTAddr\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"sid\",\"type\":\"uint256\"},{\"internalType\":\"address[]\",\"name\":\"addrs\",\"type\":\"address[]\"}],\"name\":\"mintDGNFT\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"name\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"ownerOf\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"addr\",\"type\":\"address\"}],\"name\":\"removeAuth\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"safeTransferFrom\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"safeTransferFrom\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"approved\",\"type\":\"bool\"}],\"name\":\"setApprovalForAll\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"factory\",\"type\":\"address\"}],\"name\":\"setDGFactory\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"minter\",\"type\":\"address\"}],\"name\":\"setDGMinterAddr\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"minter\",\"type\":\"address\"}],\"name\":\"setDidMinterAddr\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"NFTAddr\",\"type\":\"address\"},{\"internalType\":\"string\",\"name\":\"baseUri\",\"type\":\"string\"}],\"name\":\"setNFTBaseUri\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"NFTAddr\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"supply\",\"type\":\"uint256\"}],\"name\":\"setNFTSupply\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"signer_\",\"type\":\"address\"}],\"name\":\"setSigner\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"DGAddr\",\"type\":\"address\"},{\"internalType\":\"string\",\"name\":\"baseUri\",\"type\":\"string\"}],\"name\":\"setTokenBaseUri\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"DGAddr\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"supply\",\"type\":\"uint256\"}],\"name\":\"setTokenSupply\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"signer\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes4\",\"name\":\"interfaceId\",\"type\":\"bytes4\"}],\"name\":\"supportsInterface\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"symbol\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"index\",\"type\":\"uint256\"}],\"name\":\"tokenByIndex\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"tokenId2Did\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"index\",\"type\":\"uint256\"}],\"name\":\"tokenOfOwnerByIndex\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"tokenURI\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"totalSupply\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"did\",\"type\":\"string\"}],\"name\":\"verifyDIDFormat\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"pure\",\"type\":\"function\"}]",
}

ContractMetaData contains all meta data concerning the Contract contract.

Functions

This section is empty.

Types

type Contract

type Contract struct {
	ContractCaller     // Read-only binding to the contract
	ContractTransactor // Write-only binding to the contract
	ContractFilterer   // Log filterer for contract events
}

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

func NewContract

func NewContract(address common.Address, backend bind.ContractBackend) (*Contract, error)

NewContract creates a new instance of Contract, bound to a specific deployed contract.

type ContractAddAuth

type ContractAddAuth struct {
	Did      string
	Addr     common.Address
	Operator common.Address
	Raw      types.Log // Blockchain specific contextual infos
}

ContractAddAuth represents a AddAuth event raised by the Contract contract.

type ContractAddAuthIterator

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

ContractAddAuthIterator is returned from FilterAddAuth and is used to iterate over the raw logs and unpacked data for AddAuth events raised by the Contract contract.

func (*ContractAddAuthIterator) Close

func (it *ContractAddAuthIterator) Close() error

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

func (*ContractAddAuthIterator) Error

func (it *ContractAddAuthIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*ContractAddAuthIterator) Next

func (it *ContractAddAuthIterator) 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 ContractAddKYC

type ContractAddKYC struct {
	TokenId     *big.Int
	KYCProvider common.Address
	KYCId       *big.Int
	Status      bool
	UpdateTime  *big.Int
	ExpireTime  *big.Int
	Evidence    []byte
	Raw         types.Log // Blockchain specific contextual infos
}

ContractAddKYC represents a AddKYC event raised by the Contract contract.

type ContractAddKYCIterator

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

ContractAddKYCIterator is returned from FilterAddKYC and is used to iterate over the raw logs and unpacked data for AddKYC events raised by the Contract contract.

func (*ContractAddKYCIterator) Close

func (it *ContractAddKYCIterator) Close() error

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

func (*ContractAddKYCIterator) Error

func (it *ContractAddKYCIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*ContractAddKYCIterator) Next

func (it *ContractAddKYCIterator) 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 ContractApproval

type ContractApproval struct {
	Owner    common.Address
	Approved common.Address
	TokenId  *big.Int
	Raw      types.Log // Blockchain specific contextual infos
}

ContractApproval represents a Approval event raised by the Contract contract.

type ContractApprovalForAll

type ContractApprovalForAll struct {
	Owner    common.Address
	Operator common.Address
	Approved bool
	Raw      types.Log // Blockchain specific contextual infos
}

ContractApprovalForAll represents a ApprovalForAll event raised by the Contract contract.

type ContractApprovalForAllIterator

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

ContractApprovalForAllIterator is returned from FilterApprovalForAll and is used to iterate over the raw logs and unpacked data for ApprovalForAll events raised by the Contract contract.

func (*ContractApprovalForAllIterator) Close

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

func (*ContractApprovalForAllIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ContractApprovalForAllIterator) Next

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 ContractApprovalIterator

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

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

func (*ContractApprovalIterator) Close

func (it *ContractApprovalIterator) Close() error

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

func (*ContractApprovalIterator) Error

func (it *ContractApprovalIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*ContractApprovalIterator) Next

func (it *ContractApprovalIterator) 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 ContractCaller

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

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

func NewContractCaller

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

NewContractCaller creates a new read-only instance of Contract, bound to a specific deployed contract.

func (*ContractCaller) AddrClaimed

func (_Contract *ContractCaller) AddrClaimed(opts *bind.CallOpts, arg0 common.Address) (bool, error)

AddrClaimed is a free data retrieval call binding the contract method 0xfce1554c.

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

func (*ContractCaller) BalanceOf

func (_Contract *ContractCaller) BalanceOf(opts *bind.CallOpts, owner common.Address) (*big.Int, error)

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

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

func (*ContractCaller) BaseURI

func (_Contract *ContractCaller) BaseURI(opts *bind.CallOpts) (string, error)

BaseURI is a free data retrieval call binding the contract method 0xf259a29e.

Solidity: function baseURI_() view returns(string)

func (*ContractCaller) DeedGrainAddrToIssuer added in v0.0.3

func (_Contract *ContractCaller) DeedGrainAddrToIssuer(opts *bind.CallOpts, arg0 common.Address) (common.Address, error)

DeedGrainAddrToIssuer is a free data retrieval call binding the contract method 0x4f9a1c8c.

Solidity: function deedGrainAddrToIssuer(address ) view returns(address)

func (*ContractCaller) DgFactory added in v0.0.3

func (_Contract *ContractCaller) DgFactory(opts *bind.CallOpts) (common.Address, error)

DgFactory is a free data retrieval call binding the contract method 0x03919352.

Solidity: function dgFactory() view returns(address)

func (*ContractCaller) DgMinter

func (_Contract *ContractCaller) DgMinter(opts *bind.CallOpts) (common.Address, error)

DgMinter is a free data retrieval call binding the contract method 0xaf457dde.

Solidity: function dgMinter() view returns(address)

func (*ContractCaller) Did2TokenId

func (_Contract *ContractCaller) Did2TokenId(opts *bind.CallOpts, arg0 string) (*big.Int, error)

Did2TokenId is a free data retrieval call binding the contract method 0x4bb903bd.

Solidity: function did2TokenId(string ) view returns(uint256)

func (*ContractCaller) DidClaimed

func (_Contract *ContractCaller) DidClaimed(opts *bind.CallOpts, arg0 string) (bool, error)

DidClaimed is a free data retrieval call binding the contract method 0x284d08ca.

Solidity: function didClaimed(string ) view returns(bool)

func (*ContractCaller) DidMinter

func (_Contract *ContractCaller) DidMinter(opts *bind.CallOpts) (common.Address, error)

DidMinter is a free data retrieval call binding the contract method 0x1d2bbf39.

Solidity: function didMinter() view returns(address)

func (*ContractCaller) GetApproved

func (_Contract *ContractCaller) GetApproved(opts *bind.CallOpts, tokenId *big.Int) (common.Address, error)

GetApproved is a free data retrieval call binding the contract method 0x081812fc.

Solidity: function getApproved(uint256 tokenId) view returns(address)

func (*ContractCaller) GetAuthorizedAddrs

func (_Contract *ContractCaller) GetAuthorizedAddrs(opts *bind.CallOpts, tokenId *big.Int) ([]common.Address, error)

GetAuthorizedAddrs is a free data retrieval call binding the contract method 0xfd5a6780.

Solidity: function getAuthorizedAddrs(uint256 tokenId) view returns(address[])

func (*ContractCaller) GetKYCInfo

func (_Contract *ContractCaller) GetKYCInfo(opts *bind.CallOpts, tokenId *big.Int, KYCProvider common.Address, KYCId *big.Int) (bool, *big.Int, *big.Int, error)

GetKYCInfo is a free data retrieval call binding the contract method 0x7626884d.

Solidity: function getKYCInfo(uint256 tokenId, address KYCProvider, uint256 KYCId) view returns(bool, uint256, uint256)

func (*ContractCaller) IsAddrAuthorized

func (_Contract *ContractCaller) IsAddrAuthorized(opts *bind.CallOpts, tokenId *big.Int, addr common.Address) (bool, error)

IsAddrAuthorized is a free data retrieval call binding the contract method 0xd08f28a6.

Solidity: function isAddrAuthorized(uint256 tokenId, address addr) view returns(bool)

func (*ContractCaller) IsApprovedForAll

func (_Contract *ContractCaller) IsApprovedForAll(opts *bind.CallOpts, owner common.Address, operator common.Address) (bool, error)

IsApprovedForAll is a free data retrieval call binding the contract method 0xe985e9c5.

Solidity: function isApprovedForAll(address owner, address operator) view returns(bool)

func (*ContractCaller) Name

func (_Contract *ContractCaller) 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 (*ContractCaller) Owner

func (_Contract *ContractCaller) Owner(opts *bind.CallOpts) (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() view returns(address)

func (*ContractCaller) OwnerOf

func (_Contract *ContractCaller) OwnerOf(opts *bind.CallOpts, tokenId *big.Int) (common.Address, error)

OwnerOf is a free data retrieval call binding the contract method 0x6352211e.

Solidity: function ownerOf(uint256 tokenId) view returns(address)

func (*ContractCaller) Signer

func (_Contract *ContractCaller) Signer(opts *bind.CallOpts) (common.Address, error)

Signer is a free data retrieval call binding the contract method 0x238ac933.

Solidity: function signer() view returns(address)

func (*ContractCaller) SupportsInterface

func (_Contract *ContractCaller) SupportsInterface(opts *bind.CallOpts, interfaceId [4]byte) (bool, error)

SupportsInterface is a free data retrieval call binding the contract method 0x01ffc9a7.

Solidity: function supportsInterface(bytes4 interfaceId) view returns(bool)

func (*ContractCaller) Symbol

func (_Contract *ContractCaller) 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 (*ContractCaller) TokenByIndex

func (_Contract *ContractCaller) TokenByIndex(opts *bind.CallOpts, index *big.Int) (*big.Int, error)

TokenByIndex is a free data retrieval call binding the contract method 0x4f6ccce7.

Solidity: function tokenByIndex(uint256 index) view returns(uint256)

func (*ContractCaller) TokenId2Did

func (_Contract *ContractCaller) TokenId2Did(opts *bind.CallOpts, arg0 *big.Int) (string, error)

TokenId2Did is a free data retrieval call binding the contract method 0xc78826b7.

Solidity: function tokenId2Did(uint256 ) view returns(string)

func (*ContractCaller) TokenOfOwnerByIndex

func (_Contract *ContractCaller) TokenOfOwnerByIndex(opts *bind.CallOpts, owner common.Address, index *big.Int) (*big.Int, error)

TokenOfOwnerByIndex is a free data retrieval call binding the contract method 0x2f745c59.

Solidity: function tokenOfOwnerByIndex(address owner, uint256 index) view returns(uint256)

func (*ContractCaller) TokenURI

func (_Contract *ContractCaller) TokenURI(opts *bind.CallOpts, tokenId *big.Int) (string, error)

TokenURI is a free data retrieval call binding the contract method 0xc87b56dd.

Solidity: function tokenURI(uint256 tokenId) view returns(string)

func (*ContractCaller) TotalSupply

func (_Contract *ContractCaller) 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)

func (*ContractCaller) VerifyDIDFormat

func (_Contract *ContractCaller) VerifyDIDFormat(opts *bind.CallOpts, did string) (bool, error)

VerifyDIDFormat is a free data retrieval call binding the contract method 0xf9251132.

Solidity: function verifyDIDFormat(string did) pure returns(bool)

type ContractCallerRaw

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

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

func (*ContractCallerRaw) Call

func (_Contract *ContractCallerRaw) 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 ContractCallerSession

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

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

func (*ContractCallerSession) AddrClaimed

func (_Contract *ContractCallerSession) AddrClaimed(arg0 common.Address) (bool, error)

AddrClaimed is a free data retrieval call binding the contract method 0xfce1554c.

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

func (*ContractCallerSession) BalanceOf

func (_Contract *ContractCallerSession) BalanceOf(owner common.Address) (*big.Int, error)

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

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

func (*ContractCallerSession) BaseURI

func (_Contract *ContractCallerSession) BaseURI() (string, error)

BaseURI is a free data retrieval call binding the contract method 0xf259a29e.

Solidity: function baseURI_() view returns(string)

func (*ContractCallerSession) DeedGrainAddrToIssuer added in v0.0.3

func (_Contract *ContractCallerSession) DeedGrainAddrToIssuer(arg0 common.Address) (common.Address, error)

DeedGrainAddrToIssuer is a free data retrieval call binding the contract method 0x4f9a1c8c.

Solidity: function deedGrainAddrToIssuer(address ) view returns(address)

func (*ContractCallerSession) DgFactory added in v0.0.3

func (_Contract *ContractCallerSession) DgFactory() (common.Address, error)

DgFactory is a free data retrieval call binding the contract method 0x03919352.

Solidity: function dgFactory() view returns(address)

func (*ContractCallerSession) DgMinter

func (_Contract *ContractCallerSession) DgMinter() (common.Address, error)

DgMinter is a free data retrieval call binding the contract method 0xaf457dde.

Solidity: function dgMinter() view returns(address)

func (*ContractCallerSession) Did2TokenId

func (_Contract *ContractCallerSession) Did2TokenId(arg0 string) (*big.Int, error)

Did2TokenId is a free data retrieval call binding the contract method 0x4bb903bd.

Solidity: function did2TokenId(string ) view returns(uint256)

func (*ContractCallerSession) DidClaimed

func (_Contract *ContractCallerSession) DidClaimed(arg0 string) (bool, error)

DidClaimed is a free data retrieval call binding the contract method 0x284d08ca.

Solidity: function didClaimed(string ) view returns(bool)

func (*ContractCallerSession) DidMinter

func (_Contract *ContractCallerSession) DidMinter() (common.Address, error)

DidMinter is a free data retrieval call binding the contract method 0x1d2bbf39.

Solidity: function didMinter() view returns(address)

func (*ContractCallerSession) GetApproved

func (_Contract *ContractCallerSession) GetApproved(tokenId *big.Int) (common.Address, error)

GetApproved is a free data retrieval call binding the contract method 0x081812fc.

Solidity: function getApproved(uint256 tokenId) view returns(address)

func (*ContractCallerSession) GetAuthorizedAddrs

func (_Contract *ContractCallerSession) GetAuthorizedAddrs(tokenId *big.Int) ([]common.Address, error)

GetAuthorizedAddrs is a free data retrieval call binding the contract method 0xfd5a6780.

Solidity: function getAuthorizedAddrs(uint256 tokenId) view returns(address[])

func (*ContractCallerSession) GetKYCInfo

func (_Contract *ContractCallerSession) GetKYCInfo(tokenId *big.Int, KYCProvider common.Address, KYCId *big.Int) (bool, *big.Int, *big.Int, error)

GetKYCInfo is a free data retrieval call binding the contract method 0x7626884d.

Solidity: function getKYCInfo(uint256 tokenId, address KYCProvider, uint256 KYCId) view returns(bool, uint256, uint256)

func (*ContractCallerSession) IsAddrAuthorized

func (_Contract *ContractCallerSession) IsAddrAuthorized(tokenId *big.Int, addr common.Address) (bool, error)

IsAddrAuthorized is a free data retrieval call binding the contract method 0xd08f28a6.

Solidity: function isAddrAuthorized(uint256 tokenId, address addr) view returns(bool)

func (*ContractCallerSession) IsApprovedForAll

func (_Contract *ContractCallerSession) IsApprovedForAll(owner common.Address, operator common.Address) (bool, error)

IsApprovedForAll is a free data retrieval call binding the contract method 0xe985e9c5.

Solidity: function isApprovedForAll(address owner, address operator) view returns(bool)

func (*ContractCallerSession) Name

func (_Contract *ContractCallerSession) Name() (string, error)

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

Solidity: function name() view returns(string)

func (*ContractCallerSession) Owner

func (_Contract *ContractCallerSession) Owner() (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() view returns(address)

func (*ContractCallerSession) OwnerOf

func (_Contract *ContractCallerSession) OwnerOf(tokenId *big.Int) (common.Address, error)

OwnerOf is a free data retrieval call binding the contract method 0x6352211e.

Solidity: function ownerOf(uint256 tokenId) view returns(address)

func (*ContractCallerSession) Signer

func (_Contract *ContractCallerSession) Signer() (common.Address, error)

Signer is a free data retrieval call binding the contract method 0x238ac933.

Solidity: function signer() view returns(address)

func (*ContractCallerSession) SupportsInterface

func (_Contract *ContractCallerSession) SupportsInterface(interfaceId [4]byte) (bool, error)

SupportsInterface is a free data retrieval call binding the contract method 0x01ffc9a7.

Solidity: function supportsInterface(bytes4 interfaceId) view returns(bool)

func (*ContractCallerSession) Symbol

func (_Contract *ContractCallerSession) Symbol() (string, error)

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

Solidity: function symbol() view returns(string)

func (*ContractCallerSession) TokenByIndex

func (_Contract *ContractCallerSession) TokenByIndex(index *big.Int) (*big.Int, error)

TokenByIndex is a free data retrieval call binding the contract method 0x4f6ccce7.

Solidity: function tokenByIndex(uint256 index) view returns(uint256)

func (*ContractCallerSession) TokenId2Did

func (_Contract *ContractCallerSession) TokenId2Did(arg0 *big.Int) (string, error)

TokenId2Did is a free data retrieval call binding the contract method 0xc78826b7.

Solidity: function tokenId2Did(uint256 ) view returns(string)

func (*ContractCallerSession) TokenOfOwnerByIndex

func (_Contract *ContractCallerSession) TokenOfOwnerByIndex(owner common.Address, index *big.Int) (*big.Int, error)

TokenOfOwnerByIndex is a free data retrieval call binding the contract method 0x2f745c59.

Solidity: function tokenOfOwnerByIndex(address owner, uint256 index) view returns(uint256)

func (*ContractCallerSession) TokenURI

func (_Contract *ContractCallerSession) TokenURI(tokenId *big.Int) (string, error)

TokenURI is a free data retrieval call binding the contract method 0xc87b56dd.

Solidity: function tokenURI(uint256 tokenId) view returns(string)

func (*ContractCallerSession) TotalSupply

func (_Contract *ContractCallerSession) TotalSupply() (*big.Int, error)

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

Solidity: function totalSupply() view returns(uint256)

func (*ContractCallerSession) VerifyDIDFormat

func (_Contract *ContractCallerSession) VerifyDIDFormat(did string) (bool, error)

VerifyDIDFormat is a free data retrieval call binding the contract method 0xf9251132.

Solidity: function verifyDIDFormat(string did) pure returns(bool)

type ContractClaim

type ContractClaim struct {
	Addr    common.Address
	Did     string
	TokenId *big.Int
	Raw     types.Log // Blockchain specific contextual infos
}

ContractClaim represents a Claim event raised by the Contract contract.

type ContractClaimIterator

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

ContractClaimIterator is returned from FilterClaim and is used to iterate over the raw logs and unpacked data for Claim events raised by the Contract contract.

func (*ContractClaimIterator) Close

func (it *ContractClaimIterator) Close() error

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

func (*ContractClaimIterator) Error

func (it *ContractClaimIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*ContractClaimIterator) Next

func (it *ContractClaimIterator) 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 ContractFilterer

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

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

func NewContractFilterer

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

NewContractFilterer creates a new log filterer instance of Contract, bound to a specific deployed contract.

func (*ContractFilterer) FilterAddAuth

func (_Contract *ContractFilterer) FilterAddAuth(opts *bind.FilterOpts, addr []common.Address, operator []common.Address) (*ContractAddAuthIterator, error)

FilterAddAuth is a free log retrieval operation binding the contract event 0x6c2c4ba0077a62001b35851f5d6d20db1bd91dd851a976751bda124fe5f0bade.

Solidity: event AddAuth(string did, address indexed addr, address indexed operator)

func (*ContractFilterer) FilterAddKYC

func (_Contract *ContractFilterer) FilterAddKYC(opts *bind.FilterOpts) (*ContractAddKYCIterator, error)

FilterAddKYC is a free log retrieval operation binding the contract event 0xb3220829e8a54b0d9795c82f6d25b6695376dcc7bda1031d0bdbe648ff7f5bb8.

Solidity: event AddKYC(uint256 tokenId, address KYCProvider, uint256 KYCId, bool status, uint256 updateTime, uint256 expireTime, bytes evidence)

func (*ContractFilterer) FilterApproval

func (_Contract *ContractFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, approved []common.Address, tokenId []*big.Int) (*ContractApprovalIterator, error)

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

Solidity: event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId)

func (*ContractFilterer) FilterApprovalForAll

func (_Contract *ContractFilterer) FilterApprovalForAll(opts *bind.FilterOpts, owner []common.Address, operator []common.Address) (*ContractApprovalForAllIterator, error)

FilterApprovalForAll is a free log retrieval operation binding the contract event 0x17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31.

Solidity: event ApprovalForAll(address indexed owner, address indexed operator, bool approved)

func (*ContractFilterer) FilterClaim

func (_Contract *ContractFilterer) FilterClaim(opts *bind.FilterOpts, addr []common.Address, tokenId []*big.Int) (*ContractClaimIterator, error)

FilterClaim is a free log retrieval operation binding the contract event 0x4817f9bf3452f714053dae9894906f8f5fcc0498fa6296c49613657534abb201.

Solidity: event Claim(address indexed addr, string did, uint256 indexed tokenId)

func (*ContractFilterer) FilterInitialized

func (_Contract *ContractFilterer) FilterInitialized(opts *bind.FilterOpts) (*ContractInitializedIterator, error)

FilterInitialized is a free log retrieval operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.

Solidity: event Initialized(uint8 version)

func (*ContractFilterer) FilterIssueDG

func (_Contract *ContractFilterer) FilterIssueDG(opts *bind.FilterOpts, arg0 []common.Address) (*ContractIssueDGIterator, error)

FilterIssueDG is a free log retrieval operation binding the contract event 0xc05872623594b1c2574e0531d0cc06b56ceb48baddce03b13163aa822ddfd52c.

Solidity: event IssueDG(address indexed arg0, address arg1)

func (*ContractFilterer) FilterIssueNFT added in v0.0.3

func (_Contract *ContractFilterer) FilterIssueNFT(opts *bind.FilterOpts, arg0 []common.Address) (*ContractIssueNFTIterator, error)

FilterIssueNFT is a free log retrieval operation binding the contract event 0xf9d4b55952c081f85101e9a2f8c6d5843afd8c96692b343ae78aa9f653090c39.

Solidity: event IssueNFT(address indexed arg0, address arg1)

func (*ContractFilterer) FilterOwnerChanged

func (_Contract *ContractFilterer) FilterOwnerChanged(opts *bind.FilterOpts) (*ContractOwnerChangedIterator, error)

FilterOwnerChanged is a free log retrieval operation binding the contract event 0xb532073b38c83145e3e5135377a08bf9aab55bc0fd7c1179cd4fb995d2a5159c.

Solidity: event OwnerChanged(address previousOwner, address newOwner)

func (*ContractFilterer) FilterRemoveAuth

func (_Contract *ContractFilterer) FilterRemoveAuth(opts *bind.FilterOpts, addr []common.Address, operator []common.Address) (*ContractRemoveAuthIterator, error)

FilterRemoveAuth is a free log retrieval operation binding the contract event 0x33b3e038c0e28aca0b92d455e5141d87b1801617ba321b7ccce20b09f836a65c.

Solidity: event RemoveAuth(string did, address indexed addr, address indexed operator)

func (*ContractFilterer) FilterTransfer

func (_Contract *ContractFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address, tokenId []*big.Int) (*ContractTransferIterator, error)

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

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

func (*ContractFilterer) ParseAddAuth

func (_Contract *ContractFilterer) ParseAddAuth(log types.Log) (*ContractAddAuth, error)

ParseAddAuth is a log parse operation binding the contract event 0x6c2c4ba0077a62001b35851f5d6d20db1bd91dd851a976751bda124fe5f0bade.

Solidity: event AddAuth(string did, address indexed addr, address indexed operator)

func (*ContractFilterer) ParseAddKYC

func (_Contract *ContractFilterer) ParseAddKYC(log types.Log) (*ContractAddKYC, error)

ParseAddKYC is a log parse operation binding the contract event 0xb3220829e8a54b0d9795c82f6d25b6695376dcc7bda1031d0bdbe648ff7f5bb8.

Solidity: event AddKYC(uint256 tokenId, address KYCProvider, uint256 KYCId, bool status, uint256 updateTime, uint256 expireTime, bytes evidence)

func (*ContractFilterer) ParseApproval

func (_Contract *ContractFilterer) ParseApproval(log types.Log) (*ContractApproval, error)

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

Solidity: event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId)

func (*ContractFilterer) ParseApprovalForAll

func (_Contract *ContractFilterer) ParseApprovalForAll(log types.Log) (*ContractApprovalForAll, error)

ParseApprovalForAll is a log parse operation binding the contract event 0x17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31.

Solidity: event ApprovalForAll(address indexed owner, address indexed operator, bool approved)

func (*ContractFilterer) ParseClaim

func (_Contract *ContractFilterer) ParseClaim(log types.Log) (*ContractClaim, error)

ParseClaim is a log parse operation binding the contract event 0x4817f9bf3452f714053dae9894906f8f5fcc0498fa6296c49613657534abb201.

Solidity: event Claim(address indexed addr, string did, uint256 indexed tokenId)

func (*ContractFilterer) ParseInitialized

func (_Contract *ContractFilterer) ParseInitialized(log types.Log) (*ContractInitialized, error)

ParseInitialized is a log parse operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.

Solidity: event Initialized(uint8 version)

func (*ContractFilterer) ParseIssueDG

func (_Contract *ContractFilterer) ParseIssueDG(log types.Log) (*ContractIssueDG, error)

ParseIssueDG is a log parse operation binding the contract event 0xc05872623594b1c2574e0531d0cc06b56ceb48baddce03b13163aa822ddfd52c.

Solidity: event IssueDG(address indexed arg0, address arg1)

func (*ContractFilterer) ParseIssueNFT added in v0.0.3

func (_Contract *ContractFilterer) ParseIssueNFT(log types.Log) (*ContractIssueNFT, error)

ParseIssueNFT is a log parse operation binding the contract event 0xf9d4b55952c081f85101e9a2f8c6d5843afd8c96692b343ae78aa9f653090c39.

Solidity: event IssueNFT(address indexed arg0, address arg1)

func (*ContractFilterer) ParseOwnerChanged

func (_Contract *ContractFilterer) ParseOwnerChanged(log types.Log) (*ContractOwnerChanged, error)

ParseOwnerChanged is a log parse operation binding the contract event 0xb532073b38c83145e3e5135377a08bf9aab55bc0fd7c1179cd4fb995d2a5159c.

Solidity: event OwnerChanged(address previousOwner, address newOwner)

func (*ContractFilterer) ParseRemoveAuth

func (_Contract *ContractFilterer) ParseRemoveAuth(log types.Log) (*ContractRemoveAuth, error)

ParseRemoveAuth is a log parse operation binding the contract event 0x33b3e038c0e28aca0b92d455e5141d87b1801617ba321b7ccce20b09f836a65c.

Solidity: event RemoveAuth(string did, address indexed addr, address indexed operator)

func (*ContractFilterer) ParseTransfer

func (_Contract *ContractFilterer) ParseTransfer(log types.Log) (*ContractTransfer, error)

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

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

func (*ContractFilterer) WatchAddAuth

func (_Contract *ContractFilterer) WatchAddAuth(opts *bind.WatchOpts, sink chan<- *ContractAddAuth, addr []common.Address, operator []common.Address) (event.Subscription, error)

WatchAddAuth is a free log subscription operation binding the contract event 0x6c2c4ba0077a62001b35851f5d6d20db1bd91dd851a976751bda124fe5f0bade.

Solidity: event AddAuth(string did, address indexed addr, address indexed operator)

func (*ContractFilterer) WatchAddKYC

func (_Contract *ContractFilterer) WatchAddKYC(opts *bind.WatchOpts, sink chan<- *ContractAddKYC) (event.Subscription, error)

WatchAddKYC is a free log subscription operation binding the contract event 0xb3220829e8a54b0d9795c82f6d25b6695376dcc7bda1031d0bdbe648ff7f5bb8.

Solidity: event AddKYC(uint256 tokenId, address KYCProvider, uint256 KYCId, bool status, uint256 updateTime, uint256 expireTime, bytes evidence)

func (*ContractFilterer) WatchApproval

func (_Contract *ContractFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *ContractApproval, owner []common.Address, approved []common.Address, tokenId []*big.Int) (event.Subscription, error)

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

Solidity: event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId)

func (*ContractFilterer) WatchApprovalForAll

func (_Contract *ContractFilterer) WatchApprovalForAll(opts *bind.WatchOpts, sink chan<- *ContractApprovalForAll, owner []common.Address, operator []common.Address) (event.Subscription, error)

WatchApprovalForAll is a free log subscription operation binding the contract event 0x17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31.

Solidity: event ApprovalForAll(address indexed owner, address indexed operator, bool approved)

func (*ContractFilterer) WatchClaim

func (_Contract *ContractFilterer) WatchClaim(opts *bind.WatchOpts, sink chan<- *ContractClaim, addr []common.Address, tokenId []*big.Int) (event.Subscription, error)

WatchClaim is a free log subscription operation binding the contract event 0x4817f9bf3452f714053dae9894906f8f5fcc0498fa6296c49613657534abb201.

Solidity: event Claim(address indexed addr, string did, uint256 indexed tokenId)

func (*ContractFilterer) WatchInitialized

func (_Contract *ContractFilterer) WatchInitialized(opts *bind.WatchOpts, sink chan<- *ContractInitialized) (event.Subscription, error)

WatchInitialized is a free log subscription operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.

Solidity: event Initialized(uint8 version)

func (*ContractFilterer) WatchIssueDG

func (_Contract *ContractFilterer) WatchIssueDG(opts *bind.WatchOpts, sink chan<- *ContractIssueDG, arg0 []common.Address) (event.Subscription, error)

WatchIssueDG is a free log subscription operation binding the contract event 0xc05872623594b1c2574e0531d0cc06b56ceb48baddce03b13163aa822ddfd52c.

Solidity: event IssueDG(address indexed arg0, address arg1)

func (*ContractFilterer) WatchIssueNFT added in v0.0.3

func (_Contract *ContractFilterer) WatchIssueNFT(opts *bind.WatchOpts, sink chan<- *ContractIssueNFT, arg0 []common.Address) (event.Subscription, error)

WatchIssueNFT is a free log subscription operation binding the contract event 0xf9d4b55952c081f85101e9a2f8c6d5843afd8c96692b343ae78aa9f653090c39.

Solidity: event IssueNFT(address indexed arg0, address arg1)

func (*ContractFilterer) WatchOwnerChanged

func (_Contract *ContractFilterer) WatchOwnerChanged(opts *bind.WatchOpts, sink chan<- *ContractOwnerChanged) (event.Subscription, error)

WatchOwnerChanged is a free log subscription operation binding the contract event 0xb532073b38c83145e3e5135377a08bf9aab55bc0fd7c1179cd4fb995d2a5159c.

Solidity: event OwnerChanged(address previousOwner, address newOwner)

func (*ContractFilterer) WatchRemoveAuth

func (_Contract *ContractFilterer) WatchRemoveAuth(opts *bind.WatchOpts, sink chan<- *ContractRemoveAuth, addr []common.Address, operator []common.Address) (event.Subscription, error)

WatchRemoveAuth is a free log subscription operation binding the contract event 0x33b3e038c0e28aca0b92d455e5141d87b1801617ba321b7ccce20b09f836a65c.

Solidity: event RemoveAuth(string did, address indexed addr, address indexed operator)

func (*ContractFilterer) WatchTransfer

func (_Contract *ContractFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *ContractTransfer, from []common.Address, to []common.Address, tokenId []*big.Int) (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 indexed tokenId)

type ContractInitialized

type ContractInitialized struct {
	Version uint8
	Raw     types.Log // Blockchain specific contextual infos
}

ContractInitialized represents a Initialized event raised by the Contract contract.

type ContractInitializedIterator

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

ContractInitializedIterator is returned from FilterInitialized and is used to iterate over the raw logs and unpacked data for Initialized events raised by the Contract contract.

func (*ContractInitializedIterator) Close

func (it *ContractInitializedIterator) Close() error

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

func (*ContractInitializedIterator) Error

func (it *ContractInitializedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*ContractInitializedIterator) Next

func (it *ContractInitializedIterator) 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 ContractIssueDG

type ContractIssueDG struct {
	Arg0 common.Address
	Arg1 common.Address
	Raw  types.Log // Blockchain specific contextual infos
}

ContractIssueDG represents a IssueDG event raised by the Contract contract.

type ContractIssueDGIterator

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

ContractIssueDGIterator is returned from FilterIssueDG and is used to iterate over the raw logs and unpacked data for IssueDG events raised by the Contract contract.

func (*ContractIssueDGIterator) Close

func (it *ContractIssueDGIterator) Close() error

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

func (*ContractIssueDGIterator) Error

func (it *ContractIssueDGIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*ContractIssueDGIterator) Next

func (it *ContractIssueDGIterator) 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 ContractIssueNFT added in v0.0.3

type ContractIssueNFT struct {
	Arg0 common.Address
	Arg1 common.Address
	Raw  types.Log // Blockchain specific contextual infos
}

ContractIssueNFT represents a IssueNFT event raised by the Contract contract.

type ContractIssueNFTIterator added in v0.0.3

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

ContractIssueNFTIterator is returned from FilterIssueNFT and is used to iterate over the raw logs and unpacked data for IssueNFT events raised by the Contract contract.

func (*ContractIssueNFTIterator) Close added in v0.0.3

func (it *ContractIssueNFTIterator) Close() error

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

func (*ContractIssueNFTIterator) Error added in v0.0.3

func (it *ContractIssueNFTIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*ContractIssueNFTIterator) Next added in v0.0.3

func (it *ContractIssueNFTIterator) 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 ContractOwnerChanged

type ContractOwnerChanged struct {
	PreviousOwner common.Address
	NewOwner      common.Address
	Raw           types.Log // Blockchain specific contextual infos
}

ContractOwnerChanged represents a OwnerChanged event raised by the Contract contract.

type ContractOwnerChangedIterator

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

ContractOwnerChangedIterator is returned from FilterOwnerChanged and is used to iterate over the raw logs and unpacked data for OwnerChanged events raised by the Contract contract.

func (*ContractOwnerChangedIterator) Close

func (it *ContractOwnerChangedIterator) Close() error

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

func (*ContractOwnerChangedIterator) Error

func (it *ContractOwnerChangedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*ContractOwnerChangedIterator) Next

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 ContractRaw

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

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

func (*ContractRaw) Call

func (_Contract *ContractRaw) 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 (*ContractRaw) Transact

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

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

func (*ContractRaw) Transfer

func (_Contract *ContractRaw) 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 ContractRemoveAuth

type ContractRemoveAuth struct {
	Did      string
	Addr     common.Address
	Operator common.Address
	Raw      types.Log // Blockchain specific contextual infos
}

ContractRemoveAuth represents a RemoveAuth event raised by the Contract contract.

type ContractRemoveAuthIterator

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

ContractRemoveAuthIterator is returned from FilterRemoveAuth and is used to iterate over the raw logs and unpacked data for RemoveAuth events raised by the Contract contract.

func (*ContractRemoveAuthIterator) Close

func (it *ContractRemoveAuthIterator) Close() error

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

func (*ContractRemoveAuthIterator) Error

func (it *ContractRemoveAuthIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*ContractRemoveAuthIterator) Next

func (it *ContractRemoveAuthIterator) 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 ContractSession

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

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

func (*ContractSession) AddAuth

func (_Contract *ContractSession) AddAuth(tokenId *big.Int, addr common.Address) (*types.Transaction, error)

AddAuth is a paid mutator transaction binding the contract method 0x9e9e864d.

Solidity: function addAuth(uint256 tokenId, address addr) returns()

func (*ContractSession) AddKYC

func (_Contract *ContractSession) AddKYC(tokenId *big.Int, KYCProvider common.Address, KYCId *big.Int, status bool, updateTime *big.Int, expireTime *big.Int, evidence []byte) (*types.Transaction, error)

AddKYC is a paid mutator transaction binding the contract method 0xb2775762.

Solidity: function addKYC(uint256 tokenId, address KYCProvider, uint256 KYCId, bool status, uint256 updateTime, uint256 expireTime, bytes evidence) returns()

func (*ContractSession) AddrClaimed

func (_Contract *ContractSession) AddrClaimed(arg0 common.Address) (bool, error)

AddrClaimed is a free data retrieval call binding the contract method 0xfce1554c.

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

func (*ContractSession) Approve

func (_Contract *ContractSession) Approve(to common.Address, tokenId *big.Int) (*types.Transaction, error)

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

Solidity: function approve(address to, uint256 tokenId) returns()

func (*ContractSession) BalanceOf

func (_Contract *ContractSession) BalanceOf(owner common.Address) (*big.Int, error)

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

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

func (*ContractSession) BaseURI

func (_Contract *ContractSession) BaseURI() (string, error)

BaseURI is a free data retrieval call binding the contract method 0xf259a29e.

Solidity: function baseURI_() view returns(string)

func (*ContractSession) Claim

func (_Contract *ContractSession) Claim(did string) (*types.Transaction, error)

Claim is a paid mutator transaction binding the contract method 0xf3fe12c9.

Solidity: function claim(string did) returns()

func (*ContractSession) ClaimDG

func (_Contract *ContractSession) ClaimDG(DGAddr common.Address, tokenId *big.Int, evidence []byte) (*types.Transaction, error)

ClaimDG is a paid mutator transaction binding the contract method 0x73a81696.

Solidity: function claimDG(address DGAddr, uint256 tokenId, bytes evidence) returns()

func (*ContractSession) ClaimDGNFT added in v0.0.3

func (_Contract *ContractSession) ClaimDGNFT(NFTAddr common.Address, sid *big.Int, evidence []byte) (*types.Transaction, error)

ClaimDGNFT is a paid mutator transaction binding the contract method 0x79c3919f.

Solidity: function claimDGNFT(address NFTAddr, uint256 sid, bytes evidence) returns()

func (*ContractSession) DeedGrainAddrToIssuer added in v0.0.3

func (_Contract *ContractSession) DeedGrainAddrToIssuer(arg0 common.Address) (common.Address, error)

DeedGrainAddrToIssuer is a free data retrieval call binding the contract method 0x4f9a1c8c.

Solidity: function deedGrainAddrToIssuer(address ) view returns(address)

func (*ContractSession) DgFactory added in v0.0.3

func (_Contract *ContractSession) DgFactory() (common.Address, error)

DgFactory is a free data retrieval call binding the contract method 0x03919352.

Solidity: function dgFactory() view returns(address)

func (*ContractSession) DgMinter

func (_Contract *ContractSession) DgMinter() (common.Address, error)

DgMinter is a free data retrieval call binding the contract method 0xaf457dde.

Solidity: function dgMinter() view returns(address)

func (*ContractSession) Did2TokenId

func (_Contract *ContractSession) Did2TokenId(arg0 string) (*big.Int, error)

Did2TokenId is a free data retrieval call binding the contract method 0x4bb903bd.

Solidity: function did2TokenId(string ) view returns(uint256)

func (*ContractSession) DidClaimed

func (_Contract *ContractSession) DidClaimed(arg0 string) (bool, error)

DidClaimed is a free data retrieval call binding the contract method 0x284d08ca.

Solidity: function didClaimed(string ) view returns(bool)

func (*ContractSession) DidMinter

func (_Contract *ContractSession) DidMinter() (common.Address, error)

DidMinter is a free data retrieval call binding the contract method 0x1d2bbf39.

Solidity: function didMinter() view returns(address)

func (*ContractSession) GetApproved

func (_Contract *ContractSession) GetApproved(tokenId *big.Int) (common.Address, error)

GetApproved is a free data retrieval call binding the contract method 0x081812fc.

Solidity: function getApproved(uint256 tokenId) view returns(address)

func (*ContractSession) GetAuthorizedAddrs

func (_Contract *ContractSession) GetAuthorizedAddrs(tokenId *big.Int) ([]common.Address, error)

GetAuthorizedAddrs is a free data retrieval call binding the contract method 0xfd5a6780.

Solidity: function getAuthorizedAddrs(uint256 tokenId) view returns(address[])

func (*ContractSession) GetKYCInfo

func (_Contract *ContractSession) GetKYCInfo(tokenId *big.Int, KYCProvider common.Address, KYCId *big.Int) (bool, *big.Int, *big.Int, error)

GetKYCInfo is a free data retrieval call binding the contract method 0x7626884d.

Solidity: function getKYCInfo(uint256 tokenId, address KYCProvider, uint256 KYCId) view returns(bool, uint256, uint256)

func (*ContractSession) Initialize

func (_Contract *ContractSession) Initialize(_name string, _symbol string, _baseTokenURI string, _owner common.Address) (*types.Transaction, error)

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

Solidity: function initialize(string _name, string _symbol, string _baseTokenURI, address _owner) returns()

func (*ContractSession) IsAddrAuthorized

func (_Contract *ContractSession) IsAddrAuthorized(tokenId *big.Int, addr common.Address) (bool, error)

IsAddrAuthorized is a free data retrieval call binding the contract method 0xd08f28a6.

Solidity: function isAddrAuthorized(uint256 tokenId, address addr) view returns(bool)

func (*ContractSession) IsApprovedForAll

func (_Contract *ContractSession) IsApprovedForAll(owner common.Address, operator common.Address) (bool, error)

IsApprovedForAll is a free data retrieval call binding the contract method 0xe985e9c5.

Solidity: function isApprovedForAll(address owner, address operator) view returns(bool)

func (*ContractSession) IssueDG

func (_Contract *ContractSession) IssueDG(_name string, _symbol string, _baseUri string, _evidence []byte, _transferable bool) (*types.Transaction, error)

IssueDG is a paid mutator transaction binding the contract method 0x46a0e536.

Solidity: function issueDG(string _name, string _symbol, string _baseUri, bytes _evidence, bool _transferable) returns()

func (*ContractSession) IssueNFT added in v0.0.3

func (_Contract *ContractSession) IssueNFT(_name string, _symbol string, _baseUri string, _evidence []byte, _supply *big.Int) (*types.Transaction, error)

IssueNFT is a paid mutator transaction binding the contract method 0xe4b8f11f.

Solidity: function issueNFT(string _name, string _symbol, string _baseUri, bytes _evidence, uint256 _supply) returns()

func (*ContractSession) Mint

func (_Contract *ContractSession) Mint(to common.Address, did string) (*types.Transaction, error)

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

Solidity: function mint(address to, string did) returns()

func (*ContractSession) MintDG

func (_Contract *ContractSession) MintDG(DGAddr common.Address, tokenId *big.Int, addrs []common.Address) (*types.Transaction, error)

MintDG is a paid mutator transaction binding the contract method 0xcce6590f.

Solidity: function mintDG(address DGAddr, uint256 tokenId, address[] addrs) returns()

func (*ContractSession) MintDGNFT added in v0.0.3

func (_Contract *ContractSession) MintDGNFT(NFTAddr common.Address, sid *big.Int, addrs []common.Address) (*types.Transaction, error)

MintDGNFT is a paid mutator transaction binding the contract method 0x258bd726.

Solidity: function mintDGNFT(address NFTAddr, uint256 sid, address[] addrs) returns()

func (*ContractSession) Name

func (_Contract *ContractSession) Name() (string, error)

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

Solidity: function name() view returns(string)

func (*ContractSession) Owner

func (_Contract *ContractSession) Owner() (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() view returns(address)

func (*ContractSession) OwnerOf

func (_Contract *ContractSession) OwnerOf(tokenId *big.Int) (common.Address, error)

OwnerOf is a free data retrieval call binding the contract method 0x6352211e.

Solidity: function ownerOf(uint256 tokenId) view returns(address)

func (*ContractSession) RemoveAuth

func (_Contract *ContractSession) RemoveAuth(tokenId *big.Int, addr common.Address) (*types.Transaction, error)

RemoveAuth is a paid mutator transaction binding the contract method 0x467034df.

Solidity: function removeAuth(uint256 tokenId, address addr) returns()

func (*ContractSession) SafeTransferFrom

func (_Contract *ContractSession) SafeTransferFrom(from common.Address, to common.Address, tokenId *big.Int) (*types.Transaction, error)

SafeTransferFrom is a paid mutator transaction binding the contract method 0x42842e0e.

Solidity: function safeTransferFrom(address from, address to, uint256 tokenId) returns()

func (*ContractSession) SafeTransferFrom0

func (_Contract *ContractSession) SafeTransferFrom0(from common.Address, to common.Address, tokenId *big.Int, data []byte) (*types.Transaction, error)

SafeTransferFrom0 is a paid mutator transaction binding the contract method 0xb88d4fde.

Solidity: function safeTransferFrom(address from, address to, uint256 tokenId, bytes data) returns()

func (*ContractSession) SetApprovalForAll

func (_Contract *ContractSession) SetApprovalForAll(operator common.Address, approved bool) (*types.Transaction, error)

SetApprovalForAll is a paid mutator transaction binding the contract method 0xa22cb465.

Solidity: function setApprovalForAll(address operator, bool approved) returns()

func (*ContractSession) SetDGFactory added in v0.0.3

func (_Contract *ContractSession) SetDGFactory(factory common.Address) (*types.Transaction, error)

SetDGFactory is a paid mutator transaction binding the contract method 0x381c5336.

Solidity: function setDGFactory(address factory) returns()

func (*ContractSession) SetDGMinterAddr

func (_Contract *ContractSession) SetDGMinterAddr(minter common.Address) (*types.Transaction, error)

SetDGMinterAddr is a paid mutator transaction binding the contract method 0x03a19ae4.

Solidity: function setDGMinterAddr(address minter) returns()

func (*ContractSession) SetDidMinterAddr

func (_Contract *ContractSession) SetDidMinterAddr(minter common.Address) (*types.Transaction, error)

SetDidMinterAddr is a paid mutator transaction binding the contract method 0x8fd0f98e.

Solidity: function setDidMinterAddr(address minter) returns()

func (*ContractSession) SetNFTBaseUri added in v0.0.3

func (_Contract *ContractSession) SetNFTBaseUri(NFTAddr common.Address, baseUri string) (*types.Transaction, error)

SetNFTBaseUri is a paid mutator transaction binding the contract method 0xa135b302.

Solidity: function setNFTBaseUri(address NFTAddr, string baseUri) returns()

func (*ContractSession) SetNFTSupply added in v0.0.3

func (_Contract *ContractSession) SetNFTSupply(NFTAddr common.Address, supply *big.Int) (*types.Transaction, error)

SetNFTSupply is a paid mutator transaction binding the contract method 0x7a9e526b.

Solidity: function setNFTSupply(address NFTAddr, uint256 supply) returns()

func (*ContractSession) SetSigner

func (_Contract *ContractSession) SetSigner(signer_ common.Address) (*types.Transaction, error)

SetSigner is a paid mutator transaction binding the contract method 0x6c19e783.

Solidity: function setSigner(address signer_) returns()

func (*ContractSession) SetTokenBaseUri

func (_Contract *ContractSession) SetTokenBaseUri(DGAddr common.Address, baseUri string) (*types.Transaction, error)

SetTokenBaseUri is a paid mutator transaction binding the contract method 0xc3535aaa.

Solidity: function setTokenBaseUri(address DGAddr, string baseUri) returns()

func (*ContractSession) SetTokenSupply

func (_Contract *ContractSession) SetTokenSupply(DGAddr common.Address, tokenId *big.Int, supply *big.Int) (*types.Transaction, error)

SetTokenSupply is a paid mutator transaction binding the contract method 0x7dea57b9.

Solidity: function setTokenSupply(address DGAddr, uint256 tokenId, uint256 supply) returns()

func (*ContractSession) Signer

func (_Contract *ContractSession) Signer() (common.Address, error)

Signer is a free data retrieval call binding the contract method 0x238ac933.

Solidity: function signer() view returns(address)

func (*ContractSession) SupportsInterface

func (_Contract *ContractSession) SupportsInterface(interfaceId [4]byte) (bool, error)

SupportsInterface is a free data retrieval call binding the contract method 0x01ffc9a7.

Solidity: function supportsInterface(bytes4 interfaceId) view returns(bool)

func (*ContractSession) Symbol

func (_Contract *ContractSession) Symbol() (string, error)

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

Solidity: function symbol() view returns(string)

func (*ContractSession) TokenByIndex

func (_Contract *ContractSession) TokenByIndex(index *big.Int) (*big.Int, error)

TokenByIndex is a free data retrieval call binding the contract method 0x4f6ccce7.

Solidity: function tokenByIndex(uint256 index) view returns(uint256)

func (*ContractSession) TokenId2Did

func (_Contract *ContractSession) TokenId2Did(arg0 *big.Int) (string, error)

TokenId2Did is a free data retrieval call binding the contract method 0xc78826b7.

Solidity: function tokenId2Did(uint256 ) view returns(string)

func (*ContractSession) TokenOfOwnerByIndex

func (_Contract *ContractSession) TokenOfOwnerByIndex(owner common.Address, index *big.Int) (*big.Int, error)

TokenOfOwnerByIndex is a free data retrieval call binding the contract method 0x2f745c59.

Solidity: function tokenOfOwnerByIndex(address owner, uint256 index) view returns(uint256)

func (*ContractSession) TokenURI

func (_Contract *ContractSession) TokenURI(tokenId *big.Int) (string, error)

TokenURI is a free data retrieval call binding the contract method 0xc87b56dd.

Solidity: function tokenURI(uint256 tokenId) view returns(string)

func (*ContractSession) TotalSupply

func (_Contract *ContractSession) TotalSupply() (*big.Int, error)

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

Solidity: function totalSupply() view returns(uint256)

func (*ContractSession) TransferFrom

func (_Contract *ContractSession) TransferFrom(from common.Address, to common.Address, tokenId *big.Int) (*types.Transaction, error)

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

Solidity: function transferFrom(address from, address to, uint256 tokenId) returns()

func (*ContractSession) TransferOwnership

func (_Contract *ContractSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)

TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.

Solidity: function transferOwnership(address newOwner) returns()

func (*ContractSession) VerifyDIDFormat

func (_Contract *ContractSession) VerifyDIDFormat(did string) (bool, error)

VerifyDIDFormat is a free data retrieval call binding the contract method 0xf9251132.

Solidity: function verifyDIDFormat(string did) pure returns(bool)

type ContractTransactor

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

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

func NewContractTransactor

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

NewContractTransactor creates a new write-only instance of Contract, bound to a specific deployed contract.

func (*ContractTransactor) AddAuth

func (_Contract *ContractTransactor) AddAuth(opts *bind.TransactOpts, tokenId *big.Int, addr common.Address) (*types.Transaction, error)

AddAuth is a paid mutator transaction binding the contract method 0x9e9e864d.

Solidity: function addAuth(uint256 tokenId, address addr) returns()

func (*ContractTransactor) AddKYC

func (_Contract *ContractTransactor) AddKYC(opts *bind.TransactOpts, tokenId *big.Int, KYCProvider common.Address, KYCId *big.Int, status bool, updateTime *big.Int, expireTime *big.Int, evidence []byte) (*types.Transaction, error)

AddKYC is a paid mutator transaction binding the contract method 0xb2775762.

Solidity: function addKYC(uint256 tokenId, address KYCProvider, uint256 KYCId, bool status, uint256 updateTime, uint256 expireTime, bytes evidence) returns()

func (*ContractTransactor) Approve

func (_Contract *ContractTransactor) Approve(opts *bind.TransactOpts, to common.Address, tokenId *big.Int) (*types.Transaction, error)

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

Solidity: function approve(address to, uint256 tokenId) returns()

func (*ContractTransactor) Claim

func (_Contract *ContractTransactor) Claim(opts *bind.TransactOpts, did string) (*types.Transaction, error)

Claim is a paid mutator transaction binding the contract method 0xf3fe12c9.

Solidity: function claim(string did) returns()

func (*ContractTransactor) ClaimDG

func (_Contract *ContractTransactor) ClaimDG(opts *bind.TransactOpts, DGAddr common.Address, tokenId *big.Int, evidence []byte) (*types.Transaction, error)

ClaimDG is a paid mutator transaction binding the contract method 0x73a81696.

Solidity: function claimDG(address DGAddr, uint256 tokenId, bytes evidence) returns()

func (*ContractTransactor) ClaimDGNFT added in v0.0.3

func (_Contract *ContractTransactor) ClaimDGNFT(opts *bind.TransactOpts, NFTAddr common.Address, sid *big.Int, evidence []byte) (*types.Transaction, error)

ClaimDGNFT is a paid mutator transaction binding the contract method 0x79c3919f.

Solidity: function claimDGNFT(address NFTAddr, uint256 sid, bytes evidence) returns()

func (*ContractTransactor) Initialize

func (_Contract *ContractTransactor) Initialize(opts *bind.TransactOpts, _name string, _symbol string, _baseTokenURI string, _owner common.Address) (*types.Transaction, error)

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

Solidity: function initialize(string _name, string _symbol, string _baseTokenURI, address _owner) returns()

func (*ContractTransactor) IssueDG

func (_Contract *ContractTransactor) IssueDG(opts *bind.TransactOpts, _name string, _symbol string, _baseUri string, _evidence []byte, _transferable bool) (*types.Transaction, error)

IssueDG is a paid mutator transaction binding the contract method 0x46a0e536.

Solidity: function issueDG(string _name, string _symbol, string _baseUri, bytes _evidence, bool _transferable) returns()

func (*ContractTransactor) IssueNFT added in v0.0.3

func (_Contract *ContractTransactor) IssueNFT(opts *bind.TransactOpts, _name string, _symbol string, _baseUri string, _evidence []byte, _supply *big.Int) (*types.Transaction, error)

IssueNFT is a paid mutator transaction binding the contract method 0xe4b8f11f.

Solidity: function issueNFT(string _name, string _symbol, string _baseUri, bytes _evidence, uint256 _supply) returns()

func (*ContractTransactor) Mint

func (_Contract *ContractTransactor) Mint(opts *bind.TransactOpts, to common.Address, did string) (*types.Transaction, error)

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

Solidity: function mint(address to, string did) returns()

func (*ContractTransactor) MintDG

func (_Contract *ContractTransactor) MintDG(opts *bind.TransactOpts, DGAddr common.Address, tokenId *big.Int, addrs []common.Address) (*types.Transaction, error)

MintDG is a paid mutator transaction binding the contract method 0xcce6590f.

Solidity: function mintDG(address DGAddr, uint256 tokenId, address[] addrs) returns()

func (*ContractTransactor) MintDGNFT added in v0.0.3

func (_Contract *ContractTransactor) MintDGNFT(opts *bind.TransactOpts, NFTAddr common.Address, sid *big.Int, addrs []common.Address) (*types.Transaction, error)

MintDGNFT is a paid mutator transaction binding the contract method 0x258bd726.

Solidity: function mintDGNFT(address NFTAddr, uint256 sid, address[] addrs) returns()

func (*ContractTransactor) RemoveAuth

func (_Contract *ContractTransactor) RemoveAuth(opts *bind.TransactOpts, tokenId *big.Int, addr common.Address) (*types.Transaction, error)

RemoveAuth is a paid mutator transaction binding the contract method 0x467034df.

Solidity: function removeAuth(uint256 tokenId, address addr) returns()

func (*ContractTransactor) SafeTransferFrom

func (_Contract *ContractTransactor) SafeTransferFrom(opts *bind.TransactOpts, from common.Address, to common.Address, tokenId *big.Int) (*types.Transaction, error)

SafeTransferFrom is a paid mutator transaction binding the contract method 0x42842e0e.

Solidity: function safeTransferFrom(address from, address to, uint256 tokenId) returns()

func (*ContractTransactor) SafeTransferFrom0

func (_Contract *ContractTransactor) SafeTransferFrom0(opts *bind.TransactOpts, from common.Address, to common.Address, tokenId *big.Int, data []byte) (*types.Transaction, error)

SafeTransferFrom0 is a paid mutator transaction binding the contract method 0xb88d4fde.

Solidity: function safeTransferFrom(address from, address to, uint256 tokenId, bytes data) returns()

func (*ContractTransactor) SetApprovalForAll

func (_Contract *ContractTransactor) SetApprovalForAll(opts *bind.TransactOpts, operator common.Address, approved bool) (*types.Transaction, error)

SetApprovalForAll is a paid mutator transaction binding the contract method 0xa22cb465.

Solidity: function setApprovalForAll(address operator, bool approved) returns()

func (*ContractTransactor) SetDGFactory added in v0.0.3

func (_Contract *ContractTransactor) SetDGFactory(opts *bind.TransactOpts, factory common.Address) (*types.Transaction, error)

SetDGFactory is a paid mutator transaction binding the contract method 0x381c5336.

Solidity: function setDGFactory(address factory) returns()

func (*ContractTransactor) SetDGMinterAddr

func (_Contract *ContractTransactor) SetDGMinterAddr(opts *bind.TransactOpts, minter common.Address) (*types.Transaction, error)

SetDGMinterAddr is a paid mutator transaction binding the contract method 0x03a19ae4.

Solidity: function setDGMinterAddr(address minter) returns()

func (*ContractTransactor) SetDidMinterAddr

func (_Contract *ContractTransactor) SetDidMinterAddr(opts *bind.TransactOpts, minter common.Address) (*types.Transaction, error)

SetDidMinterAddr is a paid mutator transaction binding the contract method 0x8fd0f98e.

Solidity: function setDidMinterAddr(address minter) returns()

func (*ContractTransactor) SetNFTBaseUri added in v0.0.3

func (_Contract *ContractTransactor) SetNFTBaseUri(opts *bind.TransactOpts, NFTAddr common.Address, baseUri string) (*types.Transaction, error)

SetNFTBaseUri is a paid mutator transaction binding the contract method 0xa135b302.

Solidity: function setNFTBaseUri(address NFTAddr, string baseUri) returns()

func (*ContractTransactor) SetNFTSupply added in v0.0.3

func (_Contract *ContractTransactor) SetNFTSupply(opts *bind.TransactOpts, NFTAddr common.Address, supply *big.Int) (*types.Transaction, error)

SetNFTSupply is a paid mutator transaction binding the contract method 0x7a9e526b.

Solidity: function setNFTSupply(address NFTAddr, uint256 supply) returns()

func (*ContractTransactor) SetSigner

func (_Contract *ContractTransactor) SetSigner(opts *bind.TransactOpts, signer_ common.Address) (*types.Transaction, error)

SetSigner is a paid mutator transaction binding the contract method 0x6c19e783.

Solidity: function setSigner(address signer_) returns()

func (*ContractTransactor) SetTokenBaseUri

func (_Contract *ContractTransactor) SetTokenBaseUri(opts *bind.TransactOpts, DGAddr common.Address, baseUri string) (*types.Transaction, error)

SetTokenBaseUri is a paid mutator transaction binding the contract method 0xc3535aaa.

Solidity: function setTokenBaseUri(address DGAddr, string baseUri) returns()

func (*ContractTransactor) SetTokenSupply

func (_Contract *ContractTransactor) SetTokenSupply(opts *bind.TransactOpts, DGAddr common.Address, tokenId *big.Int, supply *big.Int) (*types.Transaction, error)

SetTokenSupply is a paid mutator transaction binding the contract method 0x7dea57b9.

Solidity: function setTokenSupply(address DGAddr, uint256 tokenId, uint256 supply) returns()

func (*ContractTransactor) TransferFrom

func (_Contract *ContractTransactor) TransferFrom(opts *bind.TransactOpts, from common.Address, to common.Address, tokenId *big.Int) (*types.Transaction, error)

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

Solidity: function transferFrom(address from, address to, uint256 tokenId) returns()

func (*ContractTransactor) TransferOwnership

func (_Contract *ContractTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)

TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.

Solidity: function transferOwnership(address newOwner) returns()

type ContractTransactorRaw

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

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

func (*ContractTransactorRaw) Transact

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

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

func (*ContractTransactorRaw) Transfer

func (_Contract *ContractTransactorRaw) 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 ContractTransactorSession

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

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

func (*ContractTransactorSession) AddAuth

func (_Contract *ContractTransactorSession) AddAuth(tokenId *big.Int, addr common.Address) (*types.Transaction, error)

AddAuth is a paid mutator transaction binding the contract method 0x9e9e864d.

Solidity: function addAuth(uint256 tokenId, address addr) returns()

func (*ContractTransactorSession) AddKYC

func (_Contract *ContractTransactorSession) AddKYC(tokenId *big.Int, KYCProvider common.Address, KYCId *big.Int, status bool, updateTime *big.Int, expireTime *big.Int, evidence []byte) (*types.Transaction, error)

AddKYC is a paid mutator transaction binding the contract method 0xb2775762.

Solidity: function addKYC(uint256 tokenId, address KYCProvider, uint256 KYCId, bool status, uint256 updateTime, uint256 expireTime, bytes evidence) returns()

func (*ContractTransactorSession) Approve

func (_Contract *ContractTransactorSession) Approve(to common.Address, tokenId *big.Int) (*types.Transaction, error)

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

Solidity: function approve(address to, uint256 tokenId) returns()

func (*ContractTransactorSession) Claim

func (_Contract *ContractTransactorSession) Claim(did string) (*types.Transaction, error)

Claim is a paid mutator transaction binding the contract method 0xf3fe12c9.

Solidity: function claim(string did) returns()

func (*ContractTransactorSession) ClaimDG

func (_Contract *ContractTransactorSession) ClaimDG(DGAddr common.Address, tokenId *big.Int, evidence []byte) (*types.Transaction, error)

ClaimDG is a paid mutator transaction binding the contract method 0x73a81696.

Solidity: function claimDG(address DGAddr, uint256 tokenId, bytes evidence) returns()

func (*ContractTransactorSession) ClaimDGNFT added in v0.0.3

func (_Contract *ContractTransactorSession) ClaimDGNFT(NFTAddr common.Address, sid *big.Int, evidence []byte) (*types.Transaction, error)

ClaimDGNFT is a paid mutator transaction binding the contract method 0x79c3919f.

Solidity: function claimDGNFT(address NFTAddr, uint256 sid, bytes evidence) returns()

func (*ContractTransactorSession) Initialize

func (_Contract *ContractTransactorSession) Initialize(_name string, _symbol string, _baseTokenURI string, _owner common.Address) (*types.Transaction, error)

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

Solidity: function initialize(string _name, string _symbol, string _baseTokenURI, address _owner) returns()

func (*ContractTransactorSession) IssueDG

func (_Contract *ContractTransactorSession) IssueDG(_name string, _symbol string, _baseUri string, _evidence []byte, _transferable bool) (*types.Transaction, error)

IssueDG is a paid mutator transaction binding the contract method 0x46a0e536.

Solidity: function issueDG(string _name, string _symbol, string _baseUri, bytes _evidence, bool _transferable) returns()

func (*ContractTransactorSession) IssueNFT added in v0.0.3

func (_Contract *ContractTransactorSession) IssueNFT(_name string, _symbol string, _baseUri string, _evidence []byte, _supply *big.Int) (*types.Transaction, error)

IssueNFT is a paid mutator transaction binding the contract method 0xe4b8f11f.

Solidity: function issueNFT(string _name, string _symbol, string _baseUri, bytes _evidence, uint256 _supply) returns()

func (*ContractTransactorSession) Mint

func (_Contract *ContractTransactorSession) Mint(to common.Address, did string) (*types.Transaction, error)

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

Solidity: function mint(address to, string did) returns()

func (*ContractTransactorSession) MintDG

func (_Contract *ContractTransactorSession) MintDG(DGAddr common.Address, tokenId *big.Int, addrs []common.Address) (*types.Transaction, error)

MintDG is a paid mutator transaction binding the contract method 0xcce6590f.

Solidity: function mintDG(address DGAddr, uint256 tokenId, address[] addrs) returns()

func (*ContractTransactorSession) MintDGNFT added in v0.0.3

func (_Contract *ContractTransactorSession) MintDGNFT(NFTAddr common.Address, sid *big.Int, addrs []common.Address) (*types.Transaction, error)

MintDGNFT is a paid mutator transaction binding the contract method 0x258bd726.

Solidity: function mintDGNFT(address NFTAddr, uint256 sid, address[] addrs) returns()

func (*ContractTransactorSession) RemoveAuth

func (_Contract *ContractTransactorSession) RemoveAuth(tokenId *big.Int, addr common.Address) (*types.Transaction, error)

RemoveAuth is a paid mutator transaction binding the contract method 0x467034df.

Solidity: function removeAuth(uint256 tokenId, address addr) returns()

func (*ContractTransactorSession) SafeTransferFrom

func (_Contract *ContractTransactorSession) SafeTransferFrom(from common.Address, to common.Address, tokenId *big.Int) (*types.Transaction, error)

SafeTransferFrom is a paid mutator transaction binding the contract method 0x42842e0e.

Solidity: function safeTransferFrom(address from, address to, uint256 tokenId) returns()

func (*ContractTransactorSession) SafeTransferFrom0

func (_Contract *ContractTransactorSession) SafeTransferFrom0(from common.Address, to common.Address, tokenId *big.Int, data []byte) (*types.Transaction, error)

SafeTransferFrom0 is a paid mutator transaction binding the contract method 0xb88d4fde.

Solidity: function safeTransferFrom(address from, address to, uint256 tokenId, bytes data) returns()

func (*ContractTransactorSession) SetApprovalForAll

func (_Contract *ContractTransactorSession) SetApprovalForAll(operator common.Address, approved bool) (*types.Transaction, error)

SetApprovalForAll is a paid mutator transaction binding the contract method 0xa22cb465.

Solidity: function setApprovalForAll(address operator, bool approved) returns()

func (*ContractTransactorSession) SetDGFactory added in v0.0.3

func (_Contract *ContractTransactorSession) SetDGFactory(factory common.Address) (*types.Transaction, error)

SetDGFactory is a paid mutator transaction binding the contract method 0x381c5336.

Solidity: function setDGFactory(address factory) returns()

func (*ContractTransactorSession) SetDGMinterAddr

func (_Contract *ContractTransactorSession) SetDGMinterAddr(minter common.Address) (*types.Transaction, error)

SetDGMinterAddr is a paid mutator transaction binding the contract method 0x03a19ae4.

Solidity: function setDGMinterAddr(address minter) returns()

func (*ContractTransactorSession) SetDidMinterAddr

func (_Contract *ContractTransactorSession) SetDidMinterAddr(minter common.Address) (*types.Transaction, error)

SetDidMinterAddr is a paid mutator transaction binding the contract method 0x8fd0f98e.

Solidity: function setDidMinterAddr(address minter) returns()

func (*ContractTransactorSession) SetNFTBaseUri added in v0.0.3

func (_Contract *ContractTransactorSession) SetNFTBaseUri(NFTAddr common.Address, baseUri string) (*types.Transaction, error)

SetNFTBaseUri is a paid mutator transaction binding the contract method 0xa135b302.

Solidity: function setNFTBaseUri(address NFTAddr, string baseUri) returns()

func (*ContractTransactorSession) SetNFTSupply added in v0.0.3

func (_Contract *ContractTransactorSession) SetNFTSupply(NFTAddr common.Address, supply *big.Int) (*types.Transaction, error)

SetNFTSupply is a paid mutator transaction binding the contract method 0x7a9e526b.

Solidity: function setNFTSupply(address NFTAddr, uint256 supply) returns()

func (*ContractTransactorSession) SetSigner

func (_Contract *ContractTransactorSession) SetSigner(signer_ common.Address) (*types.Transaction, error)

SetSigner is a paid mutator transaction binding the contract method 0x6c19e783.

Solidity: function setSigner(address signer_) returns()

func (*ContractTransactorSession) SetTokenBaseUri

func (_Contract *ContractTransactorSession) SetTokenBaseUri(DGAddr common.Address, baseUri string) (*types.Transaction, error)

SetTokenBaseUri is a paid mutator transaction binding the contract method 0xc3535aaa.

Solidity: function setTokenBaseUri(address DGAddr, string baseUri) returns()

func (*ContractTransactorSession) SetTokenSupply

func (_Contract *ContractTransactorSession) SetTokenSupply(DGAddr common.Address, tokenId *big.Int, supply *big.Int) (*types.Transaction, error)

SetTokenSupply is a paid mutator transaction binding the contract method 0x7dea57b9.

Solidity: function setTokenSupply(address DGAddr, uint256 tokenId, uint256 supply) returns()

func (*ContractTransactorSession) TransferFrom

func (_Contract *ContractTransactorSession) TransferFrom(from common.Address, to common.Address, tokenId *big.Int) (*types.Transaction, error)

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

Solidity: function transferFrom(address from, address to, uint256 tokenId) returns()

func (*ContractTransactorSession) TransferOwnership

func (_Contract *ContractTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)

TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.

Solidity: function transferOwnership(address newOwner) returns()

type ContractTransfer

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

ContractTransfer represents a Transfer event raised by the Contract contract.

type ContractTransferIterator

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

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

func (*ContractTransferIterator) Close

func (it *ContractTransferIterator) Close() error

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

func (*ContractTransferIterator) Error

func (it *ContractTransferIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*ContractTransferIterator) Next

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