dmessage

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Jul 31, 2020 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const ContextABI = "[{\"inputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"}]"

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

View Source
const DMessageABI = "" /* 6427-byte string literal not displayed */

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

View Source
const OwnableABI = "" /* 1155-byte string literal not displayed */

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

View Source
const WriteableABI = "" /* 2749-byte string literal not displayed */

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

Variables

View Source
var DMessageBin = "" /* 13270-byte string literal not displayed */

DMessageBin is the compiled bytecode used for deploying new contracts.

View Source
var DMessageFuncSigs = map[string]string{
	"631e0c69": "addMessage(string,string)",
	"16313e92": "checkAllMessage(string[])",
	"1873ec68": "checkMessage(string)",
	"834daf0c": "checkMessages(string[])",
	"9f217bdf": "decreaseWritership(address)",
	"2309bc96": "delMessage(string)",
	"6c4ef994": "getIdsMessages(string[])",
	"0cc4e8d8": "getMessage(string)",
	"4be8362d": "getMessages(uint256,uint256)",
	"95cb2638": "getMsgId(uint256)",
	"68bfc43c": "getMsgIds()",
	"085c00e1": "getMsgLength()",
	"14b4d411": "increasedWritership(address)",
	"8f32d59b": "isOwner()",
	"4d6ee9fd": "isWriter()",
	"8da5cb5b": "owner()",
	"715018a6": "renounceOwnership()",
	"4075e83e": "renounceWritership()",
	"f2fde38b": "transferOwnership(address)",
	"75a0f3a4": "updateMessage(string,string)",
	"453a2abc": "writer()",
	"8b2f5369": "writers()",
}

DMessageFuncSigs maps the 4-byte function signature to its string representation.

View Source
var OwnableFuncSigs = map[string]string{
	"8f32d59b": "isOwner()",
	"8da5cb5b": "owner()",
	"715018a6": "renounceOwnership()",
	"f2fde38b": "transferOwnership(address)",
}

OwnableFuncSigs maps the 4-byte function signature to its string representation.

View Source
var WriteableFuncSigs = map[string]string{
	"9f217bdf": "decreaseWritership(address)",
	"14b4d411": "increasedWritership(address)",
	"8f32d59b": "isOwner()",
	"4d6ee9fd": "isWriter()",
	"8da5cb5b": "owner()",
	"715018a6": "renounceOwnership()",
	"4075e83e": "renounceWritership()",
	"f2fde38b": "transferOwnership(address)",
	"453a2abc": "writer()",
	"8b2f5369": "writers()",
}

WriteableFuncSigs maps the 4-byte function signature to its string representation.

Functions

This section is empty.

Types

type Context

type Context struct {
	ContextCaller     // Read-only binding to the contract
	ContextTransactor // Write-only binding to the contract
	ContextFilterer   // Log filterer for contract events
}

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

func NewContext

func NewContext(address common.Address, backend bind.ContractBackend) (*Context, error)

NewContext creates a new instance of Context, bound to a specific deployed contract.

type ContextCaller

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

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

func NewContextCaller

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

NewContextCaller creates a new read-only instance of Context, bound to a specific deployed contract.

type ContextCallerRaw

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

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

func (*ContextCallerRaw) Call

func (_Context *ContextCallerRaw) 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 ContextCallerSession

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

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

type ContextFilterer

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

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

func NewContextFilterer

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

NewContextFilterer creates a new log filterer instance of Context, bound to a specific deployed contract.

type ContextRaw

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

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

func (*ContextRaw) Call

func (_Context *ContextRaw) 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 (*ContextRaw) Transact

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

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

func (*ContextRaw) Transfer

func (_Context *ContextRaw) 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 ContextSession

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

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

type ContextTransactor

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

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

func NewContextTransactor

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

NewContextTransactor creates a new write-only instance of Context, bound to a specific deployed contract.

type ContextTransactorRaw

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

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

func (*ContextTransactorRaw) Transact

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

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

func (*ContextTransactorRaw) Transfer

func (_Context *ContextTransactorRaw) 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 ContextTransactorSession

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

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

type DMessage

type DMessage struct {
	DMessageCaller     // Read-only binding to the contract
	DMessageTransactor // Write-only binding to the contract
	DMessageFilterer   // Log filterer for contract events
}

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

func DeployDMessage

func DeployDMessage(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *DMessage, error)

DeployDMessage deploys a new Ethereum contract, binding an instance of DMessage to it.

func NewDMessage

func NewDMessage(address common.Address, backend bind.ContractBackend) (*DMessage, error)

NewDMessage creates a new instance of DMessage, bound to a specific deployed contract.

type DMessageCaller

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

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

func NewDMessageCaller

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

NewDMessageCaller creates a new read-only instance of DMessage, bound to a specific deployed contract.

func (*DMessageCaller) CheckAllMessage

func (_DMessage *DMessageCaller) CheckAllMessage(opts *bind.CallOpts, _ids []string) (bool, error)

CheckAllMessage is a free data retrieval call binding the contract method 0x16313e92.

Solidity: function checkAllMessage(string[] _ids) constant returns(bool)

func (*DMessageCaller) CheckMessage

func (_DMessage *DMessageCaller) CheckMessage(opts *bind.CallOpts, _id string) (bool, error)

CheckMessage is a free data retrieval call binding the contract method 0x1873ec68.

Solidity: function checkMessage(string _id) constant returns(bool)

func (*DMessageCaller) CheckMessages

func (_DMessage *DMessageCaller) CheckMessages(opts *bind.CallOpts, _ids []string) (*big.Int, bool, error)

CheckMessages is a free data retrieval call binding the contract method 0x834daf0c.

Solidity: function checkMessages(string[] _ids) constant returns(uint256, bool)

func (*DMessageCaller) GetIdsMessages

func (_DMessage *DMessageCaller) GetIdsMessages(opts *bind.CallOpts, _ids []string) (struct {
	Value []string
	Size  *big.Int
}, error)

GetIdsMessages is a free data retrieval call binding the contract method 0x6c4ef994.

Solidity: function getIdsMessages(string[] _ids) constant returns(string[] _value, uint256 _size)

func (*DMessageCaller) GetMessage

func (_DMessage *DMessageCaller) GetMessage(opts *bind.CallOpts, _ids string) (string, error)

GetMessage is a free data retrieval call binding the contract method 0x0cc4e8d8.

Solidity: function getMessage(string _ids) constant returns(string)

func (*DMessageCaller) GetMessages

func (_DMessage *DMessageCaller) GetMessages(opts *bind.CallOpts, start *big.Int, limit *big.Int) (struct {
	Value []string
	Size  *big.Int
}, error)

GetMessages is a free data retrieval call binding the contract method 0x4be8362d.

Solidity: function getMessages(uint256 start, uint256 limit) constant returns(string[] _value, uint256 _size)

func (*DMessageCaller) GetMsgId

func (_DMessage *DMessageCaller) GetMsgId(opts *bind.CallOpts, _index *big.Int) (string, error)

GetMsgId is a free data retrieval call binding the contract method 0x95cb2638.

Solidity: function getMsgId(uint256 _index) constant returns(string _value)

func (*DMessageCaller) GetMsgIds

func (_DMessage *DMessageCaller) GetMsgIds(opts *bind.CallOpts) ([]string, error)

GetMsgIds is a free data retrieval call binding the contract method 0x68bfc43c.

Solidity: function getMsgIds() constant returns(string[])

func (*DMessageCaller) GetMsgLength

func (_DMessage *DMessageCaller) GetMsgLength(opts *bind.CallOpts) (*big.Int, error)

GetMsgLength is a free data retrieval call binding the contract method 0x085c00e1.

Solidity: function getMsgLength() constant returns(uint256)

func (*DMessageCaller) IsOwner

func (_DMessage *DMessageCaller) IsOwner(opts *bind.CallOpts) (bool, error)

IsOwner is a free data retrieval call binding the contract method 0x8f32d59b.

Solidity: function isOwner() constant returns(bool)

func (*DMessageCaller) IsWriter

func (_DMessage *DMessageCaller) IsWriter(opts *bind.CallOpts) (bool, error)

IsWriter is a free data retrieval call binding the contract method 0x4d6ee9fd.

Solidity: function isWriter() constant returns(bool)

func (*DMessageCaller) Owner

func (_DMessage *DMessageCaller) Owner(opts *bind.CallOpts) (common.Address, error)

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

Solidity: function owner() constant returns(address)

func (*DMessageCaller) Writer

func (_DMessage *DMessageCaller) Writer(opts *bind.CallOpts) (common.Address, error)

Writer is a free data retrieval call binding the contract method 0x453a2abc.

Solidity: function writer() constant returns(address)

func (*DMessageCaller) Writers

func (_DMessage *DMessageCaller) Writers(opts *bind.CallOpts) ([]common.Address, error)

Writers is a free data retrieval call binding the contract method 0x8b2f5369.

Solidity: function writers() constant returns(address[] _value)

type DMessageCallerRaw

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

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

func (*DMessageCallerRaw) Call

func (_DMessage *DMessageCallerRaw) 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 DMessageCallerSession

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

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

func (*DMessageCallerSession) CheckAllMessage

func (_DMessage *DMessageCallerSession) CheckAllMessage(_ids []string) (bool, error)

CheckAllMessage is a free data retrieval call binding the contract method 0x16313e92.

Solidity: function checkAllMessage(string[] _ids) constant returns(bool)

func (*DMessageCallerSession) CheckMessage

func (_DMessage *DMessageCallerSession) CheckMessage(_id string) (bool, error)

CheckMessage is a free data retrieval call binding the contract method 0x1873ec68.

Solidity: function checkMessage(string _id) constant returns(bool)

func (*DMessageCallerSession) CheckMessages

func (_DMessage *DMessageCallerSession) CheckMessages(_ids []string) (*big.Int, bool, error)

CheckMessages is a free data retrieval call binding the contract method 0x834daf0c.

Solidity: function checkMessages(string[] _ids) constant returns(uint256, bool)

func (*DMessageCallerSession) GetIdsMessages

func (_DMessage *DMessageCallerSession) GetIdsMessages(_ids []string) (struct {
	Value []string
	Size  *big.Int
}, error)

GetIdsMessages is a free data retrieval call binding the contract method 0x6c4ef994.

Solidity: function getIdsMessages(string[] _ids) constant returns(string[] _value, uint256 _size)

func (*DMessageCallerSession) GetMessage

func (_DMessage *DMessageCallerSession) GetMessage(_ids string) (string, error)

GetMessage is a free data retrieval call binding the contract method 0x0cc4e8d8.

Solidity: function getMessage(string _ids) constant returns(string)

func (*DMessageCallerSession) GetMessages

func (_DMessage *DMessageCallerSession) GetMessages(start *big.Int, limit *big.Int) (struct {
	Value []string
	Size  *big.Int
}, error)

GetMessages is a free data retrieval call binding the contract method 0x4be8362d.

Solidity: function getMessages(uint256 start, uint256 limit) constant returns(string[] _value, uint256 _size)

func (*DMessageCallerSession) GetMsgId

func (_DMessage *DMessageCallerSession) GetMsgId(_index *big.Int) (string, error)

GetMsgId is a free data retrieval call binding the contract method 0x95cb2638.

Solidity: function getMsgId(uint256 _index) constant returns(string _value)

func (*DMessageCallerSession) GetMsgIds

func (_DMessage *DMessageCallerSession) GetMsgIds() ([]string, error)

GetMsgIds is a free data retrieval call binding the contract method 0x68bfc43c.

Solidity: function getMsgIds() constant returns(string[])

func (*DMessageCallerSession) GetMsgLength

func (_DMessage *DMessageCallerSession) GetMsgLength() (*big.Int, error)

GetMsgLength is a free data retrieval call binding the contract method 0x085c00e1.

Solidity: function getMsgLength() constant returns(uint256)

func (*DMessageCallerSession) IsOwner

func (_DMessage *DMessageCallerSession) IsOwner() (bool, error)

IsOwner is a free data retrieval call binding the contract method 0x8f32d59b.

Solidity: function isOwner() constant returns(bool)

func (*DMessageCallerSession) IsWriter

func (_DMessage *DMessageCallerSession) IsWriter() (bool, error)

IsWriter is a free data retrieval call binding the contract method 0x4d6ee9fd.

Solidity: function isWriter() constant returns(bool)

func (*DMessageCallerSession) Owner

func (_DMessage *DMessageCallerSession) Owner() (common.Address, error)

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

Solidity: function owner() constant returns(address)

func (*DMessageCallerSession) Writer

func (_DMessage *DMessageCallerSession) Writer() (common.Address, error)

Writer is a free data retrieval call binding the contract method 0x453a2abc.

Solidity: function writer() constant returns(address)

func (*DMessageCallerSession) Writers

func (_DMessage *DMessageCallerSession) Writers() ([]common.Address, error)

Writers is a free data retrieval call binding the contract method 0x8b2f5369.

Solidity: function writers() constant returns(address[] _value)

type DMessageFilterer

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

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

func NewDMessageFilterer

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

NewDMessageFilterer creates a new log filterer instance of DMessage, bound to a specific deployed contract.

func (*DMessageFilterer) FilterOwnershipTransferred

func (_DMessage *DMessageFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*DMessageOwnershipTransferredIterator, error)

FilterOwnershipTransferred is a free log retrieval operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

func (*DMessageFilterer) FilterWritershipDecreased

func (_DMessage *DMessageFilterer) FilterWritershipDecreased(opts *bind.FilterOpts, oldWriter []common.Address) (*DMessageWritershipDecreasedIterator, error)

FilterWritershipDecreased is a free log retrieval operation binding the contract event 0xb24c36b70cc67df9ea22f053c15c4a41e7170d7be0637d2637a3445a266ac6af.

Solidity: event WritershipDecreased(address indexed oldWriter)

func (*DMessageFilterer) FilterWritershipIncreased

func (_DMessage *DMessageFilterer) FilterWritershipIncreased(opts *bind.FilterOpts, newWriter []common.Address) (*DMessageWritershipIncreasedIterator, error)

FilterWritershipIncreased is a free log retrieval operation binding the contract event 0x8f2adc2e2f2723d375f8bb1359cb1027f713945395ca36c42b83dd94c5bdc7f2.

Solidity: event WritershipIncreased(address indexed newWriter)

func (*DMessageFilterer) ParseOwnershipTransferred

func (_DMessage *DMessageFilterer) ParseOwnershipTransferred(log types.Log) (*DMessageOwnershipTransferred, error)

ParseOwnershipTransferred is a log parse operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

func (*DMessageFilterer) ParseWritershipDecreased

func (_DMessage *DMessageFilterer) ParseWritershipDecreased(log types.Log) (*DMessageWritershipDecreased, error)

ParseWritershipDecreased is a log parse operation binding the contract event 0xb24c36b70cc67df9ea22f053c15c4a41e7170d7be0637d2637a3445a266ac6af.

Solidity: event WritershipDecreased(address indexed oldWriter)

func (*DMessageFilterer) ParseWritershipIncreased

func (_DMessage *DMessageFilterer) ParseWritershipIncreased(log types.Log) (*DMessageWritershipIncreased, error)

ParseWritershipIncreased is a log parse operation binding the contract event 0x8f2adc2e2f2723d375f8bb1359cb1027f713945395ca36c42b83dd94c5bdc7f2.

Solidity: event WritershipIncreased(address indexed newWriter)

func (*DMessageFilterer) WatchOwnershipTransferred

func (_DMessage *DMessageFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *DMessageOwnershipTransferred, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error)

WatchOwnershipTransferred is a free log subscription operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

func (*DMessageFilterer) WatchWritershipDecreased

func (_DMessage *DMessageFilterer) WatchWritershipDecreased(opts *bind.WatchOpts, sink chan<- *DMessageWritershipDecreased, oldWriter []common.Address) (event.Subscription, error)

WatchWritershipDecreased is a free log subscription operation binding the contract event 0xb24c36b70cc67df9ea22f053c15c4a41e7170d7be0637d2637a3445a266ac6af.

Solidity: event WritershipDecreased(address indexed oldWriter)

func (*DMessageFilterer) WatchWritershipIncreased

func (_DMessage *DMessageFilterer) WatchWritershipIncreased(opts *bind.WatchOpts, sink chan<- *DMessageWritershipIncreased, newWriter []common.Address) (event.Subscription, error)

WatchWritershipIncreased is a free log subscription operation binding the contract event 0x8f2adc2e2f2723d375f8bb1359cb1027f713945395ca36c42b83dd94c5bdc7f2.

Solidity: event WritershipIncreased(address indexed newWriter)

type DMessageOwnershipTransferred

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

DMessageOwnershipTransferred represents a OwnershipTransferred event raised by the DMessage contract.

type DMessageOwnershipTransferredIterator

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

DMessageOwnershipTransferredIterator is returned from FilterOwnershipTransferred and is used to iterate over the raw logs and unpacked data for OwnershipTransferred events raised by the DMessage contract.

func (*DMessageOwnershipTransferredIterator) Close

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

func (*DMessageOwnershipTransferredIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*DMessageOwnershipTransferredIterator) 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 DMessageRaw

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

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

func (*DMessageRaw) Call

func (_DMessage *DMessageRaw) 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 (*DMessageRaw) Transact

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

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

func (*DMessageRaw) Transfer

func (_DMessage *DMessageRaw) 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 DMessageSession

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

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

func (*DMessageSession) AddMessage

func (_DMessage *DMessageSession) AddMessage(_id string, _message string) (*types.Transaction, error)

AddMessage is a paid mutator transaction binding the contract method 0x631e0c69.

Solidity: function addMessage(string _id, string _message) returns(bool)

func (*DMessageSession) CheckAllMessage

func (_DMessage *DMessageSession) CheckAllMessage(_ids []string) (bool, error)

CheckAllMessage is a free data retrieval call binding the contract method 0x16313e92.

Solidity: function checkAllMessage(string[] _ids) constant returns(bool)

func (*DMessageSession) CheckMessage

func (_DMessage *DMessageSession) CheckMessage(_id string) (bool, error)

CheckMessage is a free data retrieval call binding the contract method 0x1873ec68.

Solidity: function checkMessage(string _id) constant returns(bool)

func (*DMessageSession) CheckMessages

func (_DMessage *DMessageSession) CheckMessages(_ids []string) (*big.Int, bool, error)

CheckMessages is a free data retrieval call binding the contract method 0x834daf0c.

Solidity: function checkMessages(string[] _ids) constant returns(uint256, bool)

func (*DMessageSession) DecreaseWritership

func (_DMessage *DMessageSession) DecreaseWritership(oldWriter common.Address) (*types.Transaction, error)

DecreaseWritership is a paid mutator transaction binding the contract method 0x9f217bdf.

Solidity: function decreaseWritership(address oldWriter) returns()

func (*DMessageSession) DelMessage

func (_DMessage *DMessageSession) DelMessage(_id string) (*types.Transaction, error)

DelMessage is a paid mutator transaction binding the contract method 0x2309bc96.

Solidity: function delMessage(string _id) returns(string, bool)

func (*DMessageSession) GetIdsMessages

func (_DMessage *DMessageSession) GetIdsMessages(_ids []string) (struct {
	Value []string
	Size  *big.Int
}, error)

GetIdsMessages is a free data retrieval call binding the contract method 0x6c4ef994.

Solidity: function getIdsMessages(string[] _ids) constant returns(string[] _value, uint256 _size)

func (*DMessageSession) GetMessage

func (_DMessage *DMessageSession) GetMessage(_ids string) (string, error)

GetMessage is a free data retrieval call binding the contract method 0x0cc4e8d8.

Solidity: function getMessage(string _ids) constant returns(string)

func (*DMessageSession) GetMessages

func (_DMessage *DMessageSession) GetMessages(start *big.Int, limit *big.Int) (struct {
	Value []string
	Size  *big.Int
}, error)

GetMessages is a free data retrieval call binding the contract method 0x4be8362d.

Solidity: function getMessages(uint256 start, uint256 limit) constant returns(string[] _value, uint256 _size)

func (*DMessageSession) GetMsgId

func (_DMessage *DMessageSession) GetMsgId(_index *big.Int) (string, error)

GetMsgId is a free data retrieval call binding the contract method 0x95cb2638.

Solidity: function getMsgId(uint256 _index) constant returns(string _value)

func (*DMessageSession) GetMsgIds

func (_DMessage *DMessageSession) GetMsgIds() ([]string, error)

GetMsgIds is a free data retrieval call binding the contract method 0x68bfc43c.

Solidity: function getMsgIds() constant returns(string[])

func (*DMessageSession) GetMsgLength

func (_DMessage *DMessageSession) GetMsgLength() (*big.Int, error)

GetMsgLength is a free data retrieval call binding the contract method 0x085c00e1.

Solidity: function getMsgLength() constant returns(uint256)

func (*DMessageSession) IncreasedWritership

func (_DMessage *DMessageSession) IncreasedWritership(newWriter common.Address) (*types.Transaction, error)

IncreasedWritership is a paid mutator transaction binding the contract method 0x14b4d411.

Solidity: function increasedWritership(address newWriter) returns()

func (*DMessageSession) IsOwner

func (_DMessage *DMessageSession) IsOwner() (bool, error)

IsOwner is a free data retrieval call binding the contract method 0x8f32d59b.

Solidity: function isOwner() constant returns(bool)

func (*DMessageSession) IsWriter

func (_DMessage *DMessageSession) IsWriter() (bool, error)

IsWriter is a free data retrieval call binding the contract method 0x4d6ee9fd.

Solidity: function isWriter() constant returns(bool)

func (*DMessageSession) Owner

func (_DMessage *DMessageSession) Owner() (common.Address, error)

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

Solidity: function owner() constant returns(address)

func (*DMessageSession) RenounceOwnership

func (_DMessage *DMessageSession) RenounceOwnership() (*types.Transaction, error)

RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.

Solidity: function renounceOwnership() returns()

func (*DMessageSession) RenounceWritership

func (_DMessage *DMessageSession) RenounceWritership() (*types.Transaction, error)

RenounceWritership is a paid mutator transaction binding the contract method 0x4075e83e.

Solidity: function renounceWritership() returns()

func (*DMessageSession) TransferOwnership

func (_DMessage *DMessageSession) 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 (*DMessageSession) UpdateMessage

func (_DMessage *DMessageSession) UpdateMessage(_id string, _message string) (*types.Transaction, error)

UpdateMessage is a paid mutator transaction binding the contract method 0x75a0f3a4.

Solidity: function updateMessage(string _id, string _message) returns(bool)

func (*DMessageSession) Writer

func (_DMessage *DMessageSession) Writer() (common.Address, error)

Writer is a free data retrieval call binding the contract method 0x453a2abc.

Solidity: function writer() constant returns(address)

func (*DMessageSession) Writers

func (_DMessage *DMessageSession) Writers() ([]common.Address, error)

Writers is a free data retrieval call binding the contract method 0x8b2f5369.

Solidity: function writers() constant returns(address[] _value)

type DMessageTransactor

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

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

func NewDMessageTransactor

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

NewDMessageTransactor creates a new write-only instance of DMessage, bound to a specific deployed contract.

func (*DMessageTransactor) AddMessage

func (_DMessage *DMessageTransactor) AddMessage(opts *bind.TransactOpts, _id string, _message string) (*types.Transaction, error)

AddMessage is a paid mutator transaction binding the contract method 0x631e0c69.

Solidity: function addMessage(string _id, string _message) returns(bool)

func (*DMessageTransactor) DecreaseWritership

func (_DMessage *DMessageTransactor) DecreaseWritership(opts *bind.TransactOpts, oldWriter common.Address) (*types.Transaction, error)

DecreaseWritership is a paid mutator transaction binding the contract method 0x9f217bdf.

Solidity: function decreaseWritership(address oldWriter) returns()

func (*DMessageTransactor) DelMessage

func (_DMessage *DMessageTransactor) DelMessage(opts *bind.TransactOpts, _id string) (*types.Transaction, error)

DelMessage is a paid mutator transaction binding the contract method 0x2309bc96.

Solidity: function delMessage(string _id) returns(string, bool)

func (*DMessageTransactor) IncreasedWritership

func (_DMessage *DMessageTransactor) IncreasedWritership(opts *bind.TransactOpts, newWriter common.Address) (*types.Transaction, error)

IncreasedWritership is a paid mutator transaction binding the contract method 0x14b4d411.

Solidity: function increasedWritership(address newWriter) returns()

func (*DMessageTransactor) RenounceOwnership

func (_DMessage *DMessageTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)

RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.

Solidity: function renounceOwnership() returns()

func (*DMessageTransactor) RenounceWritership

func (_DMessage *DMessageTransactor) RenounceWritership(opts *bind.TransactOpts) (*types.Transaction, error)

RenounceWritership is a paid mutator transaction binding the contract method 0x4075e83e.

Solidity: function renounceWritership() returns()

func (*DMessageTransactor) TransferOwnership

func (_DMessage *DMessageTransactor) 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()

func (*DMessageTransactor) UpdateMessage

func (_DMessage *DMessageTransactor) UpdateMessage(opts *bind.TransactOpts, _id string, _message string) (*types.Transaction, error)

UpdateMessage is a paid mutator transaction binding the contract method 0x75a0f3a4.

Solidity: function updateMessage(string _id, string _message) returns(bool)

type DMessageTransactorRaw

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

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

func (*DMessageTransactorRaw) Transact

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

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

func (*DMessageTransactorRaw) Transfer

func (_DMessage *DMessageTransactorRaw) 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 DMessageTransactorSession

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

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

func (*DMessageTransactorSession) AddMessage

func (_DMessage *DMessageTransactorSession) AddMessage(_id string, _message string) (*types.Transaction, error)

AddMessage is a paid mutator transaction binding the contract method 0x631e0c69.

Solidity: function addMessage(string _id, string _message) returns(bool)

func (*DMessageTransactorSession) DecreaseWritership

func (_DMessage *DMessageTransactorSession) DecreaseWritership(oldWriter common.Address) (*types.Transaction, error)

DecreaseWritership is a paid mutator transaction binding the contract method 0x9f217bdf.

Solidity: function decreaseWritership(address oldWriter) returns()

func (*DMessageTransactorSession) DelMessage

func (_DMessage *DMessageTransactorSession) DelMessage(_id string) (*types.Transaction, error)

DelMessage is a paid mutator transaction binding the contract method 0x2309bc96.

Solidity: function delMessage(string _id) returns(string, bool)

func (*DMessageTransactorSession) IncreasedWritership

func (_DMessage *DMessageTransactorSession) IncreasedWritership(newWriter common.Address) (*types.Transaction, error)

IncreasedWritership is a paid mutator transaction binding the contract method 0x14b4d411.

Solidity: function increasedWritership(address newWriter) returns()

func (*DMessageTransactorSession) RenounceOwnership

func (_DMessage *DMessageTransactorSession) RenounceOwnership() (*types.Transaction, error)

RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.

Solidity: function renounceOwnership() returns()

func (*DMessageTransactorSession) RenounceWritership

func (_DMessage *DMessageTransactorSession) RenounceWritership() (*types.Transaction, error)

RenounceWritership is a paid mutator transaction binding the contract method 0x4075e83e.

Solidity: function renounceWritership() returns()

func (*DMessageTransactorSession) TransferOwnership

func (_DMessage *DMessageTransactorSession) 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 (*DMessageTransactorSession) UpdateMessage

func (_DMessage *DMessageTransactorSession) UpdateMessage(_id string, _message string) (*types.Transaction, error)

UpdateMessage is a paid mutator transaction binding the contract method 0x75a0f3a4.

Solidity: function updateMessage(string _id, string _message) returns(bool)

type DMessageWritershipDecreased

type DMessageWritershipDecreased struct {
	OldWriter common.Address
	Raw       types.Log // Blockchain specific contextual infos
}

DMessageWritershipDecreased represents a WritershipDecreased event raised by the DMessage contract.

type DMessageWritershipDecreasedIterator

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

DMessageWritershipDecreasedIterator is returned from FilterWritershipDecreased and is used to iterate over the raw logs and unpacked data for WritershipDecreased events raised by the DMessage contract.

func (*DMessageWritershipDecreasedIterator) Close

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

func (*DMessageWritershipDecreasedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*DMessageWritershipDecreasedIterator) 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 DMessageWritershipIncreased

type DMessageWritershipIncreased struct {
	NewWriter common.Address
	Raw       types.Log // Blockchain specific contextual infos
}

DMessageWritershipIncreased represents a WritershipIncreased event raised by the DMessage contract.

type DMessageWritershipIncreasedIterator

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

DMessageWritershipIncreasedIterator is returned from FilterWritershipIncreased and is used to iterate over the raw logs and unpacked data for WritershipIncreased events raised by the DMessage contract.

func (*DMessageWritershipIncreasedIterator) Close

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

func (*DMessageWritershipIncreasedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*DMessageWritershipIncreasedIterator) 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 Ownable

type Ownable struct {
	OwnableCaller     // Read-only binding to the contract
	OwnableTransactor // Write-only binding to the contract
	OwnableFilterer   // Log filterer for contract events
}

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

func NewOwnable

func NewOwnable(address common.Address, backend bind.ContractBackend) (*Ownable, error)

NewOwnable creates a new instance of Ownable, bound to a specific deployed contract.

type OwnableCaller

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

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

func NewOwnableCaller

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

NewOwnableCaller creates a new read-only instance of Ownable, bound to a specific deployed contract.

func (*OwnableCaller) IsOwner

func (_Ownable *OwnableCaller) IsOwner(opts *bind.CallOpts) (bool, error)

IsOwner is a free data retrieval call binding the contract method 0x8f32d59b.

Solidity: function isOwner() constant returns(bool)

func (*OwnableCaller) Owner

func (_Ownable *OwnableCaller) Owner(opts *bind.CallOpts) (common.Address, error)

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

Solidity: function owner() constant returns(address)

type OwnableCallerRaw

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

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

func (*OwnableCallerRaw) Call

func (_Ownable *OwnableCallerRaw) 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 OwnableCallerSession

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

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

func (*OwnableCallerSession) IsOwner

func (_Ownable *OwnableCallerSession) IsOwner() (bool, error)

IsOwner is a free data retrieval call binding the contract method 0x8f32d59b.

Solidity: function isOwner() constant returns(bool)

func (*OwnableCallerSession) Owner

func (_Ownable *OwnableCallerSession) Owner() (common.Address, error)

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

Solidity: function owner() constant returns(address)

type OwnableFilterer

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

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

func NewOwnableFilterer

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

NewOwnableFilterer creates a new log filterer instance of Ownable, bound to a specific deployed contract.

func (*OwnableFilterer) FilterOwnershipTransferred

func (_Ownable *OwnableFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*OwnableOwnershipTransferredIterator, error)

FilterOwnershipTransferred is a free log retrieval operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

func (*OwnableFilterer) ParseOwnershipTransferred

func (_Ownable *OwnableFilterer) ParseOwnershipTransferred(log types.Log) (*OwnableOwnershipTransferred, error)

ParseOwnershipTransferred is a log parse operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

func (*OwnableFilterer) WatchOwnershipTransferred

func (_Ownable *OwnableFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *OwnableOwnershipTransferred, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error)

WatchOwnershipTransferred is a free log subscription operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

type OwnableOwnershipTransferred

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

OwnableOwnershipTransferred represents a OwnershipTransferred event raised by the Ownable contract.

type OwnableOwnershipTransferredIterator

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

OwnableOwnershipTransferredIterator is returned from FilterOwnershipTransferred and is used to iterate over the raw logs and unpacked data for OwnershipTransferred events raised by the Ownable contract.

func (*OwnableOwnershipTransferredIterator) Close

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

func (*OwnableOwnershipTransferredIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*OwnableOwnershipTransferredIterator) 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 OwnableRaw

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

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

func (*OwnableRaw) Call

func (_Ownable *OwnableRaw) 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 (*OwnableRaw) Transact

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

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

func (*OwnableRaw) Transfer

func (_Ownable *OwnableRaw) 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 OwnableSession

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

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

func (*OwnableSession) IsOwner

func (_Ownable *OwnableSession) IsOwner() (bool, error)

IsOwner is a free data retrieval call binding the contract method 0x8f32d59b.

Solidity: function isOwner() constant returns(bool)

func (*OwnableSession) Owner

func (_Ownable *OwnableSession) Owner() (common.Address, error)

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

Solidity: function owner() constant returns(address)

func (*OwnableSession) RenounceOwnership

func (_Ownable *OwnableSession) RenounceOwnership() (*types.Transaction, error)

RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.

Solidity: function renounceOwnership() returns()

func (*OwnableSession) TransferOwnership

func (_Ownable *OwnableSession) 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 OwnableTransactor

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

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

func NewOwnableTransactor

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

NewOwnableTransactor creates a new write-only instance of Ownable, bound to a specific deployed contract.

func (*OwnableTransactor) RenounceOwnership

func (_Ownable *OwnableTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)

RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.

Solidity: function renounceOwnership() returns()

func (*OwnableTransactor) TransferOwnership

func (_Ownable *OwnableTransactor) 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 OwnableTransactorRaw

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

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

func (*OwnableTransactorRaw) Transact

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

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

func (*OwnableTransactorRaw) Transfer

func (_Ownable *OwnableTransactorRaw) 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 OwnableTransactorSession

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

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

func (*OwnableTransactorSession) RenounceOwnership

func (_Ownable *OwnableTransactorSession) RenounceOwnership() (*types.Transaction, error)

RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.

Solidity: function renounceOwnership() returns()

func (*OwnableTransactorSession) TransferOwnership

func (_Ownable *OwnableTransactorSession) 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 Writeable

type Writeable struct {
	WriteableCaller     // Read-only binding to the contract
	WriteableTransactor // Write-only binding to the contract
	WriteableFilterer   // Log filterer for contract events
}

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

func NewWriteable

func NewWriteable(address common.Address, backend bind.ContractBackend) (*Writeable, error)

NewWriteable creates a new instance of Writeable, bound to a specific deployed contract.

type WriteableCaller

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

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

func NewWriteableCaller

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

NewWriteableCaller creates a new read-only instance of Writeable, bound to a specific deployed contract.

func (*WriteableCaller) IsOwner

func (_Writeable *WriteableCaller) IsOwner(opts *bind.CallOpts) (bool, error)

IsOwner is a free data retrieval call binding the contract method 0x8f32d59b.

Solidity: function isOwner() constant returns(bool)

func (*WriteableCaller) IsWriter

func (_Writeable *WriteableCaller) IsWriter(opts *bind.CallOpts) (bool, error)

IsWriter is a free data retrieval call binding the contract method 0x4d6ee9fd.

Solidity: function isWriter() constant returns(bool)

func (*WriteableCaller) Owner

func (_Writeable *WriteableCaller) Owner(opts *bind.CallOpts) (common.Address, error)

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

Solidity: function owner() constant returns(address)

func (*WriteableCaller) Writer

func (_Writeable *WriteableCaller) Writer(opts *bind.CallOpts) (common.Address, error)

Writer is a free data retrieval call binding the contract method 0x453a2abc.

Solidity: function writer() constant returns(address)

func (*WriteableCaller) Writers

func (_Writeable *WriteableCaller) Writers(opts *bind.CallOpts) ([]common.Address, error)

Writers is a free data retrieval call binding the contract method 0x8b2f5369.

Solidity: function writers() constant returns(address[] _value)

type WriteableCallerRaw

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

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

func (*WriteableCallerRaw) Call

func (_Writeable *WriteableCallerRaw) 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 WriteableCallerSession

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

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

func (*WriteableCallerSession) IsOwner

func (_Writeable *WriteableCallerSession) IsOwner() (bool, error)

IsOwner is a free data retrieval call binding the contract method 0x8f32d59b.

Solidity: function isOwner() constant returns(bool)

func (*WriteableCallerSession) IsWriter

func (_Writeable *WriteableCallerSession) IsWriter() (bool, error)

IsWriter is a free data retrieval call binding the contract method 0x4d6ee9fd.

Solidity: function isWriter() constant returns(bool)

func (*WriteableCallerSession) Owner

func (_Writeable *WriteableCallerSession) Owner() (common.Address, error)

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

Solidity: function owner() constant returns(address)

func (*WriteableCallerSession) Writer

func (_Writeable *WriteableCallerSession) Writer() (common.Address, error)

Writer is a free data retrieval call binding the contract method 0x453a2abc.

Solidity: function writer() constant returns(address)

func (*WriteableCallerSession) Writers

func (_Writeable *WriteableCallerSession) Writers() ([]common.Address, error)

Writers is a free data retrieval call binding the contract method 0x8b2f5369.

Solidity: function writers() constant returns(address[] _value)

type WriteableFilterer

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

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

func NewWriteableFilterer

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

NewWriteableFilterer creates a new log filterer instance of Writeable, bound to a specific deployed contract.

func (*WriteableFilterer) FilterOwnershipTransferred

func (_Writeable *WriteableFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*WriteableOwnershipTransferredIterator, error)

FilterOwnershipTransferred is a free log retrieval operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

func (*WriteableFilterer) FilterWritershipDecreased

func (_Writeable *WriteableFilterer) FilterWritershipDecreased(opts *bind.FilterOpts, oldWriter []common.Address) (*WriteableWritershipDecreasedIterator, error)

FilterWritershipDecreased is a free log retrieval operation binding the contract event 0xb24c36b70cc67df9ea22f053c15c4a41e7170d7be0637d2637a3445a266ac6af.

Solidity: event WritershipDecreased(address indexed oldWriter)

func (*WriteableFilterer) FilterWritershipIncreased

func (_Writeable *WriteableFilterer) FilterWritershipIncreased(opts *bind.FilterOpts, newWriter []common.Address) (*WriteableWritershipIncreasedIterator, error)

FilterWritershipIncreased is a free log retrieval operation binding the contract event 0x8f2adc2e2f2723d375f8bb1359cb1027f713945395ca36c42b83dd94c5bdc7f2.

Solidity: event WritershipIncreased(address indexed newWriter)

func (*WriteableFilterer) ParseOwnershipTransferred

func (_Writeable *WriteableFilterer) ParseOwnershipTransferred(log types.Log) (*WriteableOwnershipTransferred, error)

ParseOwnershipTransferred is a log parse operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

func (*WriteableFilterer) ParseWritershipDecreased

func (_Writeable *WriteableFilterer) ParseWritershipDecreased(log types.Log) (*WriteableWritershipDecreased, error)

ParseWritershipDecreased is a log parse operation binding the contract event 0xb24c36b70cc67df9ea22f053c15c4a41e7170d7be0637d2637a3445a266ac6af.

Solidity: event WritershipDecreased(address indexed oldWriter)

func (*WriteableFilterer) ParseWritershipIncreased

func (_Writeable *WriteableFilterer) ParseWritershipIncreased(log types.Log) (*WriteableWritershipIncreased, error)

ParseWritershipIncreased is a log parse operation binding the contract event 0x8f2adc2e2f2723d375f8bb1359cb1027f713945395ca36c42b83dd94c5bdc7f2.

Solidity: event WritershipIncreased(address indexed newWriter)

func (*WriteableFilterer) WatchOwnershipTransferred

func (_Writeable *WriteableFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *WriteableOwnershipTransferred, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error)

WatchOwnershipTransferred is a free log subscription operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

func (*WriteableFilterer) WatchWritershipDecreased

func (_Writeable *WriteableFilterer) WatchWritershipDecreased(opts *bind.WatchOpts, sink chan<- *WriteableWritershipDecreased, oldWriter []common.Address) (event.Subscription, error)

WatchWritershipDecreased is a free log subscription operation binding the contract event 0xb24c36b70cc67df9ea22f053c15c4a41e7170d7be0637d2637a3445a266ac6af.

Solidity: event WritershipDecreased(address indexed oldWriter)

func (*WriteableFilterer) WatchWritershipIncreased

func (_Writeable *WriteableFilterer) WatchWritershipIncreased(opts *bind.WatchOpts, sink chan<- *WriteableWritershipIncreased, newWriter []common.Address) (event.Subscription, error)

WatchWritershipIncreased is a free log subscription operation binding the contract event 0x8f2adc2e2f2723d375f8bb1359cb1027f713945395ca36c42b83dd94c5bdc7f2.

Solidity: event WritershipIncreased(address indexed newWriter)

type WriteableOwnershipTransferred

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

WriteableOwnershipTransferred represents a OwnershipTransferred event raised by the Writeable contract.

type WriteableOwnershipTransferredIterator

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

WriteableOwnershipTransferredIterator is returned from FilterOwnershipTransferred and is used to iterate over the raw logs and unpacked data for OwnershipTransferred events raised by the Writeable contract.

func (*WriteableOwnershipTransferredIterator) Close

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

func (*WriteableOwnershipTransferredIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*WriteableOwnershipTransferredIterator) 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 WriteableRaw

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

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

func (*WriteableRaw) Call

func (_Writeable *WriteableRaw) 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 (*WriteableRaw) Transact

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

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

func (*WriteableRaw) Transfer

func (_Writeable *WriteableRaw) 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 WriteableSession

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

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

func (*WriteableSession) DecreaseWritership

func (_Writeable *WriteableSession) DecreaseWritership(oldWriter common.Address) (*types.Transaction, error)

DecreaseWritership is a paid mutator transaction binding the contract method 0x9f217bdf.

Solidity: function decreaseWritership(address oldWriter) returns()

func (*WriteableSession) IncreasedWritership

func (_Writeable *WriteableSession) IncreasedWritership(newWriter common.Address) (*types.Transaction, error)

IncreasedWritership is a paid mutator transaction binding the contract method 0x14b4d411.

Solidity: function increasedWritership(address newWriter) returns()

func (*WriteableSession) IsOwner

func (_Writeable *WriteableSession) IsOwner() (bool, error)

IsOwner is a free data retrieval call binding the contract method 0x8f32d59b.

Solidity: function isOwner() constant returns(bool)

func (*WriteableSession) IsWriter

func (_Writeable *WriteableSession) IsWriter() (bool, error)

IsWriter is a free data retrieval call binding the contract method 0x4d6ee9fd.

Solidity: function isWriter() constant returns(bool)

func (*WriteableSession) Owner

func (_Writeable *WriteableSession) Owner() (common.Address, error)

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

Solidity: function owner() constant returns(address)

func (*WriteableSession) RenounceOwnership

func (_Writeable *WriteableSession) RenounceOwnership() (*types.Transaction, error)

RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.

Solidity: function renounceOwnership() returns()

func (*WriteableSession) RenounceWritership

func (_Writeable *WriteableSession) RenounceWritership() (*types.Transaction, error)

RenounceWritership is a paid mutator transaction binding the contract method 0x4075e83e.

Solidity: function renounceWritership() returns()

func (*WriteableSession) TransferOwnership

func (_Writeable *WriteableSession) 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 (*WriteableSession) Writer

func (_Writeable *WriteableSession) Writer() (common.Address, error)

Writer is a free data retrieval call binding the contract method 0x453a2abc.

Solidity: function writer() constant returns(address)

func (*WriteableSession) Writers

func (_Writeable *WriteableSession) Writers() ([]common.Address, error)

Writers is a free data retrieval call binding the contract method 0x8b2f5369.

Solidity: function writers() constant returns(address[] _value)

type WriteableTransactor

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

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

func NewWriteableTransactor

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

NewWriteableTransactor creates a new write-only instance of Writeable, bound to a specific deployed contract.

func (*WriteableTransactor) DecreaseWritership

func (_Writeable *WriteableTransactor) DecreaseWritership(opts *bind.TransactOpts, oldWriter common.Address) (*types.Transaction, error)

DecreaseWritership is a paid mutator transaction binding the contract method 0x9f217bdf.

Solidity: function decreaseWritership(address oldWriter) returns()

func (*WriteableTransactor) IncreasedWritership

func (_Writeable *WriteableTransactor) IncreasedWritership(opts *bind.TransactOpts, newWriter common.Address) (*types.Transaction, error)

IncreasedWritership is a paid mutator transaction binding the contract method 0x14b4d411.

Solidity: function increasedWritership(address newWriter) returns()

func (*WriteableTransactor) RenounceOwnership

func (_Writeable *WriteableTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)

RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.

Solidity: function renounceOwnership() returns()

func (*WriteableTransactor) RenounceWritership

func (_Writeable *WriteableTransactor) RenounceWritership(opts *bind.TransactOpts) (*types.Transaction, error)

RenounceWritership is a paid mutator transaction binding the contract method 0x4075e83e.

Solidity: function renounceWritership() returns()

func (*WriteableTransactor) TransferOwnership

func (_Writeable *WriteableTransactor) 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 WriteableTransactorRaw

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

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

func (*WriteableTransactorRaw) Transact

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

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

func (*WriteableTransactorRaw) Transfer

func (_Writeable *WriteableTransactorRaw) 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 WriteableTransactorSession

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

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

func (*WriteableTransactorSession) DecreaseWritership

func (_Writeable *WriteableTransactorSession) DecreaseWritership(oldWriter common.Address) (*types.Transaction, error)

DecreaseWritership is a paid mutator transaction binding the contract method 0x9f217bdf.

Solidity: function decreaseWritership(address oldWriter) returns()

func (*WriteableTransactorSession) IncreasedWritership

func (_Writeable *WriteableTransactorSession) IncreasedWritership(newWriter common.Address) (*types.Transaction, error)

IncreasedWritership is a paid mutator transaction binding the contract method 0x14b4d411.

Solidity: function increasedWritership(address newWriter) returns()

func (*WriteableTransactorSession) RenounceOwnership

func (_Writeable *WriteableTransactorSession) RenounceOwnership() (*types.Transaction, error)

RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.

Solidity: function renounceOwnership() returns()

func (*WriteableTransactorSession) RenounceWritership

func (_Writeable *WriteableTransactorSession) RenounceWritership() (*types.Transaction, error)

RenounceWritership is a paid mutator transaction binding the contract method 0x4075e83e.

Solidity: function renounceWritership() returns()

func (*WriteableTransactorSession) TransferOwnership

func (_Writeable *WriteableTransactorSession) 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 WriteableWritershipDecreased

type WriteableWritershipDecreased struct {
	OldWriter common.Address
	Raw       types.Log // Blockchain specific contextual infos
}

WriteableWritershipDecreased represents a WritershipDecreased event raised by the Writeable contract.

type WriteableWritershipDecreasedIterator

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

WriteableWritershipDecreasedIterator is returned from FilterWritershipDecreased and is used to iterate over the raw logs and unpacked data for WritershipDecreased events raised by the Writeable contract.

func (*WriteableWritershipDecreasedIterator) Close

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

func (*WriteableWritershipDecreasedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*WriteableWritershipDecreasedIterator) 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 WriteableWritershipIncreased

type WriteableWritershipIncreased struct {
	NewWriter common.Address
	Raw       types.Log // Blockchain specific contextual infos
}

WriteableWritershipIncreased represents a WritershipIncreased event raised by the Writeable contract.

type WriteableWritershipIncreasedIterator

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

WriteableWritershipIncreasedIterator is returned from FilterWritershipIncreased and is used to iterate over the raw logs and unpacked data for WritershipIncreased events raised by the Writeable contract.

func (*WriteableWritershipIncreasedIterator) Close

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

func (*WriteableWritershipIncreasedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

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

Jump to

Keyboard shortcuts

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