warden

package
v0.5.2 Latest Latest
Warning

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

Go to latest
Published: Oct 22, 2024 License: Apache-2.0 Imports: 28 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// EventTypeAddKeychainAdmin defines the event type for the x/warden AddKeychainAdmin transaction.
	EventTypeAddKeychainAdmin = "AddKeychainAdmin"
	// EventTypeAddKeychainWriter defines the event type for the x/warden AddKeychainWriter transaction.
	EventTypeAddKeychainWriter = "AddKeychainWriter"
	// EventTypeNewKey defines the event type for the fulfil branch of x/warden FulfilKeyRequest transaction.
	EventTypeNewKey = "NewKey"
	// EventRejectKeyRequest defines the event type for the reject branch of x/warden FulfilKeyRequest transaction.
	EventRejectKeyRequest = "RejectKeyRequest"
	// EventFulfilSignRequest defines the event type for the fulfil branch of x/warden FulfilSignRequest transaction.
	EventFulfilSignRequest = "FulfilSignRequest"
	// EventRejectSignRequest defines the event type for the reject branch of x/warden FulfilSignRequest transaction.
	EventRejectSignRequest = "RejectSignRequest"
	// EventNewKeychain defines the event type for the x/warden NewKeychain transaction.
	EventNewKeychain = "NewKeychain"
	// EventNewSpace defines the event type for the x/warden NewSpace transaction.
	EventNewSpace = "NewSpace"
	// EventRemoveKeychainAdmin defines the event type for the x/warden RemoveKeychainAdmin transaction.
	EventRemoveKeychainAdmin = "RemoveKeychainAdmin"
	// EventUpdateKeychain defines the event type for the x/warden UpdateKeychain transaction.
	EventUpdateKeychain = "UpdateKeychain"
	// EventAddSpaceOwner defines the event type for the x/warden AddSpaceOwner transaction.
	EventAddSpaceOwner = "AddSpaceOwner"
	// EventRemoveSpaceOwner defines the event type for the x/warden RemoveSpaceOwner transaction.
	EventRemoveSpaceOwner = "RemoveSpaceOwner"
	// EventNewKeyRequest defines the event type for the x/warden NewKeyRequest transaction.
	EventNewKeyRequest = "NewKeyRequest"
	// EventNewSignRequest defines the event type for the x/warden NewSignRequest transaction.
	EventNewSignRequest = "NewSignRequest"
	// EventUpdateKey defines the event type for the x/warden UpdateKey transaction.
	EventUpdateKey = "UpdateKey"
	// EventUpdateSpace defines the event type for the x/warden UpdateSpace transaction.
	EventUpdateSpace = "UpdateSpace"
)
View Source
const (
	AllKeysMethod         = "allKeys"
	KeyByIdMethod         = "keyById"
	KeysBySpaceIdMethod   = "keysBySpaceId"
	KeyRequestMethod      = "keyRequestById"
	KeyRequestsMethod     = "keyRequests"
	KeychainMethod        = "keychainById"
	KeychainsMethod       = "keychains"
	SignRequestByIdMethod = "signRequestById"
	SignRequestsMethod    = "signRequests"
	SpaceByIdMethod       = "spaceById"
	SpacesMethod          = "spaces"
	SpacesByOwnerMethod   = "spacesByOwner"
)
View Source
const (
	AddKeychainAdminMethod    = "addKeychainAdmin"
	AddKeychainWriterMethod   = "addKeychainWriter"
	FulfilKeyRequestMethod    = "fulfilKeyRequest"
	RejectKeyRequestMethod    = "rejectKeyRequest"
	FulfilSignRequestMethod   = "fulfilSignRequest"
	RejectSignRequestMethod   = "rejectSignRequest"
	NewKeychainMethod         = "newKeychain"
	NewSpaceMethod            = "newSpace"
	RemoveKeychainAdminMethod = "removeKeychainAdmin"
	UpdateKeychainMethod      = "updateKeychain"
	AddSpaceOwnerMethod       = "addSpaceOwner"
	RemoveSpaceOwnerMethod    = "removeSpaceOwner"
	NewKeyRequestMethod       = "newKeyRequest"
	NewSignRequestMethod      = "newSignRequest"
	UpdateKeyMethod           = "updateKey"
	UpdateSpaceMethod         = "updateSpace"
)
View Source
const PrecompileAddress = "0x0000000000000000000000000000000000000900"

PrecompileAddress defines the contract address of the x/warden precompile.

Variables

View Source
var IWardenABI = IWardenMetaData.ABI

IWardenABI is the input ABI used to generate the binding from. Deprecated: Use IWardenMetaData.ABI instead.

View Source
var IWardenMetaData = &bind.MetaData{
	ABI: "[{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"newAdmin\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint64\",\"name\":\"id\",\"type\":\"uint64\"},{\"indexed\":false,\"internalType\":\"uint64\",\"name\":\"adminsCount\",\"type\":\"uint64\"}],\"name\":\"AddKeychainAdmin\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"newWriter\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint64\",\"name\":\"id\",\"type\":\"uint64\"},{\"indexed\":false,\"internalType\":\"uint64\",\"name\":\"writersCount\",\"type\":\"uint64\"}],\"name\":\"AddKeychainWriter\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint64\",\"name\":\"spaceId\",\"type\":\"uint64\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"AddSpaceOwner\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint64\",\"name\":\"id\",\"type\":\"uint64\"}],\"name\":\"FulfilSignRequest\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint64\",\"name\":\"id\",\"type\":\"uint64\"},{\"indexed\":false,\"internalType\":\"int32\",\"name\":\"keyType\",\"type\":\"int32\"},{\"indexed\":false,\"internalType\":\"uint64\",\"name\":\"spaceId\",\"type\":\"uint64\"},{\"indexed\":false,\"internalType\":\"uint64\",\"name\":\"keychainId\",\"type\":\"uint64\"},{\"indexed\":false,\"internalType\":\"uint64\",\"name\":\"approveTemplateId\",\"type\":\"uint64\"},{\"indexed\":false,\"internalType\":\"uint64\",\"name\":\"rejectTemplateId\",\"type\":\"uint64\"}],\"name\":\"NewKey\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint64\",\"name\":\"id\",\"type\":\"uint64\"},{\"indexed\":false,\"internalType\":\"uint64\",\"name\":\"spaceId\",\"type\":\"uint64\"},{\"indexed\":false,\"internalType\":\"uint64\",\"name\":\"keychainId\",\"type\":\"uint64\"},{\"indexed\":false,\"internalType\":\"uint64\",\"name\":\"approveTemplateId\",\"type\":\"uint64\"},{\"indexed\":false,\"internalType\":\"uint64\",\"name\":\"rejectTemplateId\",\"type\":\"uint64\"},{\"indexed\":false,\"internalType\":\"uint8\",\"name\":\"keyType\",\"type\":\"uint8\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"creator\",\"type\":\"address\"}],\"name\":\"NewKeyRequest\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint64\",\"name\":\"id\",\"type\":\"uint64\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"creator\",\"type\":\"address\"}],\"name\":\"NewKeychain\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint64\",\"name\":\"id\",\"type\":\"uint64\"},{\"indexed\":false,\"internalType\":\"uint64\",\"name\":\"keyId\",\"type\":\"uint64\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"creator\",\"type\":\"address\"}],\"name\":\"NewSignRequest\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint64\",\"name\":\"id\",\"type\":\"uint64\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"creator\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint64\",\"name\":\"ownersCount\",\"type\":\"uint64\"},{\"indexed\":false,\"internalType\":\"uint64\",\"name\":\"approveAdminTemplateId\",\"type\":\"uint64\"},{\"indexed\":false,\"internalType\":\"uint64\",\"name\":\"rejectAdminTemplateId\",\"type\":\"uint64\"},{\"indexed\":false,\"internalType\":\"uint64\",\"name\":\"approveSignTemplateId\",\"type\":\"uint64\"},{\"indexed\":false,\"internalType\":\"uint64\",\"name\":\"rejectSignTemplateId\",\"type\":\"uint64\"}],\"name\":\"NewSpace\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint64\",\"name\":\"id\",\"type\":\"uint64\"}],\"name\":\"RejectKeyRequest\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint64\",\"name\":\"id\",\"type\":\"uint64\"}],\"name\":\"RejectSignRequest\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint64\",\"name\":\"keychainId\",\"type\":\"uint64\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"admin\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint64\",\"name\":\"adminsCount\",\"type\":\"uint64\"}],\"name\":\"RemoveKeychainAdmin\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint64\",\"name\":\"spaceId\",\"type\":\"uint64\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"removedOwner\",\"type\":\"address\"}],\"name\":\"RemoveSpaceOwner\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint64\",\"name\":\"id\",\"type\":\"uint64\"},{\"indexed\":false,\"internalType\":\"uint64\",\"name\":\"approveTemplateId\",\"type\":\"uint64\"},{\"indexed\":false,\"internalType\":\"uint64\",\"name\":\"rejectTemplateId\",\"type\":\"uint64\"}],\"name\":\"UpdateKey\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint64\",\"name\":\"id\",\"type\":\"uint64\"},{\"components\":[{\"components\":[{\"internalType\":\"string\",\"name\":\"denom\",\"type\":\"string\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"internalType\":\"structTypes.Coin[]\",\"name\":\"keyReq\",\"type\":\"tuple[]\"},{\"components\":[{\"internalType\":\"string\",\"name\":\"denom\",\"type\":\"string\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"internalType\":\"structTypes.Coin[]\",\"name\":\"sigReq\",\"type\":\"tuple[]\"}],\"indexed\":false,\"internalType\":\"structKeychainFees\",\"name\":\"keychainFees\",\"type\":\"tuple\"}],\"name\":\"UpdateKeychain\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint64\",\"name\":\"space_id\",\"type\":\"uint64\"},{\"indexed\":false,\"internalType\":\"uint64\",\"name\":\"approveAdminTemplateId\",\"type\":\"uint64\"},{\"indexed\":false,\"internalType\":\"uint64\",\"name\":\"rejectAdminTemplateId\",\"type\":\"uint64\"},{\"indexed\":false,\"internalType\":\"uint64\",\"name\":\"approveSignTemplateId\",\"type\":\"uint64\"},{\"indexed\":false,\"internalType\":\"uint64\",\"name\":\"rejectSignTemplateId\",\"type\":\"uint64\"}],\"name\":\"UpdateSpace\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"uint64\",\"name\":\"keychainId\",\"type\":\"uint64\"},{\"internalType\":\"address\",\"name\":\"newAdmin\",\"type\":\"address\"}],\"name\":\"addKeychainAdmin\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"success\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint64\",\"name\":\"keychainId\",\"type\":\"uint64\"},{\"internalType\":\"address\",\"name\":\"newWriter\",\"type\":\"address\"}],\"name\":\"addKeychainWriter\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"success\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint64\",\"name\":\"spaceId\",\"type\":\"uint64\"},{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"},{\"internalType\":\"uint64\",\"name\":\"nonce\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"actionTimeoutHeight\",\"type\":\"uint64\"},{\"internalType\":\"string\",\"name\":\"expectedApproveExpression\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"expectedRejectExpression\",\"type\":\"string\"}],\"name\":\"addSpaceOwner\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"success\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"bytes\",\"name\":\"key\",\"type\":\"bytes\"},{\"internalType\":\"uint64\",\"name\":\"offset\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"limit\",\"type\":\"uint64\"},{\"internalType\":\"bool\",\"name\":\"countTotal\",\"type\":\"bool\"},{\"internalType\":\"bool\",\"name\":\"reverse\",\"type\":\"bool\"}],\"internalType\":\"structTypes.PageRequest\",\"name\":\"pageRequest\",\"type\":\"tuple\"},{\"internalType\":\"int32[]\",\"name\":\"deriveAddresses\",\"type\":\"int32[]\"}],\"name\":\"allKeys\",\"outputs\":[{\"components\":[{\"components\":[{\"internalType\":\"uint64\",\"name\":\"id\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"spaceId\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"keychainId\",\"type\":\"uint64\"},{\"internalType\":\"int32\",\"name\":\"keyType\",\"type\":\"int32\"},{\"internalType\":\"bytes\",\"name\":\"publicKey\",\"type\":\"bytes\"},{\"internalType\":\"uint64\",\"name\":\"approveTemplateId\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"rejectTemplateId\",\"type\":\"uint64\"}],\"internalType\":\"structKey\",\"name\":\"key\",\"type\":\"tuple\"},{\"components\":[{\"internalType\":\"address\",\"name\":\"addressValue\",\"type\":\"address\"},{\"internalType\":\"int32\",\"name\":\"addressType\",\"type\":\"int32\"}],\"internalType\":\"structAddressesResponse[]\",\"name\":\"addresses\",\"type\":\"tuple[]\"}],\"internalType\":\"structKeyResponse[]\",\"name\":\"keys\",\"type\":\"tuple[]\"},{\"components\":[{\"internalType\":\"bytes\",\"name\":\"nextKey\",\"type\":\"bytes\"},{\"internalType\":\"uint64\",\"name\":\"total\",\"type\":\"uint64\"}],\"internalType\":\"structTypes.PageResponse\",\"name\":\"pageResponse\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint64\",\"name\":\"requestId\",\"type\":\"uint64\"},{\"internalType\":\"bytes\",\"name\":\"pubKey\",\"type\":\"bytes\"}],\"name\":\"fulfilKeyRequest\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"success\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint64\",\"name\":\"requestId\",\"type\":\"uint64\"},{\"internalType\":\"bytes\",\"name\":\"signedData\",\"type\":\"bytes\"}],\"name\":\"fulfilSignRequest\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"success\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint64\",\"name\":\"id\",\"type\":\"uint64\"},{\"internalType\":\"int32[]\",\"name\":\"deriveAddresses\",\"type\":\"int32[]\"}],\"name\":\"keyById\",\"outputs\":[{\"components\":[{\"components\":[{\"internalType\":\"uint64\",\"name\":\"id\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"spaceId\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"keychainId\",\"type\":\"uint64\"},{\"internalType\":\"int32\",\"name\":\"keyType\",\"type\":\"int32\"},{\"internalType\":\"bytes\",\"name\":\"publicKey\",\"type\":\"bytes\"},{\"internalType\":\"uint64\",\"name\":\"approveTemplateId\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"rejectTemplateId\",\"type\":\"uint64\"}],\"internalType\":\"structKey\",\"name\":\"key\",\"type\":\"tuple\"},{\"components\":[{\"internalType\":\"address\",\"name\":\"addressValue\",\"type\":\"address\"},{\"internalType\":\"int32\",\"name\":\"addressType\",\"type\":\"int32\"}],\"internalType\":\"structAddressesResponse[]\",\"name\":\"addresses\",\"type\":\"tuple[]\"}],\"internalType\":\"structKeyResponse\",\"name\":\"key\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint64\",\"name\":\"id\",\"type\":\"uint64\"}],\"name\":\"keyRequestById\",\"outputs\":[{\"components\":[{\"internalType\":\"uint64\",\"name\":\"id\",\"type\":\"uint64\"},{\"internalType\":\"address\",\"name\":\"creator\",\"type\":\"address\"},{\"internalType\":\"uint64\",\"name\":\"spaceId\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"keychainId\",\"type\":\"uint64\"},{\"internalType\":\"int32\",\"name\":\"keyType\",\"type\":\"int32\"},{\"internalType\":\"int32\",\"name\":\"status\",\"type\":\"int32\"},{\"internalType\":\"string\",\"name\":\"rejectReason\",\"type\":\"string\"},{\"internalType\":\"uint64\",\"name\":\"approveTemplateId\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"rejectTemplateId\",\"type\":\"uint64\"},{\"components\":[{\"internalType\":\"string\",\"name\":\"denom\",\"type\":\"string\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"internalType\":\"structTypes.Coin[]\",\"name\":\"deductedKeychainFees\",\"type\":\"tuple[]\"}],\"internalType\":\"structKeyRequest\",\"name\":\"keyRequest\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"bytes\",\"name\":\"key\",\"type\":\"bytes\"},{\"internalType\":\"uint64\",\"name\":\"offset\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"limit\",\"type\":\"uint64\"},{\"internalType\":\"bool\",\"name\":\"countTotal\",\"type\":\"bool\"},{\"internalType\":\"bool\",\"name\":\"reverse\",\"type\":\"bool\"}],\"internalType\":\"structTypes.PageRequest\",\"name\":\"pageRequest\",\"type\":\"tuple\"},{\"internalType\":\"uint64\",\"name\":\"keychainId\",\"type\":\"uint64\"},{\"internalType\":\"int32\",\"name\":\"status\",\"type\":\"int32\"},{\"internalType\":\"uint64\",\"name\":\"spaceId\",\"type\":\"uint64\"}],\"name\":\"keyRequests\",\"outputs\":[{\"components\":[{\"internalType\":\"uint64\",\"name\":\"id\",\"type\":\"uint64\"},{\"internalType\":\"address\",\"name\":\"creator\",\"type\":\"address\"},{\"internalType\":\"uint64\",\"name\":\"spaceId\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"keychainId\",\"type\":\"uint64\"},{\"internalType\":\"int32\",\"name\":\"keyType\",\"type\":\"int32\"},{\"internalType\":\"int32\",\"name\":\"status\",\"type\":\"int32\"},{\"internalType\":\"string\",\"name\":\"rejectReason\",\"type\":\"string\"},{\"internalType\":\"uint64\",\"name\":\"approveTemplateId\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"rejectTemplateId\",\"type\":\"uint64\"},{\"components\":[{\"internalType\":\"string\",\"name\":\"denom\",\"type\":\"string\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"internalType\":\"structTypes.Coin[]\",\"name\":\"deductedKeychainFees\",\"type\":\"tuple[]\"}],\"internalType\":\"structKeyRequest[]\",\"name\":\"keyRequests\",\"type\":\"tuple[]\"},{\"components\":[{\"internalType\":\"bytes\",\"name\":\"nextKey\",\"type\":\"bytes\"},{\"internalType\":\"uint64\",\"name\":\"total\",\"type\":\"uint64\"}],\"internalType\":\"structTypes.PageResponse\",\"name\":\"pageResponse\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint64\",\"name\":\"id\",\"type\":\"uint64\"}],\"name\":\"keychainById\",\"outputs\":[{\"components\":[{\"internalType\":\"uint64\",\"name\":\"id\",\"type\":\"uint64\"},{\"internalType\":\"address\",\"name\":\"creator\",\"type\":\"address\"},{\"internalType\":\"string\",\"name\":\"name\",\"type\":\"string\"},{\"internalType\":\"address[]\",\"name\":\"admins\",\"type\":\"address[]\"},{\"internalType\":\"address[]\",\"name\":\"writers\",\"type\":\"address[]\"},{\"components\":[{\"components\":[{\"internalType\":\"string\",\"name\":\"denom\",\"type\":\"string\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"internalType\":\"structTypes.Coin[]\",\"name\":\"keyReq\",\"type\":\"tuple[]\"},{\"components\":[{\"internalType\":\"string\",\"name\":\"denom\",\"type\":\"string\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"internalType\":\"structTypes.Coin[]\",\"name\":\"sigReq\",\"type\":\"tuple[]\"}],\"internalType\":\"structKeychainFees\",\"name\":\"fees\",\"type\":\"tuple\"},{\"internalType\":\"string\",\"name\":\"description\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"url\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"keybaseId\",\"type\":\"string\"}],\"internalType\":\"structKeychain\",\"name\":\"keychain\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"bytes\",\"name\":\"key\",\"type\":\"bytes\"},{\"internalType\":\"uint64\",\"name\":\"offset\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"limit\",\"type\":\"uint64\"},{\"internalType\":\"bool\",\"name\":\"countTotal\",\"type\":\"bool\"},{\"internalType\":\"bool\",\"name\":\"reverse\",\"type\":\"bool\"}],\"internalType\":\"structTypes.PageRequest\",\"name\":\"pageRequest\",\"type\":\"tuple\"}],\"name\":\"keychains\",\"outputs\":[{\"components\":[{\"internalType\":\"uint64\",\"name\":\"id\",\"type\":\"uint64\"},{\"internalType\":\"address\",\"name\":\"creator\",\"type\":\"address\"},{\"internalType\":\"string\",\"name\":\"name\",\"type\":\"string\"},{\"internalType\":\"address[]\",\"name\":\"admins\",\"type\":\"address[]\"},{\"internalType\":\"address[]\",\"name\":\"writers\",\"type\":\"address[]\"},{\"components\":[{\"components\":[{\"internalType\":\"string\",\"name\":\"denom\",\"type\":\"string\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"internalType\":\"structTypes.Coin[]\",\"name\":\"keyReq\",\"type\":\"tuple[]\"},{\"components\":[{\"internalType\":\"string\",\"name\":\"denom\",\"type\":\"string\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"internalType\":\"structTypes.Coin[]\",\"name\":\"sigReq\",\"type\":\"tuple[]\"}],\"internalType\":\"structKeychainFees\",\"name\":\"fees\",\"type\":\"tuple\"},{\"internalType\":\"string\",\"name\":\"description\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"url\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"keybaseId\",\"type\":\"string\"}],\"internalType\":\"structKeychain[]\",\"name\":\"keychains\",\"type\":\"tuple[]\"},{\"components\":[{\"internalType\":\"bytes\",\"name\":\"nextKey\",\"type\":\"bytes\"},{\"internalType\":\"uint64\",\"name\":\"total\",\"type\":\"uint64\"}],\"internalType\":\"structTypes.PageResponse\",\"name\":\"pageResponse\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"bytes\",\"name\":\"key\",\"type\":\"bytes\"},{\"internalType\":\"uint64\",\"name\":\"offset\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"limit\",\"type\":\"uint64\"},{\"internalType\":\"bool\",\"name\":\"countTotal\",\"type\":\"bool\"},{\"internalType\":\"bool\",\"name\":\"reverse\",\"type\":\"bool\"}],\"internalType\":\"structTypes.PageRequest\",\"name\":\"pageRequest\",\"type\":\"tuple\"},{\"internalType\":\"uint64\",\"name\":\"spaceId\",\"type\":\"uint64\"},{\"internalType\":\"int32[]\",\"name\":\"deriveAddresses\",\"type\":\"int32[]\"}],\"name\":\"keysBySpaceId\",\"outputs\":[{\"components\":[{\"components\":[{\"internalType\":\"uint64\",\"name\":\"id\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"spaceId\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"keychainId\",\"type\":\"uint64\"},{\"internalType\":\"int32\",\"name\":\"keyType\",\"type\":\"int32\"},{\"internalType\":\"bytes\",\"name\":\"publicKey\",\"type\":\"bytes\"},{\"internalType\":\"uint64\",\"name\":\"approveTemplateId\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"rejectTemplateId\",\"type\":\"uint64\"}],\"internalType\":\"structKey\",\"name\":\"key\",\"type\":\"tuple\"},{\"components\":[{\"internalType\":\"address\",\"name\":\"addressValue\",\"type\":\"address\"},{\"internalType\":\"int32\",\"name\":\"addressType\",\"type\":\"int32\"}],\"internalType\":\"structAddressesResponse[]\",\"name\":\"addresses\",\"type\":\"tuple[]\"}],\"internalType\":\"structKeyResponse[]\",\"name\":\"keys\",\"type\":\"tuple[]\"},{\"components\":[{\"internalType\":\"bytes\",\"name\":\"nextKey\",\"type\":\"bytes\"},{\"internalType\":\"uint64\",\"name\":\"total\",\"type\":\"uint64\"}],\"internalType\":\"structTypes.PageResponse\",\"name\":\"pageResponse\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint64\",\"name\":\"spaceId\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"keychainId\",\"type\":\"uint64\"},{\"internalType\":\"enumKeyType\",\"name\":\"keyType\",\"type\":\"uint8\"},{\"internalType\":\"uint64\",\"name\":\"approveTemplateId\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"rejectTemplateId\",\"type\":\"uint64\"},{\"components\":[{\"internalType\":\"string\",\"name\":\"denom\",\"type\":\"string\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"internalType\":\"structTypes.Coin[]\",\"name\":\"maxKeychainFees\",\"type\":\"tuple[]\"},{\"internalType\":\"uint64\",\"name\":\"nonce\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"actionTimeoutHeight\",\"type\":\"uint64\"},{\"internalType\":\"string\",\"name\":\"expectedApproveExpression\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"expectedRejectExpression\",\"type\":\"string\"}],\"name\":\"newKeyRequest\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"success\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"name\",\"type\":\"string\"},{\"components\":[{\"components\":[{\"internalType\":\"string\",\"name\":\"denom\",\"type\":\"string\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"internalType\":\"structTypes.Coin[]\",\"name\":\"keyReq\",\"type\":\"tuple[]\"},{\"components\":[{\"internalType\":\"string\",\"name\":\"denom\",\"type\":\"string\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"internalType\":\"structTypes.Coin[]\",\"name\":\"sigReq\",\"type\":\"tuple[]\"}],\"internalType\":\"structKeychainFees\",\"name\":\"keychainFees\",\"type\":\"tuple\"},{\"internalType\":\"string\",\"name\":\"description\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"url\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"keybaseId\",\"type\":\"string\"}],\"name\":\"newKeychain\",\"outputs\":[{\"internalType\":\"uint64\",\"name\":\"id\",\"type\":\"uint64\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint64\",\"name\":\"keyId\",\"type\":\"uint64\"},{\"internalType\":\"bytes\",\"name\":\"input\",\"type\":\"bytes\"},{\"internalType\":\"address[]\",\"name\":\"analyzers\",\"type\":\"address[]\"},{\"internalType\":\"bytes\",\"name\":\"encryptionKey\",\"type\":\"bytes\"},{\"components\":[{\"internalType\":\"string\",\"name\":\"denom\",\"type\":\"string\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"internalType\":\"structTypes.Coin[]\",\"name\":\"maxKeychainFees\",\"type\":\"tuple[]\"},{\"internalType\":\"uint64\",\"name\":\"nonce\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"actionTimeoutHeight\",\"type\":\"uint64\"},{\"internalType\":\"string\",\"name\":\"expectedApproveExpression\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"expectedRejectExpression\",\"type\":\"string\"}],\"name\":\"newSignRequest\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"success\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint64\",\"name\":\"approveAdminTemplateId\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"rejectAdminTemplateId\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"approveSignTemplateId\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"rejectSignTemplateId\",\"type\":\"uint64\"},{\"internalType\":\"address[]\",\"name\":\"additionalOwners\",\"type\":\"address[]\"}],\"name\":\"newSpace\",\"outputs\":[{\"internalType\":\"uint64\",\"name\":\"id\",\"type\":\"uint64\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint64\",\"name\":\"requestId\",\"type\":\"uint64\"},{\"internalType\":\"string\",\"name\":\"rejectReason\",\"type\":\"string\"}],\"name\":\"rejectKeyRequest\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"success\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint64\",\"name\":\"requestId\",\"type\":\"uint64\"},{\"internalType\":\"string\",\"name\":\"rejectReason\",\"type\":\"string\"}],\"name\":\"rejectSignRequest\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"success\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint64\",\"name\":\"keychainId\",\"type\":\"uint64\"},{\"internalType\":\"address\",\"name\":\"admin\",\"type\":\"address\"}],\"name\":\"removeKeychainAdmin\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"success\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint64\",\"name\":\"spaceId\",\"type\":\"uint64\"},{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"uint64\",\"name\":\"nonce\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"actionTimeoutHeight\",\"type\":\"uint64\"},{\"internalType\":\"string\",\"name\":\"expectedApproveExpression\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"expectedRejectExpression\",\"type\":\"string\"}],\"name\":\"removeSpaceOwner\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"success\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint64\",\"name\":\"id\",\"type\":\"uint64\"}],\"name\":\"signRequestById\",\"outputs\":[{\"components\":[{\"internalType\":\"uint64\",\"name\":\"id\",\"type\":\"uint64\"},{\"internalType\":\"address\",\"name\":\"creator\",\"type\":\"address\"},{\"internalType\":\"uint64\",\"name\":\"keyId\",\"type\":\"uint64\"},{\"internalType\":\"bytes\",\"name\":\"dataForSigning\",\"type\":\"bytes\"},{\"internalType\":\"int32\",\"name\":\"status\",\"type\":\"int32\"},{\"internalType\":\"bytes\",\"name\":\"result\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"encryptionKey\",\"type\":\"bytes\"},{\"components\":[{\"internalType\":\"string\",\"name\":\"denom\",\"type\":\"string\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"internalType\":\"structTypes.Coin[]\",\"name\":\"deductedKeychainFees\",\"type\":\"tuple[]\"}],\"internalType\":\"structSignRequest\",\"name\":\"signRequest\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"bytes\",\"name\":\"key\",\"type\":\"bytes\"},{\"internalType\":\"uint64\",\"name\":\"offset\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"limit\",\"type\":\"uint64\"},{\"internalType\":\"bool\",\"name\":\"countTotal\",\"type\":\"bool\"},{\"internalType\":\"bool\",\"name\":\"reverse\",\"type\":\"bool\"}],\"internalType\":\"structTypes.PageRequest\",\"name\":\"pageRequest\",\"type\":\"tuple\"},{\"internalType\":\"uint64\",\"name\":\"keychainId\",\"type\":\"uint64\"},{\"internalType\":\"int32\",\"name\":\"status\",\"type\":\"int32\"}],\"name\":\"signRequests\",\"outputs\":[{\"components\":[{\"internalType\":\"uint64\",\"name\":\"id\",\"type\":\"uint64\"},{\"internalType\":\"address\",\"name\":\"creator\",\"type\":\"address\"},{\"internalType\":\"uint64\",\"name\":\"keyId\",\"type\":\"uint64\"},{\"internalType\":\"bytes\",\"name\":\"dataForSigning\",\"type\":\"bytes\"},{\"internalType\":\"int32\",\"name\":\"status\",\"type\":\"int32\"},{\"internalType\":\"bytes\",\"name\":\"result\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"encryptionKey\",\"type\":\"bytes\"},{\"components\":[{\"internalType\":\"string\",\"name\":\"denom\",\"type\":\"string\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"internalType\":\"structTypes.Coin[]\",\"name\":\"deductedKeychainFees\",\"type\":\"tuple[]\"}],\"internalType\":\"structSignRequest[]\",\"name\":\"signRequests\",\"type\":\"tuple[]\"},{\"components\":[{\"internalType\":\"bytes\",\"name\":\"nextKey\",\"type\":\"bytes\"},{\"internalType\":\"uint64\",\"name\":\"total\",\"type\":\"uint64\"}],\"internalType\":\"structTypes.PageResponse\",\"name\":\"pageResponse\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint64\",\"name\":\"id\",\"type\":\"uint64\"}],\"name\":\"spaceById\",\"outputs\":[{\"components\":[{\"internalType\":\"uint64\",\"name\":\"id\",\"type\":\"uint64\"},{\"internalType\":\"address\",\"name\":\"creator\",\"type\":\"address\"},{\"internalType\":\"address[]\",\"name\":\"owners\",\"type\":\"address[]\"},{\"internalType\":\"uint64\",\"name\":\"nonce\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"approveAdminTemplateId\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"rejectAdminTemplateId\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"approveSignTemplateId\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"rejectSignTemplateId\",\"type\":\"uint64\"}],\"internalType\":\"structSpace\",\"name\":\"space\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"bytes\",\"name\":\"key\",\"type\":\"bytes\"},{\"internalType\":\"uint64\",\"name\":\"offset\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"limit\",\"type\":\"uint64\"},{\"internalType\":\"bool\",\"name\":\"countTotal\",\"type\":\"bool\"},{\"internalType\":\"bool\",\"name\":\"reverse\",\"type\":\"bool\"}],\"internalType\":\"structTypes.PageRequest\",\"name\":\"pageRequest\",\"type\":\"tuple\"}],\"name\":\"spaces\",\"outputs\":[{\"components\":[{\"internalType\":\"uint64\",\"name\":\"id\",\"type\":\"uint64\"},{\"internalType\":\"address\",\"name\":\"creator\",\"type\":\"address\"},{\"internalType\":\"address[]\",\"name\":\"owners\",\"type\":\"address[]\"},{\"internalType\":\"uint64\",\"name\":\"nonce\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"approveAdminTemplateId\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"rejectAdminTemplateId\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"approveSignTemplateId\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"rejectSignTemplateId\",\"type\":\"uint64\"}],\"internalType\":\"structSpace[]\",\"name\":\"spaces\",\"type\":\"tuple[]\"},{\"components\":[{\"internalType\":\"bytes\",\"name\":\"nextKey\",\"type\":\"bytes\"},{\"internalType\":\"uint64\",\"name\":\"total\",\"type\":\"uint64\"}],\"internalType\":\"structTypes.PageResponse\",\"name\":\"pageResponse\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"bytes\",\"name\":\"key\",\"type\":\"bytes\"},{\"internalType\":\"uint64\",\"name\":\"offset\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"limit\",\"type\":\"uint64\"},{\"internalType\":\"bool\",\"name\":\"countTotal\",\"type\":\"bool\"},{\"internalType\":\"bool\",\"name\":\"reverse\",\"type\":\"bool\"}],\"internalType\":\"structTypes.PageRequest\",\"name\":\"pageRequest\",\"type\":\"tuple\"},{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"name\":\"spacesByOwner\",\"outputs\":[{\"components\":[{\"internalType\":\"uint64\",\"name\":\"id\",\"type\":\"uint64\"},{\"internalType\":\"address\",\"name\":\"creator\",\"type\":\"address\"},{\"internalType\":\"address[]\",\"name\":\"owners\",\"type\":\"address[]\"},{\"internalType\":\"uint64\",\"name\":\"nonce\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"approveAdminTemplateId\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"rejectAdminTemplateId\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"approveSignTemplateId\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"rejectSignTemplateId\",\"type\":\"uint64\"}],\"internalType\":\"structSpace[]\",\"name\":\"spaces\",\"type\":\"tuple[]\"},{\"components\":[{\"internalType\":\"bytes\",\"name\":\"nextKey\",\"type\":\"bytes\"},{\"internalType\":\"uint64\",\"name\":\"total\",\"type\":\"uint64\"}],\"internalType\":\"structTypes.PageResponse\",\"name\":\"pageResponse\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint64\",\"name\":\"keyId\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"approveTemplateId\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"rejectTemplateId\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"actionTimeoutHeight\",\"type\":\"uint64\"},{\"internalType\":\"string\",\"name\":\"expectedApproveExpression\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"expectedRejectExpression\",\"type\":\"string\"}],\"name\":\"updateKey\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"success\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint64\",\"name\":\"keychainId\",\"type\":\"uint64\"},{\"internalType\":\"string\",\"name\":\"name\",\"type\":\"string\"},{\"components\":[{\"components\":[{\"internalType\":\"string\",\"name\":\"denom\",\"type\":\"string\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"internalType\":\"structTypes.Coin[]\",\"name\":\"keyReq\",\"type\":\"tuple[]\"},{\"components\":[{\"internalType\":\"string\",\"name\":\"denom\",\"type\":\"string\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"internalType\":\"structTypes.Coin[]\",\"name\":\"sigReq\",\"type\":\"tuple[]\"}],\"internalType\":\"structKeychainFees\",\"name\":\"keychainFees\",\"type\":\"tuple\"},{\"internalType\":\"string\",\"name\":\"description\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"url\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"keybaseId\",\"type\":\"string\"}],\"name\":\"updateKeychain\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"success\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint64\",\"name\":\"spaceId\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"nonce\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"approveAdminTemplateId\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"rejectAdminTemplateId\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"approveSignTemplateId\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"rejectSignTemplateId\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"actionTimeoutHeight\",\"type\":\"uint64\"},{\"internalType\":\"string\",\"name\":\"expectedApproveExpression\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"expectedRejectExpression\",\"type\":\"string\"}],\"name\":\"updateSpace\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"success\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
}

IWardenMetaData contains all meta data concerning the IWarden contract.

Functions

func LoadABI

func LoadABI() (abi.ABI, error)

LoadABI loads the x/warden ABI from the embedded abi.json file for the x/warden precompile.

Types

type AddressesResponse

type AddressesResponse struct {
	AddressValue common.Address
	AddressType  int32
}

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

type IWarden

type IWarden struct {
	IWardenCaller     // Read-only binding to the contract
	IWardenTransactor // Write-only binding to the contract
	IWardenFilterer   // Log filterer for contract events
}

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

func NewIWarden

func NewIWarden(address common.Address, backend bind.ContractBackend) (*IWarden, error)

NewIWarden creates a new instance of IWarden, bound to a specific deployed contract.

type IWardenAddKeychainAdmin

type IWardenAddKeychainAdmin struct {
	NewAdmin    common.Address
	Id          uint64
	AdminsCount uint64
	Raw         types.Log // Blockchain specific contextual infos
}

IWardenAddKeychainAdmin represents a AddKeychainAdmin event raised by the IWarden contract.

type IWardenAddKeychainAdminIterator

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

IWardenAddKeychainAdminIterator is returned from FilterAddKeychainAdmin and is used to iterate over the raw logs and unpacked data for AddKeychainAdmin events raised by the IWarden contract.

func (*IWardenAddKeychainAdminIterator) Close

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

func (*IWardenAddKeychainAdminIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*IWardenAddKeychainAdminIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type IWardenAddKeychainWriter

type IWardenAddKeychainWriter struct {
	NewWriter    common.Address
	Id           uint64
	WritersCount uint64
	Raw          types.Log // Blockchain specific contextual infos
}

IWardenAddKeychainWriter represents a AddKeychainWriter event raised by the IWarden contract.

type IWardenAddKeychainWriterIterator

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

IWardenAddKeychainWriterIterator is returned from FilterAddKeychainWriter and is used to iterate over the raw logs and unpacked data for AddKeychainWriter events raised by the IWarden contract.

func (*IWardenAddKeychainWriterIterator) Close

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

func (*IWardenAddKeychainWriterIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*IWardenAddKeychainWriterIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type IWardenAddSpaceOwner

type IWardenAddSpaceOwner struct {
	SpaceId  uint64
	NewOwner common.Address
	Raw      types.Log // Blockchain specific contextual infos
}

IWardenAddSpaceOwner represents a AddSpaceOwner event raised by the IWarden contract.

type IWardenAddSpaceOwnerIterator

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

IWardenAddSpaceOwnerIterator is returned from FilterAddSpaceOwner and is used to iterate over the raw logs and unpacked data for AddSpaceOwner events raised by the IWarden contract.

func (*IWardenAddSpaceOwnerIterator) Close

func (it *IWardenAddSpaceOwnerIterator) Close() error

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

func (*IWardenAddSpaceOwnerIterator) Error

func (it *IWardenAddSpaceOwnerIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*IWardenAddSpaceOwnerIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type IWardenCaller

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

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

func NewIWardenCaller

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

NewIWardenCaller creates a new read-only instance of IWarden, bound to a specific deployed contract.

func (*IWardenCaller) AllKeys

func (_IWarden *IWardenCaller) AllKeys(opts *bind.CallOpts, pageRequest TypesPageRequest, deriveAddresses []int32) (struct {
	Keys         []KeyResponse
	PageResponse TypesPageResponse
}, error)

AllKeys is a free data retrieval call binding the contract method 0xed65c53c.

Solidity: function allKeys((bytes,uint64,uint64,bool,bool) pageRequest, int32[] deriveAddresses) view returns(((uint64,uint64,uint64,int32,bytes,uint64,uint64),(address,int32)[])[] keys, (bytes,uint64) pageResponse)

func (*IWardenCaller) KeyById

func (_IWarden *IWardenCaller) KeyById(opts *bind.CallOpts, id uint64, deriveAddresses []int32) (KeyResponse, error)

KeyById is a free data retrieval call binding the contract method 0x338c1f51.

Solidity: function keyById(uint64 id, int32[] deriveAddresses) view returns(((uint64,uint64,uint64,int32,bytes,uint64,uint64),(address,int32)[]) key)

func (*IWardenCaller) KeyRequestById

func (_IWarden *IWardenCaller) KeyRequestById(opts *bind.CallOpts, id uint64) (KeyRequest, error)

KeyRequestById is a free data retrieval call binding the contract method 0x69964bd6.

Solidity: function keyRequestById(uint64 id) view returns((uint64,address,uint64,uint64,int32,int32,string,uint64,uint64,(string,uint256)[]) keyRequest)

func (*IWardenCaller) KeyRequests

func (_IWarden *IWardenCaller) KeyRequests(opts *bind.CallOpts, pageRequest TypesPageRequest, keychainId uint64, status int32, spaceId uint64) (struct {
	KeyRequests  []KeyRequest
	PageResponse TypesPageResponse
}, error)

KeyRequests is a free data retrieval call binding the contract method 0x40710374.

Solidity: function keyRequests((bytes,uint64,uint64,bool,bool) pageRequest, uint64 keychainId, int32 status, uint64 spaceId) view returns((uint64,address,uint64,uint64,int32,int32,string,uint64,uint64,(string,uint256)[])[] keyRequests, (bytes,uint64) pageResponse)

func (*IWardenCaller) KeychainById

func (_IWarden *IWardenCaller) KeychainById(opts *bind.CallOpts, id uint64) (Keychain, error)

KeychainById is a free data retrieval call binding the contract method 0xba664dc2.

Solidity: function keychainById(uint64 id) view returns((uint64,address,string,address[],address[],((string,uint256)[],(string,uint256)[]),string,string,string) keychain)

func (*IWardenCaller) Keychains

func (_IWarden *IWardenCaller) Keychains(opts *bind.CallOpts, pageRequest TypesPageRequest) (struct {
	Keychains    []Keychain
	PageResponse TypesPageResponse
}, error)

Keychains is a free data retrieval call binding the contract method 0x7e5a6446.

Solidity: function keychains((bytes,uint64,uint64,bool,bool) pageRequest) view returns((uint64,address,string,address[],address[],((string,uint256)[],(string,uint256)[]),string,string,string)[] keychains, (bytes,uint64) pageResponse)

func (*IWardenCaller) KeysBySpaceId

func (_IWarden *IWardenCaller) KeysBySpaceId(opts *bind.CallOpts, pageRequest TypesPageRequest, spaceId uint64, deriveAddresses []int32) (struct {
	Keys         []KeyResponse
	PageResponse TypesPageResponse
}, error)

KeysBySpaceId is a free data retrieval call binding the contract method 0x8f6c0508.

Solidity: function keysBySpaceId((bytes,uint64,uint64,bool,bool) pageRequest, uint64 spaceId, int32[] deriveAddresses) view returns(((uint64,uint64,uint64,int32,bytes,uint64,uint64),(address,int32)[])[] keys, (bytes,uint64) pageResponse)

func (*IWardenCaller) SignRequestById

func (_IWarden *IWardenCaller) SignRequestById(opts *bind.CallOpts, id uint64) (SignRequest, error)

SignRequestById is a free data retrieval call binding the contract method 0xa657df94.

Solidity: function signRequestById(uint64 id) view returns((uint64,address,uint64,bytes,int32,bytes,bytes,(string,uint256)[]) signRequest)

func (*IWardenCaller) SignRequests

func (_IWarden *IWardenCaller) SignRequests(opts *bind.CallOpts, pageRequest TypesPageRequest, keychainId uint64, status int32) (struct {
	SignRequests []SignRequest
	PageResponse TypesPageResponse
}, error)

SignRequests is a free data retrieval call binding the contract method 0x1335dc4a.

Solidity: function signRequests((bytes,uint64,uint64,bool,bool) pageRequest, uint64 keychainId, int32 status) view returns((uint64,address,uint64,bytes,int32,bytes,bytes,(string,uint256)[])[] signRequests, (bytes,uint64) pageResponse)

func (*IWardenCaller) SpaceById

func (_IWarden *IWardenCaller) SpaceById(opts *bind.CallOpts, id uint64) (Space, error)

SpaceById is a free data retrieval call binding the contract method 0xe4c1fc79.

Solidity: function spaceById(uint64 id) view returns((uint64,address,address[],uint64,uint64,uint64,uint64,uint64) space)

func (*IWardenCaller) Spaces

func (_IWarden *IWardenCaller) Spaces(opts *bind.CallOpts, pageRequest TypesPageRequest) (struct {
	Spaces       []Space
	PageResponse TypesPageResponse
}, error)

Spaces is a free data retrieval call binding the contract method 0x5f73892e.

Solidity: function spaces((bytes,uint64,uint64,bool,bool) pageRequest) view returns((uint64,address,address[],uint64,uint64,uint64,uint64,uint64)[] spaces, (bytes,uint64) pageResponse)

func (*IWardenCaller) SpacesByOwner

func (_IWarden *IWardenCaller) SpacesByOwner(opts *bind.CallOpts, pageRequest TypesPageRequest, owner common.Address) (struct {
	Spaces       []Space
	PageResponse TypesPageResponse
}, error)

SpacesByOwner is a free data retrieval call binding the contract method 0x88cd3f61.

Solidity: function spacesByOwner((bytes,uint64,uint64,bool,bool) pageRequest, address owner) view returns((uint64,address,address[],uint64,uint64,uint64,uint64,uint64)[] spaces, (bytes,uint64) pageResponse)

type IWardenCallerRaw

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

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

func (*IWardenCallerRaw) Call

func (_IWarden *IWardenCallerRaw) 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 IWardenCallerSession

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

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

func (*IWardenCallerSession) AllKeys

func (_IWarden *IWardenCallerSession) AllKeys(pageRequest TypesPageRequest, deriveAddresses []int32) (struct {
	Keys         []KeyResponse
	PageResponse TypesPageResponse
}, error)

AllKeys is a free data retrieval call binding the contract method 0xed65c53c.

Solidity: function allKeys((bytes,uint64,uint64,bool,bool) pageRequest, int32[] deriveAddresses) view returns(((uint64,uint64,uint64,int32,bytes,uint64,uint64),(address,int32)[])[] keys, (bytes,uint64) pageResponse)

func (*IWardenCallerSession) KeyById

func (_IWarden *IWardenCallerSession) KeyById(id uint64, deriveAddresses []int32) (KeyResponse, error)

KeyById is a free data retrieval call binding the contract method 0x338c1f51.

Solidity: function keyById(uint64 id, int32[] deriveAddresses) view returns(((uint64,uint64,uint64,int32,bytes,uint64,uint64),(address,int32)[]) key)

func (*IWardenCallerSession) KeyRequestById

func (_IWarden *IWardenCallerSession) KeyRequestById(id uint64) (KeyRequest, error)

KeyRequestById is a free data retrieval call binding the contract method 0x69964bd6.

Solidity: function keyRequestById(uint64 id) view returns((uint64,address,uint64,uint64,int32,int32,string,uint64,uint64,(string,uint256)[]) keyRequest)

func (*IWardenCallerSession) KeyRequests

func (_IWarden *IWardenCallerSession) KeyRequests(pageRequest TypesPageRequest, keychainId uint64, status int32, spaceId uint64) (struct {
	KeyRequests  []KeyRequest
	PageResponse TypesPageResponse
}, error)

KeyRequests is a free data retrieval call binding the contract method 0x40710374.

Solidity: function keyRequests((bytes,uint64,uint64,bool,bool) pageRequest, uint64 keychainId, int32 status, uint64 spaceId) view returns((uint64,address,uint64,uint64,int32,int32,string,uint64,uint64,(string,uint256)[])[] keyRequests, (bytes,uint64) pageResponse)

func (*IWardenCallerSession) KeychainById

func (_IWarden *IWardenCallerSession) KeychainById(id uint64) (Keychain, error)

KeychainById is a free data retrieval call binding the contract method 0xba664dc2.

Solidity: function keychainById(uint64 id) view returns((uint64,address,string,address[],address[],((string,uint256)[],(string,uint256)[]),string,string,string) keychain)

func (*IWardenCallerSession) Keychains

func (_IWarden *IWardenCallerSession) Keychains(pageRequest TypesPageRequest) (struct {
	Keychains    []Keychain
	PageResponse TypesPageResponse
}, error)

Keychains is a free data retrieval call binding the contract method 0x7e5a6446.

Solidity: function keychains((bytes,uint64,uint64,bool,bool) pageRequest) view returns((uint64,address,string,address[],address[],((string,uint256)[],(string,uint256)[]),string,string,string)[] keychains, (bytes,uint64) pageResponse)

func (*IWardenCallerSession) KeysBySpaceId

func (_IWarden *IWardenCallerSession) KeysBySpaceId(pageRequest TypesPageRequest, spaceId uint64, deriveAddresses []int32) (struct {
	Keys         []KeyResponse
	PageResponse TypesPageResponse
}, error)

KeysBySpaceId is a free data retrieval call binding the contract method 0x8f6c0508.

Solidity: function keysBySpaceId((bytes,uint64,uint64,bool,bool) pageRequest, uint64 spaceId, int32[] deriveAddresses) view returns(((uint64,uint64,uint64,int32,bytes,uint64,uint64),(address,int32)[])[] keys, (bytes,uint64) pageResponse)

func (*IWardenCallerSession) SignRequestById

func (_IWarden *IWardenCallerSession) SignRequestById(id uint64) (SignRequest, error)

SignRequestById is a free data retrieval call binding the contract method 0xa657df94.

Solidity: function signRequestById(uint64 id) view returns((uint64,address,uint64,bytes,int32,bytes,bytes,(string,uint256)[]) signRequest)

func (*IWardenCallerSession) SignRequests

func (_IWarden *IWardenCallerSession) SignRequests(pageRequest TypesPageRequest, keychainId uint64, status int32) (struct {
	SignRequests []SignRequest
	PageResponse TypesPageResponse
}, error)

SignRequests is a free data retrieval call binding the contract method 0x1335dc4a.

Solidity: function signRequests((bytes,uint64,uint64,bool,bool) pageRequest, uint64 keychainId, int32 status) view returns((uint64,address,uint64,bytes,int32,bytes,bytes,(string,uint256)[])[] signRequests, (bytes,uint64) pageResponse)

func (*IWardenCallerSession) SpaceById

func (_IWarden *IWardenCallerSession) SpaceById(id uint64) (Space, error)

SpaceById is a free data retrieval call binding the contract method 0xe4c1fc79.

Solidity: function spaceById(uint64 id) view returns((uint64,address,address[],uint64,uint64,uint64,uint64,uint64) space)

func (*IWardenCallerSession) Spaces

func (_IWarden *IWardenCallerSession) Spaces(pageRequest TypesPageRequest) (struct {
	Spaces       []Space
	PageResponse TypesPageResponse
}, error)

Spaces is a free data retrieval call binding the contract method 0x5f73892e.

Solidity: function spaces((bytes,uint64,uint64,bool,bool) pageRequest) view returns((uint64,address,address[],uint64,uint64,uint64,uint64,uint64)[] spaces, (bytes,uint64) pageResponse)

func (*IWardenCallerSession) SpacesByOwner

func (_IWarden *IWardenCallerSession) SpacesByOwner(pageRequest TypesPageRequest, owner common.Address) (struct {
	Spaces       []Space
	PageResponse TypesPageResponse
}, error)

SpacesByOwner is a free data retrieval call binding the contract method 0x88cd3f61.

Solidity: function spacesByOwner((bytes,uint64,uint64,bool,bool) pageRequest, address owner) view returns((uint64,address,address[],uint64,uint64,uint64,uint64,uint64)[] spaces, (bytes,uint64) pageResponse)

type IWardenFilterer

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

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

func NewIWardenFilterer

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

NewIWardenFilterer creates a new log filterer instance of IWarden, bound to a specific deployed contract.

func (*IWardenFilterer) FilterAddKeychainAdmin

func (_IWarden *IWardenFilterer) FilterAddKeychainAdmin(opts *bind.FilterOpts, id []uint64) (*IWardenAddKeychainAdminIterator, error)

FilterAddKeychainAdmin is a free log retrieval operation binding the contract event 0x363238dc5ee3ed860e5599b2698d2f74510cedfe6ed9a27eacef2fe5cc46763e.

Solidity: event AddKeychainAdmin(address newAdmin, uint64 indexed id, uint64 adminsCount)

func (*IWardenFilterer) FilterAddKeychainWriter

func (_IWarden *IWardenFilterer) FilterAddKeychainWriter(opts *bind.FilterOpts, id []uint64) (*IWardenAddKeychainWriterIterator, error)

FilterAddKeychainWriter is a free log retrieval operation binding the contract event 0x95209db0173d4ee88ed6a251e6c008e9ef15b765625418c7731c2dad6ba8d008.

Solidity: event AddKeychainWriter(address newWriter, uint64 indexed id, uint64 writersCount)

func (*IWardenFilterer) FilterAddSpaceOwner

func (_IWarden *IWardenFilterer) FilterAddSpaceOwner(opts *bind.FilterOpts, spaceId []uint64) (*IWardenAddSpaceOwnerIterator, error)

FilterAddSpaceOwner is a free log retrieval operation binding the contract event 0xd5c3b534a5d56cb3bbc8563d5195f83014ec36c258ee04f7add5f4c7518da28b.

Solidity: event AddSpaceOwner(uint64 indexed spaceId, address newOwner)

func (*IWardenFilterer) FilterFulfilSignRequest

func (_IWarden *IWardenFilterer) FilterFulfilSignRequest(opts *bind.FilterOpts, id []uint64) (*IWardenFulfilSignRequestIterator, error)

FilterFulfilSignRequest is a free log retrieval operation binding the contract event 0x4d8a43263e214628c121391980488d29777a4d0160d73b07accb564be2a8db44.

Solidity: event FulfilSignRequest(uint64 indexed id)

func (*IWardenFilterer) FilterNewKey

func (_IWarden *IWardenFilterer) FilterNewKey(opts *bind.FilterOpts, id []uint64) (*IWardenNewKeyIterator, error)

FilterNewKey is a free log retrieval operation binding the contract event 0xdbf5c0202f94c1bcf43c3341f2a11bd8497c01c9d9406435b3017dad2a3f95b3.

Solidity: event NewKey(uint64 indexed id, int32 keyType, uint64 spaceId, uint64 keychainId, uint64 approveTemplateId, uint64 rejectTemplateId)

func (*IWardenFilterer) FilterNewKeyRequest

func (_IWarden *IWardenFilterer) FilterNewKeyRequest(opts *bind.FilterOpts, id []uint64) (*IWardenNewKeyRequestIterator, error)

FilterNewKeyRequest is a free log retrieval operation binding the contract event 0xac8bd313e734c94dfb2ebe4e42d211d311c4106025a2c6002955c3f8dd593733.

Solidity: event NewKeyRequest(uint64 indexed id, uint64 spaceId, uint64 keychainId, uint64 approveTemplateId, uint64 rejectTemplateId, uint8 keyType, address creator)

func (*IWardenFilterer) FilterNewKeychain

func (_IWarden *IWardenFilterer) FilterNewKeychain(opts *bind.FilterOpts, id []uint64) (*IWardenNewKeychainIterator, error)

FilterNewKeychain is a free log retrieval operation binding the contract event 0xbf4749d4199931cc72db43a71a673c8a5d90a98fedbea9c172788448b61a8f8d.

Solidity: event NewKeychain(uint64 indexed id, address creator)

func (*IWardenFilterer) FilterNewSignRequest

func (_IWarden *IWardenFilterer) FilterNewSignRequest(opts *bind.FilterOpts, id []uint64) (*IWardenNewSignRequestIterator, error)

FilterNewSignRequest is a free log retrieval operation binding the contract event 0x6e0399ca97e79740e79af953a3dd27eec025aa664328e6ff9c5e9793e45410e9.

Solidity: event NewSignRequest(uint64 indexed id, uint64 keyId, address creator)

func (*IWardenFilterer) FilterNewSpace

func (_IWarden *IWardenFilterer) FilterNewSpace(opts *bind.FilterOpts, id []uint64) (*IWardenNewSpaceIterator, error)

FilterNewSpace is a free log retrieval operation binding the contract event 0x1d673e16d9a82fd9a44a946aea320be2cdc951dc51ecb22fbde2396d9c49b4a7.

Solidity: event NewSpace(uint64 indexed id, address creator, uint64 ownersCount, uint64 approveAdminTemplateId, uint64 rejectAdminTemplateId, uint64 approveSignTemplateId, uint64 rejectSignTemplateId)

func (*IWardenFilterer) FilterRejectKeyRequest

func (_IWarden *IWardenFilterer) FilterRejectKeyRequest(opts *bind.FilterOpts, id []uint64) (*IWardenRejectKeyRequestIterator, error)

FilterRejectKeyRequest is a free log retrieval operation binding the contract event 0xeb94cbafda4c7f6a07cd1d92397097ac757e494d72e3e3cabb3c618ca559a720.

Solidity: event RejectKeyRequest(uint64 indexed id)

func (*IWardenFilterer) FilterRejectSignRequest

func (_IWarden *IWardenFilterer) FilterRejectSignRequest(opts *bind.FilterOpts, id []uint64) (*IWardenRejectSignRequestIterator, error)

FilterRejectSignRequest is a free log retrieval operation binding the contract event 0x9876fe372fa159e1ec936e70ab5196b67d4f8ea9b99022ea49f9e3770237e205.

Solidity: event RejectSignRequest(uint64 indexed id)

func (*IWardenFilterer) FilterRemoveKeychainAdmin

func (_IWarden *IWardenFilterer) FilterRemoveKeychainAdmin(opts *bind.FilterOpts, keychainId []uint64) (*IWardenRemoveKeychainAdminIterator, error)

FilterRemoveKeychainAdmin is a free log retrieval operation binding the contract event 0x8e8e92a5097448dcaea8690cf868dc7bdab4f7d72cff973706bb57a6d15ba681.

Solidity: event RemoveKeychainAdmin(uint64 indexed keychainId, address admin, uint64 adminsCount)

func (*IWardenFilterer) FilterRemoveSpaceOwner

func (_IWarden *IWardenFilterer) FilterRemoveSpaceOwner(opts *bind.FilterOpts, spaceId []uint64) (*IWardenRemoveSpaceOwnerIterator, error)

FilterRemoveSpaceOwner is a free log retrieval operation binding the contract event 0xfe361f4258d2e824c88b5eff2a6158a8195a8e287d5ed09535d5c682af00de56.

Solidity: event RemoveSpaceOwner(uint64 indexed spaceId, address removedOwner)

func (*IWardenFilterer) FilterUpdateKey

func (_IWarden *IWardenFilterer) FilterUpdateKey(opts *bind.FilterOpts, id []uint64) (*IWardenUpdateKeyIterator, error)

FilterUpdateKey is a free log retrieval operation binding the contract event 0x9a8c43b6ec36deb25cf6dab899dda357fa9d946a014ff68363773222e83467f2.

Solidity: event UpdateKey(uint64 indexed id, uint64 approveTemplateId, uint64 rejectTemplateId)

func (*IWardenFilterer) FilterUpdateKeychain

func (_IWarden *IWardenFilterer) FilterUpdateKeychain(opts *bind.FilterOpts, id []uint64) (*IWardenUpdateKeychainIterator, error)

FilterUpdateKeychain is a free log retrieval operation binding the contract event 0x66076723d87c639e1336db5ad634dc4108ca17079e7352fe66e06067c453b8b0.

Solidity: event UpdateKeychain(uint64 indexed id, ((string,uint256)[],(string,uint256)[]) keychainFees)

func (*IWardenFilterer) FilterUpdateSpace

func (_IWarden *IWardenFilterer) FilterUpdateSpace(opts *bind.FilterOpts, space_id []uint64) (*IWardenUpdateSpaceIterator, error)

FilterUpdateSpace is a free log retrieval operation binding the contract event 0xacab71b9a81541b5ce6900189882a3a6ee548e353e6644143c3b919924c0ac69.

Solidity: event UpdateSpace(uint64 indexed space_id, uint64 approveAdminTemplateId, uint64 rejectAdminTemplateId, uint64 approveSignTemplateId, uint64 rejectSignTemplateId)

func (*IWardenFilterer) ParseAddKeychainAdmin

func (_IWarden *IWardenFilterer) ParseAddKeychainAdmin(log types.Log) (*IWardenAddKeychainAdmin, error)

ParseAddKeychainAdmin is a log parse operation binding the contract event 0x363238dc5ee3ed860e5599b2698d2f74510cedfe6ed9a27eacef2fe5cc46763e.

Solidity: event AddKeychainAdmin(address newAdmin, uint64 indexed id, uint64 adminsCount)

func (*IWardenFilterer) ParseAddKeychainWriter

func (_IWarden *IWardenFilterer) ParseAddKeychainWriter(log types.Log) (*IWardenAddKeychainWriter, error)

ParseAddKeychainWriter is a log parse operation binding the contract event 0x95209db0173d4ee88ed6a251e6c008e9ef15b765625418c7731c2dad6ba8d008.

Solidity: event AddKeychainWriter(address newWriter, uint64 indexed id, uint64 writersCount)

func (*IWardenFilterer) ParseAddSpaceOwner

func (_IWarden *IWardenFilterer) ParseAddSpaceOwner(log types.Log) (*IWardenAddSpaceOwner, error)

ParseAddSpaceOwner is a log parse operation binding the contract event 0xd5c3b534a5d56cb3bbc8563d5195f83014ec36c258ee04f7add5f4c7518da28b.

Solidity: event AddSpaceOwner(uint64 indexed spaceId, address newOwner)

func (*IWardenFilterer) ParseFulfilSignRequest

func (_IWarden *IWardenFilterer) ParseFulfilSignRequest(log types.Log) (*IWardenFulfilSignRequest, error)

ParseFulfilSignRequest is a log parse operation binding the contract event 0x4d8a43263e214628c121391980488d29777a4d0160d73b07accb564be2a8db44.

Solidity: event FulfilSignRequest(uint64 indexed id)

func (*IWardenFilterer) ParseNewKey

func (_IWarden *IWardenFilterer) ParseNewKey(log types.Log) (*IWardenNewKey, error)

ParseNewKey is a log parse operation binding the contract event 0xdbf5c0202f94c1bcf43c3341f2a11bd8497c01c9d9406435b3017dad2a3f95b3.

Solidity: event NewKey(uint64 indexed id, int32 keyType, uint64 spaceId, uint64 keychainId, uint64 approveTemplateId, uint64 rejectTemplateId)

func (*IWardenFilterer) ParseNewKeyRequest

func (_IWarden *IWardenFilterer) ParseNewKeyRequest(log types.Log) (*IWardenNewKeyRequest, error)

ParseNewKeyRequest is a log parse operation binding the contract event 0xac8bd313e734c94dfb2ebe4e42d211d311c4106025a2c6002955c3f8dd593733.

Solidity: event NewKeyRequest(uint64 indexed id, uint64 spaceId, uint64 keychainId, uint64 approveTemplateId, uint64 rejectTemplateId, uint8 keyType, address creator)

func (*IWardenFilterer) ParseNewKeychain

func (_IWarden *IWardenFilterer) ParseNewKeychain(log types.Log) (*IWardenNewKeychain, error)

ParseNewKeychain is a log parse operation binding the contract event 0xbf4749d4199931cc72db43a71a673c8a5d90a98fedbea9c172788448b61a8f8d.

Solidity: event NewKeychain(uint64 indexed id, address creator)

func (*IWardenFilterer) ParseNewSignRequest

func (_IWarden *IWardenFilterer) ParseNewSignRequest(log types.Log) (*IWardenNewSignRequest, error)

ParseNewSignRequest is a log parse operation binding the contract event 0x6e0399ca97e79740e79af953a3dd27eec025aa664328e6ff9c5e9793e45410e9.

Solidity: event NewSignRequest(uint64 indexed id, uint64 keyId, address creator)

func (*IWardenFilterer) ParseNewSpace

func (_IWarden *IWardenFilterer) ParseNewSpace(log types.Log) (*IWardenNewSpace, error)

ParseNewSpace is a log parse operation binding the contract event 0x1d673e16d9a82fd9a44a946aea320be2cdc951dc51ecb22fbde2396d9c49b4a7.

Solidity: event NewSpace(uint64 indexed id, address creator, uint64 ownersCount, uint64 approveAdminTemplateId, uint64 rejectAdminTemplateId, uint64 approveSignTemplateId, uint64 rejectSignTemplateId)

func (*IWardenFilterer) ParseRejectKeyRequest

func (_IWarden *IWardenFilterer) ParseRejectKeyRequest(log types.Log) (*IWardenRejectKeyRequest, error)

ParseRejectKeyRequest is a log parse operation binding the contract event 0xeb94cbafda4c7f6a07cd1d92397097ac757e494d72e3e3cabb3c618ca559a720.

Solidity: event RejectKeyRequest(uint64 indexed id)

func (*IWardenFilterer) ParseRejectSignRequest

func (_IWarden *IWardenFilterer) ParseRejectSignRequest(log types.Log) (*IWardenRejectSignRequest, error)

ParseRejectSignRequest is a log parse operation binding the contract event 0x9876fe372fa159e1ec936e70ab5196b67d4f8ea9b99022ea49f9e3770237e205.

Solidity: event RejectSignRequest(uint64 indexed id)

func (*IWardenFilterer) ParseRemoveKeychainAdmin

func (_IWarden *IWardenFilterer) ParseRemoveKeychainAdmin(log types.Log) (*IWardenRemoveKeychainAdmin, error)

ParseRemoveKeychainAdmin is a log parse operation binding the contract event 0x8e8e92a5097448dcaea8690cf868dc7bdab4f7d72cff973706bb57a6d15ba681.

Solidity: event RemoveKeychainAdmin(uint64 indexed keychainId, address admin, uint64 adminsCount)

func (*IWardenFilterer) ParseRemoveSpaceOwner

func (_IWarden *IWardenFilterer) ParseRemoveSpaceOwner(log types.Log) (*IWardenRemoveSpaceOwner, error)

ParseRemoveSpaceOwner is a log parse operation binding the contract event 0xfe361f4258d2e824c88b5eff2a6158a8195a8e287d5ed09535d5c682af00de56.

Solidity: event RemoveSpaceOwner(uint64 indexed spaceId, address removedOwner)

func (*IWardenFilterer) ParseUpdateKey

func (_IWarden *IWardenFilterer) ParseUpdateKey(log types.Log) (*IWardenUpdateKey, error)

ParseUpdateKey is a log parse operation binding the contract event 0x9a8c43b6ec36deb25cf6dab899dda357fa9d946a014ff68363773222e83467f2.

Solidity: event UpdateKey(uint64 indexed id, uint64 approveTemplateId, uint64 rejectTemplateId)

func (*IWardenFilterer) ParseUpdateKeychain

func (_IWarden *IWardenFilterer) ParseUpdateKeychain(log types.Log) (*IWardenUpdateKeychain, error)

ParseUpdateKeychain is a log parse operation binding the contract event 0x66076723d87c639e1336db5ad634dc4108ca17079e7352fe66e06067c453b8b0.

Solidity: event UpdateKeychain(uint64 indexed id, ((string,uint256)[],(string,uint256)[]) keychainFees)

func (*IWardenFilterer) ParseUpdateSpace

func (_IWarden *IWardenFilterer) ParseUpdateSpace(log types.Log) (*IWardenUpdateSpace, error)

ParseUpdateSpace is a log parse operation binding the contract event 0xacab71b9a81541b5ce6900189882a3a6ee548e353e6644143c3b919924c0ac69.

Solidity: event UpdateSpace(uint64 indexed space_id, uint64 approveAdminTemplateId, uint64 rejectAdminTemplateId, uint64 approveSignTemplateId, uint64 rejectSignTemplateId)

func (*IWardenFilterer) WatchAddKeychainAdmin

func (_IWarden *IWardenFilterer) WatchAddKeychainAdmin(opts *bind.WatchOpts, sink chan<- *IWardenAddKeychainAdmin, id []uint64) (event.Subscription, error)

WatchAddKeychainAdmin is a free log subscription operation binding the contract event 0x363238dc5ee3ed860e5599b2698d2f74510cedfe6ed9a27eacef2fe5cc46763e.

Solidity: event AddKeychainAdmin(address newAdmin, uint64 indexed id, uint64 adminsCount)

func (*IWardenFilterer) WatchAddKeychainWriter

func (_IWarden *IWardenFilterer) WatchAddKeychainWriter(opts *bind.WatchOpts, sink chan<- *IWardenAddKeychainWriter, id []uint64) (event.Subscription, error)

WatchAddKeychainWriter is a free log subscription operation binding the contract event 0x95209db0173d4ee88ed6a251e6c008e9ef15b765625418c7731c2dad6ba8d008.

Solidity: event AddKeychainWriter(address newWriter, uint64 indexed id, uint64 writersCount)

func (*IWardenFilterer) WatchAddSpaceOwner

func (_IWarden *IWardenFilterer) WatchAddSpaceOwner(opts *bind.WatchOpts, sink chan<- *IWardenAddSpaceOwner, spaceId []uint64) (event.Subscription, error)

WatchAddSpaceOwner is a free log subscription operation binding the contract event 0xd5c3b534a5d56cb3bbc8563d5195f83014ec36c258ee04f7add5f4c7518da28b.

Solidity: event AddSpaceOwner(uint64 indexed spaceId, address newOwner)

func (*IWardenFilterer) WatchFulfilSignRequest

func (_IWarden *IWardenFilterer) WatchFulfilSignRequest(opts *bind.WatchOpts, sink chan<- *IWardenFulfilSignRequest, id []uint64) (event.Subscription, error)

WatchFulfilSignRequest is a free log subscription operation binding the contract event 0x4d8a43263e214628c121391980488d29777a4d0160d73b07accb564be2a8db44.

Solidity: event FulfilSignRequest(uint64 indexed id)

func (*IWardenFilterer) WatchNewKey

func (_IWarden *IWardenFilterer) WatchNewKey(opts *bind.WatchOpts, sink chan<- *IWardenNewKey, id []uint64) (event.Subscription, error)

WatchNewKey is a free log subscription operation binding the contract event 0xdbf5c0202f94c1bcf43c3341f2a11bd8497c01c9d9406435b3017dad2a3f95b3.

Solidity: event NewKey(uint64 indexed id, int32 keyType, uint64 spaceId, uint64 keychainId, uint64 approveTemplateId, uint64 rejectTemplateId)

func (*IWardenFilterer) WatchNewKeyRequest

func (_IWarden *IWardenFilterer) WatchNewKeyRequest(opts *bind.WatchOpts, sink chan<- *IWardenNewKeyRequest, id []uint64) (event.Subscription, error)

WatchNewKeyRequest is a free log subscription operation binding the contract event 0xac8bd313e734c94dfb2ebe4e42d211d311c4106025a2c6002955c3f8dd593733.

Solidity: event NewKeyRequest(uint64 indexed id, uint64 spaceId, uint64 keychainId, uint64 approveTemplateId, uint64 rejectTemplateId, uint8 keyType, address creator)

func (*IWardenFilterer) WatchNewKeychain

func (_IWarden *IWardenFilterer) WatchNewKeychain(opts *bind.WatchOpts, sink chan<- *IWardenNewKeychain, id []uint64) (event.Subscription, error)

WatchNewKeychain is a free log subscription operation binding the contract event 0xbf4749d4199931cc72db43a71a673c8a5d90a98fedbea9c172788448b61a8f8d.

Solidity: event NewKeychain(uint64 indexed id, address creator)

func (*IWardenFilterer) WatchNewSignRequest

func (_IWarden *IWardenFilterer) WatchNewSignRequest(opts *bind.WatchOpts, sink chan<- *IWardenNewSignRequest, id []uint64) (event.Subscription, error)

WatchNewSignRequest is a free log subscription operation binding the contract event 0x6e0399ca97e79740e79af953a3dd27eec025aa664328e6ff9c5e9793e45410e9.

Solidity: event NewSignRequest(uint64 indexed id, uint64 keyId, address creator)

func (*IWardenFilterer) WatchNewSpace

func (_IWarden *IWardenFilterer) WatchNewSpace(opts *bind.WatchOpts, sink chan<- *IWardenNewSpace, id []uint64) (event.Subscription, error)

WatchNewSpace is a free log subscription operation binding the contract event 0x1d673e16d9a82fd9a44a946aea320be2cdc951dc51ecb22fbde2396d9c49b4a7.

Solidity: event NewSpace(uint64 indexed id, address creator, uint64 ownersCount, uint64 approveAdminTemplateId, uint64 rejectAdminTemplateId, uint64 approveSignTemplateId, uint64 rejectSignTemplateId)

func (*IWardenFilterer) WatchRejectKeyRequest

func (_IWarden *IWardenFilterer) WatchRejectKeyRequest(opts *bind.WatchOpts, sink chan<- *IWardenRejectKeyRequest, id []uint64) (event.Subscription, error)

WatchRejectKeyRequest is a free log subscription operation binding the contract event 0xeb94cbafda4c7f6a07cd1d92397097ac757e494d72e3e3cabb3c618ca559a720.

Solidity: event RejectKeyRequest(uint64 indexed id)

func (*IWardenFilterer) WatchRejectSignRequest

func (_IWarden *IWardenFilterer) WatchRejectSignRequest(opts *bind.WatchOpts, sink chan<- *IWardenRejectSignRequest, id []uint64) (event.Subscription, error)

WatchRejectSignRequest is a free log subscription operation binding the contract event 0x9876fe372fa159e1ec936e70ab5196b67d4f8ea9b99022ea49f9e3770237e205.

Solidity: event RejectSignRequest(uint64 indexed id)

func (*IWardenFilterer) WatchRemoveKeychainAdmin

func (_IWarden *IWardenFilterer) WatchRemoveKeychainAdmin(opts *bind.WatchOpts, sink chan<- *IWardenRemoveKeychainAdmin, keychainId []uint64) (event.Subscription, error)

WatchRemoveKeychainAdmin is a free log subscription operation binding the contract event 0x8e8e92a5097448dcaea8690cf868dc7bdab4f7d72cff973706bb57a6d15ba681.

Solidity: event RemoveKeychainAdmin(uint64 indexed keychainId, address admin, uint64 adminsCount)

func (*IWardenFilterer) WatchRemoveSpaceOwner

func (_IWarden *IWardenFilterer) WatchRemoveSpaceOwner(opts *bind.WatchOpts, sink chan<- *IWardenRemoveSpaceOwner, spaceId []uint64) (event.Subscription, error)

WatchRemoveSpaceOwner is a free log subscription operation binding the contract event 0xfe361f4258d2e824c88b5eff2a6158a8195a8e287d5ed09535d5c682af00de56.

Solidity: event RemoveSpaceOwner(uint64 indexed spaceId, address removedOwner)

func (*IWardenFilterer) WatchUpdateKey

func (_IWarden *IWardenFilterer) WatchUpdateKey(opts *bind.WatchOpts, sink chan<- *IWardenUpdateKey, id []uint64) (event.Subscription, error)

WatchUpdateKey is a free log subscription operation binding the contract event 0x9a8c43b6ec36deb25cf6dab899dda357fa9d946a014ff68363773222e83467f2.

Solidity: event UpdateKey(uint64 indexed id, uint64 approveTemplateId, uint64 rejectTemplateId)

func (*IWardenFilterer) WatchUpdateKeychain

func (_IWarden *IWardenFilterer) WatchUpdateKeychain(opts *bind.WatchOpts, sink chan<- *IWardenUpdateKeychain, id []uint64) (event.Subscription, error)

WatchUpdateKeychain is a free log subscription operation binding the contract event 0x66076723d87c639e1336db5ad634dc4108ca17079e7352fe66e06067c453b8b0.

Solidity: event UpdateKeychain(uint64 indexed id, ((string,uint256)[],(string,uint256)[]) keychainFees)

func (*IWardenFilterer) WatchUpdateSpace

func (_IWarden *IWardenFilterer) WatchUpdateSpace(opts *bind.WatchOpts, sink chan<- *IWardenUpdateSpace, space_id []uint64) (event.Subscription, error)

WatchUpdateSpace is a free log subscription operation binding the contract event 0xacab71b9a81541b5ce6900189882a3a6ee548e353e6644143c3b919924c0ac69.

Solidity: event UpdateSpace(uint64 indexed space_id, uint64 approveAdminTemplateId, uint64 rejectAdminTemplateId, uint64 approveSignTemplateId, uint64 rejectSignTemplateId)

type IWardenFulfilSignRequest

type IWardenFulfilSignRequest struct {
	Id  uint64
	Raw types.Log // Blockchain specific contextual infos
}

IWardenFulfilSignRequest represents a FulfilSignRequest event raised by the IWarden contract.

type IWardenFulfilSignRequestIterator

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

IWardenFulfilSignRequestIterator is returned from FilterFulfilSignRequest and is used to iterate over the raw logs and unpacked data for FulfilSignRequest events raised by the IWarden contract.

func (*IWardenFulfilSignRequestIterator) Close

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

func (*IWardenFulfilSignRequestIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*IWardenFulfilSignRequestIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type IWardenNewKey

type IWardenNewKey struct {
	Id                uint64
	KeyType           int32
	SpaceId           uint64
	KeychainId        uint64
	ApproveTemplateId uint64
	RejectTemplateId  uint64
	Raw               types.Log // Blockchain specific contextual infos
}

IWardenNewKey represents a NewKey event raised by the IWarden contract.

type IWardenNewKeyIterator

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

IWardenNewKeyIterator is returned from FilterNewKey and is used to iterate over the raw logs and unpacked data for NewKey events raised by the IWarden contract.

func (*IWardenNewKeyIterator) Close

func (it *IWardenNewKeyIterator) Close() error

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

func (*IWardenNewKeyIterator) Error

func (it *IWardenNewKeyIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*IWardenNewKeyIterator) Next

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

type IWardenNewKeyRequest struct {
	Id                uint64
	SpaceId           uint64
	KeychainId        uint64
	ApproveTemplateId uint64
	RejectTemplateId  uint64
	KeyType           uint8
	Creator           common.Address
	Raw               types.Log // Blockchain specific contextual infos
}

IWardenNewKeyRequest represents a NewKeyRequest event raised by the IWarden contract.

type IWardenNewKeyRequestIterator

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

IWardenNewKeyRequestIterator is returned from FilterNewKeyRequest and is used to iterate over the raw logs and unpacked data for NewKeyRequest events raised by the IWarden contract.

func (*IWardenNewKeyRequestIterator) Close

func (it *IWardenNewKeyRequestIterator) Close() error

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

func (*IWardenNewKeyRequestIterator) Error

func (it *IWardenNewKeyRequestIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*IWardenNewKeyRequestIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type IWardenNewKeychain

type IWardenNewKeychain struct {
	Id      uint64
	Creator common.Address
	Raw     types.Log // Blockchain specific contextual infos
}

IWardenNewKeychain represents a NewKeychain event raised by the IWarden contract.

type IWardenNewKeychainIterator

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

IWardenNewKeychainIterator is returned from FilterNewKeychain and is used to iterate over the raw logs and unpacked data for NewKeychain events raised by the IWarden contract.

func (*IWardenNewKeychainIterator) Close

func (it *IWardenNewKeychainIterator) Close() error

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

func (*IWardenNewKeychainIterator) Error

func (it *IWardenNewKeychainIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*IWardenNewKeychainIterator) Next

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

type IWardenNewSignRequest struct {
	Id      uint64
	KeyId   uint64
	Creator common.Address
	Raw     types.Log // Blockchain specific contextual infos
}

IWardenNewSignRequest represents a NewSignRequest event raised by the IWarden contract.

type IWardenNewSignRequestIterator

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

IWardenNewSignRequestIterator is returned from FilterNewSignRequest and is used to iterate over the raw logs and unpacked data for NewSignRequest events raised by the IWarden contract.

func (*IWardenNewSignRequestIterator) Close

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

func (*IWardenNewSignRequestIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*IWardenNewSignRequestIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type IWardenNewSpace

type IWardenNewSpace struct {
	Id                     uint64
	Creator                common.Address
	OwnersCount            uint64
	ApproveAdminTemplateId uint64
	RejectAdminTemplateId  uint64
	ApproveSignTemplateId  uint64
	RejectSignTemplateId   uint64
	Raw                    types.Log // Blockchain specific contextual infos
}

IWardenNewSpace represents a NewSpace event raised by the IWarden contract.

type IWardenNewSpaceIterator

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

IWardenNewSpaceIterator is returned from FilterNewSpace and is used to iterate over the raw logs and unpacked data for NewSpace events raised by the IWarden contract.

func (*IWardenNewSpaceIterator) Close

func (it *IWardenNewSpaceIterator) Close() error

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

func (*IWardenNewSpaceIterator) Error

func (it *IWardenNewSpaceIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*IWardenNewSpaceIterator) Next

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

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

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

func (*IWardenRaw) Call

func (_IWarden *IWardenRaw) 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 (*IWardenRaw) Transact

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

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

func (*IWardenRaw) Transfer

func (_IWarden *IWardenRaw) 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 IWardenRejectKeyRequest

type IWardenRejectKeyRequest struct {
	Id  uint64
	Raw types.Log // Blockchain specific contextual infos
}

IWardenRejectKeyRequest represents a RejectKeyRequest event raised by the IWarden contract.

type IWardenRejectKeyRequestIterator

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

IWardenRejectKeyRequestIterator is returned from FilterRejectKeyRequest and is used to iterate over the raw logs and unpacked data for RejectKeyRequest events raised by the IWarden contract.

func (*IWardenRejectKeyRequestIterator) Close

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

func (*IWardenRejectKeyRequestIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*IWardenRejectKeyRequestIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type IWardenRejectSignRequest

type IWardenRejectSignRequest struct {
	Id  uint64
	Raw types.Log // Blockchain specific contextual infos
}

IWardenRejectSignRequest represents a RejectSignRequest event raised by the IWarden contract.

type IWardenRejectSignRequestIterator

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

IWardenRejectSignRequestIterator is returned from FilterRejectSignRequest and is used to iterate over the raw logs and unpacked data for RejectSignRequest events raised by the IWarden contract.

func (*IWardenRejectSignRequestIterator) Close

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

func (*IWardenRejectSignRequestIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*IWardenRejectSignRequestIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type IWardenRemoveKeychainAdmin

type IWardenRemoveKeychainAdmin struct {
	KeychainId  uint64
	Admin       common.Address
	AdminsCount uint64
	Raw         types.Log // Blockchain specific contextual infos
}

IWardenRemoveKeychainAdmin represents a RemoveKeychainAdmin event raised by the IWarden contract.

type IWardenRemoveKeychainAdminIterator

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

IWardenRemoveKeychainAdminIterator is returned from FilterRemoveKeychainAdmin and is used to iterate over the raw logs and unpacked data for RemoveKeychainAdmin events raised by the IWarden contract.

func (*IWardenRemoveKeychainAdminIterator) Close

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

func (*IWardenRemoveKeychainAdminIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*IWardenRemoveKeychainAdminIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type IWardenRemoveSpaceOwner

type IWardenRemoveSpaceOwner struct {
	SpaceId      uint64
	RemovedOwner common.Address
	Raw          types.Log // Blockchain specific contextual infos
}

IWardenRemoveSpaceOwner represents a RemoveSpaceOwner event raised by the IWarden contract.

type IWardenRemoveSpaceOwnerIterator

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

IWardenRemoveSpaceOwnerIterator is returned from FilterRemoveSpaceOwner and is used to iterate over the raw logs and unpacked data for RemoveSpaceOwner events raised by the IWarden contract.

func (*IWardenRemoveSpaceOwnerIterator) Close

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

func (*IWardenRemoveSpaceOwnerIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*IWardenRemoveSpaceOwnerIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type IWardenSession

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

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

func (*IWardenSession) AddKeychainAdmin

func (_IWarden *IWardenSession) AddKeychainAdmin(keychainId uint64, newAdmin common.Address) (*types.Transaction, error)

AddKeychainAdmin is a paid mutator transaction binding the contract method 0xdf9c1808.

Solidity: function addKeychainAdmin(uint64 keychainId, address newAdmin) returns(bool success)

func (*IWardenSession) AddKeychainWriter

func (_IWarden *IWardenSession) AddKeychainWriter(keychainId uint64, newWriter common.Address) (*types.Transaction, error)

AddKeychainWriter is a paid mutator transaction binding the contract method 0x49fb21b3.

Solidity: function addKeychainWriter(uint64 keychainId, address newWriter) returns(bool success)

func (*IWardenSession) AddSpaceOwner

func (_IWarden *IWardenSession) AddSpaceOwner(spaceId uint64, newOwner common.Address, nonce uint64, actionTimeoutHeight uint64, expectedApproveExpression string, expectedRejectExpression string) (*types.Transaction, error)

AddSpaceOwner is a paid mutator transaction binding the contract method 0x2bf40208.

Solidity: function addSpaceOwner(uint64 spaceId, address newOwner, uint64 nonce, uint64 actionTimeoutHeight, string expectedApproveExpression, string expectedRejectExpression) returns(bool success)

func (*IWardenSession) AllKeys

func (_IWarden *IWardenSession) AllKeys(pageRequest TypesPageRequest, deriveAddresses []int32) (struct {
	Keys         []KeyResponse
	PageResponse TypesPageResponse
}, error)

AllKeys is a free data retrieval call binding the contract method 0xed65c53c.

Solidity: function allKeys((bytes,uint64,uint64,bool,bool) pageRequest, int32[] deriveAddresses) view returns(((uint64,uint64,uint64,int32,bytes,uint64,uint64),(address,int32)[])[] keys, (bytes,uint64) pageResponse)

func (*IWardenSession) FulfilKeyRequest

func (_IWarden *IWardenSession) FulfilKeyRequest(requestId uint64, pubKey []byte) (*types.Transaction, error)

FulfilKeyRequest is a paid mutator transaction binding the contract method 0x1cf2c987.

Solidity: function fulfilKeyRequest(uint64 requestId, bytes pubKey) returns(bool success)

func (*IWardenSession) FulfilSignRequest

func (_IWarden *IWardenSession) FulfilSignRequest(requestId uint64, signedData []byte) (*types.Transaction, error)

FulfilSignRequest is a paid mutator transaction binding the contract method 0x84f61386.

Solidity: function fulfilSignRequest(uint64 requestId, bytes signedData) returns(bool success)

func (*IWardenSession) KeyById

func (_IWarden *IWardenSession) KeyById(id uint64, deriveAddresses []int32) (KeyResponse, error)

KeyById is a free data retrieval call binding the contract method 0x338c1f51.

Solidity: function keyById(uint64 id, int32[] deriveAddresses) view returns(((uint64,uint64,uint64,int32,bytes,uint64,uint64),(address,int32)[]) key)

func (*IWardenSession) KeyRequestById

func (_IWarden *IWardenSession) KeyRequestById(id uint64) (KeyRequest, error)

KeyRequestById is a free data retrieval call binding the contract method 0x69964bd6.

Solidity: function keyRequestById(uint64 id) view returns((uint64,address,uint64,uint64,int32,int32,string,uint64,uint64,(string,uint256)[]) keyRequest)

func (*IWardenSession) KeyRequests

func (_IWarden *IWardenSession) KeyRequests(pageRequest TypesPageRequest, keychainId uint64, status int32, spaceId uint64) (struct {
	KeyRequests  []KeyRequest
	PageResponse TypesPageResponse
}, error)

KeyRequests is a free data retrieval call binding the contract method 0x40710374.

Solidity: function keyRequests((bytes,uint64,uint64,bool,bool) pageRequest, uint64 keychainId, int32 status, uint64 spaceId) view returns((uint64,address,uint64,uint64,int32,int32,string,uint64,uint64,(string,uint256)[])[] keyRequests, (bytes,uint64) pageResponse)

func (*IWardenSession) KeychainById

func (_IWarden *IWardenSession) KeychainById(id uint64) (Keychain, error)

KeychainById is a free data retrieval call binding the contract method 0xba664dc2.

Solidity: function keychainById(uint64 id) view returns((uint64,address,string,address[],address[],((string,uint256)[],(string,uint256)[]),string,string,string) keychain)

func (*IWardenSession) Keychains

func (_IWarden *IWardenSession) Keychains(pageRequest TypesPageRequest) (struct {
	Keychains    []Keychain
	PageResponse TypesPageResponse
}, error)

Keychains is a free data retrieval call binding the contract method 0x7e5a6446.

Solidity: function keychains((bytes,uint64,uint64,bool,bool) pageRequest) view returns((uint64,address,string,address[],address[],((string,uint256)[],(string,uint256)[]),string,string,string)[] keychains, (bytes,uint64) pageResponse)

func (*IWardenSession) KeysBySpaceId

func (_IWarden *IWardenSession) KeysBySpaceId(pageRequest TypesPageRequest, spaceId uint64, deriveAddresses []int32) (struct {
	Keys         []KeyResponse
	PageResponse TypesPageResponse
}, error)

KeysBySpaceId is a free data retrieval call binding the contract method 0x8f6c0508.

Solidity: function keysBySpaceId((bytes,uint64,uint64,bool,bool) pageRequest, uint64 spaceId, int32[] deriveAddresses) view returns(((uint64,uint64,uint64,int32,bytes,uint64,uint64),(address,int32)[])[] keys, (bytes,uint64) pageResponse)

func (*IWardenSession) NewKeyRequest

func (_IWarden *IWardenSession) NewKeyRequest(spaceId uint64, keychainId uint64, keyType uint8, approveTemplateId uint64, rejectTemplateId uint64, maxKeychainFees []TypesCoin, nonce uint64, actionTimeoutHeight uint64, expectedApproveExpression string, expectedRejectExpression string) (*types.Transaction, error)

NewKeyRequest is a paid mutator transaction binding the contract method 0x90bfe071.

Solidity: function newKeyRequest(uint64 spaceId, uint64 keychainId, uint8 keyType, uint64 approveTemplateId, uint64 rejectTemplateId, (string,uint256)[] maxKeychainFees, uint64 nonce, uint64 actionTimeoutHeight, string expectedApproveExpression, string expectedRejectExpression) returns(bool success)

func (*IWardenSession) NewKeychain

func (_IWarden *IWardenSession) NewKeychain(name string, keychainFees KeychainFees, description string, url string, keybaseId string) (*types.Transaction, error)

NewKeychain is a paid mutator transaction binding the contract method 0x7d4c42ad.

Solidity: function newKeychain(string name, ((string,uint256)[],(string,uint256)[]) keychainFees, string description, string url, string keybaseId) returns(uint64 id)

func (*IWardenSession) NewSignRequest

func (_IWarden *IWardenSession) NewSignRequest(keyId uint64, input []byte, analyzers []common.Address, encryptionKey []byte, maxKeychainFees []TypesCoin, nonce uint64, actionTimeoutHeight uint64, expectedApproveExpression string, expectedRejectExpression string) (*types.Transaction, error)

NewSignRequest is a paid mutator transaction binding the contract method 0x9c69bab0.

Solidity: function newSignRequest(uint64 keyId, bytes input, address[] analyzers, bytes encryptionKey, (string,uint256)[] maxKeychainFees, uint64 nonce, uint64 actionTimeoutHeight, string expectedApproveExpression, string expectedRejectExpression) returns(bool success)

func (*IWardenSession) NewSpace

func (_IWarden *IWardenSession) NewSpace(approveAdminTemplateId uint64, rejectAdminTemplateId uint64, approveSignTemplateId uint64, rejectSignTemplateId uint64, additionalOwners []common.Address) (*types.Transaction, error)

NewSpace is a paid mutator transaction binding the contract method 0xc78f7667.

Solidity: function newSpace(uint64 approveAdminTemplateId, uint64 rejectAdminTemplateId, uint64 approveSignTemplateId, uint64 rejectSignTemplateId, address[] additionalOwners) returns(uint64 id)

func (*IWardenSession) RejectKeyRequest

func (_IWarden *IWardenSession) RejectKeyRequest(requestId uint64, rejectReason string) (*types.Transaction, error)

RejectKeyRequest is a paid mutator transaction binding the contract method 0xd9ac97be.

Solidity: function rejectKeyRequest(uint64 requestId, string rejectReason) returns(bool success)

func (*IWardenSession) RejectSignRequest

func (_IWarden *IWardenSession) RejectSignRequest(requestId uint64, rejectReason string) (*types.Transaction, error)

RejectSignRequest is a paid mutator transaction binding the contract method 0xb7cf0661.

Solidity: function rejectSignRequest(uint64 requestId, string rejectReason) returns(bool success)

func (*IWardenSession) RemoveKeychainAdmin

func (_IWarden *IWardenSession) RemoveKeychainAdmin(keychainId uint64, admin common.Address) (*types.Transaction, error)

RemoveKeychainAdmin is a paid mutator transaction binding the contract method 0x7225e3fa.

Solidity: function removeKeychainAdmin(uint64 keychainId, address admin) returns(bool success)

func (*IWardenSession) RemoveSpaceOwner

func (_IWarden *IWardenSession) RemoveSpaceOwner(spaceId uint64, owner common.Address, nonce uint64, actionTimeoutHeight uint64, expectedApproveExpression string, expectedRejectExpression string) (*types.Transaction, error)

RemoveSpaceOwner is a paid mutator transaction binding the contract method 0x60c88db5.

Solidity: function removeSpaceOwner(uint64 spaceId, address owner, uint64 nonce, uint64 actionTimeoutHeight, string expectedApproveExpression, string expectedRejectExpression) returns(bool success)

func (*IWardenSession) SignRequestById

func (_IWarden *IWardenSession) SignRequestById(id uint64) (SignRequest, error)

SignRequestById is a free data retrieval call binding the contract method 0xa657df94.

Solidity: function signRequestById(uint64 id) view returns((uint64,address,uint64,bytes,int32,bytes,bytes,(string,uint256)[]) signRequest)

func (*IWardenSession) SignRequests

func (_IWarden *IWardenSession) SignRequests(pageRequest TypesPageRequest, keychainId uint64, status int32) (struct {
	SignRequests []SignRequest
	PageResponse TypesPageResponse
}, error)

SignRequests is a free data retrieval call binding the contract method 0x1335dc4a.

Solidity: function signRequests((bytes,uint64,uint64,bool,bool) pageRequest, uint64 keychainId, int32 status) view returns((uint64,address,uint64,bytes,int32,bytes,bytes,(string,uint256)[])[] signRequests, (bytes,uint64) pageResponse)

func (*IWardenSession) SpaceById

func (_IWarden *IWardenSession) SpaceById(id uint64) (Space, error)

SpaceById is a free data retrieval call binding the contract method 0xe4c1fc79.

Solidity: function spaceById(uint64 id) view returns((uint64,address,address[],uint64,uint64,uint64,uint64,uint64) space)

func (*IWardenSession) Spaces

func (_IWarden *IWardenSession) Spaces(pageRequest TypesPageRequest) (struct {
	Spaces       []Space
	PageResponse TypesPageResponse
}, error)

Spaces is a free data retrieval call binding the contract method 0x5f73892e.

Solidity: function spaces((bytes,uint64,uint64,bool,bool) pageRequest) view returns((uint64,address,address[],uint64,uint64,uint64,uint64,uint64)[] spaces, (bytes,uint64) pageResponse)

func (*IWardenSession) SpacesByOwner

func (_IWarden *IWardenSession) SpacesByOwner(pageRequest TypesPageRequest, owner common.Address) (struct {
	Spaces       []Space
	PageResponse TypesPageResponse
}, error)

SpacesByOwner is a free data retrieval call binding the contract method 0x88cd3f61.

Solidity: function spacesByOwner((bytes,uint64,uint64,bool,bool) pageRequest, address owner) view returns((uint64,address,address[],uint64,uint64,uint64,uint64,uint64)[] spaces, (bytes,uint64) pageResponse)

func (*IWardenSession) UpdateKey

func (_IWarden *IWardenSession) UpdateKey(keyId uint64, approveTemplateId uint64, rejectTemplateId uint64, actionTimeoutHeight uint64, expectedApproveExpression string, expectedRejectExpression string) (*types.Transaction, error)

UpdateKey is a paid mutator transaction binding the contract method 0xfecc57ec.

Solidity: function updateKey(uint64 keyId, uint64 approveTemplateId, uint64 rejectTemplateId, uint64 actionTimeoutHeight, string expectedApproveExpression, string expectedRejectExpression) returns(bool success)

func (*IWardenSession) UpdateKeychain

func (_IWarden *IWardenSession) UpdateKeychain(keychainId uint64, name string, keychainFees KeychainFees, description string, url string, keybaseId string) (*types.Transaction, error)

UpdateKeychain is a paid mutator transaction binding the contract method 0x4c683562.

Solidity: function updateKeychain(uint64 keychainId, string name, ((string,uint256)[],(string,uint256)[]) keychainFees, string description, string url, string keybaseId) returns(bool success)

func (*IWardenSession) UpdateSpace

func (_IWarden *IWardenSession) UpdateSpace(spaceId uint64, nonce uint64, approveAdminTemplateId uint64, rejectAdminTemplateId uint64, approveSignTemplateId uint64, rejectSignTemplateId uint64, actionTimeoutHeight uint64, expectedApproveExpression string, expectedRejectExpression string) (*types.Transaction, error)

UpdateSpace is a paid mutator transaction binding the contract method 0x7f903050.

Solidity: function updateSpace(uint64 spaceId, uint64 nonce, uint64 approveAdminTemplateId, uint64 rejectAdminTemplateId, uint64 approveSignTemplateId, uint64 rejectSignTemplateId, uint64 actionTimeoutHeight, string expectedApproveExpression, string expectedRejectExpression) returns(bool success)

type IWardenTransactor

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

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

func NewIWardenTransactor

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

NewIWardenTransactor creates a new write-only instance of IWarden, bound to a specific deployed contract.

func (*IWardenTransactor) AddKeychainAdmin

func (_IWarden *IWardenTransactor) AddKeychainAdmin(opts *bind.TransactOpts, keychainId uint64, newAdmin common.Address) (*types.Transaction, error)

AddKeychainAdmin is a paid mutator transaction binding the contract method 0xdf9c1808.

Solidity: function addKeychainAdmin(uint64 keychainId, address newAdmin) returns(bool success)

func (*IWardenTransactor) AddKeychainWriter

func (_IWarden *IWardenTransactor) AddKeychainWriter(opts *bind.TransactOpts, keychainId uint64, newWriter common.Address) (*types.Transaction, error)

AddKeychainWriter is a paid mutator transaction binding the contract method 0x49fb21b3.

Solidity: function addKeychainWriter(uint64 keychainId, address newWriter) returns(bool success)

func (*IWardenTransactor) AddSpaceOwner

func (_IWarden *IWardenTransactor) AddSpaceOwner(opts *bind.TransactOpts, spaceId uint64, newOwner common.Address, nonce uint64, actionTimeoutHeight uint64, expectedApproveExpression string, expectedRejectExpression string) (*types.Transaction, error)

AddSpaceOwner is a paid mutator transaction binding the contract method 0x2bf40208.

Solidity: function addSpaceOwner(uint64 spaceId, address newOwner, uint64 nonce, uint64 actionTimeoutHeight, string expectedApproveExpression, string expectedRejectExpression) returns(bool success)

func (*IWardenTransactor) FulfilKeyRequest

func (_IWarden *IWardenTransactor) FulfilKeyRequest(opts *bind.TransactOpts, requestId uint64, pubKey []byte) (*types.Transaction, error)

FulfilKeyRequest is a paid mutator transaction binding the contract method 0x1cf2c987.

Solidity: function fulfilKeyRequest(uint64 requestId, bytes pubKey) returns(bool success)

func (*IWardenTransactor) FulfilSignRequest

func (_IWarden *IWardenTransactor) FulfilSignRequest(opts *bind.TransactOpts, requestId uint64, signedData []byte) (*types.Transaction, error)

FulfilSignRequest is a paid mutator transaction binding the contract method 0x84f61386.

Solidity: function fulfilSignRequest(uint64 requestId, bytes signedData) returns(bool success)

func (*IWardenTransactor) NewKeyRequest

func (_IWarden *IWardenTransactor) NewKeyRequest(opts *bind.TransactOpts, spaceId uint64, keychainId uint64, keyType uint8, approveTemplateId uint64, rejectTemplateId uint64, maxKeychainFees []TypesCoin, nonce uint64, actionTimeoutHeight uint64, expectedApproveExpression string, expectedRejectExpression string) (*types.Transaction, error)

NewKeyRequest is a paid mutator transaction binding the contract method 0x90bfe071.

Solidity: function newKeyRequest(uint64 spaceId, uint64 keychainId, uint8 keyType, uint64 approveTemplateId, uint64 rejectTemplateId, (string,uint256)[] maxKeychainFees, uint64 nonce, uint64 actionTimeoutHeight, string expectedApproveExpression, string expectedRejectExpression) returns(bool success)

func (*IWardenTransactor) NewKeychain

func (_IWarden *IWardenTransactor) NewKeychain(opts *bind.TransactOpts, name string, keychainFees KeychainFees, description string, url string, keybaseId string) (*types.Transaction, error)

NewKeychain is a paid mutator transaction binding the contract method 0x7d4c42ad.

Solidity: function newKeychain(string name, ((string,uint256)[],(string,uint256)[]) keychainFees, string description, string url, string keybaseId) returns(uint64 id)

func (*IWardenTransactor) NewSignRequest

func (_IWarden *IWardenTransactor) NewSignRequest(opts *bind.TransactOpts, keyId uint64, input []byte, analyzers []common.Address, encryptionKey []byte, maxKeychainFees []TypesCoin, nonce uint64, actionTimeoutHeight uint64, expectedApproveExpression string, expectedRejectExpression string) (*types.Transaction, error)

NewSignRequest is a paid mutator transaction binding the contract method 0x9c69bab0.

Solidity: function newSignRequest(uint64 keyId, bytes input, address[] analyzers, bytes encryptionKey, (string,uint256)[] maxKeychainFees, uint64 nonce, uint64 actionTimeoutHeight, string expectedApproveExpression, string expectedRejectExpression) returns(bool success)

func (*IWardenTransactor) NewSpace

func (_IWarden *IWardenTransactor) NewSpace(opts *bind.TransactOpts, approveAdminTemplateId uint64, rejectAdminTemplateId uint64, approveSignTemplateId uint64, rejectSignTemplateId uint64, additionalOwners []common.Address) (*types.Transaction, error)

NewSpace is a paid mutator transaction binding the contract method 0xc78f7667.

Solidity: function newSpace(uint64 approveAdminTemplateId, uint64 rejectAdminTemplateId, uint64 approveSignTemplateId, uint64 rejectSignTemplateId, address[] additionalOwners) returns(uint64 id)

func (*IWardenTransactor) RejectKeyRequest

func (_IWarden *IWardenTransactor) RejectKeyRequest(opts *bind.TransactOpts, requestId uint64, rejectReason string) (*types.Transaction, error)

RejectKeyRequest is a paid mutator transaction binding the contract method 0xd9ac97be.

Solidity: function rejectKeyRequest(uint64 requestId, string rejectReason) returns(bool success)

func (*IWardenTransactor) RejectSignRequest

func (_IWarden *IWardenTransactor) RejectSignRequest(opts *bind.TransactOpts, requestId uint64, rejectReason string) (*types.Transaction, error)

RejectSignRequest is a paid mutator transaction binding the contract method 0xb7cf0661.

Solidity: function rejectSignRequest(uint64 requestId, string rejectReason) returns(bool success)

func (*IWardenTransactor) RemoveKeychainAdmin

func (_IWarden *IWardenTransactor) RemoveKeychainAdmin(opts *bind.TransactOpts, keychainId uint64, admin common.Address) (*types.Transaction, error)

RemoveKeychainAdmin is a paid mutator transaction binding the contract method 0x7225e3fa.

Solidity: function removeKeychainAdmin(uint64 keychainId, address admin) returns(bool success)

func (*IWardenTransactor) RemoveSpaceOwner

func (_IWarden *IWardenTransactor) RemoveSpaceOwner(opts *bind.TransactOpts, spaceId uint64, owner common.Address, nonce uint64, actionTimeoutHeight uint64, expectedApproveExpression string, expectedRejectExpression string) (*types.Transaction, error)

RemoveSpaceOwner is a paid mutator transaction binding the contract method 0x60c88db5.

Solidity: function removeSpaceOwner(uint64 spaceId, address owner, uint64 nonce, uint64 actionTimeoutHeight, string expectedApproveExpression, string expectedRejectExpression) returns(bool success)

func (*IWardenTransactor) UpdateKey

func (_IWarden *IWardenTransactor) UpdateKey(opts *bind.TransactOpts, keyId uint64, approveTemplateId uint64, rejectTemplateId uint64, actionTimeoutHeight uint64, expectedApproveExpression string, expectedRejectExpression string) (*types.Transaction, error)

UpdateKey is a paid mutator transaction binding the contract method 0xfecc57ec.

Solidity: function updateKey(uint64 keyId, uint64 approveTemplateId, uint64 rejectTemplateId, uint64 actionTimeoutHeight, string expectedApproveExpression, string expectedRejectExpression) returns(bool success)

func (*IWardenTransactor) UpdateKeychain

func (_IWarden *IWardenTransactor) UpdateKeychain(opts *bind.TransactOpts, keychainId uint64, name string, keychainFees KeychainFees, description string, url string, keybaseId string) (*types.Transaction, error)

UpdateKeychain is a paid mutator transaction binding the contract method 0x4c683562.

Solidity: function updateKeychain(uint64 keychainId, string name, ((string,uint256)[],(string,uint256)[]) keychainFees, string description, string url, string keybaseId) returns(bool success)

func (*IWardenTransactor) UpdateSpace

func (_IWarden *IWardenTransactor) UpdateSpace(opts *bind.TransactOpts, spaceId uint64, nonce uint64, approveAdminTemplateId uint64, rejectAdminTemplateId uint64, approveSignTemplateId uint64, rejectSignTemplateId uint64, actionTimeoutHeight uint64, expectedApproveExpression string, expectedRejectExpression string) (*types.Transaction, error)

UpdateSpace is a paid mutator transaction binding the contract method 0x7f903050.

Solidity: function updateSpace(uint64 spaceId, uint64 nonce, uint64 approveAdminTemplateId, uint64 rejectAdminTemplateId, uint64 approveSignTemplateId, uint64 rejectSignTemplateId, uint64 actionTimeoutHeight, string expectedApproveExpression, string expectedRejectExpression) returns(bool success)

type IWardenTransactorRaw

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

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

func (*IWardenTransactorRaw) Transact

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

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

func (*IWardenTransactorRaw) Transfer

func (_IWarden *IWardenTransactorRaw) 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 IWardenTransactorSession

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

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

func (*IWardenTransactorSession) AddKeychainAdmin

func (_IWarden *IWardenTransactorSession) AddKeychainAdmin(keychainId uint64, newAdmin common.Address) (*types.Transaction, error)

AddKeychainAdmin is a paid mutator transaction binding the contract method 0xdf9c1808.

Solidity: function addKeychainAdmin(uint64 keychainId, address newAdmin) returns(bool success)

func (*IWardenTransactorSession) AddKeychainWriter

func (_IWarden *IWardenTransactorSession) AddKeychainWriter(keychainId uint64, newWriter common.Address) (*types.Transaction, error)

AddKeychainWriter is a paid mutator transaction binding the contract method 0x49fb21b3.

Solidity: function addKeychainWriter(uint64 keychainId, address newWriter) returns(bool success)

func (*IWardenTransactorSession) AddSpaceOwner

func (_IWarden *IWardenTransactorSession) AddSpaceOwner(spaceId uint64, newOwner common.Address, nonce uint64, actionTimeoutHeight uint64, expectedApproveExpression string, expectedRejectExpression string) (*types.Transaction, error)

AddSpaceOwner is a paid mutator transaction binding the contract method 0x2bf40208.

Solidity: function addSpaceOwner(uint64 spaceId, address newOwner, uint64 nonce, uint64 actionTimeoutHeight, string expectedApproveExpression, string expectedRejectExpression) returns(bool success)

func (*IWardenTransactorSession) FulfilKeyRequest

func (_IWarden *IWardenTransactorSession) FulfilKeyRequest(requestId uint64, pubKey []byte) (*types.Transaction, error)

FulfilKeyRequest is a paid mutator transaction binding the contract method 0x1cf2c987.

Solidity: function fulfilKeyRequest(uint64 requestId, bytes pubKey) returns(bool success)

func (*IWardenTransactorSession) FulfilSignRequest

func (_IWarden *IWardenTransactorSession) FulfilSignRequest(requestId uint64, signedData []byte) (*types.Transaction, error)

FulfilSignRequest is a paid mutator transaction binding the contract method 0x84f61386.

Solidity: function fulfilSignRequest(uint64 requestId, bytes signedData) returns(bool success)

func (*IWardenTransactorSession) NewKeyRequest

func (_IWarden *IWardenTransactorSession) NewKeyRequest(spaceId uint64, keychainId uint64, keyType uint8, approveTemplateId uint64, rejectTemplateId uint64, maxKeychainFees []TypesCoin, nonce uint64, actionTimeoutHeight uint64, expectedApproveExpression string, expectedRejectExpression string) (*types.Transaction, error)

NewKeyRequest is a paid mutator transaction binding the contract method 0x90bfe071.

Solidity: function newKeyRequest(uint64 spaceId, uint64 keychainId, uint8 keyType, uint64 approveTemplateId, uint64 rejectTemplateId, (string,uint256)[] maxKeychainFees, uint64 nonce, uint64 actionTimeoutHeight, string expectedApproveExpression, string expectedRejectExpression) returns(bool success)

func (*IWardenTransactorSession) NewKeychain

func (_IWarden *IWardenTransactorSession) NewKeychain(name string, keychainFees KeychainFees, description string, url string, keybaseId string) (*types.Transaction, error)

NewKeychain is a paid mutator transaction binding the contract method 0x7d4c42ad.

Solidity: function newKeychain(string name, ((string,uint256)[],(string,uint256)[]) keychainFees, string description, string url, string keybaseId) returns(uint64 id)

func (*IWardenTransactorSession) NewSignRequest

func (_IWarden *IWardenTransactorSession) NewSignRequest(keyId uint64, input []byte, analyzers []common.Address, encryptionKey []byte, maxKeychainFees []TypesCoin, nonce uint64, actionTimeoutHeight uint64, expectedApproveExpression string, expectedRejectExpression string) (*types.Transaction, error)

NewSignRequest is a paid mutator transaction binding the contract method 0x9c69bab0.

Solidity: function newSignRequest(uint64 keyId, bytes input, address[] analyzers, bytes encryptionKey, (string,uint256)[] maxKeychainFees, uint64 nonce, uint64 actionTimeoutHeight, string expectedApproveExpression, string expectedRejectExpression) returns(bool success)

func (*IWardenTransactorSession) NewSpace

func (_IWarden *IWardenTransactorSession) NewSpace(approveAdminTemplateId uint64, rejectAdminTemplateId uint64, approveSignTemplateId uint64, rejectSignTemplateId uint64, additionalOwners []common.Address) (*types.Transaction, error)

NewSpace is a paid mutator transaction binding the contract method 0xc78f7667.

Solidity: function newSpace(uint64 approveAdminTemplateId, uint64 rejectAdminTemplateId, uint64 approveSignTemplateId, uint64 rejectSignTemplateId, address[] additionalOwners) returns(uint64 id)

func (*IWardenTransactorSession) RejectKeyRequest

func (_IWarden *IWardenTransactorSession) RejectKeyRequest(requestId uint64, rejectReason string) (*types.Transaction, error)

RejectKeyRequest is a paid mutator transaction binding the contract method 0xd9ac97be.

Solidity: function rejectKeyRequest(uint64 requestId, string rejectReason) returns(bool success)

func (*IWardenTransactorSession) RejectSignRequest

func (_IWarden *IWardenTransactorSession) RejectSignRequest(requestId uint64, rejectReason string) (*types.Transaction, error)

RejectSignRequest is a paid mutator transaction binding the contract method 0xb7cf0661.

Solidity: function rejectSignRequest(uint64 requestId, string rejectReason) returns(bool success)

func (*IWardenTransactorSession) RemoveKeychainAdmin

func (_IWarden *IWardenTransactorSession) RemoveKeychainAdmin(keychainId uint64, admin common.Address) (*types.Transaction, error)

RemoveKeychainAdmin is a paid mutator transaction binding the contract method 0x7225e3fa.

Solidity: function removeKeychainAdmin(uint64 keychainId, address admin) returns(bool success)

func (*IWardenTransactorSession) RemoveSpaceOwner

func (_IWarden *IWardenTransactorSession) RemoveSpaceOwner(spaceId uint64, owner common.Address, nonce uint64, actionTimeoutHeight uint64, expectedApproveExpression string, expectedRejectExpression string) (*types.Transaction, error)

RemoveSpaceOwner is a paid mutator transaction binding the contract method 0x60c88db5.

Solidity: function removeSpaceOwner(uint64 spaceId, address owner, uint64 nonce, uint64 actionTimeoutHeight, string expectedApproveExpression, string expectedRejectExpression) returns(bool success)

func (*IWardenTransactorSession) UpdateKey

func (_IWarden *IWardenTransactorSession) UpdateKey(keyId uint64, approveTemplateId uint64, rejectTemplateId uint64, actionTimeoutHeight uint64, expectedApproveExpression string, expectedRejectExpression string) (*types.Transaction, error)

UpdateKey is a paid mutator transaction binding the contract method 0xfecc57ec.

Solidity: function updateKey(uint64 keyId, uint64 approveTemplateId, uint64 rejectTemplateId, uint64 actionTimeoutHeight, string expectedApproveExpression, string expectedRejectExpression) returns(bool success)

func (*IWardenTransactorSession) UpdateKeychain

func (_IWarden *IWardenTransactorSession) UpdateKeychain(keychainId uint64, name string, keychainFees KeychainFees, description string, url string, keybaseId string) (*types.Transaction, error)

UpdateKeychain is a paid mutator transaction binding the contract method 0x4c683562.

Solidity: function updateKeychain(uint64 keychainId, string name, ((string,uint256)[],(string,uint256)[]) keychainFees, string description, string url, string keybaseId) returns(bool success)

func (*IWardenTransactorSession) UpdateSpace

func (_IWarden *IWardenTransactorSession) UpdateSpace(spaceId uint64, nonce uint64, approveAdminTemplateId uint64, rejectAdminTemplateId uint64, approveSignTemplateId uint64, rejectSignTemplateId uint64, actionTimeoutHeight uint64, expectedApproveExpression string, expectedRejectExpression string) (*types.Transaction, error)

UpdateSpace is a paid mutator transaction binding the contract method 0x7f903050.

Solidity: function updateSpace(uint64 spaceId, uint64 nonce, uint64 approveAdminTemplateId, uint64 rejectAdminTemplateId, uint64 approveSignTemplateId, uint64 rejectSignTemplateId, uint64 actionTimeoutHeight, string expectedApproveExpression, string expectedRejectExpression) returns(bool success)

type IWardenUpdateKey

type IWardenUpdateKey struct {
	Id                uint64
	ApproveTemplateId uint64
	RejectTemplateId  uint64
	Raw               types.Log // Blockchain specific contextual infos
}

IWardenUpdateKey represents a UpdateKey event raised by the IWarden contract.

type IWardenUpdateKeyIterator

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

IWardenUpdateKeyIterator is returned from FilterUpdateKey and is used to iterate over the raw logs and unpacked data for UpdateKey events raised by the IWarden contract.

func (*IWardenUpdateKeyIterator) Close

func (it *IWardenUpdateKeyIterator) Close() error

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

func (*IWardenUpdateKeyIterator) Error

func (it *IWardenUpdateKeyIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*IWardenUpdateKeyIterator) Next

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

type IWardenUpdateKeychain struct {
	Id           uint64
	KeychainFees KeychainFees
	Raw          types.Log // Blockchain specific contextual infos
}

IWardenUpdateKeychain represents a UpdateKeychain event raised by the IWarden contract.

type IWardenUpdateKeychainIterator

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

IWardenUpdateKeychainIterator is returned from FilterUpdateKeychain and is used to iterate over the raw logs and unpacked data for UpdateKeychain events raised by the IWarden contract.

func (*IWardenUpdateKeychainIterator) Close

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

func (*IWardenUpdateKeychainIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*IWardenUpdateKeychainIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type IWardenUpdateSpace

type IWardenUpdateSpace struct {
	SpaceId                uint64
	ApproveAdminTemplateId uint64
	RejectAdminTemplateId  uint64
	ApproveSignTemplateId  uint64
	RejectSignTemplateId   uint64
	Raw                    types.Log // Blockchain specific contextual infos
}

IWardenUpdateSpace represents a UpdateSpace event raised by the IWarden contract.

type IWardenUpdateSpaceIterator

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

IWardenUpdateSpaceIterator is returned from FilterUpdateSpace and is used to iterate over the raw logs and unpacked data for UpdateSpace events raised by the IWarden contract.

func (*IWardenUpdateSpaceIterator) Close

func (it *IWardenUpdateSpaceIterator) Close() error

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

func (*IWardenUpdateSpaceIterator) Error

func (it *IWardenUpdateSpaceIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*IWardenUpdateSpaceIterator) Next

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

type Key struct {
	Id                uint64
	SpaceId           uint64
	KeychainId        uint64
	KeyType           int32
	PublicKey         []byte
	ApproveTemplateId uint64
	RejectTemplateId  uint64
}

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

type KeyRequest

type KeyRequest struct {
	Id                   uint64
	Creator              common.Address
	SpaceId              uint64
	KeychainId           uint64
	KeyType              int32
	Status               int32
	RejectReason         string
	ApproveTemplateId    uint64
	RejectTemplateId     uint64
	DeductedKeychainFees []TypesCoin
}

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

func (*KeyRequest) FromResponse

func (kr *KeyRequest) FromResponse(res *types.QueryKeyRequestByIdResponse) (*KeyRequest, error)

func (*KeyRequest) Pack

func (kr *KeyRequest) Pack(args abi.Arguments) ([]byte, error)

type KeyResponse

type KeyResponse struct {
	Key       Key
	Addresses []AddressesResponse
}

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

func (*KeyResponse) FromResponse

func (o *KeyResponse) FromResponse(res *types.QueryKeyResponse) (*KeyResponse, error)

func (*KeyResponse) Pack

func (o *KeyResponse) Pack(args abi.Arguments) ([]byte, error)

type Keychain

type Keychain struct {
	Id          uint64
	Creator     common.Address
	Name        string
	Admins      []common.Address
	Writers     []common.Address
	Fees        KeychainFees
	Description string
	Url         string
	KeybaseId   string
}

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

func (*Keychain) FromResponse

func (k *Keychain) FromResponse(res *types.QueryKeychainByIdResponse) (*Keychain, error)

func (*Keychain) Pack

func (k *Keychain) Pack(args abi.Arguments) ([]byte, error)

type KeychainFees

type KeychainFees struct {
	KeyReq []TypesCoin
	SigReq []TypesCoin
}

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

type Precompile

type Precompile struct {
	cmn.Precompile
	// contains filtered or unexported fields
}

Precompile defines the precompiled contract for x/warden.

func NewPrecompile

func NewPrecompile(wardenkeeper wardenmodulekeeper.Keeper, actkeeper actkeeper.Keeper, e *precommon.EthEventsRegistry) (*Precompile, error)

func (Precompile) AddKeychainAdminMethod

func (p Precompile) AddKeychainAdminMethod(
	ctx sdk.Context,
	origin common.Address,
	stateDB vm.StateDB,
	method *abi.Method,
	args []interface{},
) ([]byte, error)

AddKeychainAdminMethod constructs MsgAddKeychainAdminRequest from args, passes it to msg server and packs corresponding abi output.

func (Precompile) AddKeychainWriterMethod

func (p Precompile) AddKeychainWriterMethod(
	ctx sdk.Context,
	origin common.Address,
	stateDB vm.StateDB,
	method *abi.Method,
	args []interface{},
) ([]byte, error)

AddKeychainWriterMethod constructs MsgAddKeychainWriter from args, passes it to msg server and packs corresponding abi output.

func (Precompile) AddSpaceOwnerMethod

func (p Precompile) AddSpaceOwnerMethod(
	ctx sdk.Context,
	origin common.Address,
	stateDB vm.StateDB,
	method *abi.Method,
	args []interface{},
) ([]byte, error)

AddSpaceOwnerMethod constructs MsgAddSpaceOwner wrapped by MsgNewAction from args, passes it to msg server and packs corresponding abi output.

func (*Precompile) Address

func (*Precompile) Address() common.Address

Address implements vm.PrecompiledContract.

func (Precompile) AllKeysMethod

func (p Precompile) AllKeysMethod(
	ctx sdk.Context,
	origin common.Address,
	stateDB vm.StateDB,
	method *abi.Method,
	args []interface{},
) ([]byte, error)

AllKeysMethod constructs QueryAllKeysRequest from args, passes it to query server and packs response into corresponding abi output.

func (Precompile) FulfilKeyRequestMethod

func (p Precompile) FulfilKeyRequestMethod(
	ctx sdk.Context,
	origin common.Address,
	keyRequestStatus wardentypes.KeyRequestStatus,
	stateDB vm.StateDB,
	method *abi.Method,
	args []interface{},
) ([]byte, error)

FulfilKeyRequestMethod constructs MsgFulfilKeyRequest from args, passes it to msg server and packs corresponding abi output.

func (Precompile) FulfilSignRequestMethod

func (p Precompile) FulfilSignRequestMethod(
	ctx sdk.Context,
	origin common.Address,
	signRequestStatus wardentypes.SignRequestStatus,
	stateDB vm.StateDB,
	method *abi.Method,
	args []interface{},
) ([]byte, error)

FulfilSignRequestMethod constructs MsgFulfilSignRequest from args, passes it to msg server and packs corresponding abi output.

func (Precompile) GetAddKeychainAdminEvent

func (p Precompile) GetAddKeychainAdminEvent(ctx sdk.Context, adminAddress *common.Address, eventAddKeychainAdmin sdk.Event) (*ethtypes.Log, error)

GetAddKeychainAdminEvent maps EventAddKeychainAdmin to eth AddKeychainAdmin event and write to eth log

func (Precompile) GetAddKeychainWriterEvent

func (p Precompile) GetAddKeychainWriterEvent(ctx sdk.Context, writerAddress *common.Address, eventAddKeychainWriter sdk.Event) (*ethtypes.Log, error)

GetAddKeychainWriterEvent maps EventAddKeychainWriter to eth AddKeychainWriter event and write to eth log

func (Precompile) GetAddSpaceOwnerEvent

func (p Precompile) GetAddSpaceOwnerEvent(ctx sdk.Context, _ *common.Address, addSpaceOwnerEvent sdk.Event) (*ethtypes.Log, error)

GetAddSpaceOwnerEvent maps EventAddSpaceOwner to eth AddSpaceOwner event and write to eth log

func (Precompile) GetFulfilSignRequestEvent

func (p Precompile) GetFulfilSignRequestEvent(ctx sdk.Context, _ *common.Address, eventFulfilSignRequest sdk.Event) (*ethtypes.Log, error)

GetFulfilSignRequestEvent maps EventFulfilSignRequest to eth FulfilSignRequest event and write to eth log

func (Precompile) GetNewKeyEvent

func (p Precompile) GetNewKeyEvent(ctx sdk.Context, _ *common.Address, eventNewKey sdk.Event) (*ethtypes.Log, error)

GetNewKeyEvent maps EventNewKey to eth NewKey event and write to eth log

func (Precompile) GetNewKeyRequestEvent

func (p Precompile) GetNewKeyRequestEvent(ctx sdk.Context, _ *common.Address, newKeyRequestEvent sdk.Event) (*ethtypes.Log, error)

GetNewKeyRequestEvent maps EventNewKeyRequest to eth NewKeyRequest event and write to eth log

func (Precompile) GetNewKeychainEvent

func (p Precompile) GetNewKeychainEvent(ctx sdk.Context, creator *common.Address, eventNewKeychain sdk.Event) (*ethtypes.Log, error)

GetNewKeychainEvent maps EventNewKeychain to eth NewKeychain event and write to eth log

func (Precompile) GetNewSignRequestEvent

func (p Precompile) GetNewSignRequestEvent(ctx sdk.Context, _ *common.Address, newSignRequestEvent sdk.Event) (*ethtypes.Log, error)

GetNewSignRequestEvent maps EventNewSignRequest to eth NewSignRequest event and write to eth log

func (Precompile) GetNewSpaceEvent

func (p Precompile) GetNewSpaceEvent(ctx sdk.Context, creator *common.Address, eventNewSpace sdk.Event) (*ethtypes.Log, error)

GetNewSpaceEvent maps EventNewSpace to eth NewSpace event and writes to eth log

func (Precompile) GetRejectKeyRequestEvent

func (p Precompile) GetRejectKeyRequestEvent(ctx sdk.Context, _ *common.Address, eventRejectKeyRequest sdk.Event) (*ethtypes.Log, error)

GetRejectKeyRequestEvent maps EventRejectKeyRequest to eth RejectKeyRequest event and write to eth log

func (Precompile) GetRejectSignRequestEvent

func (p Precompile) GetRejectSignRequestEvent(ctx sdk.Context, _ *common.Address, eventRejectSignRequest sdk.Event) (*ethtypes.Log, error)

GetRejectSignRequestEvent maps EventRejectSignRequest to eth RejectSignRequest event and write to eth log

func (Precompile) GetRemoveKeychainAdminEvent

func (p Precompile) GetRemoveKeychainAdminEvent(ctx sdk.Context, admin *common.Address, eventRemoveKeychainAdmin sdk.Event) (*ethtypes.Log, error)

GetRemoveKeychainAdminEvent maps EventRemoveKeychainAdmin to eth RemoveKeychainAdmin event and write to eth log

func (Precompile) GetRemoveSpaceOwnerEvent

func (p Precompile) GetRemoveSpaceOwnerEvent(ctx sdk.Context, _ *common.Address, removeSpaceOwnerEvent sdk.Event) (*ethtypes.Log, error)

GetRemoveSpaceOwnerEvent maps EventRemoveSpaceOwner to eth RemoveSpaceOwner event and write to eth log

func (Precompile) GetUpdateKeyEvent

func (p Precompile) GetUpdateKeyEvent(ctx sdk.Context, _ *common.Address, updateKeyEvent sdk.Event) (*ethtypes.Log, error)

GetUpdateKeyEvent maps EventUpdateKey to eth UpdateKey event and write to eth log

func (Precompile) GetUpdateKeychainEvent

func (p Precompile) GetUpdateKeychainEvent(ctx sdk.Context, _ *common.Address, eventUpdateKeychain sdk.Event) (*ethtypes.Log, error)

GetUpdateKeychainEvent maps EventUpdateKeychain to eth UpdateKeychain event and write to eth log

func (Precompile) GetUpdateSpaceEvent

func (p Precompile) GetUpdateSpaceEvent(ctx sdk.Context, _ *common.Address, updateSpaceEvent sdk.Event) (*ethtypes.Log, error)

GetUpdateSpaceEvent maps EventUpdateSpace to eth UpdateSpace event and write to eth log

func (*Precompile) IsTransaction

func (*Precompile) IsTransaction(method string) bool

IsTransaction checks if the given method name corresponds to a transaction or query.

Available warden transactions are:

-

func (Precompile) KeyByIdMethod

func (p Precompile) KeyByIdMethod(
	ctx sdk.Context,
	origin common.Address,
	stateDB vm.StateDB,
	method *abi.Method,
	args []interface{},
) ([]byte, error)

KeyByIdMethod constructs QueryKeyByIdRequest from args, passes it to query server and packs response into corresponding abi output.

func (Precompile) KeyRequestMethod

func (p Precompile) KeyRequestMethod(
	ctx sdk.Context,
	origin common.Address,
	stateDB vm.StateDB,
	method *abi.Method,
	args []interface{},
) ([]byte, error)

KeyRequestMethod constructs QueryKeyRequestByIdRequest from args, passes it to query server and packs response into corresponding abi output.

func (Precompile) KeyRequestsMethod

func (p Precompile) KeyRequestsMethod(
	ctx sdk.Context,
	origin common.Address,
	stateDB vm.StateDB,
	method *abi.Method,
	args []interface{},
) ([]byte, error)

KeyRequestsMethod constructs QueryKeyRequestsRequest from args, passes it to query server and packs response into corresponding abi output.

func (Precompile) KeychainMethod

func (p Precompile) KeychainMethod(
	ctx sdk.Context,
	origin common.Address,
	stateDB vm.StateDB,
	method *abi.Method,
	args []interface{},
) ([]byte, error)

KeychainMethod constructs QueryKeychainByIdRequest from args, passes it to query server and packs response into corresponding abi output.

func (Precompile) KeychainsMethod

func (p Precompile) KeychainsMethod(
	ctx sdk.Context,
	origin common.Address,
	stateDB vm.StateDB,
	method *abi.Method,
	args []interface{},
) ([]byte, error)

KeychainsMethod constructs QueryKeychainsRequest from args, passes it to query server and packs response into corresponding abi output.

func (Precompile) KeysBySpaceIdMethod

func (p Precompile) KeysBySpaceIdMethod(
	ctx sdk.Context,
	origin common.Address,
	stateDB vm.StateDB,
	method *abi.Method,
	args []interface{},
) ([]byte, error)

KeysBySpaceIdMethod constructs QueryKeysBySpaceIdRequest from args, passes it to query server and packs response into corresponding abi output.

func (*Precompile) Logger

func (p *Precompile) Logger(ctx sdk.Context) log.Logger

Logger returns a precompile-specific logger.

func (Precompile) NewKeyRequestMethod

func (p Precompile) NewKeyRequestMethod(
	ctx sdk.Context,
	origin common.Address,
	stateDB vm.StateDB,
	method *abi.Method,
	args []interface{},
) ([]byte, error)

NewKeyRequestMethod constructs MsgNewKeyRequest wrapped by MsgNewAction from args, passes it to msg server and packs corresponding abi output.

func (Precompile) NewKeychainMethod

func (p Precompile) NewKeychainMethod(
	ctx sdk.Context,
	origin common.Address,
	stateDB vm.StateDB,
	method *abi.Method,
	args []interface{},
) ([]byte, error)

NewKeychainMethod constructs MsgNewKeychain from args, passes it to msg server and packs corresponding abi output.

func (Precompile) NewSignRequestMethod

func (p Precompile) NewSignRequestMethod(
	ctx sdk.Context,
	origin common.Address,
	stateDB vm.StateDB,
	method *abi.Method,
	args []interface{},
) ([]byte, error)

NewSignRequestMethod constructs MsgNewSignRequest wrapped by MsgNewAction from args, passes it to msg server and packs corresponding abi output.

func (Precompile) NewSpaceMethod

func (p Precompile) NewSpaceMethod(
	ctx sdk.Context,
	origin common.Address,
	stateDB vm.StateDB,
	method *abi.Method,
	args []interface{},
) ([]byte, error)

NewSpaceMethod constructs MsgNewSpace from args, passes it to msg server and packs corresponding abi output.

func (Precompile) RemoveKeychainAdminMethod

func (p Precompile) RemoveKeychainAdminMethod(
	ctx sdk.Context,
	origin common.Address,
	stateDB vm.StateDB,
	method *abi.Method,
	args []interface{},
) ([]byte, error)

RemoveKeychainAdminMethod constructs MsgRemoveKeychainAdminRequest from args, passes it to msg server and packs corresponding abi output.

func (Precompile) RemoveSpaceOwnerMethod

func (p Precompile) RemoveSpaceOwnerMethod(
	ctx sdk.Context,
	origin common.Address,
	stateDB vm.StateDB,
	method *abi.Method,
	args []interface{},
) ([]byte, error)

RemoveSpaceOwnerMethod constructs MsgRemoveSpaceOwner wrapped by MsgNewAction from args, passes it to msg server and packs corresponding abi output.

func (*Precompile) RequiredGas

func (p *Precompile) RequiredGas(input []byte) uint64

RequiredGas returns the required bare minimum gas to execute the precompile. Subtle: this method shadows the method (Precompile).RequiredGas of Precompile.Precompile.

func (*Precompile) Run

func (p *Precompile) Run(evm *vm.EVM, contract *vm.Contract, readOnly bool) (bz []byte, err error)

Run implements vm.PrecompiledContract.

func (Precompile) SignRequestByIdMethod

func (p Precompile) SignRequestByIdMethod(
	ctx sdk.Context,
	origin common.Address,
	stateDB vm.StateDB,
	method *abi.Method,
	args []interface{},
) ([]byte, error)

SignRequestByIdMethod constructs QuerySignRequestByIdRequest from args, passes it to query server and packs response into corresponding abi output.

func (Precompile) SignRequestsMethod

func (p Precompile) SignRequestsMethod(
	ctx sdk.Context,
	origin common.Address,
	stateDB vm.StateDB,
	method *abi.Method,
	args []interface{},
) ([]byte, error)

SignRequestsMethod constructs QuerySignRequestsRequest from args, passes it to query server and packs response into corresponding abi output.

func (Precompile) SpaceByIdMethod

func (p Precompile) SpaceByIdMethod(
	ctx sdk.Context,
	origin common.Address,
	stateDB vm.StateDB,
	method *abi.Method,
	args []interface{},
) ([]byte, error)

SpaceByIdMethod constructs QuerySpaceByIdRequest from args, passes it to query server and packs response into corresponding abi output.

func (Precompile) SpacesByOwnerMethod

func (p Precompile) SpacesByOwnerMethod(
	ctx sdk.Context,
	origin common.Address,
	stateDB vm.StateDB,
	method *abi.Method,
	args []interface{},
) ([]byte, error)

SpacesByOwnerMethod constructs QuerySpacesByOwnerRequest from args, passes it to query server and packs response into corresponding abi output.

func (Precompile) SpacesMethod

func (p Precompile) SpacesMethod(
	ctx sdk.Context,
	origin common.Address,
	stateDB vm.StateDB,
	method *abi.Method,
	args []interface{},
) ([]byte, error)

SpacesMethod constructs QuerySpacesRequest from args, passes it to query server and packs response into corresponding abi output.

func (Precompile) UpdateKeyMethod

func (p Precompile) UpdateKeyMethod(
	ctx sdk.Context,
	origin common.Address,
	stateDB vm.StateDB,
	method *abi.Method,
	args []interface{},
) ([]byte, error)

UpdateKeyMethod constructs MsgUpdateKey wrapped by MsgNewAction from args, passes it to msg server and packs corresponding abi output.

func (Precompile) UpdateKeychainMethod

func (p Precompile) UpdateKeychainMethod(
	ctx sdk.Context,
	origin common.Address,
	stateDB vm.StateDB,
	method *abi.Method,
	args []interface{},
) ([]byte, error)

UpdateKeychainMethod constructs MsgUpdateKeychain from args, passes it to msg server and packs corresponding abi output.

func (Precompile) UpdateSpaceMethod

func (p Precompile) UpdateSpaceMethod(
	ctx sdk.Context,
	origin common.Address,
	stateDB vm.StateDB,
	method *abi.Method,
	args []interface{},
) ([]byte, error)

UpdateSpaceMethod constructs MsgUpdateSpace wrapped by MsgNewAction from args, passes it to msg server and packs corresponding abi output.

type SignRequest

type SignRequest struct {
	Id                   uint64
	Creator              common.Address
	KeyId                uint64
	DataForSigning       []byte
	Status               int32
	Result               []byte
	EncryptionKey        []byte
	DeductedKeychainFees []TypesCoin
}

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

func (*SignRequest) FromResponse

func (*SignRequest) Pack

func (o *SignRequest) Pack(args abi.Arguments) ([]byte, error)

type Space

type Space struct {
	Id                     uint64
	Creator                common.Address
	Owners                 []common.Address
	Nonce                  uint64
	ApproveAdminTemplateId uint64
	RejectAdminTemplateId  uint64
	ApproveSignTemplateId  uint64
	RejectSignTemplateId   uint64
}

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

func (*Space) FromResponse

func (o *Space) FromResponse(res *types.QuerySpaceByIdResponse) (*Space, error)

func (*Space) Pack

func (o *Space) Pack(args abi.Arguments) ([]byte, error)

type TypesCoin

type TypesCoin struct {
	Denom  string
	Amount *big.Int
}

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

type TypesPageRequest

type TypesPageRequest struct {
	Key        []byte
	Offset     uint64
	Limit      uint64
	CountTotal bool
	Reverse    bool
}

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

type TypesPageResponse

type TypesPageResponse struct {
	NextKey []byte
	Total   uint64
}

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

Jump to

Keyboard shortcuts

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