Documentation ¶
Index ¶
- Variables
- type Chat
- type ChatBondBodyTerms
- type ChatBondBodyTermsIterator
- type ChatBondMotivation
- type ChatBondMotivationIterator
- type ChatCaller
- type ChatCallerRaw
- type ChatCallerSession
- type ChatFilterer
- func (_Chat *ChatFilterer) FilterBondBodyTerms(opts *bind.FilterOpts) (*ChatBondBodyTermsIterator, error)
- func (_Chat *ChatFilterer) FilterBondMotivation(opts *bind.FilterOpts) (*ChatBondMotivationIterator, error)
- func (_Chat *ChatFilterer) FilterHolderUpdate(opts *bind.FilterOpts) (*ChatHolderUpdateIterator, error)
- func (_Chat *ChatFilterer) FilterNewBondCreated(opts *bind.FilterOpts) (*ChatNewBondCreatedIterator, error)
- func (_Chat *ChatFilterer) FilterNewChatMessage(opts *bind.FilterOpts) (*ChatNewChatMessageIterator, error)
- func (_Chat *ChatFilterer) FilterStatusChange(opts *bind.FilterOpts) (*ChatStatusChangeIterator, error)
- func (_Chat *ChatFilterer) FilterStatusSigned(opts *bind.FilterOpts) (*ChatStatusSignedIterator, error)
- func (_Chat *ChatFilterer) ParseBondBodyTerms(log types.Log) (*ChatBondBodyTerms, error)
- func (_Chat *ChatFilterer) ParseBondMotivation(log types.Log) (*ChatBondMotivation, error)
- func (_Chat *ChatFilterer) ParseHolderUpdate(log types.Log) (*ChatHolderUpdate, error)
- func (_Chat *ChatFilterer) ParseNewBondCreated(log types.Log) (*ChatNewBondCreated, error)
- func (_Chat *ChatFilterer) ParseNewChatMessage(log types.Log) (*ChatNewChatMessage, error)
- func (_Chat *ChatFilterer) ParseStatusChange(log types.Log) (*ChatStatusChange, error)
- func (_Chat *ChatFilterer) ParseStatusSigned(log types.Log) (*ChatStatusSigned, error)
- func (_Chat *ChatFilterer) WatchBondBodyTerms(opts *bind.WatchOpts, sink chan<- *ChatBondBodyTerms) (event.Subscription, error)
- func (_Chat *ChatFilterer) WatchBondMotivation(opts *bind.WatchOpts, sink chan<- *ChatBondMotivation) (event.Subscription, error)
- func (_Chat *ChatFilterer) WatchHolderUpdate(opts *bind.WatchOpts, sink chan<- *ChatHolderUpdate) (event.Subscription, error)
- func (_Chat *ChatFilterer) WatchNewBondCreated(opts *bind.WatchOpts, sink chan<- *ChatNewBondCreated) (event.Subscription, error)
- func (_Chat *ChatFilterer) WatchNewChatMessage(opts *bind.WatchOpts, sink chan<- *ChatNewChatMessage) (event.Subscription, error)
- func (_Chat *ChatFilterer) WatchStatusChange(opts *bind.WatchOpts, sink chan<- *ChatStatusChange) (event.Subscription, error)
- func (_Chat *ChatFilterer) WatchStatusSigned(opts *bind.WatchOpts, sink chan<- *ChatStatusSigned) (event.Subscription, error)
- type ChatHolderUpdate
- type ChatHolderUpdateIterator
- type ChatNewBondCreated
- type ChatNewBondCreatedIterator
- type ChatNewChatMessage
- type ChatNewChatMessageIterator
- type ChatRaw
- func (_Chat *ChatRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_Chat *ChatRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_Chat *ChatRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type ChatSession
- func (_Chat *ChatSession) AddMessage(_contract common.Address, _tag uint8, _message string) (*types.Transaction, error)
- func (_Chat *ChatSession) CreateBond() (*types.Transaction, error)
- func (_Chat *ChatSession) GetBondSecureDetails(_contract common.Address) (struct{ ... }, error)
- func (_Chat *ChatSession) SignBondStatus(_contract common.Address) (*types.Transaction, error)
- func (_Chat *ChatSession) UpdateBodyInfo(_contract common.Address, _principal uint32, _couponRate uint8, ...) (*types.Transaction, error)
- func (_Chat *ChatSession) UpdateBondHolder(_contract common.Address, _holder common.Address) (*types.Transaction, error)
- func (_Chat *ChatSession) UpdateBondStatus(_contract common.Address, _status uint8) (*types.Transaction, error)
- type ChatStatusChange
- type ChatStatusChangeIterator
- type ChatStatusSigned
- type ChatStatusSignedIterator
- type ChatTransactor
- func (_Chat *ChatTransactor) AddMessage(opts *bind.TransactOpts, _contract common.Address, _tag uint8, _message string) (*types.Transaction, error)
- func (_Chat *ChatTransactor) CreateBond(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_Chat *ChatTransactor) SignBondStatus(opts *bind.TransactOpts, _contract common.Address) (*types.Transaction, error)
- func (_Chat *ChatTransactor) UpdateBodyInfo(opts *bind.TransactOpts, _contract common.Address, _principal uint32, ...) (*types.Transaction, error)
- func (_Chat *ChatTransactor) UpdateBondHolder(opts *bind.TransactOpts, _contract common.Address, _holder common.Address) (*types.Transaction, error)
- func (_Chat *ChatTransactor) UpdateBondStatus(opts *bind.TransactOpts, _contract common.Address, _status uint8) (*types.Transaction, error)
- type ChatTransactorRaw
- type ChatTransactorSession
- func (_Chat *ChatTransactorSession) AddMessage(_contract common.Address, _tag uint8, _message string) (*types.Transaction, error)
- func (_Chat *ChatTransactorSession) CreateBond() (*types.Transaction, error)
- func (_Chat *ChatTransactorSession) SignBondStatus(_contract common.Address) (*types.Transaction, error)
- func (_Chat *ChatTransactorSession) UpdateBodyInfo(_contract common.Address, _principal uint32, _couponRate uint8, ...) (*types.Transaction, error)
- func (_Chat *ChatTransactorSession) UpdateBondHolder(_contract common.Address, _holder common.Address) (*types.Transaction, error)
- func (_Chat *ChatTransactorSession) UpdateBondStatus(_contract common.Address, _status uint8) (*types.Transaction, error)
Constants ¶
This section is empty.
Variables ¶
var ChatABI = ChatMetaData.ABI
ChatABI is the input ABI used to generate the binding from. Deprecated: Use ChatMetaData.ABI instead.
var ChatMetaData = &bind.MetaData{
ABI: "[{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"bondAddress\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint32\",\"name\":\"principal\",\"type\":\"uint32\"},{\"indexed\":false,\"internalType\":\"uint8\",\"name\":\"couponRate\",\"type\":\"uint8\"},{\"indexed\":false,\"internalType\":\"uint8\",\"name\":\"couponDate\",\"type\":\"uint8\"},{\"indexed\":false,\"internalType\":\"uint32\",\"name\":\"maturityDate\",\"type\":\"uint32\"},{\"indexed\":false,\"internalType\":\"enumBondContract.CurrencyType\",\"name\":\"currency\",\"type\":\"uint8\"}],\"name\":\"BondBodyTerms\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"bondAddress\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"string\",\"name\":\"message\",\"type\":\"string\"}],\"name\":\"BondMotivation\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"bondAddress\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"holder\",\"type\":\"address\"}],\"name\":\"HolderUpdate\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"bondAddress\",\"type\":\"address\"}],\"name\":\"NewBondCreated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"bondAddress\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"string\",\"name\":\"message\",\"type\":\"string\"}],\"name\":\"NewChatMessage\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"bondAddress\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"enumBondContract.StatusChoice\",\"name\":\"status\",\"type\":\"uint8\"}],\"name\":\"StatusChange\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"bondAddress\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"enumBondContract.StatusChoice\",\"name\":\"status\",\"type\":\"uint8\"}],\"name\":\"StatusSigned\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_contract\",\"type\":\"address\"},{\"internalType\":\"enumChatContract.MessageTag\",\"name\":\"_tag\",\"type\":\"uint8\"},{\"internalType\":\"string\",\"name\":\"_message\",\"type\":\"string\"}],\"name\":\"addMessage\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"createBond\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_contract\",\"type\":\"address\"}],\"name\":\"getBondSecureDetails\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"_security\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"_appendix\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_contract\",\"type\":\"address\"}],\"name\":\"signBondStatus\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_contract\",\"type\":\"address\"},{\"internalType\":\"uint32\",\"name\":\"_principal\",\"type\":\"uint32\"},{\"internalType\":\"uint8\",\"name\":\"_couponRate\",\"type\":\"uint8\"},{\"internalType\":\"uint8\",\"name\":\"_couponDate\",\"type\":\"uint8\"},{\"internalType\":\"uint32\",\"name\":\"_maturityDate\",\"type\":\"uint32\"},{\"internalType\":\"enumBondContract.CurrencyType\",\"name\":\"_currency\",\"type\":\"uint8\"}],\"name\":\"updateBodyInfo\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_contract\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_holder\",\"type\":\"address\"}],\"name\":\"updateBondHolder\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_contract\",\"type\":\"address\"},{\"internalType\":\"enumBondContract.StatusChoice\",\"name\":\"_status\",\"type\":\"uint8\"}],\"name\":\"updateBondStatus\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
}
ChatMetaData contains all meta data concerning the Chat contract.
Functions ¶
This section is empty.
Types ¶
type Chat ¶
type Chat struct { ChatCaller // Read-only binding to the contract ChatTransactor // Write-only binding to the contract ChatFilterer // Log filterer for contract events }
Chat is an auto generated Go binding around an Ethereum contract.
type ChatBondBodyTerms ¶
type ChatBondBodyTerms struct { BondAddress common.Address Principal uint32 CouponRate uint8 CouponDate uint8 MaturityDate uint32 Currency uint8 Raw types.Log // Blockchain specific contextual infos }
ChatBondBodyTerms represents a BondBodyTerms event raised by the Chat contract.
type ChatBondBodyTermsIterator ¶
type ChatBondBodyTermsIterator struct { Event *ChatBondBodyTerms // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ChatBondBodyTermsIterator is returned from FilterBondBodyTerms and is used to iterate over the raw logs and unpacked data for BondBodyTerms events raised by the Chat contract.
func (*ChatBondBodyTermsIterator) Close ¶
func (it *ChatBondBodyTermsIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ChatBondBodyTermsIterator) Error ¶
func (it *ChatBondBodyTermsIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ChatBondBodyTermsIterator) Next ¶
func (it *ChatBondBodyTermsIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type ChatBondMotivation ¶
type ChatBondMotivation struct { BondAddress common.Address Message string Raw types.Log // Blockchain specific contextual infos }
ChatBondMotivation represents a BondMotivation event raised by the Chat contract.
type ChatBondMotivationIterator ¶
type ChatBondMotivationIterator struct { Event *ChatBondMotivation // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ChatBondMotivationIterator is returned from FilterBondMotivation and is used to iterate over the raw logs and unpacked data for BondMotivation events raised by the Chat contract.
func (*ChatBondMotivationIterator) Close ¶
func (it *ChatBondMotivationIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ChatBondMotivationIterator) Error ¶
func (it *ChatBondMotivationIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ChatBondMotivationIterator) Next ¶
func (it *ChatBondMotivationIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type ChatCaller ¶
type ChatCaller struct {
// contains filtered or unexported fields
}
ChatCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewChatCaller ¶
func NewChatCaller(address common.Address, caller bind.ContractCaller) (*ChatCaller, error)
NewChatCaller creates a new read-only instance of Chat, bound to a specific deployed contract.
func (*ChatCaller) GetBondSecureDetails ¶
func (_Chat *ChatCaller) GetBondSecureDetails(opts *bind.CallOpts, _contract common.Address) (struct { Security string Appendix string }, error)
GetBondSecureDetails is a free data retrieval call binding the contract method 0xc3c95fa3.
Solidity: function getBondSecureDetails(address _contract) view returns(string _security, string _appendix)
type ChatCallerRaw ¶
type ChatCallerRaw struct {
Contract *ChatCaller // Generic read-only contract binding to access the raw methods on
}
ChatCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*ChatCallerRaw) Call ¶
func (_Chat *ChatCallerRaw) 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 ChatCallerSession ¶
type ChatCallerSession struct { Contract *ChatCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
ChatCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*ChatCallerSession) GetBondSecureDetails ¶
func (_Chat *ChatCallerSession) GetBondSecureDetails(_contract common.Address) (struct { Security string Appendix string }, error)
GetBondSecureDetails is a free data retrieval call binding the contract method 0xc3c95fa3.
Solidity: function getBondSecureDetails(address _contract) view returns(string _security, string _appendix)
type ChatFilterer ¶
type ChatFilterer struct {
// contains filtered or unexported fields
}
ChatFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewChatFilterer ¶
func NewChatFilterer(address common.Address, filterer bind.ContractFilterer) (*ChatFilterer, error)
NewChatFilterer creates a new log filterer instance of Chat, bound to a specific deployed contract.
func (*ChatFilterer) FilterBondBodyTerms ¶
func (_Chat *ChatFilterer) FilterBondBodyTerms(opts *bind.FilterOpts) (*ChatBondBodyTermsIterator, error)
FilterBondBodyTerms is a free log retrieval operation binding the contract event 0x1a6ff5254e534bc26b357a4aee81c286f91e416c9c8224b6ec2e87173e044974.
Solidity: event BondBodyTerms(address bondAddress, uint32 principal, uint8 couponRate, uint8 couponDate, uint32 maturityDate, uint8 currency)
func (*ChatFilterer) FilterBondMotivation ¶
func (_Chat *ChatFilterer) FilterBondMotivation(opts *bind.FilterOpts) (*ChatBondMotivationIterator, error)
FilterBondMotivation is a free log retrieval operation binding the contract event 0x37e80f8f8deab7dbce22e881bee00b243b0ed1880ff122ed20d655ce0acc4bc8.
Solidity: event BondMotivation(address bondAddress, string message)
func (*ChatFilterer) FilterHolderUpdate ¶
func (_Chat *ChatFilterer) FilterHolderUpdate(opts *bind.FilterOpts) (*ChatHolderUpdateIterator, error)
FilterHolderUpdate is a free log retrieval operation binding the contract event 0x316e906a1dc3867c66eacd02598322c6e106e4978e6e21aa8bb15a110b86898c.
Solidity: event HolderUpdate(address bondAddress, address holder)
func (*ChatFilterer) FilterNewBondCreated ¶
func (_Chat *ChatFilterer) FilterNewBondCreated(opts *bind.FilterOpts) (*ChatNewBondCreatedIterator, error)
FilterNewBondCreated is a free log retrieval operation binding the contract event 0xff5e78dafd87acba3d62bc893238ff9de367bc49ebc45993c9474fd881b577f2.
Solidity: event NewBondCreated(address sender, address bondAddress)
func (*ChatFilterer) FilterNewChatMessage ¶
func (_Chat *ChatFilterer) FilterNewChatMessage(opts *bind.FilterOpts) (*ChatNewChatMessageIterator, error)
FilterNewChatMessage is a free log retrieval operation binding the contract event 0xbd74e567035eb30415526c1a311d34e5675e23d477622bf0701f23208c6b4bd4.
Solidity: event NewChatMessage(address bondAddress, address sender, string message)
func (*ChatFilterer) FilterStatusChange ¶
func (_Chat *ChatFilterer) FilterStatusChange(opts *bind.FilterOpts) (*ChatStatusChangeIterator, error)
FilterStatusChange is a free log retrieval operation binding the contract event 0xc82b702f5d9f3997b9d40d2a61bb841083384d586e4b023ef72e017153beb09a.
Solidity: event StatusChange(address sender, address bondAddress, uint8 status)
func (*ChatFilterer) FilterStatusSigned ¶
func (_Chat *ChatFilterer) FilterStatusSigned(opts *bind.FilterOpts) (*ChatStatusSignedIterator, error)
FilterStatusSigned is a free log retrieval operation binding the contract event 0x2988c7b4a31559db7f7be48700d500ea7d4b3c763dc6a23e3c6d1c03bed5f576.
Solidity: event StatusSigned(address sender, address bondAddress, uint8 status)
func (*ChatFilterer) ParseBondBodyTerms ¶
func (_Chat *ChatFilterer) ParseBondBodyTerms(log types.Log) (*ChatBondBodyTerms, error)
ParseBondBodyTerms is a log parse operation binding the contract event 0x1a6ff5254e534bc26b357a4aee81c286f91e416c9c8224b6ec2e87173e044974.
Solidity: event BondBodyTerms(address bondAddress, uint32 principal, uint8 couponRate, uint8 couponDate, uint32 maturityDate, uint8 currency)
func (*ChatFilterer) ParseBondMotivation ¶
func (_Chat *ChatFilterer) ParseBondMotivation(log types.Log) (*ChatBondMotivation, error)
ParseBondMotivation is a log parse operation binding the contract event 0x37e80f8f8deab7dbce22e881bee00b243b0ed1880ff122ed20d655ce0acc4bc8.
Solidity: event BondMotivation(address bondAddress, string message)
func (*ChatFilterer) ParseHolderUpdate ¶
func (_Chat *ChatFilterer) ParseHolderUpdate(log types.Log) (*ChatHolderUpdate, error)
ParseHolderUpdate is a log parse operation binding the contract event 0x316e906a1dc3867c66eacd02598322c6e106e4978e6e21aa8bb15a110b86898c.
Solidity: event HolderUpdate(address bondAddress, address holder)
func (*ChatFilterer) ParseNewBondCreated ¶
func (_Chat *ChatFilterer) ParseNewBondCreated(log types.Log) (*ChatNewBondCreated, error)
ParseNewBondCreated is a log parse operation binding the contract event 0xff5e78dafd87acba3d62bc893238ff9de367bc49ebc45993c9474fd881b577f2.
Solidity: event NewBondCreated(address sender, address bondAddress)
func (*ChatFilterer) ParseNewChatMessage ¶
func (_Chat *ChatFilterer) ParseNewChatMessage(log types.Log) (*ChatNewChatMessage, error)
ParseNewChatMessage is a log parse operation binding the contract event 0xbd74e567035eb30415526c1a311d34e5675e23d477622bf0701f23208c6b4bd4.
Solidity: event NewChatMessage(address bondAddress, address sender, string message)
func (*ChatFilterer) ParseStatusChange ¶
func (_Chat *ChatFilterer) ParseStatusChange(log types.Log) (*ChatStatusChange, error)
ParseStatusChange is a log parse operation binding the contract event 0xc82b702f5d9f3997b9d40d2a61bb841083384d586e4b023ef72e017153beb09a.
Solidity: event StatusChange(address sender, address bondAddress, uint8 status)
func (*ChatFilterer) ParseStatusSigned ¶
func (_Chat *ChatFilterer) ParseStatusSigned(log types.Log) (*ChatStatusSigned, error)
ParseStatusSigned is a log parse operation binding the contract event 0x2988c7b4a31559db7f7be48700d500ea7d4b3c763dc6a23e3c6d1c03bed5f576.
Solidity: event StatusSigned(address sender, address bondAddress, uint8 status)
func (*ChatFilterer) WatchBondBodyTerms ¶
func (_Chat *ChatFilterer) WatchBondBodyTerms(opts *bind.WatchOpts, sink chan<- *ChatBondBodyTerms) (event.Subscription, error)
WatchBondBodyTerms is a free log subscription operation binding the contract event 0x1a6ff5254e534bc26b357a4aee81c286f91e416c9c8224b6ec2e87173e044974.
Solidity: event BondBodyTerms(address bondAddress, uint32 principal, uint8 couponRate, uint8 couponDate, uint32 maturityDate, uint8 currency)
func (*ChatFilterer) WatchBondMotivation ¶
func (_Chat *ChatFilterer) WatchBondMotivation(opts *bind.WatchOpts, sink chan<- *ChatBondMotivation) (event.Subscription, error)
WatchBondMotivation is a free log subscription operation binding the contract event 0x37e80f8f8deab7dbce22e881bee00b243b0ed1880ff122ed20d655ce0acc4bc8.
Solidity: event BondMotivation(address bondAddress, string message)
func (*ChatFilterer) WatchHolderUpdate ¶
func (_Chat *ChatFilterer) WatchHolderUpdate(opts *bind.WatchOpts, sink chan<- *ChatHolderUpdate) (event.Subscription, error)
WatchHolderUpdate is a free log subscription operation binding the contract event 0x316e906a1dc3867c66eacd02598322c6e106e4978e6e21aa8bb15a110b86898c.
Solidity: event HolderUpdate(address bondAddress, address holder)
func (*ChatFilterer) WatchNewBondCreated ¶
func (_Chat *ChatFilterer) WatchNewBondCreated(opts *bind.WatchOpts, sink chan<- *ChatNewBondCreated) (event.Subscription, error)
WatchNewBondCreated is a free log subscription operation binding the contract event 0xff5e78dafd87acba3d62bc893238ff9de367bc49ebc45993c9474fd881b577f2.
Solidity: event NewBondCreated(address sender, address bondAddress)
func (*ChatFilterer) WatchNewChatMessage ¶
func (_Chat *ChatFilterer) WatchNewChatMessage(opts *bind.WatchOpts, sink chan<- *ChatNewChatMessage) (event.Subscription, error)
WatchNewChatMessage is a free log subscription operation binding the contract event 0xbd74e567035eb30415526c1a311d34e5675e23d477622bf0701f23208c6b4bd4.
Solidity: event NewChatMessage(address bondAddress, address sender, string message)
func (*ChatFilterer) WatchStatusChange ¶
func (_Chat *ChatFilterer) WatchStatusChange(opts *bind.WatchOpts, sink chan<- *ChatStatusChange) (event.Subscription, error)
WatchStatusChange is a free log subscription operation binding the contract event 0xc82b702f5d9f3997b9d40d2a61bb841083384d586e4b023ef72e017153beb09a.
Solidity: event StatusChange(address sender, address bondAddress, uint8 status)
func (*ChatFilterer) WatchStatusSigned ¶
func (_Chat *ChatFilterer) WatchStatusSigned(opts *bind.WatchOpts, sink chan<- *ChatStatusSigned) (event.Subscription, error)
WatchStatusSigned is a free log subscription operation binding the contract event 0x2988c7b4a31559db7f7be48700d500ea7d4b3c763dc6a23e3c6d1c03bed5f576.
Solidity: event StatusSigned(address sender, address bondAddress, uint8 status)
type ChatHolderUpdate ¶
type ChatHolderUpdate struct { BondAddress common.Address Holder common.Address Raw types.Log // Blockchain specific contextual infos }
ChatHolderUpdate represents a HolderUpdate event raised by the Chat contract.
type ChatHolderUpdateIterator ¶
type ChatHolderUpdateIterator struct { Event *ChatHolderUpdate // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ChatHolderUpdateIterator is returned from FilterHolderUpdate and is used to iterate over the raw logs and unpacked data for HolderUpdate events raised by the Chat contract.
func (*ChatHolderUpdateIterator) Close ¶
func (it *ChatHolderUpdateIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ChatHolderUpdateIterator) Error ¶
func (it *ChatHolderUpdateIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ChatHolderUpdateIterator) Next ¶
func (it *ChatHolderUpdateIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type ChatNewBondCreated ¶
type ChatNewBondCreated struct { Sender common.Address BondAddress common.Address Raw types.Log // Blockchain specific contextual infos }
ChatNewBondCreated represents a NewBondCreated event raised by the Chat contract.
type ChatNewBondCreatedIterator ¶
type ChatNewBondCreatedIterator struct { Event *ChatNewBondCreated // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ChatNewBondCreatedIterator is returned from FilterNewBondCreated and is used to iterate over the raw logs and unpacked data for NewBondCreated events raised by the Chat contract.
func (*ChatNewBondCreatedIterator) Close ¶
func (it *ChatNewBondCreatedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ChatNewBondCreatedIterator) Error ¶
func (it *ChatNewBondCreatedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ChatNewBondCreatedIterator) Next ¶
func (it *ChatNewBondCreatedIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type ChatNewChatMessage ¶
type ChatNewChatMessage struct { BondAddress common.Address Sender common.Address Message string Raw types.Log // Blockchain specific contextual infos }
ChatNewChatMessage represents a NewChatMessage event raised by the Chat contract.
type ChatNewChatMessageIterator ¶
type ChatNewChatMessageIterator struct { Event *ChatNewChatMessage // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ChatNewChatMessageIterator is returned from FilterNewChatMessage and is used to iterate over the raw logs and unpacked data for NewChatMessage events raised by the Chat contract.
func (*ChatNewChatMessageIterator) Close ¶
func (it *ChatNewChatMessageIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ChatNewChatMessageIterator) Error ¶
func (it *ChatNewChatMessageIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ChatNewChatMessageIterator) Next ¶
func (it *ChatNewChatMessageIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type ChatRaw ¶
type ChatRaw struct {
Contract *Chat // Generic contract binding to access the raw methods on
}
ChatRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*ChatRaw) Call ¶
func (_Chat *ChatRaw) 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 (*ChatRaw) Transact ¶
func (_Chat *ChatRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*ChatRaw) Transfer ¶
func (_Chat *ChatRaw) 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 ChatSession ¶
type ChatSession struct { Contract *Chat // 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 }
ChatSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*ChatSession) AddMessage ¶
func (_Chat *ChatSession) AddMessage(_contract common.Address, _tag uint8, _message string) (*types.Transaction, error)
AddMessage is a paid mutator transaction binding the contract method 0x7efed061.
Solidity: function addMessage(address _contract, uint8 _tag, string _message) returns()
func (*ChatSession) CreateBond ¶
func (_Chat *ChatSession) CreateBond() (*types.Transaction, error)
CreateBond is a paid mutator transaction binding the contract method 0xa091b795.
Solidity: function createBond() returns()
func (*ChatSession) GetBondSecureDetails ¶
func (_Chat *ChatSession) GetBondSecureDetails(_contract common.Address) (struct { Security string Appendix string }, error)
GetBondSecureDetails is a free data retrieval call binding the contract method 0xc3c95fa3.
Solidity: function getBondSecureDetails(address _contract) view returns(string _security, string _appendix)
func (*ChatSession) SignBondStatus ¶
func (_Chat *ChatSession) SignBondStatus(_contract common.Address) (*types.Transaction, error)
SignBondStatus is a paid mutator transaction binding the contract method 0x8ec13d50.
Solidity: function signBondStatus(address _contract) returns()
func (*ChatSession) UpdateBodyInfo ¶
func (_Chat *ChatSession) UpdateBodyInfo(_contract common.Address, _principal uint32, _couponRate uint8, _couponDate uint8, _maturityDate uint32, _currency uint8) (*types.Transaction, error)
UpdateBodyInfo is a paid mutator transaction binding the contract method 0x845201c4.
Solidity: function updateBodyInfo(address _contract, uint32 _principal, uint8 _couponRate, uint8 _couponDate, uint32 _maturityDate, uint8 _currency) returns()
func (*ChatSession) UpdateBondHolder ¶
func (_Chat *ChatSession) UpdateBondHolder(_contract common.Address, _holder common.Address) (*types.Transaction, error)
UpdateBondHolder is a paid mutator transaction binding the contract method 0xd5baca22.
Solidity: function updateBondHolder(address _contract, address _holder) returns()
func (*ChatSession) UpdateBondStatus ¶
func (_Chat *ChatSession) UpdateBondStatus(_contract common.Address, _status uint8) (*types.Transaction, error)
UpdateBondStatus is a paid mutator transaction binding the contract method 0x0c3535dc.
Solidity: function updateBondStatus(address _contract, uint8 _status) returns()
type ChatStatusChange ¶
type ChatStatusChange struct { Sender common.Address BondAddress common.Address Status uint8 Raw types.Log // Blockchain specific contextual infos }
ChatStatusChange represents a StatusChange event raised by the Chat contract.
type ChatStatusChangeIterator ¶
type ChatStatusChangeIterator struct { Event *ChatStatusChange // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ChatStatusChangeIterator is returned from FilterStatusChange and is used to iterate over the raw logs and unpacked data for StatusChange events raised by the Chat contract.
func (*ChatStatusChangeIterator) Close ¶
func (it *ChatStatusChangeIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ChatStatusChangeIterator) Error ¶
func (it *ChatStatusChangeIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ChatStatusChangeIterator) Next ¶
func (it *ChatStatusChangeIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type ChatStatusSigned ¶
type ChatStatusSigned struct { Sender common.Address BondAddress common.Address Status uint8 Raw types.Log // Blockchain specific contextual infos }
ChatStatusSigned represents a StatusSigned event raised by the Chat contract.
type ChatStatusSignedIterator ¶
type ChatStatusSignedIterator struct { Event *ChatStatusSigned // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ChatStatusSignedIterator is returned from FilterStatusSigned and is used to iterate over the raw logs and unpacked data for StatusSigned events raised by the Chat contract.
func (*ChatStatusSignedIterator) Close ¶
func (it *ChatStatusSignedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ChatStatusSignedIterator) Error ¶
func (it *ChatStatusSignedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ChatStatusSignedIterator) Next ¶
func (it *ChatStatusSignedIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type ChatTransactor ¶
type ChatTransactor struct {
// contains filtered or unexported fields
}
ChatTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewChatTransactor ¶
func NewChatTransactor(address common.Address, transactor bind.ContractTransactor) (*ChatTransactor, error)
NewChatTransactor creates a new write-only instance of Chat, bound to a specific deployed contract.
func (*ChatTransactor) AddMessage ¶
func (_Chat *ChatTransactor) AddMessage(opts *bind.TransactOpts, _contract common.Address, _tag uint8, _message string) (*types.Transaction, error)
AddMessage is a paid mutator transaction binding the contract method 0x7efed061.
Solidity: function addMessage(address _contract, uint8 _tag, string _message) returns()
func (*ChatTransactor) CreateBond ¶
func (_Chat *ChatTransactor) CreateBond(opts *bind.TransactOpts) (*types.Transaction, error)
CreateBond is a paid mutator transaction binding the contract method 0xa091b795.
Solidity: function createBond() returns()
func (*ChatTransactor) SignBondStatus ¶
func (_Chat *ChatTransactor) SignBondStatus(opts *bind.TransactOpts, _contract common.Address) (*types.Transaction, error)
SignBondStatus is a paid mutator transaction binding the contract method 0x8ec13d50.
Solidity: function signBondStatus(address _contract) returns()
func (*ChatTransactor) UpdateBodyInfo ¶
func (_Chat *ChatTransactor) UpdateBodyInfo(opts *bind.TransactOpts, _contract common.Address, _principal uint32, _couponRate uint8, _couponDate uint8, _maturityDate uint32, _currency uint8) (*types.Transaction, error)
UpdateBodyInfo is a paid mutator transaction binding the contract method 0x845201c4.
Solidity: function updateBodyInfo(address _contract, uint32 _principal, uint8 _couponRate, uint8 _couponDate, uint32 _maturityDate, uint8 _currency) returns()
func (*ChatTransactor) UpdateBondHolder ¶
func (_Chat *ChatTransactor) UpdateBondHolder(opts *bind.TransactOpts, _contract common.Address, _holder common.Address) (*types.Transaction, error)
UpdateBondHolder is a paid mutator transaction binding the contract method 0xd5baca22.
Solidity: function updateBondHolder(address _contract, address _holder) returns()
func (*ChatTransactor) UpdateBondStatus ¶
func (_Chat *ChatTransactor) UpdateBondStatus(opts *bind.TransactOpts, _contract common.Address, _status uint8) (*types.Transaction, error)
UpdateBondStatus is a paid mutator transaction binding the contract method 0x0c3535dc.
Solidity: function updateBondStatus(address _contract, uint8 _status) returns()
type ChatTransactorRaw ¶
type ChatTransactorRaw struct {
Contract *ChatTransactor // Generic write-only contract binding to access the raw methods on
}
ChatTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*ChatTransactorRaw) Transact ¶
func (_Chat *ChatTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*ChatTransactorRaw) Transfer ¶
func (_Chat *ChatTransactorRaw) 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 ChatTransactorSession ¶
type ChatTransactorSession struct { Contract *ChatTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
ChatTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*ChatTransactorSession) AddMessage ¶
func (_Chat *ChatTransactorSession) AddMessage(_contract common.Address, _tag uint8, _message string) (*types.Transaction, error)
AddMessage is a paid mutator transaction binding the contract method 0x7efed061.
Solidity: function addMessage(address _contract, uint8 _tag, string _message) returns()
func (*ChatTransactorSession) CreateBond ¶
func (_Chat *ChatTransactorSession) CreateBond() (*types.Transaction, error)
CreateBond is a paid mutator transaction binding the contract method 0xa091b795.
Solidity: function createBond() returns()
func (*ChatTransactorSession) SignBondStatus ¶
func (_Chat *ChatTransactorSession) SignBondStatus(_contract common.Address) (*types.Transaction, error)
SignBondStatus is a paid mutator transaction binding the contract method 0x8ec13d50.
Solidity: function signBondStatus(address _contract) returns()
func (*ChatTransactorSession) UpdateBodyInfo ¶
func (_Chat *ChatTransactorSession) UpdateBodyInfo(_contract common.Address, _principal uint32, _couponRate uint8, _couponDate uint8, _maturityDate uint32, _currency uint8) (*types.Transaction, error)
UpdateBodyInfo is a paid mutator transaction binding the contract method 0x845201c4.
Solidity: function updateBodyInfo(address _contract, uint32 _principal, uint8 _couponRate, uint8 _couponDate, uint32 _maturityDate, uint8 _currency) returns()
func (*ChatTransactorSession) UpdateBondHolder ¶
func (_Chat *ChatTransactorSession) UpdateBondHolder(_contract common.Address, _holder common.Address) (*types.Transaction, error)
UpdateBondHolder is a paid mutator transaction binding the contract method 0xd5baca22.
Solidity: function updateBondHolder(address _contract, address _holder) returns()
func (*ChatTransactorSession) UpdateBondStatus ¶
func (_Chat *ChatTransactorSession) UpdateBondStatus(_contract common.Address, _status uint8) (*types.Transaction, error)
UpdateBondStatus is a paid mutator transaction binding the contract method 0x0c3535dc.
Solidity: function updateBondStatus(address _contract, uint8 _status) returns()