Documentation ¶
Index ¶
- Variables
- type Union
- type UnionApplicationForJoin
- type UnionApplicationForJoinIndexed
- type UnionApplicationForJoinIndexedIterator
- type UnionApplicationForJoinIterator
- type UnionApprovedJoin
- type UnionApprovedJoinIterator
- type UnionCaller
- func (_Union *UnionCaller) ChatIdArray(opts *bind.CallOpts, arg0 *big.Int) (int64, error)
- func (_Union *UnionCaller) DEFAULTADMINROLE(opts *bind.CallOpts) ([32]byte, error)
- func (_Union *UnionCaller) DaoAddresses(opts *bind.CallOpts, arg0 int64) (common.Address, error)
- func (_Union *UnionCaller) Daos(opts *bind.CallOpts, arg0 common.Address) (struct{ ... }, error)
- func (_Union *UnionCaller) GetDaoAddressbyChatId(opts *bind.CallOpts, chat_id int64) (common.Address, error)
- func (_Union *UnionCaller) GetDaoCount(opts *bind.CallOpts) (*big.Int, error)
- func (_Union *UnionCaller) GetModeratorIdentifier(opts *bind.CallOpts) ([32]byte, error)
- func (_Union *UnionCaller) GetRoleAdmin(opts *bind.CallOpts, role [32]byte) ([32]byte, error)
- func (_Union *UnionCaller) HasRole(opts *bind.CallOpts, role [32]byte, account common.Address) (bool, error)
- func (_Union *UnionCaller) Moderator(opts *bind.CallOpts) ([32]byte, error)
- func (_Union *UnionCaller) Owner(opts *bind.CallOpts) (common.Address, error)
- func (_Union *UnionCaller) SupportsInterface(opts *bind.CallOpts, interfaceId [4]byte) (bool, error)
- func (_Union *UnionCaller) Tgpassport(opts *bind.CallOpts) (common.Address, error)
- type UnionCallerRaw
- type UnionCallerSession
- func (_Union *UnionCallerSession) ChatIdArray(arg0 *big.Int) (int64, error)
- func (_Union *UnionCallerSession) DEFAULTADMINROLE() ([32]byte, error)
- func (_Union *UnionCallerSession) DaoAddresses(arg0 int64) (common.Address, error)
- func (_Union *UnionCallerSession) Daos(arg0 common.Address) (struct{ ... }, error)
- func (_Union *UnionCallerSession) GetDaoAddressbyChatId(chat_id int64) (common.Address, error)
- func (_Union *UnionCallerSession) GetDaoCount() (*big.Int, error)
- func (_Union *UnionCallerSession) GetModeratorIdentifier() ([32]byte, error)
- func (_Union *UnionCallerSession) GetRoleAdmin(role [32]byte) ([32]byte, error)
- func (_Union *UnionCallerSession) HasRole(role [32]byte, account common.Address) (bool, error)
- func (_Union *UnionCallerSession) Moderator() ([32]byte, error)
- func (_Union *UnionCallerSession) Owner() (common.Address, error)
- func (_Union *UnionCallerSession) SupportsInterface(interfaceId [4]byte) (bool, error)
- func (_Union *UnionCallerSession) Tgpassport() (common.Address, error)
- type UnionDeclinedApplication
- type UnionDeclinedApplicationIterator
- type UnionFilterer
- func (_Union *UnionFilterer) FilterApplicationForJoin(opts *bind.FilterOpts) (*UnionApplicationForJoinIterator, error)
- func (_Union *UnionFilterer) FilterApplicationForJoinIndexed(opts *bind.FilterOpts, chat_id []int64) (*UnionApplicationForJoinIndexedIterator, error)
- func (_Union *UnionFilterer) FilterApprovedJoin(opts *bind.FilterOpts) (*UnionApprovedJoinIterator, error)
- func (_Union *UnionFilterer) FilterDeclinedApplication(opts *bind.FilterOpts) (*UnionDeclinedApplicationIterator, error)
- func (_Union *UnionFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, ...) (*UnionOwnershipTransferredIterator, error)
- func (_Union *UnionFilterer) FilterRoleAdminChanged(opts *bind.FilterOpts, role [][32]byte, previousAdminRole [][32]byte, ...) (*UnionRoleAdminChangedIterator, error)
- func (_Union *UnionFilterer) FilterRoleGranted(opts *bind.FilterOpts, role [][32]byte, account []common.Address, ...) (*UnionRoleGrantedIterator, error)
- func (_Union *UnionFilterer) FilterRoleRevoked(opts *bind.FilterOpts, role [][32]byte, account []common.Address, ...) (*UnionRoleRevokedIterator, error)
- func (_Union *UnionFilterer) ParseApplicationForJoin(log types.Log) (*UnionApplicationForJoin, error)
- func (_Union *UnionFilterer) ParseApplicationForJoinIndexed(log types.Log) (*UnionApplicationForJoinIndexed, error)
- func (_Union *UnionFilterer) ParseApprovedJoin(log types.Log) (*UnionApprovedJoin, error)
- func (_Union *UnionFilterer) ParseDeclinedApplication(log types.Log) (*UnionDeclinedApplication, error)
- func (_Union *UnionFilterer) ParseOwnershipTransferred(log types.Log) (*UnionOwnershipTransferred, error)
- func (_Union *UnionFilterer) ParseRoleAdminChanged(log types.Log) (*UnionRoleAdminChanged, error)
- func (_Union *UnionFilterer) ParseRoleGranted(log types.Log) (*UnionRoleGranted, error)
- func (_Union *UnionFilterer) ParseRoleRevoked(log types.Log) (*UnionRoleRevoked, error)
- func (_Union *UnionFilterer) WatchApplicationForJoin(opts *bind.WatchOpts, sink chan<- *UnionApplicationForJoin) (event.Subscription, error)
- func (_Union *UnionFilterer) WatchApplicationForJoinIndexed(opts *bind.WatchOpts, sink chan<- *UnionApplicationForJoinIndexed, ...) (event.Subscription, error)
- func (_Union *UnionFilterer) WatchApprovedJoin(opts *bind.WatchOpts, sink chan<- *UnionApprovedJoin) (event.Subscription, error)
- func (_Union *UnionFilterer) WatchDeclinedApplication(opts *bind.WatchOpts, sink chan<- *UnionDeclinedApplication) (event.Subscription, error)
- func (_Union *UnionFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *UnionOwnershipTransferred, ...) (event.Subscription, error)
- func (_Union *UnionFilterer) WatchRoleAdminChanged(opts *bind.WatchOpts, sink chan<- *UnionRoleAdminChanged, role [][32]byte, ...) (event.Subscription, error)
- func (_Union *UnionFilterer) WatchRoleGranted(opts *bind.WatchOpts, sink chan<- *UnionRoleGranted, role [][32]byte, ...) (event.Subscription, error)
- func (_Union *UnionFilterer) WatchRoleRevoked(opts *bind.WatchOpts, sink chan<- *UnionRoleRevoked, role [][32]byte, ...) (event.Subscription, error)
- type UnionOwnershipTransferred
- type UnionOwnershipTransferredIterator
- type UnionRaw
- func (_Union *UnionRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_Union *UnionRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_Union *UnionRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type UnionRoleAdminChanged
- type UnionRoleAdminChangedIterator
- type UnionRoleGranted
- type UnionRoleGrantedIterator
- type UnionRoleRevoked
- type UnionRoleRevokedIterator
- type UnionSession
- func (_Union *UnionSession) ApplyForUnion(applyerTg int64, daoTg int64, dao_ common.Address, votingType_ uint8, ...) (*types.Transaction, error)
- func (_Union *UnionSession) ApproveJoin(daoAddress common.Address) (*types.Transaction, error)
- func (_Union *UnionSession) ChatIdArray(arg0 *big.Int) (int64, error)
- func (_Union *UnionSession) DEFAULTADMINROLE() ([32]byte, error)
- func (_Union *UnionSession) DaoAddresses(arg0 int64) (common.Address, error)
- func (_Union *UnionSession) Daos(arg0 common.Address) (struct{ ... }, error)
- func (_Union *UnionSession) DeclineJoin(daoAddress common.Address) (*types.Transaction, error)
- func (_Union *UnionSession) GetDaoAddressbyChatId(chat_id int64) (common.Address, error)
- func (_Union *UnionSession) GetDaoCount() (*big.Int, error)
- func (_Union *UnionSession) GetModeratorIdentifier() ([32]byte, error)
- func (_Union *UnionSession) GetRoleAdmin(role [32]byte) ([32]byte, error)
- func (_Union *UnionSession) GrantRole(role [32]byte, account common.Address) (*types.Transaction, error)
- func (_Union *UnionSession) HasRole(role [32]byte, account common.Address) (bool, error)
- func (_Union *UnionSession) Moderator() ([32]byte, error)
- func (_Union *UnionSession) Owner() (common.Address, error)
- func (_Union *UnionSession) RenounceOwnership() (*types.Transaction, error)
- func (_Union *UnionSession) RenounceRole(role [32]byte, account common.Address) (*types.Transaction, error)
- func (_Union *UnionSession) RevokeRole(role [32]byte, account common.Address) (*types.Transaction, error)
- func (_Union *UnionSession) SupportsInterface(interfaceId [4]byte) (bool, error)
- func (_Union *UnionSession) Tgpassport() (common.Address, error)
- func (_Union *UnionSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
- type UnionTransactor
- func (_Union *UnionTransactor) ApplyForUnion(opts *bind.TransactOpts, applyerTg int64, daoTg int64, dao_ common.Address, ...) (*types.Transaction, error)
- func (_Union *UnionTransactor) ApproveJoin(opts *bind.TransactOpts, daoAddress common.Address) (*types.Transaction, error)
- func (_Union *UnionTransactor) DeclineJoin(opts *bind.TransactOpts, daoAddress common.Address) (*types.Transaction, error)
- func (_Union *UnionTransactor) GrantRole(opts *bind.TransactOpts, role [32]byte, account common.Address) (*types.Transaction, error)
- func (_Union *UnionTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_Union *UnionTransactor) RenounceRole(opts *bind.TransactOpts, role [32]byte, account common.Address) (*types.Transaction, error)
- func (_Union *UnionTransactor) RevokeRole(opts *bind.TransactOpts, role [32]byte, account common.Address) (*types.Transaction, error)
- func (_Union *UnionTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)
- type UnionTransactorRaw
- type UnionTransactorSession
- func (_Union *UnionTransactorSession) ApplyForUnion(applyerTg int64, daoTg int64, dao_ common.Address, votingType_ uint8, ...) (*types.Transaction, error)
- func (_Union *UnionTransactorSession) ApproveJoin(daoAddress common.Address) (*types.Transaction, error)
- func (_Union *UnionTransactorSession) DeclineJoin(daoAddress common.Address) (*types.Transaction, error)
- func (_Union *UnionTransactorSession) GrantRole(role [32]byte, account common.Address) (*types.Transaction, error)
- func (_Union *UnionTransactorSession) RenounceOwnership() (*types.Transaction, error)
- func (_Union *UnionTransactorSession) RenounceRole(role [32]byte, account common.Address) (*types.Transaction, error)
- func (_Union *UnionTransactorSession) RevokeRole(role [32]byte, account common.Address) (*types.Transaction, error)
- func (_Union *UnionTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
Constants ¶
This section is empty.
Variables ¶
var UnionABI = UnionMetaData.ABI
UnionABI is the input ABI used to generate the binding from. Deprecated: Use UnionMetaData.ABI instead.
var UnionMetaData = &bind.MetaData{
ABI: "[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"passportContract_\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"int64\",\"name\":\"chat_id\",\"type\":\"int64\"},{\"indexed\":false,\"internalType\":\"int64\",\"name\":\"applier_id\",\"type\":\"int64\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"multy_wallet_address\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"enumUnion.VotingType\",\"name\":\"vote_type\",\"type\":\"uint8\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"voting_token_address\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"string\",\"name\":\"group_name\",\"type\":\"string\"}],\"name\":\"ApplicationForJoin\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"int64\",\"name\":\"chat_id\",\"type\":\"int64\"},{\"indexed\":false,\"internalType\":\"int64\",\"name\":\"applier_id\",\"type\":\"int64\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"multy_wallet_address\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"enumUnion.VotingType\",\"name\":\"vote_type\",\"type\":\"uint8\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"voting_token_address\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"string\",\"name\":\"group_name\",\"type\":\"string\"}],\"name\":\"ApplicationForJoinIndexed\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"int256\",\"name\":\"chat_id\",\"type\":\"int256\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"multy_wallet_address\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"enumUnion.VotingType\",\"name\":\"vote_type\",\"type\":\"uint8\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"voting_token_address\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"string\",\"name\":\"group_name\",\"type\":\"string\"}],\"name\":\"ApprovedJoin\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"int256\",\"name\":\"chat_id\",\"type\":\"int256\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"multy_wallet_address\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"enumUnion.VotingType\",\"name\":\"vote_type\",\"type\":\"uint8\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"voting_token_address\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"string\",\"name\":\"group_name\",\"type\":\"string\"}],\"name\":\"DeclinedApplication\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"previousOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferred\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"previousAdminRole\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"newAdminRole\",\"type\":\"bytes32\"}],\"name\":\"RoleAdminChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"}],\"name\":\"RoleGranted\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"}],\"name\":\"RoleRevoked\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"int64\",\"name\":\"applyerTg\",\"type\":\"int64\"},{\"internalType\":\"int64\",\"name\":\"daoTg\",\"type\":\"int64\"},{\"internalType\":\"address\",\"name\":\"dao_\",\"type\":\"address\"},{\"internalType\":\"enumUnion.VotingType\",\"name\":\"votingType_\",\"type\":\"uint8\"},{\"internalType\":\"address\",\"name\":\"votingTokenContract_\",\"type\":\"address\"},{\"internalType\":\"string\",\"name\":\"dao_name_\",\"type\":\"string\"}],\"name\":\"ApplyForUnion\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"daoAddress\",\"type\":\"address\"}],\"name\":\"ApproveJoin\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"Chat_id_array\",\"outputs\":[{\"internalType\":\"int64\",\"name\":\"\",\"type\":\"int64\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"DEFAULT_ADMIN_ROLE\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"daoAddress\",\"type\":\"address\"}],\"name\":\"DeclineJoin\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"int64\",\"name\":\"\",\"type\":\"int64\"}],\"name\":\"daoAddresses\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"daos\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"chatOwnerAddress\",\"type\":\"address\"},{\"internalType\":\"int64\",\"name\":\"tgId\",\"type\":\"int64\"},{\"internalType\":\"bool\",\"name\":\"valid\",\"type\":\"bool\"},{\"internalType\":\"address\",\"name\":\"multisigAddress\",\"type\":\"address\"},{\"internalType\":\"enumUnion.VotingType\",\"name\":\"votingType\",\"type\":\"uint8\"},{\"internalType\":\"address\",\"name\":\"votingToken\",\"type\":\"address\"},{\"internalType\":\"string\",\"name\":\"group_name\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"int64\",\"name\":\"chat_id\",\"type\":\"int64\"}],\"name\":\"getDaoAddressbyChatId\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getDaoCount\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getModeratorIdentifier\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"}],\"name\":\"getRoleAdmin\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"grantRole\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"hasRole\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"moderator\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"renounceRole\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"revokeRole\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes4\",\"name\":\"interfaceId\",\"type\":\"bytes4\"}],\"name\":\"supportsInterface\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"tgpassport\",\"outputs\":[{\"internalType\":\"contractTGPassport\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
}
UnionMetaData contains all meta data concerning the Union contract.
Functions ¶
This section is empty.
Types ¶
type Union ¶
type Union struct { UnionCaller // Read-only binding to the contract UnionTransactor // Write-only binding to the contract UnionFilterer // Log filterer for contract events }
Union is an auto generated Go binding around an Ethereum contract.
type UnionApplicationForJoin ¶
type UnionApplicationForJoin struct { ChatId int64 ApplierId int64 MultyWalletAddress common.Address VoteType uint8 VotingTokenAddress common.Address GroupName string Raw types.Log // Blockchain specific contextual infos }
UnionApplicationForJoin represents a ApplicationForJoin event raised by the Union contract.
type UnionApplicationForJoinIndexed ¶ added in v0.0.5
type UnionApplicationForJoinIndexed struct { ChatId int64 ApplierId int64 MultyWalletAddress common.Address VoteType uint8 VotingTokenAddress common.Address GroupName string Raw types.Log // Blockchain specific contextual infos }
UnionApplicationForJoinIndexed represents a ApplicationForJoinIndexed event raised by the Union contract.
type UnionApplicationForJoinIndexedIterator ¶ added in v0.0.5
type UnionApplicationForJoinIndexedIterator struct { Event *UnionApplicationForJoinIndexed // Event containing the contract specifics and raw log // contains filtered or unexported fields }
UnionApplicationForJoinIndexedIterator is returned from FilterApplicationForJoinIndexed and is used to iterate over the raw logs and unpacked data for ApplicationForJoinIndexed events raised by the Union contract.
func (*UnionApplicationForJoinIndexedIterator) Close ¶ added in v0.0.5
func (it *UnionApplicationForJoinIndexedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*UnionApplicationForJoinIndexedIterator) Error ¶ added in v0.0.5
func (it *UnionApplicationForJoinIndexedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*UnionApplicationForJoinIndexedIterator) Next ¶ added in v0.0.5
func (it *UnionApplicationForJoinIndexedIterator) 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 UnionApplicationForJoinIterator ¶
type UnionApplicationForJoinIterator struct { Event *UnionApplicationForJoin // Event containing the contract specifics and raw log // contains filtered or unexported fields }
UnionApplicationForJoinIterator is returned from FilterApplicationForJoin and is used to iterate over the raw logs and unpacked data for ApplicationForJoin events raised by the Union contract.
func (*UnionApplicationForJoinIterator) Close ¶
func (it *UnionApplicationForJoinIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*UnionApplicationForJoinIterator) Error ¶
func (it *UnionApplicationForJoinIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*UnionApplicationForJoinIterator) Next ¶
func (it *UnionApplicationForJoinIterator) 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 UnionApprovedJoin ¶
type UnionApprovedJoin struct { ChatId *big.Int MultyWalletAddress common.Address VoteType uint8 VotingTokenAddress common.Address GroupName string Raw types.Log // Blockchain specific contextual infos }
UnionApprovedJoin represents a ApprovedJoin event raised by the Union contract.
type UnionApprovedJoinIterator ¶
type UnionApprovedJoinIterator struct { Event *UnionApprovedJoin // Event containing the contract specifics and raw log // contains filtered or unexported fields }
UnionApprovedJoinIterator is returned from FilterApprovedJoin and is used to iterate over the raw logs and unpacked data for ApprovedJoin events raised by the Union contract.
func (*UnionApprovedJoinIterator) Close ¶
func (it *UnionApprovedJoinIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*UnionApprovedJoinIterator) Error ¶
func (it *UnionApprovedJoinIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*UnionApprovedJoinIterator) Next ¶
func (it *UnionApprovedJoinIterator) 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 UnionCaller ¶
type UnionCaller struct {
// contains filtered or unexported fields
}
UnionCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewUnionCaller ¶
func NewUnionCaller(address common.Address, caller bind.ContractCaller) (*UnionCaller, error)
NewUnionCaller creates a new read-only instance of Union, bound to a specific deployed contract.
func (*UnionCaller) ChatIdArray ¶ added in v0.0.6
ChatIdArray is a free data retrieval call binding the contract method 0xd698b364.
Solidity: function Chat_id_array(uint256 ) view returns(int64)
func (*UnionCaller) DEFAULTADMINROLE ¶ added in v0.2.0
func (_Union *UnionCaller) DEFAULTADMINROLE(opts *bind.CallOpts) ([32]byte, error)
DEFAULTADMINROLE is a free data retrieval call binding the contract method 0xa217fddf.
Solidity: function DEFAULT_ADMIN_ROLE() view returns(bytes32)
func (*UnionCaller) DaoAddresses ¶
DaoAddresses is a free data retrieval call binding the contract method 0xd6b2da8e.
Solidity: function daoAddresses(int64 ) view returns(address)
func (*UnionCaller) Daos ¶
func (_Union *UnionCaller) Daos(opts *bind.CallOpts, arg0 common.Address) (struct { ChatOwnerAddress common.Address TgId int64 Valid bool MultisigAddress common.Address VotingType uint8 VotingToken common.Address GroupName string }, error)
Daos is a free data retrieval call binding the contract method 0xc25f3cf6.
Solidity: function daos(address ) view returns(address chatOwnerAddress, int64 tgId, bool valid, address multisigAddress, uint8 votingType, address votingToken, string group_name)
func (*UnionCaller) GetDaoAddressbyChatId ¶ added in v0.0.5
func (_Union *UnionCaller) GetDaoAddressbyChatId(opts *bind.CallOpts, chat_id int64) (common.Address, error)
GetDaoAddressbyChatId is a free data retrieval call binding the contract method 0xe57bede4.
Solidity: function getDaoAddressbyChatId(int64 chat_id) view returns(address)
func (*UnionCaller) GetDaoCount ¶ added in v0.0.5
GetDaoCount is a free data retrieval call binding the contract method 0xd4d8f892.
Solidity: function getDaoCount() view returns(uint256)
func (*UnionCaller) GetModeratorIdentifier ¶ added in v0.2.0
func (_Union *UnionCaller) GetModeratorIdentifier(opts *bind.CallOpts) ([32]byte, error)
GetModeratorIdentifier is a free data retrieval call binding the contract method 0x5d1ce88f.
Solidity: function getModeratorIdentifier() pure returns(bytes32)
func (*UnionCaller) GetRoleAdmin ¶ added in v0.2.0
GetRoleAdmin is a free data retrieval call binding the contract method 0x248a9ca3.
Solidity: function getRoleAdmin(bytes32 role) view returns(bytes32)
func (*UnionCaller) HasRole ¶ added in v0.2.0
func (_Union *UnionCaller) HasRole(opts *bind.CallOpts, role [32]byte, account common.Address) (bool, error)
HasRole is a free data retrieval call binding the contract method 0x91d14854.
Solidity: function hasRole(bytes32 role, address account) view returns(bool)
func (*UnionCaller) Moderator ¶ added in v0.2.0
func (_Union *UnionCaller) Moderator(opts *bind.CallOpts) ([32]byte, error)
Moderator is a free data retrieval call binding the contract method 0x38743904.
Solidity: function moderator() view returns(bytes32)
func (*UnionCaller) Owner ¶
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*UnionCaller) SupportsInterface ¶ added in v0.2.0
func (_Union *UnionCaller) SupportsInterface(opts *bind.CallOpts, interfaceId [4]byte) (bool, error)
SupportsInterface is a free data retrieval call binding the contract method 0x01ffc9a7.
Solidity: function supportsInterface(bytes4 interfaceId) view returns(bool)
func (*UnionCaller) Tgpassport ¶
Tgpassport is a free data retrieval call binding the contract method 0x7527d5a1.
Solidity: function tgpassport() view returns(address)
type UnionCallerRaw ¶
type UnionCallerRaw struct {
Contract *UnionCaller // Generic read-only contract binding to access the raw methods on
}
UnionCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*UnionCallerRaw) Call ¶
func (_Union *UnionCallerRaw) 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 UnionCallerSession ¶
type UnionCallerSession struct { Contract *UnionCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
UnionCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*UnionCallerSession) ChatIdArray ¶ added in v0.0.6
func (_Union *UnionCallerSession) ChatIdArray(arg0 *big.Int) (int64, error)
ChatIdArray is a free data retrieval call binding the contract method 0xd698b364.
Solidity: function Chat_id_array(uint256 ) view returns(int64)
func (*UnionCallerSession) DEFAULTADMINROLE ¶ added in v0.2.0
func (_Union *UnionCallerSession) DEFAULTADMINROLE() ([32]byte, error)
DEFAULTADMINROLE is a free data retrieval call binding the contract method 0xa217fddf.
Solidity: function DEFAULT_ADMIN_ROLE() view returns(bytes32)
func (*UnionCallerSession) DaoAddresses ¶
func (_Union *UnionCallerSession) DaoAddresses(arg0 int64) (common.Address, error)
DaoAddresses is a free data retrieval call binding the contract method 0xd6b2da8e.
Solidity: function daoAddresses(int64 ) view returns(address)
func (*UnionCallerSession) Daos ¶
func (_Union *UnionCallerSession) Daos(arg0 common.Address) (struct { ChatOwnerAddress common.Address TgId int64 Valid bool MultisigAddress common.Address VotingType uint8 VotingToken common.Address GroupName string }, error)
Daos is a free data retrieval call binding the contract method 0xc25f3cf6.
Solidity: function daos(address ) view returns(address chatOwnerAddress, int64 tgId, bool valid, address multisigAddress, uint8 votingType, address votingToken, string group_name)
func (*UnionCallerSession) GetDaoAddressbyChatId ¶ added in v0.0.5
func (_Union *UnionCallerSession) GetDaoAddressbyChatId(chat_id int64) (common.Address, error)
GetDaoAddressbyChatId is a free data retrieval call binding the contract method 0xe57bede4.
Solidity: function getDaoAddressbyChatId(int64 chat_id) view returns(address)
func (*UnionCallerSession) GetDaoCount ¶ added in v0.0.5
func (_Union *UnionCallerSession) GetDaoCount() (*big.Int, error)
GetDaoCount is a free data retrieval call binding the contract method 0xd4d8f892.
Solidity: function getDaoCount() view returns(uint256)
func (*UnionCallerSession) GetModeratorIdentifier ¶ added in v0.2.0
func (_Union *UnionCallerSession) GetModeratorIdentifier() ([32]byte, error)
GetModeratorIdentifier is a free data retrieval call binding the contract method 0x5d1ce88f.
Solidity: function getModeratorIdentifier() pure returns(bytes32)
func (*UnionCallerSession) GetRoleAdmin ¶ added in v0.2.0
func (_Union *UnionCallerSession) GetRoleAdmin(role [32]byte) ([32]byte, error)
GetRoleAdmin is a free data retrieval call binding the contract method 0x248a9ca3.
Solidity: function getRoleAdmin(bytes32 role) view returns(bytes32)
func (*UnionCallerSession) HasRole ¶ added in v0.2.0
HasRole is a free data retrieval call binding the contract method 0x91d14854.
Solidity: function hasRole(bytes32 role, address account) view returns(bool)
func (*UnionCallerSession) Moderator ¶ added in v0.2.0
func (_Union *UnionCallerSession) Moderator() ([32]byte, error)
Moderator is a free data retrieval call binding the contract method 0x38743904.
Solidity: function moderator() view returns(bytes32)
func (*UnionCallerSession) Owner ¶
func (_Union *UnionCallerSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*UnionCallerSession) SupportsInterface ¶ added in v0.2.0
func (_Union *UnionCallerSession) SupportsInterface(interfaceId [4]byte) (bool, error)
SupportsInterface is a free data retrieval call binding the contract method 0x01ffc9a7.
Solidity: function supportsInterface(bytes4 interfaceId) view returns(bool)
func (*UnionCallerSession) Tgpassport ¶
func (_Union *UnionCallerSession) Tgpassport() (common.Address, error)
Tgpassport is a free data retrieval call binding the contract method 0x7527d5a1.
Solidity: function tgpassport() view returns(address)
type UnionDeclinedApplication ¶
type UnionDeclinedApplication struct { ChatId *big.Int MultyWalletAddress common.Address VoteType uint8 VotingTokenAddress common.Address GroupName string Raw types.Log // Blockchain specific contextual infos }
UnionDeclinedApplication represents a DeclinedApplication event raised by the Union contract.
type UnionDeclinedApplicationIterator ¶
type UnionDeclinedApplicationIterator struct { Event *UnionDeclinedApplication // Event containing the contract specifics and raw log // contains filtered or unexported fields }
UnionDeclinedApplicationIterator is returned from FilterDeclinedApplication and is used to iterate over the raw logs and unpacked data for DeclinedApplication events raised by the Union contract.
func (*UnionDeclinedApplicationIterator) Close ¶
func (it *UnionDeclinedApplicationIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*UnionDeclinedApplicationIterator) Error ¶
func (it *UnionDeclinedApplicationIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*UnionDeclinedApplicationIterator) Next ¶
func (it *UnionDeclinedApplicationIterator) 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 UnionFilterer ¶
type UnionFilterer struct {
// contains filtered or unexported fields
}
UnionFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewUnionFilterer ¶
func NewUnionFilterer(address common.Address, filterer bind.ContractFilterer) (*UnionFilterer, error)
NewUnionFilterer creates a new log filterer instance of Union, bound to a specific deployed contract.
func (*UnionFilterer) FilterApplicationForJoin ¶
func (_Union *UnionFilterer) FilterApplicationForJoin(opts *bind.FilterOpts) (*UnionApplicationForJoinIterator, error)
FilterApplicationForJoin is a free log retrieval operation binding the contract event 0x0ae33dac4eb1cdcaf489d2a9a56c45d17257612cad7c531513d4e425951349e2.
Solidity: event ApplicationForJoin(int64 chat_id, int64 applier_id, address multy_wallet_address, uint8 vote_type, address voting_token_address, string group_name)
func (*UnionFilterer) FilterApplicationForJoinIndexed ¶ added in v0.0.5
func (_Union *UnionFilterer) FilterApplicationForJoinIndexed(opts *bind.FilterOpts, chat_id []int64) (*UnionApplicationForJoinIndexedIterator, error)
FilterApplicationForJoinIndexed is a free log retrieval operation binding the contract event 0xefcac77603ca996faafa29a1d72a90249e186f4a4af6ad89434b18a66b6e9cd9.
Solidity: event ApplicationForJoinIndexed(int64 indexed chat_id, int64 applier_id, address multy_wallet_address, uint8 vote_type, address voting_token_address, string group_name)
func (*UnionFilterer) FilterApprovedJoin ¶
func (_Union *UnionFilterer) FilterApprovedJoin(opts *bind.FilterOpts) (*UnionApprovedJoinIterator, error)
FilterApprovedJoin is a free log retrieval operation binding the contract event 0x19c3744c2d10eda4d05b727f02a712a414539c26678f5f988d98f9635afcac28.
Solidity: event ApprovedJoin(int256 chat_id, address multy_wallet_address, uint8 vote_type, address voting_token_address, string group_name)
func (*UnionFilterer) FilterDeclinedApplication ¶
func (_Union *UnionFilterer) FilterDeclinedApplication(opts *bind.FilterOpts) (*UnionDeclinedApplicationIterator, error)
FilterDeclinedApplication is a free log retrieval operation binding the contract event 0xd06e11c55c5f21676305517c655a0188744d3bee09361e15470276872d56a0b9.
Solidity: event DeclinedApplication(int256 chat_id, address multy_wallet_address, uint8 vote_type, address voting_token_address, string group_name)
func (*UnionFilterer) FilterOwnershipTransferred ¶
func (_Union *UnionFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*UnionOwnershipTransferredIterator, error)
FilterOwnershipTransferred is a free log retrieval operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*UnionFilterer) FilterRoleAdminChanged ¶ added in v0.2.0
func (_Union *UnionFilterer) FilterRoleAdminChanged(opts *bind.FilterOpts, role [][32]byte, previousAdminRole [][32]byte, newAdminRole [][32]byte) (*UnionRoleAdminChangedIterator, error)
FilterRoleAdminChanged is a free log retrieval operation binding the contract event 0xbd79b86ffe0ab8e8776151514217cd7cacd52c909f66475c3af44e129f0b00ff.
Solidity: event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole)
func (*UnionFilterer) FilterRoleGranted ¶ added in v0.2.0
func (_Union *UnionFilterer) FilterRoleGranted(opts *bind.FilterOpts, role [][32]byte, account []common.Address, sender []common.Address) (*UnionRoleGrantedIterator, error)
FilterRoleGranted is a free log retrieval operation binding the contract event 0x2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d.
Solidity: event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender)
func (*UnionFilterer) FilterRoleRevoked ¶ added in v0.2.0
func (_Union *UnionFilterer) FilterRoleRevoked(opts *bind.FilterOpts, role [][32]byte, account []common.Address, sender []common.Address) (*UnionRoleRevokedIterator, error)
FilterRoleRevoked is a free log retrieval operation binding the contract event 0xf6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b.
Solidity: event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender)
func (*UnionFilterer) ParseApplicationForJoin ¶
func (_Union *UnionFilterer) ParseApplicationForJoin(log types.Log) (*UnionApplicationForJoin, error)
ParseApplicationForJoin is a log parse operation binding the contract event 0x0ae33dac4eb1cdcaf489d2a9a56c45d17257612cad7c531513d4e425951349e2.
Solidity: event ApplicationForJoin(int64 chat_id, int64 applier_id, address multy_wallet_address, uint8 vote_type, address voting_token_address, string group_name)
func (*UnionFilterer) ParseApplicationForJoinIndexed ¶ added in v0.0.5
func (_Union *UnionFilterer) ParseApplicationForJoinIndexed(log types.Log) (*UnionApplicationForJoinIndexed, error)
ParseApplicationForJoinIndexed is a log parse operation binding the contract event 0xefcac77603ca996faafa29a1d72a90249e186f4a4af6ad89434b18a66b6e9cd9.
Solidity: event ApplicationForJoinIndexed(int64 indexed chat_id, int64 applier_id, address multy_wallet_address, uint8 vote_type, address voting_token_address, string group_name)
func (*UnionFilterer) ParseApprovedJoin ¶
func (_Union *UnionFilterer) ParseApprovedJoin(log types.Log) (*UnionApprovedJoin, error)
ParseApprovedJoin is a log parse operation binding the contract event 0x19c3744c2d10eda4d05b727f02a712a414539c26678f5f988d98f9635afcac28.
Solidity: event ApprovedJoin(int256 chat_id, address multy_wallet_address, uint8 vote_type, address voting_token_address, string group_name)
func (*UnionFilterer) ParseDeclinedApplication ¶
func (_Union *UnionFilterer) ParseDeclinedApplication(log types.Log) (*UnionDeclinedApplication, error)
ParseDeclinedApplication is a log parse operation binding the contract event 0xd06e11c55c5f21676305517c655a0188744d3bee09361e15470276872d56a0b9.
Solidity: event DeclinedApplication(int256 chat_id, address multy_wallet_address, uint8 vote_type, address voting_token_address, string group_name)
func (*UnionFilterer) ParseOwnershipTransferred ¶
func (_Union *UnionFilterer) ParseOwnershipTransferred(log types.Log) (*UnionOwnershipTransferred, error)
ParseOwnershipTransferred is a log parse operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*UnionFilterer) ParseRoleAdminChanged ¶ added in v0.2.0
func (_Union *UnionFilterer) ParseRoleAdminChanged(log types.Log) (*UnionRoleAdminChanged, error)
ParseRoleAdminChanged is a log parse operation binding the contract event 0xbd79b86ffe0ab8e8776151514217cd7cacd52c909f66475c3af44e129f0b00ff.
Solidity: event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole)
func (*UnionFilterer) ParseRoleGranted ¶ added in v0.2.0
func (_Union *UnionFilterer) ParseRoleGranted(log types.Log) (*UnionRoleGranted, error)
ParseRoleGranted is a log parse operation binding the contract event 0x2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d.
Solidity: event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender)
func (*UnionFilterer) ParseRoleRevoked ¶ added in v0.2.0
func (_Union *UnionFilterer) ParseRoleRevoked(log types.Log) (*UnionRoleRevoked, error)
ParseRoleRevoked is a log parse operation binding the contract event 0xf6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b.
Solidity: event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender)
func (*UnionFilterer) WatchApplicationForJoin ¶
func (_Union *UnionFilterer) WatchApplicationForJoin(opts *bind.WatchOpts, sink chan<- *UnionApplicationForJoin) (event.Subscription, error)
WatchApplicationForJoin is a free log subscription operation binding the contract event 0x0ae33dac4eb1cdcaf489d2a9a56c45d17257612cad7c531513d4e425951349e2.
Solidity: event ApplicationForJoin(int64 chat_id, int64 applier_id, address multy_wallet_address, uint8 vote_type, address voting_token_address, string group_name)
func (*UnionFilterer) WatchApplicationForJoinIndexed ¶ added in v0.0.5
func (_Union *UnionFilterer) WatchApplicationForJoinIndexed(opts *bind.WatchOpts, sink chan<- *UnionApplicationForJoinIndexed, chat_id []int64) (event.Subscription, error)
WatchApplicationForJoinIndexed is a free log subscription operation binding the contract event 0xefcac77603ca996faafa29a1d72a90249e186f4a4af6ad89434b18a66b6e9cd9.
Solidity: event ApplicationForJoinIndexed(int64 indexed chat_id, int64 applier_id, address multy_wallet_address, uint8 vote_type, address voting_token_address, string group_name)
func (*UnionFilterer) WatchApprovedJoin ¶
func (_Union *UnionFilterer) WatchApprovedJoin(opts *bind.WatchOpts, sink chan<- *UnionApprovedJoin) (event.Subscription, error)
WatchApprovedJoin is a free log subscription operation binding the contract event 0x19c3744c2d10eda4d05b727f02a712a414539c26678f5f988d98f9635afcac28.
Solidity: event ApprovedJoin(int256 chat_id, address multy_wallet_address, uint8 vote_type, address voting_token_address, string group_name)
func (*UnionFilterer) WatchDeclinedApplication ¶
func (_Union *UnionFilterer) WatchDeclinedApplication(opts *bind.WatchOpts, sink chan<- *UnionDeclinedApplication) (event.Subscription, error)
WatchDeclinedApplication is a free log subscription operation binding the contract event 0xd06e11c55c5f21676305517c655a0188744d3bee09361e15470276872d56a0b9.
Solidity: event DeclinedApplication(int256 chat_id, address multy_wallet_address, uint8 vote_type, address voting_token_address, string group_name)
func (*UnionFilterer) WatchOwnershipTransferred ¶
func (_Union *UnionFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *UnionOwnershipTransferred, 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 (*UnionFilterer) WatchRoleAdminChanged ¶ added in v0.2.0
func (_Union *UnionFilterer) WatchRoleAdminChanged(opts *bind.WatchOpts, sink chan<- *UnionRoleAdminChanged, role [][32]byte, previousAdminRole [][32]byte, newAdminRole [][32]byte) (event.Subscription, error)
WatchRoleAdminChanged is a free log subscription operation binding the contract event 0xbd79b86ffe0ab8e8776151514217cd7cacd52c909f66475c3af44e129f0b00ff.
Solidity: event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole)
func (*UnionFilterer) WatchRoleGranted ¶ added in v0.2.0
func (_Union *UnionFilterer) WatchRoleGranted(opts *bind.WatchOpts, sink chan<- *UnionRoleGranted, role [][32]byte, account []common.Address, sender []common.Address) (event.Subscription, error)
WatchRoleGranted is a free log subscription operation binding the contract event 0x2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d.
Solidity: event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender)
func (*UnionFilterer) WatchRoleRevoked ¶ added in v0.2.0
func (_Union *UnionFilterer) WatchRoleRevoked(opts *bind.WatchOpts, sink chan<- *UnionRoleRevoked, role [][32]byte, account []common.Address, sender []common.Address) (event.Subscription, error)
WatchRoleRevoked is a free log subscription operation binding the contract event 0xf6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b.
Solidity: event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender)
type UnionOwnershipTransferred ¶
type UnionOwnershipTransferred struct { PreviousOwner common.Address NewOwner common.Address Raw types.Log // Blockchain specific contextual infos }
UnionOwnershipTransferred represents a OwnershipTransferred event raised by the Union contract.
type UnionOwnershipTransferredIterator ¶
type UnionOwnershipTransferredIterator struct { Event *UnionOwnershipTransferred // Event containing the contract specifics and raw log // contains filtered or unexported fields }
UnionOwnershipTransferredIterator is returned from FilterOwnershipTransferred and is used to iterate over the raw logs and unpacked data for OwnershipTransferred events raised by the Union contract.
func (*UnionOwnershipTransferredIterator) Close ¶
func (it *UnionOwnershipTransferredIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*UnionOwnershipTransferredIterator) Error ¶
func (it *UnionOwnershipTransferredIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*UnionOwnershipTransferredIterator) Next ¶
func (it *UnionOwnershipTransferredIterator) 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 UnionRaw ¶
type UnionRaw struct {
Contract *Union // Generic contract binding to access the raw methods on
}
UnionRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*UnionRaw) Call ¶
func (_Union *UnionRaw) 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 (*UnionRaw) Transact ¶
func (_Union *UnionRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*UnionRaw) Transfer ¶
func (_Union *UnionRaw) 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 UnionRoleAdminChanged ¶ added in v0.2.0
type UnionRoleAdminChanged struct { Role [32]byte PreviousAdminRole [32]byte NewAdminRole [32]byte Raw types.Log // Blockchain specific contextual infos }
UnionRoleAdminChanged represents a RoleAdminChanged event raised by the Union contract.
type UnionRoleAdminChangedIterator ¶ added in v0.2.0
type UnionRoleAdminChangedIterator struct { Event *UnionRoleAdminChanged // Event containing the contract specifics and raw log // contains filtered or unexported fields }
UnionRoleAdminChangedIterator is returned from FilterRoleAdminChanged and is used to iterate over the raw logs and unpacked data for RoleAdminChanged events raised by the Union contract.
func (*UnionRoleAdminChangedIterator) Close ¶ added in v0.2.0
func (it *UnionRoleAdminChangedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*UnionRoleAdminChangedIterator) Error ¶ added in v0.2.0
func (it *UnionRoleAdminChangedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*UnionRoleAdminChangedIterator) Next ¶ added in v0.2.0
func (it *UnionRoleAdminChangedIterator) 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 UnionRoleGranted ¶ added in v0.2.0
type UnionRoleGranted struct { Role [32]byte Account common.Address Sender common.Address Raw types.Log // Blockchain specific contextual infos }
UnionRoleGranted represents a RoleGranted event raised by the Union contract.
type UnionRoleGrantedIterator ¶ added in v0.2.0
type UnionRoleGrantedIterator struct { Event *UnionRoleGranted // Event containing the contract specifics and raw log // contains filtered or unexported fields }
UnionRoleGrantedIterator is returned from FilterRoleGranted and is used to iterate over the raw logs and unpacked data for RoleGranted events raised by the Union contract.
func (*UnionRoleGrantedIterator) Close ¶ added in v0.2.0
func (it *UnionRoleGrantedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*UnionRoleGrantedIterator) Error ¶ added in v0.2.0
func (it *UnionRoleGrantedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*UnionRoleGrantedIterator) Next ¶ added in v0.2.0
func (it *UnionRoleGrantedIterator) 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 UnionRoleRevoked ¶ added in v0.2.0
type UnionRoleRevoked struct { Role [32]byte Account common.Address Sender common.Address Raw types.Log // Blockchain specific contextual infos }
UnionRoleRevoked represents a RoleRevoked event raised by the Union contract.
type UnionRoleRevokedIterator ¶ added in v0.2.0
type UnionRoleRevokedIterator struct { Event *UnionRoleRevoked // Event containing the contract specifics and raw log // contains filtered or unexported fields }
UnionRoleRevokedIterator is returned from FilterRoleRevoked and is used to iterate over the raw logs and unpacked data for RoleRevoked events raised by the Union contract.
func (*UnionRoleRevokedIterator) Close ¶ added in v0.2.0
func (it *UnionRoleRevokedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*UnionRoleRevokedIterator) Error ¶ added in v0.2.0
func (it *UnionRoleRevokedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*UnionRoleRevokedIterator) Next ¶ added in v0.2.0
func (it *UnionRoleRevokedIterator) 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 UnionSession ¶
type UnionSession struct { Contract *Union // 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 }
UnionSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*UnionSession) ApplyForUnion ¶
func (_Union *UnionSession) ApplyForUnion(applyerTg int64, daoTg int64, dao_ common.Address, votingType_ uint8, votingTokenContract_ common.Address, dao_name_ string) (*types.Transaction, error)
ApplyForUnion is a paid mutator transaction binding the contract method 0xb9f7076f.
Solidity: function ApplyForUnion(int64 applyerTg, int64 daoTg, address dao_, uint8 votingType_, address votingTokenContract_, string dao_name_) payable returns()
func (*UnionSession) ApproveJoin ¶
func (_Union *UnionSession) ApproveJoin(daoAddress common.Address) (*types.Transaction, error)
ApproveJoin is a paid mutator transaction binding the contract method 0xad8f8660.
Solidity: function ApproveJoin(address daoAddress) returns()
func (*UnionSession) ChatIdArray ¶ added in v0.0.6
func (_Union *UnionSession) ChatIdArray(arg0 *big.Int) (int64, error)
ChatIdArray is a free data retrieval call binding the contract method 0xd698b364.
Solidity: function Chat_id_array(uint256 ) view returns(int64)
func (*UnionSession) DEFAULTADMINROLE ¶ added in v0.2.0
func (_Union *UnionSession) DEFAULTADMINROLE() ([32]byte, error)
DEFAULTADMINROLE is a free data retrieval call binding the contract method 0xa217fddf.
Solidity: function DEFAULT_ADMIN_ROLE() view returns(bytes32)
func (*UnionSession) DaoAddresses ¶
func (_Union *UnionSession) DaoAddresses(arg0 int64) (common.Address, error)
DaoAddresses is a free data retrieval call binding the contract method 0xd6b2da8e.
Solidity: function daoAddresses(int64 ) view returns(address)
func (*UnionSession) Daos ¶
func (_Union *UnionSession) Daos(arg0 common.Address) (struct { ChatOwnerAddress common.Address TgId int64 Valid bool MultisigAddress common.Address VotingType uint8 VotingToken common.Address GroupName string }, error)
Daos is a free data retrieval call binding the contract method 0xc25f3cf6.
Solidity: function daos(address ) view returns(address chatOwnerAddress, int64 tgId, bool valid, address multisigAddress, uint8 votingType, address votingToken, string group_name)
func (*UnionSession) DeclineJoin ¶
func (_Union *UnionSession) DeclineJoin(daoAddress common.Address) (*types.Transaction, error)
DeclineJoin is a paid mutator transaction binding the contract method 0x36b9f727.
Solidity: function DeclineJoin(address daoAddress) returns()
func (*UnionSession) GetDaoAddressbyChatId ¶ added in v0.0.5
func (_Union *UnionSession) GetDaoAddressbyChatId(chat_id int64) (common.Address, error)
GetDaoAddressbyChatId is a free data retrieval call binding the contract method 0xe57bede4.
Solidity: function getDaoAddressbyChatId(int64 chat_id) view returns(address)
func (*UnionSession) GetDaoCount ¶ added in v0.0.5
func (_Union *UnionSession) GetDaoCount() (*big.Int, error)
GetDaoCount is a free data retrieval call binding the contract method 0xd4d8f892.
Solidity: function getDaoCount() view returns(uint256)
func (*UnionSession) GetModeratorIdentifier ¶ added in v0.2.0
func (_Union *UnionSession) GetModeratorIdentifier() ([32]byte, error)
GetModeratorIdentifier is a free data retrieval call binding the contract method 0x5d1ce88f.
Solidity: function getModeratorIdentifier() pure returns(bytes32)
func (*UnionSession) GetRoleAdmin ¶ added in v0.2.0
func (_Union *UnionSession) GetRoleAdmin(role [32]byte) ([32]byte, error)
GetRoleAdmin is a free data retrieval call binding the contract method 0x248a9ca3.
Solidity: function getRoleAdmin(bytes32 role) view returns(bytes32)
func (*UnionSession) GrantRole ¶ added in v0.2.0
func (_Union *UnionSession) GrantRole(role [32]byte, account common.Address) (*types.Transaction, error)
GrantRole is a paid mutator transaction binding the contract method 0x2f2ff15d.
Solidity: function grantRole(bytes32 role, address account) returns()
func (*UnionSession) HasRole ¶ added in v0.2.0
HasRole is a free data retrieval call binding the contract method 0x91d14854.
Solidity: function hasRole(bytes32 role, address account) view returns(bool)
func (*UnionSession) Moderator ¶ added in v0.2.0
func (_Union *UnionSession) Moderator() ([32]byte, error)
Moderator is a free data retrieval call binding the contract method 0x38743904.
Solidity: function moderator() view returns(bytes32)
func (*UnionSession) Owner ¶
func (_Union *UnionSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*UnionSession) RenounceOwnership ¶
func (_Union *UnionSession) RenounceOwnership() (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*UnionSession) RenounceRole ¶ added in v0.2.0
func (_Union *UnionSession) RenounceRole(role [32]byte, account common.Address) (*types.Transaction, error)
RenounceRole is a paid mutator transaction binding the contract method 0x36568abe.
Solidity: function renounceRole(bytes32 role, address account) returns()
func (*UnionSession) RevokeRole ¶ added in v0.2.0
func (_Union *UnionSession) RevokeRole(role [32]byte, account common.Address) (*types.Transaction, error)
RevokeRole is a paid mutator transaction binding the contract method 0xd547741f.
Solidity: function revokeRole(bytes32 role, address account) returns()
func (*UnionSession) SupportsInterface ¶ added in v0.2.0
func (_Union *UnionSession) SupportsInterface(interfaceId [4]byte) (bool, error)
SupportsInterface is a free data retrieval call binding the contract method 0x01ffc9a7.
Solidity: function supportsInterface(bytes4 interfaceId) view returns(bool)
func (*UnionSession) Tgpassport ¶
func (_Union *UnionSession) Tgpassport() (common.Address, error)
Tgpassport is a free data retrieval call binding the contract method 0x7527d5a1.
Solidity: function tgpassport() view returns(address)
func (*UnionSession) TransferOwnership ¶
func (_Union *UnionSession) 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 UnionTransactor ¶
type UnionTransactor struct {
// contains filtered or unexported fields
}
UnionTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewUnionTransactor ¶
func NewUnionTransactor(address common.Address, transactor bind.ContractTransactor) (*UnionTransactor, error)
NewUnionTransactor creates a new write-only instance of Union, bound to a specific deployed contract.
func (*UnionTransactor) ApplyForUnion ¶
func (_Union *UnionTransactor) ApplyForUnion(opts *bind.TransactOpts, applyerTg int64, daoTg int64, dao_ common.Address, votingType_ uint8, votingTokenContract_ common.Address, dao_name_ string) (*types.Transaction, error)
ApplyForUnion is a paid mutator transaction binding the contract method 0xb9f7076f.
Solidity: function ApplyForUnion(int64 applyerTg, int64 daoTg, address dao_, uint8 votingType_, address votingTokenContract_, string dao_name_) payable returns()
func (*UnionTransactor) ApproveJoin ¶
func (_Union *UnionTransactor) ApproveJoin(opts *bind.TransactOpts, daoAddress common.Address) (*types.Transaction, error)
ApproveJoin is a paid mutator transaction binding the contract method 0xad8f8660.
Solidity: function ApproveJoin(address daoAddress) returns()
func (*UnionTransactor) DeclineJoin ¶
func (_Union *UnionTransactor) DeclineJoin(opts *bind.TransactOpts, daoAddress common.Address) (*types.Transaction, error)
DeclineJoin is a paid mutator transaction binding the contract method 0x36b9f727.
Solidity: function DeclineJoin(address daoAddress) returns()
func (*UnionTransactor) GrantRole ¶ added in v0.2.0
func (_Union *UnionTransactor) GrantRole(opts *bind.TransactOpts, role [32]byte, account common.Address) (*types.Transaction, error)
GrantRole is a paid mutator transaction binding the contract method 0x2f2ff15d.
Solidity: function grantRole(bytes32 role, address account) returns()
func (*UnionTransactor) RenounceOwnership ¶
func (_Union *UnionTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*UnionTransactor) RenounceRole ¶ added in v0.2.0
func (_Union *UnionTransactor) RenounceRole(opts *bind.TransactOpts, role [32]byte, account common.Address) (*types.Transaction, error)
RenounceRole is a paid mutator transaction binding the contract method 0x36568abe.
Solidity: function renounceRole(bytes32 role, address account) returns()
func (*UnionTransactor) RevokeRole ¶ added in v0.2.0
func (_Union *UnionTransactor) RevokeRole(opts *bind.TransactOpts, role [32]byte, account common.Address) (*types.Transaction, error)
RevokeRole is a paid mutator transaction binding the contract method 0xd547741f.
Solidity: function revokeRole(bytes32 role, address account) returns()
func (*UnionTransactor) TransferOwnership ¶
func (_Union *UnionTransactor) 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 UnionTransactorRaw ¶
type UnionTransactorRaw struct {
Contract *UnionTransactor // Generic write-only contract binding to access the raw methods on
}
UnionTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*UnionTransactorRaw) Transact ¶
func (_Union *UnionTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*UnionTransactorRaw) Transfer ¶
func (_Union *UnionTransactorRaw) 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 UnionTransactorSession ¶
type UnionTransactorSession struct { Contract *UnionTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
UnionTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*UnionTransactorSession) ApplyForUnion ¶
func (_Union *UnionTransactorSession) ApplyForUnion(applyerTg int64, daoTg int64, dao_ common.Address, votingType_ uint8, votingTokenContract_ common.Address, dao_name_ string) (*types.Transaction, error)
ApplyForUnion is a paid mutator transaction binding the contract method 0xb9f7076f.
Solidity: function ApplyForUnion(int64 applyerTg, int64 daoTg, address dao_, uint8 votingType_, address votingTokenContract_, string dao_name_) payable returns()
func (*UnionTransactorSession) ApproveJoin ¶
func (_Union *UnionTransactorSession) ApproveJoin(daoAddress common.Address) (*types.Transaction, error)
ApproveJoin is a paid mutator transaction binding the contract method 0xad8f8660.
Solidity: function ApproveJoin(address daoAddress) returns()
func (*UnionTransactorSession) DeclineJoin ¶
func (_Union *UnionTransactorSession) DeclineJoin(daoAddress common.Address) (*types.Transaction, error)
DeclineJoin is a paid mutator transaction binding the contract method 0x36b9f727.
Solidity: function DeclineJoin(address daoAddress) returns()
func (*UnionTransactorSession) GrantRole ¶ added in v0.2.0
func (_Union *UnionTransactorSession) GrantRole(role [32]byte, account common.Address) (*types.Transaction, error)
GrantRole is a paid mutator transaction binding the contract method 0x2f2ff15d.
Solidity: function grantRole(bytes32 role, address account) returns()
func (*UnionTransactorSession) RenounceOwnership ¶
func (_Union *UnionTransactorSession) RenounceOwnership() (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*UnionTransactorSession) RenounceRole ¶ added in v0.2.0
func (_Union *UnionTransactorSession) RenounceRole(role [32]byte, account common.Address) (*types.Transaction, error)
RenounceRole is a paid mutator transaction binding the contract method 0x36568abe.
Solidity: function renounceRole(bytes32 role, address account) returns()
func (*UnionTransactorSession) RevokeRole ¶ added in v0.2.0
func (_Union *UnionTransactorSession) RevokeRole(role [32]byte, account common.Address) (*types.Transaction, error)
RevokeRole is a paid mutator transaction binding the contract method 0xd547741f.
Solidity: function revokeRole(bytes32 role, address account) returns()
func (*UnionTransactorSession) TransferOwnership ¶
func (_Union *UnionTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(address newOwner) returns()