periphery

package
v0.4.15 Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var PeripheryABI = PeripheryMetaData.ABI

PeripheryABI is the input ABI used to generate the binding from. Deprecated: Use PeripheryMetaData.ABI instead.

View Source
var PeripheryMetaData = &bind.MetaData{
	ABI: "[{\"type\":\"event\",\"name\":\"Initialized\",\"inputs\":[{\"type\":\"uint8\",\"name\":\"version\",\"internalType\":\"uint8\",\"indexed\":false}],\"anonymous\":false},{\"type\":\"function\",\"stateMutability\":\"pure\",\"outputs\":[{\"type\":\"address\",\"name\":\"\",\"internalType\":\"address\"}],\"name\":\"getLinkingAddress\",\"inputs\":[{\"type\":\"bytes32\",\"name\":\"linkKey\",\"internalType\":\"bytes32\"}]},{\"type\":\"function\",\"stateMutability\":\"view\",\"outputs\":[{\"type\":\"address[]\",\"name\":\"\",\"internalType\":\"address[]\"}],\"name\":\"getLinkingAddresses\",\"inputs\":[{\"type\":\"uint256\",\"name\":\"fromCharacterId\",\"internalType\":\"uint256\"},{\"type\":\"bytes32\",\"name\":\"linkType\",\"internalType\":\"bytes32\"}]},{\"type\":\"function\",\"stateMutability\":\"view\",\"outputs\":[{\"type\":\"string\",\"name\":\"\",\"internalType\":\"string\"}],\"name\":\"getLinkingAnyUri\",\"inputs\":[{\"type\":\"bytes32\",\"name\":\"linkKey\",\"internalType\":\"bytes32\"}]},{\"type\":\"function\",\"stateMutability\":\"view\",\"outputs\":[{\"type\":\"string[]\",\"name\":\"results\",\"internalType\":\"string[]\"}],\"name\":\"getLinkingAnyUris\",\"inputs\":[{\"type\":\"uint256\",\"name\":\"fromCharacterId\",\"internalType\":\"uint256\"},{\"type\":\"bytes32\",\"name\":\"linkType\",\"internalType\":\"bytes32\"}]},{\"type\":\"function\",\"stateMutability\":\"pure\",\"outputs\":[{\"type\":\"uint256\",\"name\":\"characterId\",\"internalType\":\"uint256\"}],\"name\":\"getLinkingCharacterId\",\"inputs\":[{\"type\":\"bytes32\",\"name\":\"linkKey\",\"internalType\":\"bytes32\"}]},{\"type\":\"function\",\"stateMutability\":\"view\",\"outputs\":[{\"type\":\"uint256[]\",\"name\":\"results\",\"internalType\":\"uint256[]\"}],\"name\":\"getLinkingCharacterIds\",\"inputs\":[{\"type\":\"uint256\",\"name\":\"fromCharacterId\",\"internalType\":\"uint256\"},{\"type\":\"bytes32\",\"name\":\"linkType\",\"internalType\":\"bytes32\"}]},{\"type\":\"function\",\"stateMutability\":\"view\",\"outputs\":[{\"type\":\"tuple\",\"name\":\"\",\"internalType\":\"structDataTypes.ERC721Struct\",\"components\":[{\"type\":\"address\",\"name\":\"tokenAddress\",\"internalType\":\"address\"},{\"type\":\"uint256\",\"name\":\"erc721TokenId\",\"internalType\":\"uint256\"}]}],\"name\":\"getLinkingERC721\",\"inputs\":[{\"type\":\"bytes32\",\"name\":\"linkKey\",\"internalType\":\"bytes32\"}]},{\"type\":\"function\",\"stateMutability\":\"view\",\"outputs\":[{\"type\":\"tuple[]\",\"name\":\"results\",\"internalType\":\"structDataTypes.ERC721Struct[]\",\"components\":[{\"type\":\"address\",\"name\":\"tokenAddress\",\"internalType\":\"address\"},{\"type\":\"uint256\",\"name\":\"erc721TokenId\",\"internalType\":\"uint256\"}]}],\"name\":\"getLinkingERC721s\",\"inputs\":[{\"type\":\"uint256\",\"name\":\"fromCharacterId\",\"internalType\":\"uint256\"},{\"type\":\"bytes32\",\"name\":\"linkType\",\"internalType\":\"bytes32\"}]},{\"type\":\"function\",\"stateMutability\":\"pure\",\"outputs\":[{\"type\":\"uint256\",\"name\":\"linklistId\",\"internalType\":\"uint256\"}],\"name\":\"getLinkingLinklistId\",\"inputs\":[{\"type\":\"bytes32\",\"name\":\"linkKey\",\"internalType\":\"bytes32\"}]},{\"type\":\"function\",\"stateMutability\":\"view\",\"outputs\":[{\"type\":\"uint256[]\",\"name\":\"linklistIds\",\"internalType\":\"uint256[]\"}],\"name\":\"getLinkingLinklistIds\",\"inputs\":[{\"type\":\"uint256\",\"name\":\"fromCharacterId\",\"internalType\":\"uint256\"},{\"type\":\"bytes32\",\"name\":\"linkType\",\"internalType\":\"bytes32\"}]},{\"type\":\"function\",\"stateMutability\":\"view\",\"outputs\":[{\"type\":\"tuple\",\"name\":\"\",\"internalType\":\"structDataTypes.NoteStruct\",\"components\":[{\"type\":\"uint256\",\"name\":\"characterId\",\"internalType\":\"uint256\"},{\"type\":\"uint256\",\"name\":\"noteId\",\"internalType\":\"uint256\"}]}],\"name\":\"getLinkingNote\",\"inputs\":[{\"type\":\"bytes32\",\"name\":\"linkKey\",\"internalType\":\"bytes32\"}]},{\"type\":\"function\",\"stateMutability\":\"view\",\"outputs\":[{\"type\":\"tuple[]\",\"name\":\"results\",\"internalType\":\"structDataTypes.Note[]\",\"components\":[{\"type\":\"bytes32\",\"name\":\"linkItemType\",\"internalType\":\"bytes32\"},{\"type\":\"bytes32\",\"name\":\"linkKey\",\"internalType\":\"bytes32\"},{\"type\":\"string\",\"name\":\"contentUri\",\"internalType\":\"string\"},{\"type\":\"address\",\"name\":\"linkModule\",\"internalType\":\"address\"},{\"type\":\"address\",\"name\":\"mintModule\",\"internalType\":\"address\"},{\"type\":\"address\",\"name\":\"mintNFT\",\"internalType\":\"address\"},{\"type\":\"bool\",\"name\":\"deleted\",\"internalType\":\"bool\"},{\"type\":\"bool\",\"name\":\"locked\",\"internalType\":\"bool\"}]}],\"name\":\"getLinkingNotes\",\"inputs\":[{\"type\":\"uint256\",\"name\":\"fromCharacterId\",\"internalType\":\"uint256\"},{\"type\":\"bytes32\",\"name\":\"linkType\",\"internalType\":\"bytes32\"}]},{\"type\":\"function\",\"stateMutability\":\"view\",\"outputs\":[{\"type\":\"tuple[]\",\"name\":\"results\",\"internalType\":\"structDataTypes.Note[]\",\"components\":[{\"type\":\"bytes32\",\"name\":\"linkItemType\",\"internalType\":\"bytes32\"},{\"type\":\"bytes32\",\"name\":\"linkKey\",\"internalType\":\"bytes32\"},{\"type\":\"string\",\"name\":\"contentUri\",\"internalType\":\"string\"},{\"type\":\"address\",\"name\":\"linkModule\",\"internalType\":\"address\"},{\"type\":\"address\",\"name\":\"mintModule\",\"internalType\":\"address\"},{\"type\":\"address\",\"name\":\"mintNFT\",\"internalType\":\"address\"},{\"type\":\"bool\",\"name\":\"deleted\",\"internalType\":\"bool\"},{\"type\":\"bool\",\"name\":\"locked\",\"internalType\":\"bool\"}]}],\"name\":\"getNotesByCharacterId\",\"inputs\":[{\"type\":\"uint256\",\"name\":\"characterId\",\"internalType\":\"uint256\"},{\"type\":\"uint256\",\"name\":\"offset\",\"internalType\":\"uint256\"},{\"type\":\"uint256\",\"name\":\"limit\",\"internalType\":\"uint256\"}]},{\"type\":\"function\",\"stateMutability\":\"nonpayable\",\"outputs\":[],\"name\":\"initialize\",\"inputs\":[{\"type\":\"address\",\"name\":\"_web3Entry\",\"internalType\":\"address\"},{\"type\":\"address\",\"name\":\"_linklist\",\"internalType\":\"address\"}]},{\"type\":\"function\",\"stateMutability\":\"nonpayable\",\"outputs\":[],\"name\":\"linkCharactersInBatch\",\"inputs\":[{\"type\":\"tuple\",\"name\":\"vars\",\"internalType\":\"structDataTypes.linkCharactersInBatchData\",\"components\":[{\"type\":\"uint256\",\"name\":\"fromCharacterId\",\"internalType\":\"uint256\"},{\"type\":\"uint256[]\",\"name\":\"toCharacterIds\",\"internalType\":\"uint256[]\"},{\"type\":\"bytes[]\",\"name\":\"data\",\"internalType\":\"bytes[]\"},{\"type\":\"address[]\",\"name\":\"toAddresses\",\"internalType\":\"address[]\"},{\"type\":\"bytes32\",\"name\":\"linkType\",\"internalType\":\"bytes32\"}]}]},{\"type\":\"function\",\"stateMutability\":\"view\",\"outputs\":[{\"type\":\"address\",\"name\":\"\",\"internalType\":\"address\"}],\"name\":\"linklist\",\"inputs\":[]},{\"type\":\"function\",\"stateMutability\":\"nonpayable\",\"outputs\":[],\"name\":\"migrate\",\"inputs\":[{\"type\":\"tuple\",\"name\":\"vars\",\"internalType\":\"structDataTypes.MigrateData\",\"components\":[{\"type\":\"address\",\"name\":\"account\",\"internalType\":\"address\"},{\"type\":\"string\",\"name\":\"handle\",\"internalType\":\"string\"},{\"type\":\"string\",\"name\":\"uri\",\"internalType\":\"string\"},{\"type\":\"address[]\",\"name\":\"toAddresses\",\"internalType\":\"address[]\"},{\"type\":\"bytes32\",\"name\":\"linkType\",\"internalType\":\"bytes32\"}]}]},{\"type\":\"function\",\"stateMutability\":\"nonpayable\",\"outputs\":[],\"name\":\"sync\",\"inputs\":[{\"type\":\"address\",\"name\":\"account\",\"internalType\":\"address\"},{\"type\":\"string\",\"name\":\"handle\",\"internalType\":\"string\"},{\"type\":\"string\",\"name\":\"uri\",\"internalType\":\"string\"},{\"type\":\"address[]\",\"name\":\"toAddresses\",\"internalType\":\"address[]\"},{\"type\":\"bytes32\",\"name\":\"linkType\",\"internalType\":\"bytes32\"}]},{\"type\":\"function\",\"stateMutability\":\"view\",\"outputs\":[{\"type\":\"address\",\"name\":\"\",\"internalType\":\"address\"}],\"name\":\"web3Entry\",\"inputs\":[]}]",
}

PeripheryMetaData contains all meta data concerning the Periphery contract.

Functions

This section is empty.

Types

type DataTypesERC721Struct

type DataTypesERC721Struct struct {
	TokenAddress  common.Address
	Erc721TokenId *big.Int
}

DataTypesERC721Struct is an auto generated low-level Go binding around an user-defined struct.

type DataTypesMigrateData

type DataTypesMigrateData struct {
	Account     common.Address
	Handle      string
	Uri         string
	ToAddresses []common.Address
	LinkType    [32]byte
}

DataTypesMigrateData is an auto generated low-level Go binding around an user-defined struct.

type DataTypesNote

type DataTypesNote struct {
	LinkItemType [32]byte
	LinkKey      [32]byte
	ContentUri   string
	LinkModule   common.Address
	MintModule   common.Address
	MintNFT      common.Address
	Deleted      bool
	Locked       bool
}

DataTypesNote is an auto generated low-level Go binding around an user-defined struct.

type DataTypesNoteStruct

type DataTypesNoteStruct struct {
	CharacterId *big.Int
	NoteId      *big.Int
}

DataTypesNoteStruct is an auto generated low-level Go binding around an user-defined struct.

type DataTypeslinkCharactersInBatchData

type DataTypeslinkCharactersInBatchData struct {
	FromCharacterId *big.Int
	ToCharacterIds  []*big.Int
	Data            [][]byte
	ToAddresses     []common.Address
	LinkType        [32]byte
}

DataTypeslinkCharactersInBatchData is an auto generated low-level Go binding around an user-defined struct.

type Periphery

type Periphery struct {
	PeripheryCaller     // Read-only binding to the contract
	PeripheryTransactor // Write-only binding to the contract
	PeripheryFilterer   // Log filterer for contract events
}

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

func NewPeriphery

func NewPeriphery(address common.Address, backend bind.ContractBackend) (*Periphery, error)

NewPeriphery creates a new instance of Periphery, bound to a specific deployed contract.

type PeripheryCaller

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

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

func NewPeripheryCaller

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

NewPeripheryCaller creates a new read-only instance of Periphery, bound to a specific deployed contract.

func (*PeripheryCaller) GetLinkingAddress

func (_Periphery *PeripheryCaller) GetLinkingAddress(opts *bind.CallOpts, linkKey [32]byte) (common.Address, error)

GetLinkingAddress is a free data retrieval call binding the contract method 0x3e7cb539.

Solidity: function getLinkingAddress(bytes32 linkKey) pure returns(address)

func (*PeripheryCaller) GetLinkingAddresses

func (_Periphery *PeripheryCaller) GetLinkingAddresses(opts *bind.CallOpts, fromCharacterId *big.Int, linkType [32]byte) ([]common.Address, error)

GetLinkingAddresses is a free data retrieval call binding the contract method 0x76ae90ef.

Solidity: function getLinkingAddresses(uint256 fromCharacterId, bytes32 linkType) view returns(address[])

func (*PeripheryCaller) GetLinkingAnyUri

func (_Periphery *PeripheryCaller) GetLinkingAnyUri(opts *bind.CallOpts, linkKey [32]byte) (string, error)

GetLinkingAnyUri is a free data retrieval call binding the contract method 0x5f799cc6.

Solidity: function getLinkingAnyUri(bytes32 linkKey) view returns(string)

func (*PeripheryCaller) GetLinkingAnyUris

func (_Periphery *PeripheryCaller) GetLinkingAnyUris(opts *bind.CallOpts, fromCharacterId *big.Int, linkType [32]byte) ([]string, error)

GetLinkingAnyUris is a free data retrieval call binding the contract method 0x1964a421.

Solidity: function getLinkingAnyUris(uint256 fromCharacterId, bytes32 linkType) view returns(string[] results)

func (*PeripheryCaller) GetLinkingCharacterId

func (_Periphery *PeripheryCaller) GetLinkingCharacterId(opts *bind.CallOpts, linkKey [32]byte) (*big.Int, error)

GetLinkingCharacterId is a free data retrieval call binding the contract method 0xd85d04f4.

Solidity: function getLinkingCharacterId(bytes32 linkKey) pure returns(uint256 characterId)

func (*PeripheryCaller) GetLinkingCharacterIds

func (_Periphery *PeripheryCaller) GetLinkingCharacterIds(opts *bind.CallOpts, fromCharacterId *big.Int, linkType [32]byte) ([]*big.Int, error)

GetLinkingCharacterIds is a free data retrieval call binding the contract method 0xdfc1e2bf.

Solidity: function getLinkingCharacterIds(uint256 fromCharacterId, bytes32 linkType) view returns(uint256[] results)

func (*PeripheryCaller) GetLinkingERC721

func (_Periphery *PeripheryCaller) GetLinkingERC721(opts *bind.CallOpts, linkKey [32]byte) (DataTypesERC721Struct, error)

GetLinkingERC721 is a free data retrieval call binding the contract method 0x5440522b.

Solidity: function getLinkingERC721(bytes32 linkKey) view returns((address,uint256))

func (*PeripheryCaller) GetLinkingERC721s

func (_Periphery *PeripheryCaller) GetLinkingERC721s(opts *bind.CallOpts, fromCharacterId *big.Int, linkType [32]byte) ([]DataTypesERC721Struct, error)

GetLinkingERC721s is a free data retrieval call binding the contract method 0x62c3ed30.

Solidity: function getLinkingERC721s(uint256 fromCharacterId, bytes32 linkType) view returns((address,uint256)[] results)

func (*PeripheryCaller) GetLinkingLinklistId

func (_Periphery *PeripheryCaller) GetLinkingLinklistId(opts *bind.CallOpts, linkKey [32]byte) (*big.Int, error)

GetLinkingLinklistId is a free data retrieval call binding the contract method 0x8654af27.

Solidity: function getLinkingLinklistId(bytes32 linkKey) pure returns(uint256 linklistId)

func (*PeripheryCaller) GetLinkingLinklistIds

func (_Periphery *PeripheryCaller) GetLinkingLinklistIds(opts *bind.CallOpts, fromCharacterId *big.Int, linkType [32]byte) ([]*big.Int, error)

GetLinkingLinklistIds is a free data retrieval call binding the contract method 0x2260c7d2.

Solidity: function getLinkingLinklistIds(uint256 fromCharacterId, bytes32 linkType) view returns(uint256[] linklistIds)

func (*PeripheryCaller) GetLinkingNote

func (_Periphery *PeripheryCaller) GetLinkingNote(opts *bind.CallOpts, linkKey [32]byte) (DataTypesNoteStruct, error)

GetLinkingNote is a free data retrieval call binding the contract method 0x4a7906b9.

Solidity: function getLinkingNote(bytes32 linkKey) view returns((uint256,uint256))

func (*PeripheryCaller) GetLinkingNotes

func (_Periphery *PeripheryCaller) GetLinkingNotes(opts *bind.CallOpts, fromCharacterId *big.Int, linkType [32]byte) ([]DataTypesNote, error)

GetLinkingNotes is a free data retrieval call binding the contract method 0x2c422599.

Solidity: function getLinkingNotes(uint256 fromCharacterId, bytes32 linkType) view returns((bytes32,bytes32,string,address,address,address,bool,bool)[] results)

func (*PeripheryCaller) GetNotesByCharacterId

func (_Periphery *PeripheryCaller) GetNotesByCharacterId(opts *bind.CallOpts, characterId *big.Int, offset *big.Int, limit *big.Int) ([]DataTypesNote, error)

GetNotesByCharacterId is a free data retrieval call binding the contract method 0x0f9b729c.

Solidity: function getNotesByCharacterId(uint256 characterId, uint256 offset, uint256 limit) view returns((bytes32,bytes32,string,address,address,address,bool,bool)[] results)

func (_Periphery *PeripheryCaller) Linklist(opts *bind.CallOpts) (common.Address, error)

Linklist is a free data retrieval call binding the contract method 0x06bee8d4.

Solidity: function linklist() view returns(address)

func (*PeripheryCaller) Web3Entry

func (_Periphery *PeripheryCaller) Web3Entry(opts *bind.CallOpts) (common.Address, error)

Web3Entry is a free data retrieval call binding the contract method 0xe1332272.

Solidity: function web3Entry() view returns(address)

type PeripheryCallerRaw

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

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

func (*PeripheryCallerRaw) Call

func (_Periphery *PeripheryCallerRaw) 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 PeripheryCallerSession

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

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

func (*PeripheryCallerSession) GetLinkingAddress

func (_Periphery *PeripheryCallerSession) GetLinkingAddress(linkKey [32]byte) (common.Address, error)

GetLinkingAddress is a free data retrieval call binding the contract method 0x3e7cb539.

Solidity: function getLinkingAddress(bytes32 linkKey) pure returns(address)

func (*PeripheryCallerSession) GetLinkingAddresses

func (_Periphery *PeripheryCallerSession) GetLinkingAddresses(fromCharacterId *big.Int, linkType [32]byte) ([]common.Address, error)

GetLinkingAddresses is a free data retrieval call binding the contract method 0x76ae90ef.

Solidity: function getLinkingAddresses(uint256 fromCharacterId, bytes32 linkType) view returns(address[])

func (*PeripheryCallerSession) GetLinkingAnyUri

func (_Periphery *PeripheryCallerSession) GetLinkingAnyUri(linkKey [32]byte) (string, error)

GetLinkingAnyUri is a free data retrieval call binding the contract method 0x5f799cc6.

Solidity: function getLinkingAnyUri(bytes32 linkKey) view returns(string)

func (*PeripheryCallerSession) GetLinkingAnyUris

func (_Periphery *PeripheryCallerSession) GetLinkingAnyUris(fromCharacterId *big.Int, linkType [32]byte) ([]string, error)

GetLinkingAnyUris is a free data retrieval call binding the contract method 0x1964a421.

Solidity: function getLinkingAnyUris(uint256 fromCharacterId, bytes32 linkType) view returns(string[] results)

func (*PeripheryCallerSession) GetLinkingCharacterId

func (_Periphery *PeripheryCallerSession) GetLinkingCharacterId(linkKey [32]byte) (*big.Int, error)

GetLinkingCharacterId is a free data retrieval call binding the contract method 0xd85d04f4.

Solidity: function getLinkingCharacterId(bytes32 linkKey) pure returns(uint256 characterId)

func (*PeripheryCallerSession) GetLinkingCharacterIds

func (_Periphery *PeripheryCallerSession) GetLinkingCharacterIds(fromCharacterId *big.Int, linkType [32]byte) ([]*big.Int, error)

GetLinkingCharacterIds is a free data retrieval call binding the contract method 0xdfc1e2bf.

Solidity: function getLinkingCharacterIds(uint256 fromCharacterId, bytes32 linkType) view returns(uint256[] results)

func (*PeripheryCallerSession) GetLinkingERC721

func (_Periphery *PeripheryCallerSession) GetLinkingERC721(linkKey [32]byte) (DataTypesERC721Struct, error)

GetLinkingERC721 is a free data retrieval call binding the contract method 0x5440522b.

Solidity: function getLinkingERC721(bytes32 linkKey) view returns((address,uint256))

func (*PeripheryCallerSession) GetLinkingERC721s

func (_Periphery *PeripheryCallerSession) GetLinkingERC721s(fromCharacterId *big.Int, linkType [32]byte) ([]DataTypesERC721Struct, error)

GetLinkingERC721s is a free data retrieval call binding the contract method 0x62c3ed30.

Solidity: function getLinkingERC721s(uint256 fromCharacterId, bytes32 linkType) view returns((address,uint256)[] results)

func (*PeripheryCallerSession) GetLinkingLinklistId

func (_Periphery *PeripheryCallerSession) GetLinkingLinklistId(linkKey [32]byte) (*big.Int, error)

GetLinkingLinklistId is a free data retrieval call binding the contract method 0x8654af27.

Solidity: function getLinkingLinklistId(bytes32 linkKey) pure returns(uint256 linklistId)

func (*PeripheryCallerSession) GetLinkingLinklistIds

func (_Periphery *PeripheryCallerSession) GetLinkingLinklistIds(fromCharacterId *big.Int, linkType [32]byte) ([]*big.Int, error)

GetLinkingLinklistIds is a free data retrieval call binding the contract method 0x2260c7d2.

Solidity: function getLinkingLinklistIds(uint256 fromCharacterId, bytes32 linkType) view returns(uint256[] linklistIds)

func (*PeripheryCallerSession) GetLinkingNote

func (_Periphery *PeripheryCallerSession) GetLinkingNote(linkKey [32]byte) (DataTypesNoteStruct, error)

GetLinkingNote is a free data retrieval call binding the contract method 0x4a7906b9.

Solidity: function getLinkingNote(bytes32 linkKey) view returns((uint256,uint256))

func (*PeripheryCallerSession) GetLinkingNotes

func (_Periphery *PeripheryCallerSession) GetLinkingNotes(fromCharacterId *big.Int, linkType [32]byte) ([]DataTypesNote, error)

GetLinkingNotes is a free data retrieval call binding the contract method 0x2c422599.

Solidity: function getLinkingNotes(uint256 fromCharacterId, bytes32 linkType) view returns((bytes32,bytes32,string,address,address,address,bool,bool)[] results)

func (*PeripheryCallerSession) GetNotesByCharacterId

func (_Periphery *PeripheryCallerSession) GetNotesByCharacterId(characterId *big.Int, offset *big.Int, limit *big.Int) ([]DataTypesNote, error)

GetNotesByCharacterId is a free data retrieval call binding the contract method 0x0f9b729c.

Solidity: function getNotesByCharacterId(uint256 characterId, uint256 offset, uint256 limit) view returns((bytes32,bytes32,string,address,address,address,bool,bool)[] results)

func (_Periphery *PeripheryCallerSession) Linklist() (common.Address, error)

Linklist is a free data retrieval call binding the contract method 0x06bee8d4.

Solidity: function linklist() view returns(address)

func (*PeripheryCallerSession) Web3Entry

func (_Periphery *PeripheryCallerSession) Web3Entry() (common.Address, error)

Web3Entry is a free data retrieval call binding the contract method 0xe1332272.

Solidity: function web3Entry() view returns(address)

type PeripheryFilterer

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

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

func NewPeripheryFilterer

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

NewPeripheryFilterer creates a new log filterer instance of Periphery, bound to a specific deployed contract.

func (*PeripheryFilterer) FilterInitialized

func (_Periphery *PeripheryFilterer) FilterInitialized(opts *bind.FilterOpts) (*PeripheryInitializedIterator, error)

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

Solidity: event Initialized(uint8 version)

func (*PeripheryFilterer) ParseInitialized

func (_Periphery *PeripheryFilterer) ParseInitialized(log types.Log) (*PeripheryInitialized, error)

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

Solidity: event Initialized(uint8 version)

func (*PeripheryFilterer) WatchInitialized

func (_Periphery *PeripheryFilterer) WatchInitialized(opts *bind.WatchOpts, sink chan<- *PeripheryInitialized) (event.Subscription, error)

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

Solidity: event Initialized(uint8 version)

type PeripheryInitialized

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

PeripheryInitialized represents a Initialized event raised by the Periphery contract.

type PeripheryInitializedIterator

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

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

func (*PeripheryInitializedIterator) Close

func (it *PeripheryInitializedIterator) Close() error

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

func (*PeripheryInitializedIterator) Error

func (it *PeripheryInitializedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*PeripheryInitializedIterator) 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 PeripheryRaw

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

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

func (*PeripheryRaw) Call

func (_Periphery *PeripheryRaw) 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 (*PeripheryRaw) Transact

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

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

func (*PeripheryRaw) Transfer

func (_Periphery *PeripheryRaw) 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 PeripherySession

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

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

func (*PeripherySession) GetLinkingAddress

func (_Periphery *PeripherySession) GetLinkingAddress(linkKey [32]byte) (common.Address, error)

GetLinkingAddress is a free data retrieval call binding the contract method 0x3e7cb539.

Solidity: function getLinkingAddress(bytes32 linkKey) pure returns(address)

func (*PeripherySession) GetLinkingAddresses

func (_Periphery *PeripherySession) GetLinkingAddresses(fromCharacterId *big.Int, linkType [32]byte) ([]common.Address, error)

GetLinkingAddresses is a free data retrieval call binding the contract method 0x76ae90ef.

Solidity: function getLinkingAddresses(uint256 fromCharacterId, bytes32 linkType) view returns(address[])

func (*PeripherySession) GetLinkingAnyUri

func (_Periphery *PeripherySession) GetLinkingAnyUri(linkKey [32]byte) (string, error)

GetLinkingAnyUri is a free data retrieval call binding the contract method 0x5f799cc6.

Solidity: function getLinkingAnyUri(bytes32 linkKey) view returns(string)

func (*PeripherySession) GetLinkingAnyUris

func (_Periphery *PeripherySession) GetLinkingAnyUris(fromCharacterId *big.Int, linkType [32]byte) ([]string, error)

GetLinkingAnyUris is a free data retrieval call binding the contract method 0x1964a421.

Solidity: function getLinkingAnyUris(uint256 fromCharacterId, bytes32 linkType) view returns(string[] results)

func (*PeripherySession) GetLinkingCharacterId

func (_Periphery *PeripherySession) GetLinkingCharacterId(linkKey [32]byte) (*big.Int, error)

GetLinkingCharacterId is a free data retrieval call binding the contract method 0xd85d04f4.

Solidity: function getLinkingCharacterId(bytes32 linkKey) pure returns(uint256 characterId)

func (*PeripherySession) GetLinkingCharacterIds

func (_Periphery *PeripherySession) GetLinkingCharacterIds(fromCharacterId *big.Int, linkType [32]byte) ([]*big.Int, error)

GetLinkingCharacterIds is a free data retrieval call binding the contract method 0xdfc1e2bf.

Solidity: function getLinkingCharacterIds(uint256 fromCharacterId, bytes32 linkType) view returns(uint256[] results)

func (*PeripherySession) GetLinkingERC721

func (_Periphery *PeripherySession) GetLinkingERC721(linkKey [32]byte) (DataTypesERC721Struct, error)

GetLinkingERC721 is a free data retrieval call binding the contract method 0x5440522b.

Solidity: function getLinkingERC721(bytes32 linkKey) view returns((address,uint256))

func (*PeripherySession) GetLinkingERC721s

func (_Periphery *PeripherySession) GetLinkingERC721s(fromCharacterId *big.Int, linkType [32]byte) ([]DataTypesERC721Struct, error)

GetLinkingERC721s is a free data retrieval call binding the contract method 0x62c3ed30.

Solidity: function getLinkingERC721s(uint256 fromCharacterId, bytes32 linkType) view returns((address,uint256)[] results)

func (*PeripherySession) GetLinkingLinklistId

func (_Periphery *PeripherySession) GetLinkingLinklistId(linkKey [32]byte) (*big.Int, error)

GetLinkingLinklistId is a free data retrieval call binding the contract method 0x8654af27.

Solidity: function getLinkingLinklistId(bytes32 linkKey) pure returns(uint256 linklistId)

func (*PeripherySession) GetLinkingLinklistIds

func (_Periphery *PeripherySession) GetLinkingLinklistIds(fromCharacterId *big.Int, linkType [32]byte) ([]*big.Int, error)

GetLinkingLinklistIds is a free data retrieval call binding the contract method 0x2260c7d2.

Solidity: function getLinkingLinklistIds(uint256 fromCharacterId, bytes32 linkType) view returns(uint256[] linklistIds)

func (*PeripherySession) GetLinkingNote

func (_Periphery *PeripherySession) GetLinkingNote(linkKey [32]byte) (DataTypesNoteStruct, error)

GetLinkingNote is a free data retrieval call binding the contract method 0x4a7906b9.

Solidity: function getLinkingNote(bytes32 linkKey) view returns((uint256,uint256))

func (*PeripherySession) GetLinkingNotes

func (_Periphery *PeripherySession) GetLinkingNotes(fromCharacterId *big.Int, linkType [32]byte) ([]DataTypesNote, error)

GetLinkingNotes is a free data retrieval call binding the contract method 0x2c422599.

Solidity: function getLinkingNotes(uint256 fromCharacterId, bytes32 linkType) view returns((bytes32,bytes32,string,address,address,address,bool,bool)[] results)

func (*PeripherySession) GetNotesByCharacterId

func (_Periphery *PeripherySession) GetNotesByCharacterId(characterId *big.Int, offset *big.Int, limit *big.Int) ([]DataTypesNote, error)

GetNotesByCharacterId is a free data retrieval call binding the contract method 0x0f9b729c.

Solidity: function getNotesByCharacterId(uint256 characterId, uint256 offset, uint256 limit) view returns((bytes32,bytes32,string,address,address,address,bool,bool)[] results)

func (*PeripherySession) Initialize

func (_Periphery *PeripherySession) Initialize(_web3Entry common.Address, _linklist common.Address) (*types.Transaction, error)

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

Solidity: function initialize(address _web3Entry, address _linklist) returns()

func (*PeripherySession) LinkCharactersInBatch

func (_Periphery *PeripherySession) LinkCharactersInBatch(vars DataTypeslinkCharactersInBatchData) (*types.Transaction, error)

LinkCharactersInBatch is a paid mutator transaction binding the contract method 0xd55a0060.

Solidity: function linkCharactersInBatch((uint256,uint256[],bytes[],address[],bytes32) vars) returns()

func (_Periphery *PeripherySession) Linklist() (common.Address, error)

Linklist is a free data retrieval call binding the contract method 0x06bee8d4.

Solidity: function linklist() view returns(address)

func (*PeripherySession) Migrate

func (_Periphery *PeripherySession) Migrate(vars DataTypesMigrateData) (*types.Transaction, error)

Migrate is a paid mutator transaction binding the contract method 0xe3d24428.

Solidity: function migrate((address,string,string,address[],bytes32) vars) returns()

func (*PeripherySession) Sync

func (_Periphery *PeripherySession) Sync(account common.Address, handle string, uri string, toAddresses []common.Address, linkType [32]byte) (*types.Transaction, error)

Sync is a paid mutator transaction binding the contract method 0x5fb8652e.

Solidity: function sync(address account, string handle, string uri, address[] toAddresses, bytes32 linkType) returns()

func (*PeripherySession) Web3Entry

func (_Periphery *PeripherySession) Web3Entry() (common.Address, error)

Web3Entry is a free data retrieval call binding the contract method 0xe1332272.

Solidity: function web3Entry() view returns(address)

type PeripheryTransactor

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

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

func NewPeripheryTransactor

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

NewPeripheryTransactor creates a new write-only instance of Periphery, bound to a specific deployed contract.

func (*PeripheryTransactor) Initialize

func (_Periphery *PeripheryTransactor) Initialize(opts *bind.TransactOpts, _web3Entry common.Address, _linklist common.Address) (*types.Transaction, error)

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

Solidity: function initialize(address _web3Entry, address _linklist) returns()

func (*PeripheryTransactor) LinkCharactersInBatch

func (_Periphery *PeripheryTransactor) LinkCharactersInBatch(opts *bind.TransactOpts, vars DataTypeslinkCharactersInBatchData) (*types.Transaction, error)

LinkCharactersInBatch is a paid mutator transaction binding the contract method 0xd55a0060.

Solidity: function linkCharactersInBatch((uint256,uint256[],bytes[],address[],bytes32) vars) returns()

func (*PeripheryTransactor) Migrate

func (_Periphery *PeripheryTransactor) Migrate(opts *bind.TransactOpts, vars DataTypesMigrateData) (*types.Transaction, error)

Migrate is a paid mutator transaction binding the contract method 0xe3d24428.

Solidity: function migrate((address,string,string,address[],bytes32) vars) returns()

func (*PeripheryTransactor) Sync

func (_Periphery *PeripheryTransactor) Sync(opts *bind.TransactOpts, account common.Address, handle string, uri string, toAddresses []common.Address, linkType [32]byte) (*types.Transaction, error)

Sync is a paid mutator transaction binding the contract method 0x5fb8652e.

Solidity: function sync(address account, string handle, string uri, address[] toAddresses, bytes32 linkType) returns()

type PeripheryTransactorRaw

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

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

func (*PeripheryTransactorRaw) Transact

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

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

func (*PeripheryTransactorRaw) Transfer

func (_Periphery *PeripheryTransactorRaw) 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 PeripheryTransactorSession

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

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

func (*PeripheryTransactorSession) Initialize

func (_Periphery *PeripheryTransactorSession) Initialize(_web3Entry common.Address, _linklist common.Address) (*types.Transaction, error)

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

Solidity: function initialize(address _web3Entry, address _linklist) returns()

func (*PeripheryTransactorSession) LinkCharactersInBatch

func (_Periphery *PeripheryTransactorSession) LinkCharactersInBatch(vars DataTypeslinkCharactersInBatchData) (*types.Transaction, error)

LinkCharactersInBatch is a paid mutator transaction binding the contract method 0xd55a0060.

Solidity: function linkCharactersInBatch((uint256,uint256[],bytes[],address[],bytes32) vars) returns()

func (*PeripheryTransactorSession) Migrate

Migrate is a paid mutator transaction binding the contract method 0xe3d24428.

Solidity: function migrate((address,string,string,address[],bytes32) vars) returns()

func (*PeripheryTransactorSession) Sync

func (_Periphery *PeripheryTransactorSession) Sync(account common.Address, handle string, uri string, toAddresses []common.Address, linkType [32]byte) (*types.Transaction, error)

Sync is a paid mutator transaction binding the contract method 0x5fb8652e.

Solidity: function sync(address account, string handle, string uri, address[] toAddresses, bytes32 linkType) returns()

Jump to

Keyboard shortcuts

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