core

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Apr 3, 2022 License: LGPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ResourceCode_name = map[int32]string{
		0: "BANDWIDTH",
		1: "ENERGY",
	}
	ResourceCode_value = map[string]int32{
		"BANDWIDTH": 0,
		"ENERGY":    1,
	}
)

Enum value maps for ResourceCode.

View Source
var (
	SmartContract_ABI_Entry_EntryType_name = map[int32]string{
		0: "UnknownEntryType",
		1: "Constructor",
		2: "Function",
		3: "Event",
		4: "Fallback",
	}
	SmartContract_ABI_Entry_EntryType_value = map[string]int32{
		"UnknownEntryType": 0,
		"Constructor":      1,
		"Function":         2,
		"Event":            3,
		"Fallback":         4,
	}
)

Enum value maps for SmartContract_ABI_Entry_EntryType.

View Source
var (
	SmartContract_ABI_Entry_StateMutabilityType_name = map[int32]string{
		0: "UnknownMutabilityType",
		1: "Pure",
		2: "View",
		3: "Nonpayable",
		4: "Payable",
	}
	SmartContract_ABI_Entry_StateMutabilityType_value = map[string]int32{
		"UnknownMutabilityType": 0,
		"Pure":                  1,
		"View":                  2,
		"Nonpayable":            3,
		"Payable":               4,
	}
)

Enum value maps for SmartContract_ABI_Entry_StateMutabilityType.

View Source
var File_core_contract_account_contract_proto protoreflect.FileDescriptor
View Source
var File_core_contract_asset_issue_contract_proto protoreflect.FileDescriptor
View Source
var File_core_contract_balance_contract_proto protoreflect.FileDescriptor
View Source
var File_core_contract_common_proto protoreflect.FileDescriptor
View Source
var File_core_contract_exchange_contract_proto protoreflect.FileDescriptor
View Source
var File_core_contract_proposal_contract_proto protoreflect.FileDescriptor
View Source
var File_core_contract_shield_contract_proto protoreflect.FileDescriptor
View Source
var File_core_contract_smart_contract_proto protoreflect.FileDescriptor
View Source
var File_core_contract_storage_contract_proto protoreflect.FileDescriptor
View Source
var File_core_contract_vote_asset_contract_proto protoreflect.FileDescriptor
View Source
var File_core_contract_witness_contract_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type AccountCreateContract

type AccountCreateContract struct {
	OwnerAddress   []byte      `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"`
	AccountAddress []byte      `protobuf:"bytes,2,opt,name=account_address,json=accountAddress,proto3" json:"account_address,omitempty"`
	Type           AccountType `protobuf:"varint,3,opt,name=type,proto3,enum=protocol.AccountType" json:"type,omitempty"`
	// contains filtered or unexported fields
}

func (*AccountCreateContract) Descriptor deprecated

func (*AccountCreateContract) Descriptor() ([]byte, []int)

Deprecated: Use AccountCreateContract.ProtoReflect.Descriptor instead.

func (*AccountCreateContract) GetAccountAddress

func (x *AccountCreateContract) GetAccountAddress() []byte

func (*AccountCreateContract) GetOwnerAddress

func (x *AccountCreateContract) GetOwnerAddress() []byte

func (*AccountCreateContract) GetType

func (x *AccountCreateContract) GetType() AccountType

func (*AccountCreateContract) ProtoMessage

func (*AccountCreateContract) ProtoMessage()

func (*AccountCreateContract) ProtoReflect

func (x *AccountCreateContract) ProtoReflect() protoreflect.Message

func (*AccountCreateContract) Reset

func (x *AccountCreateContract) Reset()

func (*AccountCreateContract) String

func (x *AccountCreateContract) String() string

type AccountPermissionUpdateContract

type AccountPermissionUpdateContract struct {
	OwnerAddress []byte        `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"`
	Owner        *Permission   `protobuf:"bytes,2,opt,name=owner,proto3" json:"owner,omitempty"`     //Empty is invalidate
	Witness      *Permission   `protobuf:"bytes,3,opt,name=witness,proto3" json:"witness,omitempty"` //Can be empty
	Actives      []*Permission `protobuf:"bytes,4,rep,name=actives,proto3" json:"actives,omitempty"` //Empty is invalidate
	// contains filtered or unexported fields
}

func (*AccountPermissionUpdateContract) Descriptor deprecated

func (*AccountPermissionUpdateContract) Descriptor() ([]byte, []int)

Deprecated: Use AccountPermissionUpdateContract.ProtoReflect.Descriptor instead.

func (*AccountPermissionUpdateContract) GetActives

func (x *AccountPermissionUpdateContract) GetActives() []*Permission

func (*AccountPermissionUpdateContract) GetOwner

func (x *AccountPermissionUpdateContract) GetOwner() *Permission

func (*AccountPermissionUpdateContract) GetOwnerAddress

func (x *AccountPermissionUpdateContract) GetOwnerAddress() []byte

func (*AccountPermissionUpdateContract) GetWitness

func (x *AccountPermissionUpdateContract) GetWitness() *Permission

func (*AccountPermissionUpdateContract) ProtoMessage

func (*AccountPermissionUpdateContract) ProtoMessage()

func (*AccountPermissionUpdateContract) ProtoReflect

func (*AccountPermissionUpdateContract) Reset

func (*AccountPermissionUpdateContract) String

type AccountUpdateContract

type AccountUpdateContract struct {
	AccountName  []byte `protobuf:"bytes,1,opt,name=account_name,json=accountName,proto3" json:"account_name,omitempty"`
	OwnerAddress []byte `protobuf:"bytes,2,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"`
	// contains filtered or unexported fields
}

Update account name. Account name is not unique now.

func (*AccountUpdateContract) Descriptor deprecated

func (*AccountUpdateContract) Descriptor() ([]byte, []int)

Deprecated: Use AccountUpdateContract.ProtoReflect.Descriptor instead.

func (*AccountUpdateContract) GetAccountName

func (x *AccountUpdateContract) GetAccountName() []byte

func (*AccountUpdateContract) GetOwnerAddress

func (x *AccountUpdateContract) GetOwnerAddress() []byte

func (*AccountUpdateContract) ProtoMessage

func (*AccountUpdateContract) ProtoMessage()

func (*AccountUpdateContract) ProtoReflect

func (x *AccountUpdateContract) ProtoReflect() protoreflect.Message

func (*AccountUpdateContract) Reset

func (x *AccountUpdateContract) Reset()

func (*AccountUpdateContract) String

func (x *AccountUpdateContract) String() string

type AssetIssueContract

type AssetIssueContract struct {
	Id                      string                             `protobuf:"bytes,41,opt,name=id,proto3" json:"id,omitempty"`
	OwnerAddress            []byte                             `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"`
	Name                    []byte                             `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Abbr                    []byte                             `protobuf:"bytes,3,opt,name=abbr,proto3" json:"abbr,omitempty"`
	TotalSupply             int64                              `protobuf:"varint,4,opt,name=total_supply,json=totalSupply,proto3" json:"total_supply,omitempty"`
	FrozenSupply            []*AssetIssueContract_FrozenSupply `protobuf:"bytes,5,rep,name=frozen_supply,json=frozenSupply,proto3" json:"frozen_supply,omitempty"`
	TrxNum                  int32                              `protobuf:"varint,6,opt,name=trx_num,json=trxNum,proto3" json:"trx_num,omitempty"`
	Precision               int32                              `protobuf:"varint,7,opt,name=precision,proto3" json:"precision,omitempty"`
	Num                     int32                              `protobuf:"varint,8,opt,name=num,proto3" json:"num,omitempty"`
	StartTime               int64                              `protobuf:"varint,9,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
	EndTime                 int64                              `protobuf:"varint,10,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
	Order                   int64                              `protobuf:"varint,11,opt,name=order,proto3" json:"order,omitempty"` // useless
	VoteScore               int32                              `protobuf:"varint,16,opt,name=vote_score,json=voteScore,proto3" json:"vote_score,omitempty"`
	Description             []byte                             `protobuf:"bytes,20,opt,name=description,proto3" json:"description,omitempty"`
	Url                     []byte                             `protobuf:"bytes,21,opt,name=url,proto3" json:"url,omitempty"`
	FreeAssetNetLimit       int64                              `protobuf:"varint,22,opt,name=free_asset_net_limit,json=freeAssetNetLimit,proto3" json:"free_asset_net_limit,omitempty"`
	PublicFreeAssetNetLimit int64                              `` /* 138-byte string literal not displayed */
	PublicFreeAssetNetUsage int64                              `` /* 138-byte string literal not displayed */
	PublicLatestFreeNetTime int64                              `` /* 138-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*AssetIssueContract) Descriptor deprecated

func (*AssetIssueContract) Descriptor() ([]byte, []int)

Deprecated: Use AssetIssueContract.ProtoReflect.Descriptor instead.

func (*AssetIssueContract) GetAbbr

func (x *AssetIssueContract) GetAbbr() []byte

func (*AssetIssueContract) GetDescription

func (x *AssetIssueContract) GetDescription() []byte

func (*AssetIssueContract) GetEndTime

func (x *AssetIssueContract) GetEndTime() int64

func (*AssetIssueContract) GetFreeAssetNetLimit

func (x *AssetIssueContract) GetFreeAssetNetLimit() int64

func (*AssetIssueContract) GetFrozenSupply

func (x *AssetIssueContract) GetFrozenSupply() []*AssetIssueContract_FrozenSupply

func (*AssetIssueContract) GetId

func (x *AssetIssueContract) GetId() string

func (*AssetIssueContract) GetName

func (x *AssetIssueContract) GetName() []byte

func (*AssetIssueContract) GetNum

func (x *AssetIssueContract) GetNum() int32

func (*AssetIssueContract) GetOrder

func (x *AssetIssueContract) GetOrder() int64

func (*AssetIssueContract) GetOwnerAddress

func (x *AssetIssueContract) GetOwnerAddress() []byte

func (*AssetIssueContract) GetPrecision

func (x *AssetIssueContract) GetPrecision() int32

func (*AssetIssueContract) GetPublicFreeAssetNetLimit

func (x *AssetIssueContract) GetPublicFreeAssetNetLimit() int64

func (*AssetIssueContract) GetPublicFreeAssetNetUsage

func (x *AssetIssueContract) GetPublicFreeAssetNetUsage() int64

func (*AssetIssueContract) GetPublicLatestFreeNetTime

func (x *AssetIssueContract) GetPublicLatestFreeNetTime() int64

func (*AssetIssueContract) GetStartTime

func (x *AssetIssueContract) GetStartTime() int64

func (*AssetIssueContract) GetTotalSupply

func (x *AssetIssueContract) GetTotalSupply() int64

func (*AssetIssueContract) GetTrxNum

func (x *AssetIssueContract) GetTrxNum() int32

func (*AssetIssueContract) GetUrl

func (x *AssetIssueContract) GetUrl() []byte

func (*AssetIssueContract) GetVoteScore

func (x *AssetIssueContract) GetVoteScore() int32

func (*AssetIssueContract) ProtoMessage

func (*AssetIssueContract) ProtoMessage()

func (*AssetIssueContract) ProtoReflect

func (x *AssetIssueContract) ProtoReflect() protoreflect.Message

func (*AssetIssueContract) Reset

func (x *AssetIssueContract) Reset()

func (*AssetIssueContract) String

func (x *AssetIssueContract) String() string

type AssetIssueContract_FrozenSupply

type AssetIssueContract_FrozenSupply struct {
	FrozenAmount int64 `protobuf:"varint,1,opt,name=frozen_amount,json=frozenAmount,proto3" json:"frozen_amount,omitempty"`
	FrozenDays   int64 `protobuf:"varint,2,opt,name=frozen_days,json=frozenDays,proto3" json:"frozen_days,omitempty"`
	// contains filtered or unexported fields
}

func (*AssetIssueContract_FrozenSupply) Descriptor deprecated

func (*AssetIssueContract_FrozenSupply) Descriptor() ([]byte, []int)

Deprecated: Use AssetIssueContract_FrozenSupply.ProtoReflect.Descriptor instead.

func (*AssetIssueContract_FrozenSupply) GetFrozenAmount

func (x *AssetIssueContract_FrozenSupply) GetFrozenAmount() int64

func (*AssetIssueContract_FrozenSupply) GetFrozenDays

func (x *AssetIssueContract_FrozenSupply) GetFrozenDays() int64

func (*AssetIssueContract_FrozenSupply) ProtoMessage

func (*AssetIssueContract_FrozenSupply) ProtoMessage()

func (*AssetIssueContract_FrozenSupply) ProtoReflect

func (*AssetIssueContract_FrozenSupply) Reset

func (*AssetIssueContract_FrozenSupply) String

type AuthenticationPath

type AuthenticationPath struct {
	Value []bool `protobuf:"varint,1,rep,packed,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*AuthenticationPath) Descriptor deprecated

func (*AuthenticationPath) Descriptor() ([]byte, []int)

Deprecated: Use AuthenticationPath.ProtoReflect.Descriptor instead.

func (*AuthenticationPath) GetValue

func (x *AuthenticationPath) GetValue() []bool

func (*AuthenticationPath) ProtoMessage

func (*AuthenticationPath) ProtoMessage()

func (*AuthenticationPath) ProtoReflect

func (x *AuthenticationPath) ProtoReflect() protoreflect.Message

func (*AuthenticationPath) Reset

func (x *AuthenticationPath) Reset()

func (*AuthenticationPath) String

func (x *AuthenticationPath) String() string

type BuyStorageBytesContract

type BuyStorageBytesContract struct {
	OwnerAddress []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"`
	Bytes        int64  `protobuf:"varint,2,opt,name=bytes,proto3" json:"bytes,omitempty"` // storage bytes for buy
	// contains filtered or unexported fields
}

func (*BuyStorageBytesContract) Descriptor deprecated

func (*BuyStorageBytesContract) Descriptor() ([]byte, []int)

Deprecated: Use BuyStorageBytesContract.ProtoReflect.Descriptor instead.

func (*BuyStorageBytesContract) GetBytes

func (x *BuyStorageBytesContract) GetBytes() int64

func (*BuyStorageBytesContract) GetOwnerAddress

func (x *BuyStorageBytesContract) GetOwnerAddress() []byte

func (*BuyStorageBytesContract) ProtoMessage

func (*BuyStorageBytesContract) ProtoMessage()

func (*BuyStorageBytesContract) ProtoReflect

func (x *BuyStorageBytesContract) ProtoReflect() protoreflect.Message

func (*BuyStorageBytesContract) Reset

func (x *BuyStorageBytesContract) Reset()

func (*BuyStorageBytesContract) String

func (x *BuyStorageBytesContract) String() string

type BuyStorageContract

type BuyStorageContract struct {
	OwnerAddress []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"`
	Quant        int64  `protobuf:"varint,2,opt,name=quant,proto3" json:"quant,omitempty"` // trx quantity for buy storage (sun)
	// contains filtered or unexported fields
}

func (*BuyStorageContract) Descriptor deprecated

func (*BuyStorageContract) Descriptor() ([]byte, []int)

Deprecated: Use BuyStorageContract.ProtoReflect.Descriptor instead.

func (*BuyStorageContract) GetOwnerAddress

func (x *BuyStorageContract) GetOwnerAddress() []byte

func (*BuyStorageContract) GetQuant

func (x *BuyStorageContract) GetQuant() int64

func (*BuyStorageContract) ProtoMessage

func (*BuyStorageContract) ProtoMessage()

func (*BuyStorageContract) ProtoReflect

func (x *BuyStorageContract) ProtoReflect() protoreflect.Message

func (*BuyStorageContract) Reset

func (x *BuyStorageContract) Reset()

func (*BuyStorageContract) String

func (x *BuyStorageContract) String() string

type ClearABIContract

type ClearABIContract struct {
	OwnerAddress    []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"`
	ContractAddress []byte `protobuf:"bytes,2,opt,name=contract_address,json=contractAddress,proto3" json:"contract_address,omitempty"`
	// contains filtered or unexported fields
}

func (*ClearABIContract) Descriptor deprecated

func (*ClearABIContract) Descriptor() ([]byte, []int)

Deprecated: Use ClearABIContract.ProtoReflect.Descriptor instead.

func (*ClearABIContract) GetContractAddress

func (x *ClearABIContract) GetContractAddress() []byte

func (*ClearABIContract) GetOwnerAddress

func (x *ClearABIContract) GetOwnerAddress() []byte

func (*ClearABIContract) ProtoMessage

func (*ClearABIContract) ProtoMessage()

func (*ClearABIContract) ProtoReflect

func (x *ClearABIContract) ProtoReflect() protoreflect.Message

func (*ClearABIContract) Reset

func (x *ClearABIContract) Reset()

func (*ClearABIContract) String

func (x *ClearABIContract) String() string

type CreateSmartContract

type CreateSmartContract struct {
	OwnerAddress   []byte         `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"`
	NewContract    *SmartContract `protobuf:"bytes,2,opt,name=new_contract,json=newContract,proto3" json:"new_contract,omitempty"`
	CallTokenValue int64          `protobuf:"varint,3,opt,name=call_token_value,json=callTokenValue,proto3" json:"call_token_value,omitempty"`
	TokenId        int64          `protobuf:"varint,4,opt,name=token_id,json=tokenId,proto3" json:"token_id,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateSmartContract) Descriptor deprecated

func (*CreateSmartContract) Descriptor() ([]byte, []int)

Deprecated: Use CreateSmartContract.ProtoReflect.Descriptor instead.

func (*CreateSmartContract) GetCallTokenValue

func (x *CreateSmartContract) GetCallTokenValue() int64

func (*CreateSmartContract) GetNewContract

func (x *CreateSmartContract) GetNewContract() *SmartContract

func (*CreateSmartContract) GetOwnerAddress

func (x *CreateSmartContract) GetOwnerAddress() []byte

func (*CreateSmartContract) GetTokenId

func (x *CreateSmartContract) GetTokenId() int64

func (*CreateSmartContract) ProtoMessage

func (*CreateSmartContract) ProtoMessage()

func (*CreateSmartContract) ProtoReflect

func (x *CreateSmartContract) ProtoReflect() protoreflect.Message

func (*CreateSmartContract) Reset

func (x *CreateSmartContract) Reset()

func (*CreateSmartContract) String

func (x *CreateSmartContract) String() string

type ExchangeCreateContract

type ExchangeCreateContract struct {
	OwnerAddress       []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"`
	FirstTokenId       []byte `protobuf:"bytes,2,opt,name=first_token_id,json=firstTokenId,proto3" json:"first_token_id,omitempty"`
	FirstTokenBalance  int64  `protobuf:"varint,3,opt,name=first_token_balance,json=firstTokenBalance,proto3" json:"first_token_balance,omitempty"`
	SecondTokenId      []byte `protobuf:"bytes,4,opt,name=second_token_id,json=secondTokenId,proto3" json:"second_token_id,omitempty"`
	SecondTokenBalance int64  `protobuf:"varint,5,opt,name=second_token_balance,json=secondTokenBalance,proto3" json:"second_token_balance,omitempty"`
	// contains filtered or unexported fields
}

func (*ExchangeCreateContract) Descriptor deprecated

func (*ExchangeCreateContract) Descriptor() ([]byte, []int)

Deprecated: Use ExchangeCreateContract.ProtoReflect.Descriptor instead.

func (*ExchangeCreateContract) GetFirstTokenBalance

func (x *ExchangeCreateContract) GetFirstTokenBalance() int64

func (*ExchangeCreateContract) GetFirstTokenId

func (x *ExchangeCreateContract) GetFirstTokenId() []byte

func (*ExchangeCreateContract) GetOwnerAddress

func (x *ExchangeCreateContract) GetOwnerAddress() []byte

func (*ExchangeCreateContract) GetSecondTokenBalance

func (x *ExchangeCreateContract) GetSecondTokenBalance() int64

func (*ExchangeCreateContract) GetSecondTokenId

func (x *ExchangeCreateContract) GetSecondTokenId() []byte

func (*ExchangeCreateContract) ProtoMessage

func (*ExchangeCreateContract) ProtoMessage()

func (*ExchangeCreateContract) ProtoReflect

func (x *ExchangeCreateContract) ProtoReflect() protoreflect.Message

func (*ExchangeCreateContract) Reset

func (x *ExchangeCreateContract) Reset()

func (*ExchangeCreateContract) String

func (x *ExchangeCreateContract) String() string

type ExchangeInjectContract

type ExchangeInjectContract struct {
	OwnerAddress []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"`
	ExchangeId   int64  `protobuf:"varint,2,opt,name=exchange_id,json=exchangeId,proto3" json:"exchange_id,omitempty"`
	TokenId      []byte `protobuf:"bytes,3,opt,name=token_id,json=tokenId,proto3" json:"token_id,omitempty"`
	Quant        int64  `protobuf:"varint,4,opt,name=quant,proto3" json:"quant,omitempty"`
	// contains filtered or unexported fields
}

func (*ExchangeInjectContract) Descriptor deprecated

func (*ExchangeInjectContract) Descriptor() ([]byte, []int)

Deprecated: Use ExchangeInjectContract.ProtoReflect.Descriptor instead.

func (*ExchangeInjectContract) GetExchangeId

func (x *ExchangeInjectContract) GetExchangeId() int64

func (*ExchangeInjectContract) GetOwnerAddress

func (x *ExchangeInjectContract) GetOwnerAddress() []byte

func (*ExchangeInjectContract) GetQuant

func (x *ExchangeInjectContract) GetQuant() int64

func (*ExchangeInjectContract) GetTokenId

func (x *ExchangeInjectContract) GetTokenId() []byte

func (*ExchangeInjectContract) ProtoMessage

func (*ExchangeInjectContract) ProtoMessage()

func (*ExchangeInjectContract) ProtoReflect

func (x *ExchangeInjectContract) ProtoReflect() protoreflect.Message

func (*ExchangeInjectContract) Reset

func (x *ExchangeInjectContract) Reset()

func (*ExchangeInjectContract) String

func (x *ExchangeInjectContract) String() string

type ExchangeTransactionContract

type ExchangeTransactionContract struct {
	OwnerAddress []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"`
	ExchangeId   int64  `protobuf:"varint,2,opt,name=exchange_id,json=exchangeId,proto3" json:"exchange_id,omitempty"`
	TokenId      []byte `protobuf:"bytes,3,opt,name=token_id,json=tokenId,proto3" json:"token_id,omitempty"`
	Quant        int64  `protobuf:"varint,4,opt,name=quant,proto3" json:"quant,omitempty"`
	Expected     int64  `protobuf:"varint,5,opt,name=expected,proto3" json:"expected,omitempty"`
	// contains filtered or unexported fields
}

func (*ExchangeTransactionContract) Descriptor deprecated

func (*ExchangeTransactionContract) Descriptor() ([]byte, []int)

Deprecated: Use ExchangeTransactionContract.ProtoReflect.Descriptor instead.

func (*ExchangeTransactionContract) GetExchangeId

func (x *ExchangeTransactionContract) GetExchangeId() int64

func (*ExchangeTransactionContract) GetExpected

func (x *ExchangeTransactionContract) GetExpected() int64

func (*ExchangeTransactionContract) GetOwnerAddress

func (x *ExchangeTransactionContract) GetOwnerAddress() []byte

func (*ExchangeTransactionContract) GetQuant

func (x *ExchangeTransactionContract) GetQuant() int64

func (*ExchangeTransactionContract) GetTokenId

func (x *ExchangeTransactionContract) GetTokenId() []byte

func (*ExchangeTransactionContract) ProtoMessage

func (*ExchangeTransactionContract) ProtoMessage()

func (*ExchangeTransactionContract) ProtoReflect

func (*ExchangeTransactionContract) Reset

func (x *ExchangeTransactionContract) Reset()

func (*ExchangeTransactionContract) String

func (x *ExchangeTransactionContract) String() string

type ExchangeWithdrawContract

type ExchangeWithdrawContract struct {
	OwnerAddress []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"`
	ExchangeId   int64  `protobuf:"varint,2,opt,name=exchange_id,json=exchangeId,proto3" json:"exchange_id,omitempty"`
	TokenId      []byte `protobuf:"bytes,3,opt,name=token_id,json=tokenId,proto3" json:"token_id,omitempty"`
	Quant        int64  `protobuf:"varint,4,opt,name=quant,proto3" json:"quant,omitempty"`
	// contains filtered or unexported fields
}

func (*ExchangeWithdrawContract) Descriptor deprecated

func (*ExchangeWithdrawContract) Descriptor() ([]byte, []int)

Deprecated: Use ExchangeWithdrawContract.ProtoReflect.Descriptor instead.

func (*ExchangeWithdrawContract) GetExchangeId

func (x *ExchangeWithdrawContract) GetExchangeId() int64

func (*ExchangeWithdrawContract) GetOwnerAddress

func (x *ExchangeWithdrawContract) GetOwnerAddress() []byte

func (*ExchangeWithdrawContract) GetQuant

func (x *ExchangeWithdrawContract) GetQuant() int64

func (*ExchangeWithdrawContract) GetTokenId

func (x *ExchangeWithdrawContract) GetTokenId() []byte

func (*ExchangeWithdrawContract) ProtoMessage

func (*ExchangeWithdrawContract) ProtoMessage()

func (*ExchangeWithdrawContract) ProtoReflect

func (x *ExchangeWithdrawContract) ProtoReflect() protoreflect.Message

func (*ExchangeWithdrawContract) Reset

func (x *ExchangeWithdrawContract) Reset()

func (*ExchangeWithdrawContract) String

func (x *ExchangeWithdrawContract) String() string

type FreezeBalanceContract

type FreezeBalanceContract struct {
	OwnerAddress    []byte       `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"`
	FrozenBalance   int64        `protobuf:"varint,2,opt,name=frozen_balance,json=frozenBalance,proto3" json:"frozen_balance,omitempty"`
	FrozenDuration  int64        `protobuf:"varint,3,opt,name=frozen_duration,json=frozenDuration,proto3" json:"frozen_duration,omitempty"`
	Resource        ResourceCode `protobuf:"varint,10,opt,name=resource,proto3,enum=protocol.ResourceCode" json:"resource,omitempty"`
	ReceiverAddress []byte       `protobuf:"bytes,15,opt,name=receiver_address,json=receiverAddress,proto3" json:"receiver_address,omitempty"`
	// contains filtered or unexported fields
}

func (*FreezeBalanceContract) Descriptor deprecated

func (*FreezeBalanceContract) Descriptor() ([]byte, []int)

Deprecated: Use FreezeBalanceContract.ProtoReflect.Descriptor instead.

func (*FreezeBalanceContract) GetFrozenBalance

func (x *FreezeBalanceContract) GetFrozenBalance() int64

func (*FreezeBalanceContract) GetFrozenDuration

func (x *FreezeBalanceContract) GetFrozenDuration() int64

func (*FreezeBalanceContract) GetOwnerAddress

func (x *FreezeBalanceContract) GetOwnerAddress() []byte

func (*FreezeBalanceContract) GetReceiverAddress

func (x *FreezeBalanceContract) GetReceiverAddress() []byte

func (*FreezeBalanceContract) GetResource

func (x *FreezeBalanceContract) GetResource() ResourceCode

func (*FreezeBalanceContract) ProtoMessage

func (*FreezeBalanceContract) ProtoMessage()

func (*FreezeBalanceContract) ProtoReflect

func (x *FreezeBalanceContract) ProtoReflect() protoreflect.Message

func (*FreezeBalanceContract) Reset

func (x *FreezeBalanceContract) Reset()

func (*FreezeBalanceContract) String

func (x *FreezeBalanceContract) String() string

type IncrementalMerkleTree

type IncrementalMerkleTree struct {
	Left    *PedersenHash   `protobuf:"bytes,1,opt,name=left,proto3" json:"left,omitempty"`
	Right   *PedersenHash   `protobuf:"bytes,2,opt,name=right,proto3" json:"right,omitempty"`
	Parents []*PedersenHash `protobuf:"bytes,3,rep,name=parents,proto3" json:"parents,omitempty"`
	// contains filtered or unexported fields
}

func (*IncrementalMerkleTree) Descriptor deprecated

func (*IncrementalMerkleTree) Descriptor() ([]byte, []int)

Deprecated: Use IncrementalMerkleTree.ProtoReflect.Descriptor instead.

func (*IncrementalMerkleTree) GetLeft

func (x *IncrementalMerkleTree) GetLeft() *PedersenHash

func (*IncrementalMerkleTree) GetParents

func (x *IncrementalMerkleTree) GetParents() []*PedersenHash

func (*IncrementalMerkleTree) GetRight

func (x *IncrementalMerkleTree) GetRight() *PedersenHash

func (*IncrementalMerkleTree) ProtoMessage

func (*IncrementalMerkleTree) ProtoMessage()

func (*IncrementalMerkleTree) ProtoReflect

func (x *IncrementalMerkleTree) ProtoReflect() protoreflect.Message

func (*IncrementalMerkleTree) Reset

func (x *IncrementalMerkleTree) Reset()

func (*IncrementalMerkleTree) String

func (x *IncrementalMerkleTree) String() string

type IncrementalMerkleVoucher

type IncrementalMerkleVoucher struct {
	Tree        *IncrementalMerkleTree `protobuf:"bytes,1,opt,name=tree,proto3" json:"tree,omitempty"`
	Filled      []*PedersenHash        `protobuf:"bytes,2,rep,name=filled,proto3" json:"filled,omitempty"`
	Cursor      *IncrementalMerkleTree `protobuf:"bytes,3,opt,name=cursor,proto3" json:"cursor,omitempty"`
	CursorDepth int64                  `protobuf:"varint,4,opt,name=cursor_depth,json=cursorDepth,proto3" json:"cursor_depth,omitempty"`
	Rt          []byte                 `protobuf:"bytes,5,opt,name=rt,proto3" json:"rt,omitempty"`
	OutputPoint *OutputPoint           `protobuf:"bytes,10,opt,name=output_point,json=outputPoint,proto3" json:"output_point,omitempty"`
	// contains filtered or unexported fields
}

func (*IncrementalMerkleVoucher) Descriptor deprecated

func (*IncrementalMerkleVoucher) Descriptor() ([]byte, []int)

Deprecated: Use IncrementalMerkleVoucher.ProtoReflect.Descriptor instead.

func (*IncrementalMerkleVoucher) GetCursor

func (*IncrementalMerkleVoucher) GetCursorDepth

func (x *IncrementalMerkleVoucher) GetCursorDepth() int64

func (*IncrementalMerkleVoucher) GetFilled

func (x *IncrementalMerkleVoucher) GetFilled() []*PedersenHash

func (*IncrementalMerkleVoucher) GetOutputPoint

func (x *IncrementalMerkleVoucher) GetOutputPoint() *OutputPoint

func (*IncrementalMerkleVoucher) GetRt

func (x *IncrementalMerkleVoucher) GetRt() []byte

func (*IncrementalMerkleVoucher) GetTree

func (*IncrementalMerkleVoucher) ProtoMessage

func (*IncrementalMerkleVoucher) ProtoMessage()

func (*IncrementalMerkleVoucher) ProtoReflect

func (x *IncrementalMerkleVoucher) ProtoReflect() protoreflect.Message

func (*IncrementalMerkleVoucher) Reset

func (x *IncrementalMerkleVoucher) Reset()

func (*IncrementalMerkleVoucher) String

func (x *IncrementalMerkleVoucher) String() string

type IncrementalMerkleVoucherInfo

type IncrementalMerkleVoucherInfo struct {
	Vouchers []*IncrementalMerkleVoucher `protobuf:"bytes,1,rep,name=vouchers,proto3" json:"vouchers,omitempty"`
	Paths    [][]byte                    `protobuf:"bytes,2,rep,name=paths,proto3" json:"paths,omitempty"`
	// contains filtered or unexported fields
}

func (*IncrementalMerkleVoucherInfo) Descriptor deprecated

func (*IncrementalMerkleVoucherInfo) Descriptor() ([]byte, []int)

Deprecated: Use IncrementalMerkleVoucherInfo.ProtoReflect.Descriptor instead.

func (*IncrementalMerkleVoucherInfo) GetPaths

func (x *IncrementalMerkleVoucherInfo) GetPaths() [][]byte

func (*IncrementalMerkleVoucherInfo) GetVouchers

func (*IncrementalMerkleVoucherInfo) ProtoMessage

func (*IncrementalMerkleVoucherInfo) ProtoMessage()

func (*IncrementalMerkleVoucherInfo) ProtoReflect

func (*IncrementalMerkleVoucherInfo) Reset

func (x *IncrementalMerkleVoucherInfo) Reset()

func (*IncrementalMerkleVoucherInfo) String

type MerklePath

type MerklePath struct {
	AuthenticationPaths []*AuthenticationPath `protobuf:"bytes,1,rep,name=authentication_paths,json=authenticationPaths,proto3" json:"authentication_paths,omitempty"`
	Index               []bool                `protobuf:"varint,2,rep,packed,name=index,proto3" json:"index,omitempty"`
	Rt                  []byte                `protobuf:"bytes,3,opt,name=rt,proto3" json:"rt,omitempty"`
	// contains filtered or unexported fields
}

func (*MerklePath) Descriptor deprecated

func (*MerklePath) Descriptor() ([]byte, []int)

Deprecated: Use MerklePath.ProtoReflect.Descriptor instead.

func (*MerklePath) GetAuthenticationPaths

func (x *MerklePath) GetAuthenticationPaths() []*AuthenticationPath

func (*MerklePath) GetIndex

func (x *MerklePath) GetIndex() []bool

func (*MerklePath) GetRt

func (x *MerklePath) GetRt() []byte

func (*MerklePath) ProtoMessage

func (*MerklePath) ProtoMessage()

func (*MerklePath) ProtoReflect

func (x *MerklePath) ProtoReflect() protoreflect.Message

func (*MerklePath) Reset

func (x *MerklePath) Reset()

func (*MerklePath) String

func (x *MerklePath) String() string

type OutputPoint

type OutputPoint struct {
	Hash  []byte `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"`
	Index int32  `protobuf:"varint,2,opt,name=index,proto3" json:"index,omitempty"`
	// contains filtered or unexported fields
}

func (*OutputPoint) Descriptor deprecated

func (*OutputPoint) Descriptor() ([]byte, []int)

Deprecated: Use OutputPoint.ProtoReflect.Descriptor instead.

func (*OutputPoint) GetHash

func (x *OutputPoint) GetHash() []byte

func (*OutputPoint) GetIndex

func (x *OutputPoint) GetIndex() int32

func (*OutputPoint) ProtoMessage

func (*OutputPoint) ProtoMessage()

func (*OutputPoint) ProtoReflect

func (x *OutputPoint) ProtoReflect() protoreflect.Message

func (*OutputPoint) Reset

func (x *OutputPoint) Reset()

func (*OutputPoint) String

func (x *OutputPoint) String() string

type OutputPointInfo

type OutputPointInfo struct {
	OutPoints []*OutputPoint `protobuf:"bytes,1,rep,name=out_points,json=outPoints,proto3" json:"out_points,omitempty"`
	BlockNum  int32          `protobuf:"varint,2,opt,name=block_num,json=blockNum,proto3" json:"block_num,omitempty"`
	// contains filtered or unexported fields
}

func (*OutputPointInfo) Descriptor deprecated

func (*OutputPointInfo) Descriptor() ([]byte, []int)

Deprecated: Use OutputPointInfo.ProtoReflect.Descriptor instead.

func (*OutputPointInfo) GetBlockNum

func (x *OutputPointInfo) GetBlockNum() int32

func (*OutputPointInfo) GetOutPoints

func (x *OutputPointInfo) GetOutPoints() []*OutputPoint

func (*OutputPointInfo) ProtoMessage

func (*OutputPointInfo) ProtoMessage()

func (*OutputPointInfo) ProtoReflect

func (x *OutputPointInfo) ProtoReflect() protoreflect.Message

func (*OutputPointInfo) Reset

func (x *OutputPointInfo) Reset()

func (*OutputPointInfo) String

func (x *OutputPointInfo) String() string

type ParticipateAssetIssueContract

type ParticipateAssetIssueContract struct {
	OwnerAddress []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"`
	ToAddress    []byte `protobuf:"bytes,2,opt,name=to_address,json=toAddress,proto3" json:"to_address,omitempty"`
	AssetName    []byte `protobuf:"bytes,3,opt,name=asset_name,json=assetName,proto3" json:"asset_name,omitempty"` // this field is token name before the proposal ALLOW_SAME_TOKEN_NAME is active, otherwise it is token id and token is should be in string format.
	Amount       int64  `protobuf:"varint,4,opt,name=amount,proto3" json:"amount,omitempty"`                       // the amount of drops
	// contains filtered or unexported fields
}

func (*ParticipateAssetIssueContract) Descriptor deprecated

func (*ParticipateAssetIssueContract) Descriptor() ([]byte, []int)

Deprecated: Use ParticipateAssetIssueContract.ProtoReflect.Descriptor instead.

func (*ParticipateAssetIssueContract) GetAmount

func (x *ParticipateAssetIssueContract) GetAmount() int64

func (*ParticipateAssetIssueContract) GetAssetName

func (x *ParticipateAssetIssueContract) GetAssetName() []byte

func (*ParticipateAssetIssueContract) GetOwnerAddress

func (x *ParticipateAssetIssueContract) GetOwnerAddress() []byte

func (*ParticipateAssetIssueContract) GetToAddress

func (x *ParticipateAssetIssueContract) GetToAddress() []byte

func (*ParticipateAssetIssueContract) ProtoMessage

func (*ParticipateAssetIssueContract) ProtoMessage()

func (*ParticipateAssetIssueContract) ProtoReflect

func (*ParticipateAssetIssueContract) Reset

func (x *ParticipateAssetIssueContract) Reset()

func (*ParticipateAssetIssueContract) String

type PedersenHash

type PedersenHash struct {
	Content []byte `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty"`
	// contains filtered or unexported fields
}

func (*PedersenHash) Descriptor deprecated

func (*PedersenHash) Descriptor() ([]byte, []int)

Deprecated: Use PedersenHash.ProtoReflect.Descriptor instead.

func (*PedersenHash) GetContent

func (x *PedersenHash) GetContent() []byte

func (*PedersenHash) ProtoMessage

func (*PedersenHash) ProtoMessage()

func (*PedersenHash) ProtoReflect

func (x *PedersenHash) ProtoReflect() protoreflect.Message

func (*PedersenHash) Reset

func (x *PedersenHash) Reset()

func (*PedersenHash) String

func (x *PedersenHash) String() string

type ProposalApproveContract

type ProposalApproveContract struct {
	OwnerAddress  []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"`
	ProposalId    int64  `protobuf:"varint,2,opt,name=proposal_id,json=proposalId,proto3" json:"proposal_id,omitempty"`
	IsAddApproval bool   `protobuf:"varint,3,opt,name=is_add_approval,json=isAddApproval,proto3" json:"is_add_approval,omitempty"` // add or remove approval
	// contains filtered or unexported fields
}

func (*ProposalApproveContract) Descriptor deprecated

func (*ProposalApproveContract) Descriptor() ([]byte, []int)

Deprecated: Use ProposalApproveContract.ProtoReflect.Descriptor instead.

func (*ProposalApproveContract) GetIsAddApproval

func (x *ProposalApproveContract) GetIsAddApproval() bool

func (*ProposalApproveContract) GetOwnerAddress

func (x *ProposalApproveContract) GetOwnerAddress() []byte

func (*ProposalApproveContract) GetProposalId

func (x *ProposalApproveContract) GetProposalId() int64

func (*ProposalApproveContract) ProtoMessage

func (*ProposalApproveContract) ProtoMessage()

func (*ProposalApproveContract) ProtoReflect

func (x *ProposalApproveContract) ProtoReflect() protoreflect.Message

func (*ProposalApproveContract) Reset

func (x *ProposalApproveContract) Reset()

func (*ProposalApproveContract) String

func (x *ProposalApproveContract) String() string

type ProposalCreateContract

type ProposalCreateContract struct {
	OwnerAddress []byte          `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"`
	Parameters   map[int64]int64 `` /* 163-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*ProposalCreateContract) Descriptor deprecated

func (*ProposalCreateContract) Descriptor() ([]byte, []int)

Deprecated: Use ProposalCreateContract.ProtoReflect.Descriptor instead.

func (*ProposalCreateContract) GetOwnerAddress

func (x *ProposalCreateContract) GetOwnerAddress() []byte

func (*ProposalCreateContract) GetParameters

func (x *ProposalCreateContract) GetParameters() map[int64]int64

func (*ProposalCreateContract) ProtoMessage

func (*ProposalCreateContract) ProtoMessage()

func (*ProposalCreateContract) ProtoReflect

func (x *ProposalCreateContract) ProtoReflect() protoreflect.Message

func (*ProposalCreateContract) Reset

func (x *ProposalCreateContract) Reset()

func (*ProposalCreateContract) String

func (x *ProposalCreateContract) String() string

type ProposalDeleteContract

type ProposalDeleteContract struct {
	OwnerAddress []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"`
	ProposalId   int64  `protobuf:"varint,2,opt,name=proposal_id,json=proposalId,proto3" json:"proposal_id,omitempty"`
	// contains filtered or unexported fields
}

func (*ProposalDeleteContract) Descriptor deprecated

func (*ProposalDeleteContract) Descriptor() ([]byte, []int)

Deprecated: Use ProposalDeleteContract.ProtoReflect.Descriptor instead.

func (*ProposalDeleteContract) GetOwnerAddress

func (x *ProposalDeleteContract) GetOwnerAddress() []byte

func (*ProposalDeleteContract) GetProposalId

func (x *ProposalDeleteContract) GetProposalId() int64

func (*ProposalDeleteContract) ProtoMessage

func (*ProposalDeleteContract) ProtoMessage()

func (*ProposalDeleteContract) ProtoReflect

func (x *ProposalDeleteContract) ProtoReflect() protoreflect.Message

func (*ProposalDeleteContract) Reset

func (x *ProposalDeleteContract) Reset()

func (*ProposalDeleteContract) String

func (x *ProposalDeleteContract) String() string

type ReceiveDescription

type ReceiveDescription struct {
	ValueCommitment []byte `protobuf:"bytes,1,opt,name=value_commitment,json=valueCommitment,proto3" json:"value_commitment,omitempty"`
	NoteCommitment  []byte `protobuf:"bytes,2,opt,name=note_commitment,json=noteCommitment,proto3" json:"note_commitment,omitempty"`
	Epk             []byte `protobuf:"bytes,3,opt,name=epk,proto3" json:"epk,omitempty"`               // for Encryption
	CEnc            []byte `protobuf:"bytes,4,opt,name=c_enc,json=cEnc,proto3" json:"c_enc,omitempty"` // Encryption for incoming, decrypt it with ivk
	COut            []byte `protobuf:"bytes,5,opt,name=c_out,json=cOut,proto3" json:"c_out,omitempty"` // Encryption for audit, decrypt it with ovk
	Zkproof         []byte `protobuf:"bytes,6,opt,name=zkproof,proto3" json:"zkproof,omitempty"`
	// contains filtered or unexported fields
}

func (*ReceiveDescription) Descriptor deprecated

func (*ReceiveDescription) Descriptor() ([]byte, []int)

Deprecated: Use ReceiveDescription.ProtoReflect.Descriptor instead.

func (*ReceiveDescription) GetCEnc

func (x *ReceiveDescription) GetCEnc() []byte

func (*ReceiveDescription) GetCOut

func (x *ReceiveDescription) GetCOut() []byte

func (*ReceiveDescription) GetEpk

func (x *ReceiveDescription) GetEpk() []byte

func (*ReceiveDescription) GetNoteCommitment

func (x *ReceiveDescription) GetNoteCommitment() []byte

func (*ReceiveDescription) GetValueCommitment

func (x *ReceiveDescription) GetValueCommitment() []byte

func (*ReceiveDescription) GetZkproof

func (x *ReceiveDescription) GetZkproof() []byte

func (*ReceiveDescription) ProtoMessage

func (*ReceiveDescription) ProtoMessage()

func (*ReceiveDescription) ProtoReflect

func (x *ReceiveDescription) ProtoReflect() protoreflect.Message

func (*ReceiveDescription) Reset

func (x *ReceiveDescription) Reset()

func (*ReceiveDescription) String

func (x *ReceiveDescription) String() string

type ResourceCode

type ResourceCode int32
const (
	ResourceCode_BANDWIDTH ResourceCode = 0
	ResourceCode_ENERGY    ResourceCode = 1
)

func (ResourceCode) Descriptor

func (ResourceCode) Enum

func (x ResourceCode) Enum() *ResourceCode

func (ResourceCode) EnumDescriptor deprecated

func (ResourceCode) EnumDescriptor() ([]byte, []int)

Deprecated: Use ResourceCode.Descriptor instead.

func (ResourceCode) Number

func (ResourceCode) String

func (x ResourceCode) String() string

func (ResourceCode) Type

type SellStorageContract

type SellStorageContract struct {
	OwnerAddress []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"`
	StorageBytes int64  `protobuf:"varint,2,opt,name=storage_bytes,json=storageBytes,proto3" json:"storage_bytes,omitempty"`
	// contains filtered or unexported fields
}

func (*SellStorageContract) Descriptor deprecated

func (*SellStorageContract) Descriptor() ([]byte, []int)

Deprecated: Use SellStorageContract.ProtoReflect.Descriptor instead.

func (*SellStorageContract) GetOwnerAddress

func (x *SellStorageContract) GetOwnerAddress() []byte

func (*SellStorageContract) GetStorageBytes

func (x *SellStorageContract) GetStorageBytes() int64

func (*SellStorageContract) ProtoMessage

func (*SellStorageContract) ProtoMessage()

func (*SellStorageContract) ProtoReflect

func (x *SellStorageContract) ProtoReflect() protoreflect.Message

func (*SellStorageContract) Reset

func (x *SellStorageContract) Reset()

func (*SellStorageContract) String

func (x *SellStorageContract) String() string

type SetAccountIdContract

type SetAccountIdContract struct {
	AccountId    []byte `protobuf:"bytes,1,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"`
	OwnerAddress []byte `protobuf:"bytes,2,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"`
	// contains filtered or unexported fields
}

Set account id if the account has no id. Account id is unique and case insensitive.

func (*SetAccountIdContract) Descriptor deprecated

func (*SetAccountIdContract) Descriptor() ([]byte, []int)

Deprecated: Use SetAccountIdContract.ProtoReflect.Descriptor instead.

func (*SetAccountIdContract) GetAccountId

func (x *SetAccountIdContract) GetAccountId() []byte

func (*SetAccountIdContract) GetOwnerAddress

func (x *SetAccountIdContract) GetOwnerAddress() []byte

func (*SetAccountIdContract) ProtoMessage

func (*SetAccountIdContract) ProtoMessage()

func (*SetAccountIdContract) ProtoReflect

func (x *SetAccountIdContract) ProtoReflect() protoreflect.Message

func (*SetAccountIdContract) Reset

func (x *SetAccountIdContract) Reset()

func (*SetAccountIdContract) String

func (x *SetAccountIdContract) String() string

type ShieldedTransferContract

type ShieldedTransferContract struct {
	TransparentFromAddress []byte `` // transparent address
	/* 129-byte string literal not displayed */
	FromAmount           int64                 `protobuf:"varint,2,opt,name=from_amount,json=fromAmount,proto3" json:"from_amount,omitempty"`
	SpendDescription     []*SpendDescription   `protobuf:"bytes,3,rep,name=spend_description,json=spendDescription,proto3" json:"spend_description,omitempty"`
	ReceiveDescription   []*ReceiveDescription `protobuf:"bytes,4,rep,name=receive_description,json=receiveDescription,proto3" json:"receive_description,omitempty"`
	BindingSignature     []byte                `protobuf:"bytes,5,opt,name=binding_signature,json=bindingSignature,proto3" json:"binding_signature,omitempty"`
	TransparentToAddress []byte                `protobuf:"bytes,6,opt,name=transparent_to_address,json=transparentToAddress,proto3" json:"transparent_to_address,omitempty"` // transparent address
	ToAmount             int64                 `protobuf:"varint,7,opt,name=to_amount,json=toAmount,proto3" json:"to_amount,omitempty"`                                      // the amount to transparent to_address
	// contains filtered or unexported fields
}

func (*ShieldedTransferContract) Descriptor deprecated

func (*ShieldedTransferContract) Descriptor() ([]byte, []int)

Deprecated: Use ShieldedTransferContract.ProtoReflect.Descriptor instead.

func (*ShieldedTransferContract) GetBindingSignature

func (x *ShieldedTransferContract) GetBindingSignature() []byte

func (*ShieldedTransferContract) GetFromAmount

func (x *ShieldedTransferContract) GetFromAmount() int64

func (*ShieldedTransferContract) GetReceiveDescription

func (x *ShieldedTransferContract) GetReceiveDescription() []*ReceiveDescription

func (*ShieldedTransferContract) GetSpendDescription

func (x *ShieldedTransferContract) GetSpendDescription() []*SpendDescription

func (*ShieldedTransferContract) GetToAmount

func (x *ShieldedTransferContract) GetToAmount() int64

func (*ShieldedTransferContract) GetTransparentFromAddress

func (x *ShieldedTransferContract) GetTransparentFromAddress() []byte

func (*ShieldedTransferContract) GetTransparentToAddress

func (x *ShieldedTransferContract) GetTransparentToAddress() []byte

func (*ShieldedTransferContract) ProtoMessage

func (*ShieldedTransferContract) ProtoMessage()

func (*ShieldedTransferContract) ProtoReflect

func (x *ShieldedTransferContract) ProtoReflect() protoreflect.Message

func (*ShieldedTransferContract) Reset

func (x *ShieldedTransferContract) Reset()

func (*ShieldedTransferContract) String

func (x *ShieldedTransferContract) String() string

type SmartContract

type SmartContract struct {
	OriginAddress              []byte             `protobuf:"bytes,1,opt,name=origin_address,json=originAddress,proto3" json:"origin_address,omitempty"`
	ContractAddress            []byte             `protobuf:"bytes,2,opt,name=contract_address,json=contractAddress,proto3" json:"contract_address,omitempty"`
	Abi                        *SmartContract_ABI `protobuf:"bytes,3,opt,name=abi,proto3" json:"abi,omitempty"`
	Bytecode                   []byte             `protobuf:"bytes,4,opt,name=bytecode,proto3" json:"bytecode,omitempty"`
	CallValue                  int64              `protobuf:"varint,5,opt,name=call_value,json=callValue,proto3" json:"call_value,omitempty"`
	ConsumeUserResourcePercent int64              `` /* 144-byte string literal not displayed */
	Name                       string             `protobuf:"bytes,7,opt,name=name,proto3" json:"name,omitempty"`
	OriginEnergyLimit          int64              `protobuf:"varint,8,opt,name=origin_energy_limit,json=originEnergyLimit,proto3" json:"origin_energy_limit,omitempty"`
	CodeHash                   []byte             `protobuf:"bytes,9,opt,name=code_hash,json=codeHash,proto3" json:"code_hash,omitempty"`
	TrxHash                    []byte             `protobuf:"bytes,10,opt,name=trx_hash,json=trxHash,proto3" json:"trx_hash,omitempty"`
	// contains filtered or unexported fields
}

func (*SmartContract) Descriptor deprecated

func (*SmartContract) Descriptor() ([]byte, []int)

Deprecated: Use SmartContract.ProtoReflect.Descriptor instead.

func (*SmartContract) GetAbi

func (x *SmartContract) GetAbi() *SmartContract_ABI

func (*SmartContract) GetBytecode

func (x *SmartContract) GetBytecode() []byte

func (*SmartContract) GetCallValue

func (x *SmartContract) GetCallValue() int64

func (*SmartContract) GetCodeHash

func (x *SmartContract) GetCodeHash() []byte

func (*SmartContract) GetConsumeUserResourcePercent

func (x *SmartContract) GetConsumeUserResourcePercent() int64

func (*SmartContract) GetContractAddress

func (x *SmartContract) GetContractAddress() []byte

func (*SmartContract) GetName

func (x *SmartContract) GetName() string

func (*SmartContract) GetOriginAddress

func (x *SmartContract) GetOriginAddress() []byte

func (*SmartContract) GetOriginEnergyLimit

func (x *SmartContract) GetOriginEnergyLimit() int64

func (*SmartContract) GetTrxHash

func (x *SmartContract) GetTrxHash() []byte

func (*SmartContract) ProtoMessage

func (*SmartContract) ProtoMessage()

func (*SmartContract) ProtoReflect

func (x *SmartContract) ProtoReflect() protoreflect.Message

func (*SmartContract) Reset

func (x *SmartContract) Reset()

func (*SmartContract) String

func (x *SmartContract) String() string

type SmartContract_ABI

type SmartContract_ABI struct {
	Entrys []*SmartContract_ABI_Entry `protobuf:"bytes,1,rep,name=entrys,proto3" json:"entrys,omitempty"`
	// contains filtered or unexported fields
}

func (*SmartContract_ABI) Descriptor deprecated

func (*SmartContract_ABI) Descriptor() ([]byte, []int)

Deprecated: Use SmartContract_ABI.ProtoReflect.Descriptor instead.

func (*SmartContract_ABI) GetEntrys

func (x *SmartContract_ABI) GetEntrys() []*SmartContract_ABI_Entry

func (*SmartContract_ABI) ProtoMessage

func (*SmartContract_ABI) ProtoMessage()

func (*SmartContract_ABI) ProtoReflect

func (x *SmartContract_ABI) ProtoReflect() protoreflect.Message

func (*SmartContract_ABI) Reset

func (x *SmartContract_ABI) Reset()

func (*SmartContract_ABI) String

func (x *SmartContract_ABI) String() string

type SmartContract_ABI_Entry

type SmartContract_ABI_Entry struct {
	Anonymous       bool                                        `protobuf:"varint,1,opt,name=anonymous,proto3" json:"anonymous,omitempty"`
	Constant        bool                                        `protobuf:"varint,2,opt,name=constant,proto3" json:"constant,omitempty"`
	Name            string                                      `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	Inputs          []*SmartContract_ABI_Entry_Param            `protobuf:"bytes,4,rep,name=inputs,proto3" json:"inputs,omitempty"`
	Outputs         []*SmartContract_ABI_Entry_Param            `protobuf:"bytes,5,rep,name=outputs,proto3" json:"outputs,omitempty"`
	Type            SmartContract_ABI_Entry_EntryType           `protobuf:"varint,6,opt,name=type,proto3,enum=protocol.SmartContract_ABI_Entry_EntryType" json:"type,omitempty"`
	Payable         bool                                        `protobuf:"varint,7,opt,name=payable,proto3" json:"payable,omitempty"`
	StateMutability SmartContract_ABI_Entry_StateMutabilityType `` /* 142-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*SmartContract_ABI_Entry) Descriptor deprecated

func (*SmartContract_ABI_Entry) Descriptor() ([]byte, []int)

Deprecated: Use SmartContract_ABI_Entry.ProtoReflect.Descriptor instead.

func (*SmartContract_ABI_Entry) GetAnonymous

func (x *SmartContract_ABI_Entry) GetAnonymous() bool

func (*SmartContract_ABI_Entry) GetConstant

func (x *SmartContract_ABI_Entry) GetConstant() bool

func (*SmartContract_ABI_Entry) GetInputs

func (*SmartContract_ABI_Entry) GetName

func (x *SmartContract_ABI_Entry) GetName() string

func (*SmartContract_ABI_Entry) GetOutputs

func (*SmartContract_ABI_Entry) GetPayable

func (x *SmartContract_ABI_Entry) GetPayable() bool

func (*SmartContract_ABI_Entry) GetStateMutability

func (*SmartContract_ABI_Entry) GetType

func (*SmartContract_ABI_Entry) ProtoMessage

func (*SmartContract_ABI_Entry) ProtoMessage()

func (*SmartContract_ABI_Entry) ProtoReflect

func (x *SmartContract_ABI_Entry) ProtoReflect() protoreflect.Message

func (*SmartContract_ABI_Entry) Reset

func (x *SmartContract_ABI_Entry) Reset()

func (*SmartContract_ABI_Entry) String

func (x *SmartContract_ABI_Entry) String() string

type SmartContract_ABI_Entry_EntryType

type SmartContract_ABI_Entry_EntryType int32
const (
	SmartContract_ABI_Entry_UnknownEntryType SmartContract_ABI_Entry_EntryType = 0
	SmartContract_ABI_Entry_Constructor      SmartContract_ABI_Entry_EntryType = 1
	SmartContract_ABI_Entry_Function         SmartContract_ABI_Entry_EntryType = 2
	SmartContract_ABI_Entry_Event            SmartContract_ABI_Entry_EntryType = 3
	SmartContract_ABI_Entry_Fallback         SmartContract_ABI_Entry_EntryType = 4
)

func (SmartContract_ABI_Entry_EntryType) Descriptor

func (SmartContract_ABI_Entry_EntryType) Enum

func (SmartContract_ABI_Entry_EntryType) EnumDescriptor deprecated

func (SmartContract_ABI_Entry_EntryType) EnumDescriptor() ([]byte, []int)

Deprecated: Use SmartContract_ABI_Entry_EntryType.Descriptor instead.

func (SmartContract_ABI_Entry_EntryType) Number

func (SmartContract_ABI_Entry_EntryType) String

func (SmartContract_ABI_Entry_EntryType) Type

type SmartContract_ABI_Entry_Param

type SmartContract_ABI_Entry_Param struct {
	Indexed bool   `protobuf:"varint,1,opt,name=indexed,proto3" json:"indexed,omitempty"`
	Name    string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Type    string `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"` // SolidityType type = 3;
	// contains filtered or unexported fields
}

func (*SmartContract_ABI_Entry_Param) Descriptor deprecated

func (*SmartContract_ABI_Entry_Param) Descriptor() ([]byte, []int)

Deprecated: Use SmartContract_ABI_Entry_Param.ProtoReflect.Descriptor instead.

func (*SmartContract_ABI_Entry_Param) GetIndexed

func (x *SmartContract_ABI_Entry_Param) GetIndexed() bool

func (*SmartContract_ABI_Entry_Param) GetName

func (*SmartContract_ABI_Entry_Param) GetType

func (*SmartContract_ABI_Entry_Param) ProtoMessage

func (*SmartContract_ABI_Entry_Param) ProtoMessage()

func (*SmartContract_ABI_Entry_Param) ProtoReflect

func (*SmartContract_ABI_Entry_Param) Reset

func (x *SmartContract_ABI_Entry_Param) Reset()

func (*SmartContract_ABI_Entry_Param) String

type SmartContract_ABI_Entry_StateMutabilityType

type SmartContract_ABI_Entry_StateMutabilityType int32
const (
	SmartContract_ABI_Entry_UnknownMutabilityType SmartContract_ABI_Entry_StateMutabilityType = 0
	SmartContract_ABI_Entry_Pure                  SmartContract_ABI_Entry_StateMutabilityType = 1
	SmartContract_ABI_Entry_View                  SmartContract_ABI_Entry_StateMutabilityType = 2
	SmartContract_ABI_Entry_Nonpayable            SmartContract_ABI_Entry_StateMutabilityType = 3
	SmartContract_ABI_Entry_Payable               SmartContract_ABI_Entry_StateMutabilityType = 4
)

func (SmartContract_ABI_Entry_StateMutabilityType) Descriptor

func (SmartContract_ABI_Entry_StateMutabilityType) Enum

func (SmartContract_ABI_Entry_StateMutabilityType) EnumDescriptor deprecated

func (SmartContract_ABI_Entry_StateMutabilityType) EnumDescriptor() ([]byte, []int)

Deprecated: Use SmartContract_ABI_Entry_StateMutabilityType.Descriptor instead.

func (SmartContract_ABI_Entry_StateMutabilityType) Number

func (SmartContract_ABI_Entry_StateMutabilityType) String

func (SmartContract_ABI_Entry_StateMutabilityType) Type

type SpendDescription

type SpendDescription struct {
	ValueCommitment         []byte `protobuf:"bytes,1,opt,name=value_commitment,json=valueCommitment,proto3" json:"value_commitment,omitempty"`
	Anchor                  []byte `protobuf:"bytes,2,opt,name=anchor,proto3" json:"anchor,omitempty"`       // merkle root
	Nullifier               []byte `protobuf:"bytes,3,opt,name=nullifier,proto3" json:"nullifier,omitempty"` // used for check double spend
	Rk                      []byte `protobuf:"bytes,4,opt,name=rk,proto3" json:"rk,omitempty"`               // used for check spend authority signature
	Zkproof                 []byte `protobuf:"bytes,5,opt,name=zkproof,proto3" json:"zkproof,omitempty"`
	SpendAuthoritySignature []byte `` /* 132-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*SpendDescription) Descriptor deprecated

func (*SpendDescription) Descriptor() ([]byte, []int)

Deprecated: Use SpendDescription.ProtoReflect.Descriptor instead.

func (*SpendDescription) GetAnchor

func (x *SpendDescription) GetAnchor() []byte

func (*SpendDescription) GetNullifier

func (x *SpendDescription) GetNullifier() []byte

func (*SpendDescription) GetRk

func (x *SpendDescription) GetRk() []byte

func (*SpendDescription) GetSpendAuthoritySignature

func (x *SpendDescription) GetSpendAuthoritySignature() []byte

func (*SpendDescription) GetValueCommitment

func (x *SpendDescription) GetValueCommitment() []byte

func (*SpendDescription) GetZkproof

func (x *SpendDescription) GetZkproof() []byte

func (*SpendDescription) ProtoMessage

func (*SpendDescription) ProtoMessage()

func (*SpendDescription) ProtoReflect

func (x *SpendDescription) ProtoReflect() protoreflect.Message

func (*SpendDescription) Reset

func (x *SpendDescription) Reset()

func (*SpendDescription) String

func (x *SpendDescription) String() string

type TransferAssetContract

type TransferAssetContract struct {
	AssetName    []byte `protobuf:"bytes,1,opt,name=asset_name,json=assetName,proto3" json:"asset_name,omitempty"` // this field is token name before the proposal ALLOW_SAME_TOKEN_NAME is active, otherwise it is token id and token is should be in string format.
	OwnerAddress []byte `protobuf:"bytes,2,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"`
	ToAddress    []byte `protobuf:"bytes,3,opt,name=to_address,json=toAddress,proto3" json:"to_address,omitempty"`
	Amount       int64  `protobuf:"varint,4,opt,name=amount,proto3" json:"amount,omitempty"`
	// contains filtered or unexported fields
}

func (*TransferAssetContract) Descriptor deprecated

func (*TransferAssetContract) Descriptor() ([]byte, []int)

Deprecated: Use TransferAssetContract.ProtoReflect.Descriptor instead.

func (*TransferAssetContract) GetAmount

func (x *TransferAssetContract) GetAmount() int64

func (*TransferAssetContract) GetAssetName

func (x *TransferAssetContract) GetAssetName() []byte

func (*TransferAssetContract) GetOwnerAddress

func (x *TransferAssetContract) GetOwnerAddress() []byte

func (*TransferAssetContract) GetToAddress

func (x *TransferAssetContract) GetToAddress() []byte

func (*TransferAssetContract) ProtoMessage

func (*TransferAssetContract) ProtoMessage()

func (*TransferAssetContract) ProtoReflect

func (x *TransferAssetContract) ProtoReflect() protoreflect.Message

func (*TransferAssetContract) Reset

func (x *TransferAssetContract) Reset()

func (*TransferAssetContract) String

func (x *TransferAssetContract) String() string

type TransferContract

type TransferContract struct {
	OwnerAddress []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"`
	ToAddress    []byte `protobuf:"bytes,2,opt,name=to_address,json=toAddress,proto3" json:"to_address,omitempty"`
	Amount       int64  `protobuf:"varint,3,opt,name=amount,proto3" json:"amount,omitempty"`
	// contains filtered or unexported fields
}

func (*TransferContract) Descriptor deprecated

func (*TransferContract) Descriptor() ([]byte, []int)

Deprecated: Use TransferContract.ProtoReflect.Descriptor instead.

func (*TransferContract) GetAmount

func (x *TransferContract) GetAmount() int64

func (*TransferContract) GetOwnerAddress

func (x *TransferContract) GetOwnerAddress() []byte

func (*TransferContract) GetToAddress

func (x *TransferContract) GetToAddress() []byte

func (*TransferContract) ProtoMessage

func (*TransferContract) ProtoMessage()

func (*TransferContract) ProtoReflect

func (x *TransferContract) ProtoReflect() protoreflect.Message

func (*TransferContract) Reset

func (x *TransferContract) Reset()

func (*TransferContract) String

func (x *TransferContract) String() string

type TriggerSmartContract

type TriggerSmartContract struct {
	OwnerAddress    []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"`
	ContractAddress []byte `protobuf:"bytes,2,opt,name=contract_address,json=contractAddress,proto3" json:"contract_address,omitempty"`
	CallValue       int64  `protobuf:"varint,3,opt,name=call_value,json=callValue,proto3" json:"call_value,omitempty"`
	Data            []byte `protobuf:"bytes,4,opt,name=data,proto3" json:"data,omitempty"`
	CallTokenValue  int64  `protobuf:"varint,5,opt,name=call_token_value,json=callTokenValue,proto3" json:"call_token_value,omitempty"`
	TokenId         int64  `protobuf:"varint,6,opt,name=token_id,json=tokenId,proto3" json:"token_id,omitempty"`
	// contains filtered or unexported fields
}

func (*TriggerSmartContract) Descriptor deprecated

func (*TriggerSmartContract) Descriptor() ([]byte, []int)

Deprecated: Use TriggerSmartContract.ProtoReflect.Descriptor instead.

func (*TriggerSmartContract) GetCallTokenValue

func (x *TriggerSmartContract) GetCallTokenValue() int64

func (*TriggerSmartContract) GetCallValue

func (x *TriggerSmartContract) GetCallValue() int64

func (*TriggerSmartContract) GetContractAddress

func (x *TriggerSmartContract) GetContractAddress() []byte

func (*TriggerSmartContract) GetData

func (x *TriggerSmartContract) GetData() []byte

func (*TriggerSmartContract) GetOwnerAddress

func (x *TriggerSmartContract) GetOwnerAddress() []byte

func (*TriggerSmartContract) GetTokenId

func (x *TriggerSmartContract) GetTokenId() int64

func (*TriggerSmartContract) ProtoMessage

func (*TriggerSmartContract) ProtoMessage()

func (*TriggerSmartContract) ProtoReflect

func (x *TriggerSmartContract) ProtoReflect() protoreflect.Message

func (*TriggerSmartContract) Reset

func (x *TriggerSmartContract) Reset()

func (*TriggerSmartContract) String

func (x *TriggerSmartContract) String() string

type UnfreezeAssetContract

type UnfreezeAssetContract struct {
	OwnerAddress []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"`
	// contains filtered or unexported fields
}

func (*UnfreezeAssetContract) Descriptor deprecated

func (*UnfreezeAssetContract) Descriptor() ([]byte, []int)

Deprecated: Use UnfreezeAssetContract.ProtoReflect.Descriptor instead.

func (*UnfreezeAssetContract) GetOwnerAddress

func (x *UnfreezeAssetContract) GetOwnerAddress() []byte

func (*UnfreezeAssetContract) ProtoMessage

func (*UnfreezeAssetContract) ProtoMessage()

func (*UnfreezeAssetContract) ProtoReflect

func (x *UnfreezeAssetContract) ProtoReflect() protoreflect.Message

func (*UnfreezeAssetContract) Reset

func (x *UnfreezeAssetContract) Reset()

func (*UnfreezeAssetContract) String

func (x *UnfreezeAssetContract) String() string

type UnfreezeBalanceContract

type UnfreezeBalanceContract struct {
	OwnerAddress    []byte       `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"`
	Resource        ResourceCode `protobuf:"varint,10,opt,name=resource,proto3,enum=protocol.ResourceCode" json:"resource,omitempty"`
	ReceiverAddress []byte       `protobuf:"bytes,15,opt,name=receiver_address,json=receiverAddress,proto3" json:"receiver_address,omitempty"`
	// contains filtered or unexported fields
}

func (*UnfreezeBalanceContract) Descriptor deprecated

func (*UnfreezeBalanceContract) Descriptor() ([]byte, []int)

Deprecated: Use UnfreezeBalanceContract.ProtoReflect.Descriptor instead.

func (*UnfreezeBalanceContract) GetOwnerAddress

func (x *UnfreezeBalanceContract) GetOwnerAddress() []byte

func (*UnfreezeBalanceContract) GetReceiverAddress

func (x *UnfreezeBalanceContract) GetReceiverAddress() []byte

func (*UnfreezeBalanceContract) GetResource

func (x *UnfreezeBalanceContract) GetResource() ResourceCode

func (*UnfreezeBalanceContract) ProtoMessage

func (*UnfreezeBalanceContract) ProtoMessage()

func (*UnfreezeBalanceContract) ProtoReflect

func (x *UnfreezeBalanceContract) ProtoReflect() protoreflect.Message

func (*UnfreezeBalanceContract) Reset

func (x *UnfreezeBalanceContract) Reset()

func (*UnfreezeBalanceContract) String

func (x *UnfreezeBalanceContract) String() string

type UpdateAssetContract

type UpdateAssetContract struct {
	OwnerAddress   []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"`
	Description    []byte `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	Url            []byte `protobuf:"bytes,3,opt,name=url,proto3" json:"url,omitempty"`
	NewLimit       int64  `protobuf:"varint,4,opt,name=new_limit,json=newLimit,proto3" json:"new_limit,omitempty"`
	NewPublicLimit int64  `protobuf:"varint,5,opt,name=new_public_limit,json=newPublicLimit,proto3" json:"new_public_limit,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateAssetContract) Descriptor deprecated

func (*UpdateAssetContract) Descriptor() ([]byte, []int)

Deprecated: Use UpdateAssetContract.ProtoReflect.Descriptor instead.

func (*UpdateAssetContract) GetDescription

func (x *UpdateAssetContract) GetDescription() []byte

func (*UpdateAssetContract) GetNewLimit

func (x *UpdateAssetContract) GetNewLimit() int64

func (*UpdateAssetContract) GetNewPublicLimit

func (x *UpdateAssetContract) GetNewPublicLimit() int64

func (*UpdateAssetContract) GetOwnerAddress

func (x *UpdateAssetContract) GetOwnerAddress() []byte

func (*UpdateAssetContract) GetUrl

func (x *UpdateAssetContract) GetUrl() []byte

func (*UpdateAssetContract) ProtoMessage

func (*UpdateAssetContract) ProtoMessage()

func (*UpdateAssetContract) ProtoReflect

func (x *UpdateAssetContract) ProtoReflect() protoreflect.Message

func (*UpdateAssetContract) Reset

func (x *UpdateAssetContract) Reset()

func (*UpdateAssetContract) String

func (x *UpdateAssetContract) String() string

type UpdateBrokerageContract

type UpdateBrokerageContract struct {
	OwnerAddress []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"`
	Brokerage    int32  `protobuf:"varint,2,opt,name=brokerage,proto3" json:"brokerage,omitempty"` // 1 mean 1%
	// contains filtered or unexported fields
}

func (*UpdateBrokerageContract) Descriptor deprecated

func (*UpdateBrokerageContract) Descriptor() ([]byte, []int)

Deprecated: Use UpdateBrokerageContract.ProtoReflect.Descriptor instead.

func (*UpdateBrokerageContract) GetBrokerage

func (x *UpdateBrokerageContract) GetBrokerage() int32

func (*UpdateBrokerageContract) GetOwnerAddress

func (x *UpdateBrokerageContract) GetOwnerAddress() []byte

func (*UpdateBrokerageContract) ProtoMessage

func (*UpdateBrokerageContract) ProtoMessage()

func (*UpdateBrokerageContract) ProtoReflect

func (x *UpdateBrokerageContract) ProtoReflect() protoreflect.Message

func (*UpdateBrokerageContract) Reset

func (x *UpdateBrokerageContract) Reset()

func (*UpdateBrokerageContract) String

func (x *UpdateBrokerageContract) String() string

type UpdateEnergyLimitContract

type UpdateEnergyLimitContract struct {
	OwnerAddress      []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"`
	ContractAddress   []byte `protobuf:"bytes,2,opt,name=contract_address,json=contractAddress,proto3" json:"contract_address,omitempty"`
	OriginEnergyLimit int64  `protobuf:"varint,3,opt,name=origin_energy_limit,json=originEnergyLimit,proto3" json:"origin_energy_limit,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateEnergyLimitContract) Descriptor deprecated

func (*UpdateEnergyLimitContract) Descriptor() ([]byte, []int)

Deprecated: Use UpdateEnergyLimitContract.ProtoReflect.Descriptor instead.

func (*UpdateEnergyLimitContract) GetContractAddress

func (x *UpdateEnergyLimitContract) GetContractAddress() []byte

func (*UpdateEnergyLimitContract) GetOriginEnergyLimit

func (x *UpdateEnergyLimitContract) GetOriginEnergyLimit() int64

func (*UpdateEnergyLimitContract) GetOwnerAddress

func (x *UpdateEnergyLimitContract) GetOwnerAddress() []byte

func (*UpdateEnergyLimitContract) ProtoMessage

func (*UpdateEnergyLimitContract) ProtoMessage()

func (*UpdateEnergyLimitContract) ProtoReflect

func (*UpdateEnergyLimitContract) Reset

func (x *UpdateEnergyLimitContract) Reset()

func (*UpdateEnergyLimitContract) String

func (x *UpdateEnergyLimitContract) String() string

type UpdateSettingContract

type UpdateSettingContract struct {
	OwnerAddress               []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"`
	ContractAddress            []byte `protobuf:"bytes,2,opt,name=contract_address,json=contractAddress,proto3" json:"contract_address,omitempty"`
	ConsumeUserResourcePercent int64  `` /* 144-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*UpdateSettingContract) Descriptor deprecated

func (*UpdateSettingContract) Descriptor() ([]byte, []int)

Deprecated: Use UpdateSettingContract.ProtoReflect.Descriptor instead.

func (*UpdateSettingContract) GetConsumeUserResourcePercent

func (x *UpdateSettingContract) GetConsumeUserResourcePercent() int64

func (*UpdateSettingContract) GetContractAddress

func (x *UpdateSettingContract) GetContractAddress() []byte

func (*UpdateSettingContract) GetOwnerAddress

func (x *UpdateSettingContract) GetOwnerAddress() []byte

func (*UpdateSettingContract) ProtoMessage

func (*UpdateSettingContract) ProtoMessage()

func (*UpdateSettingContract) ProtoReflect

func (x *UpdateSettingContract) ProtoReflect() protoreflect.Message

func (*UpdateSettingContract) Reset

func (x *UpdateSettingContract) Reset()

func (*UpdateSettingContract) String

func (x *UpdateSettingContract) String() string

type VoteAssetContract

type VoteAssetContract struct {
	OwnerAddress []byte   `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"`
	VoteAddress  [][]byte `protobuf:"bytes,2,rep,name=vote_address,json=voteAddress,proto3" json:"vote_address,omitempty"`
	Support      bool     `protobuf:"varint,3,opt,name=support,proto3" json:"support,omitempty"`
	Count        int32    `protobuf:"varint,5,opt,name=count,proto3" json:"count,omitempty"`
	// contains filtered or unexported fields
}

func (*VoteAssetContract) Descriptor deprecated

func (*VoteAssetContract) Descriptor() ([]byte, []int)

Deprecated: Use VoteAssetContract.ProtoReflect.Descriptor instead.

func (*VoteAssetContract) GetCount

func (x *VoteAssetContract) GetCount() int32

func (*VoteAssetContract) GetOwnerAddress

func (x *VoteAssetContract) GetOwnerAddress() []byte

func (*VoteAssetContract) GetSupport

func (x *VoteAssetContract) GetSupport() bool

func (*VoteAssetContract) GetVoteAddress

func (x *VoteAssetContract) GetVoteAddress() [][]byte

func (*VoteAssetContract) ProtoMessage

func (*VoteAssetContract) ProtoMessage()

func (*VoteAssetContract) ProtoReflect

func (x *VoteAssetContract) ProtoReflect() protoreflect.Message

func (*VoteAssetContract) Reset

func (x *VoteAssetContract) Reset()

func (*VoteAssetContract) String

func (x *VoteAssetContract) String() string

type VoteWitnessContract

type VoteWitnessContract struct {
	OwnerAddress []byte                      `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"`
	Votes        []*VoteWitnessContract_Vote `protobuf:"bytes,2,rep,name=votes,proto3" json:"votes,omitempty"`
	Support      bool                        `protobuf:"varint,3,opt,name=support,proto3" json:"support,omitempty"`
	// contains filtered or unexported fields
}

func (*VoteWitnessContract) Descriptor deprecated

func (*VoteWitnessContract) Descriptor() ([]byte, []int)

Deprecated: Use VoteWitnessContract.ProtoReflect.Descriptor instead.

func (*VoteWitnessContract) GetOwnerAddress

func (x *VoteWitnessContract) GetOwnerAddress() []byte

func (*VoteWitnessContract) GetSupport

func (x *VoteWitnessContract) GetSupport() bool

func (*VoteWitnessContract) GetVotes

func (*VoteWitnessContract) ProtoMessage

func (*VoteWitnessContract) ProtoMessage()

func (*VoteWitnessContract) ProtoReflect

func (x *VoteWitnessContract) ProtoReflect() protoreflect.Message

func (*VoteWitnessContract) Reset

func (x *VoteWitnessContract) Reset()

func (*VoteWitnessContract) String

func (x *VoteWitnessContract) String() string

type VoteWitnessContract_Vote

type VoteWitnessContract_Vote struct {
	VoteAddress []byte `protobuf:"bytes,1,opt,name=vote_address,json=voteAddress,proto3" json:"vote_address,omitempty"`
	VoteCount   int64  `protobuf:"varint,2,opt,name=vote_count,json=voteCount,proto3" json:"vote_count,omitempty"`
	// contains filtered or unexported fields
}

func (*VoteWitnessContract_Vote) Descriptor deprecated

func (*VoteWitnessContract_Vote) Descriptor() ([]byte, []int)

Deprecated: Use VoteWitnessContract_Vote.ProtoReflect.Descriptor instead.

func (*VoteWitnessContract_Vote) GetVoteAddress

func (x *VoteWitnessContract_Vote) GetVoteAddress() []byte

func (*VoteWitnessContract_Vote) GetVoteCount

func (x *VoteWitnessContract_Vote) GetVoteCount() int64

func (*VoteWitnessContract_Vote) ProtoMessage

func (*VoteWitnessContract_Vote) ProtoMessage()

func (*VoteWitnessContract_Vote) ProtoReflect

func (x *VoteWitnessContract_Vote) ProtoReflect() protoreflect.Message

func (*VoteWitnessContract_Vote) Reset

func (x *VoteWitnessContract_Vote) Reset()

func (*VoteWitnessContract_Vote) String

func (x *VoteWitnessContract_Vote) String() string

type WithdrawBalanceContract

type WithdrawBalanceContract struct {
	OwnerAddress []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"`
	// contains filtered or unexported fields
}

func (*WithdrawBalanceContract) Descriptor deprecated

func (*WithdrawBalanceContract) Descriptor() ([]byte, []int)

Deprecated: Use WithdrawBalanceContract.ProtoReflect.Descriptor instead.

func (*WithdrawBalanceContract) GetOwnerAddress

func (x *WithdrawBalanceContract) GetOwnerAddress() []byte

func (*WithdrawBalanceContract) ProtoMessage

func (*WithdrawBalanceContract) ProtoMessage()

func (*WithdrawBalanceContract) ProtoReflect

func (x *WithdrawBalanceContract) ProtoReflect() protoreflect.Message

func (*WithdrawBalanceContract) Reset

func (x *WithdrawBalanceContract) Reset()

func (*WithdrawBalanceContract) String

func (x *WithdrawBalanceContract) String() string

type WitnessCreateContract

type WitnessCreateContract struct {
	OwnerAddress []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"`
	Url          []byte `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"`
	// contains filtered or unexported fields
}

func (*WitnessCreateContract) Descriptor deprecated

func (*WitnessCreateContract) Descriptor() ([]byte, []int)

Deprecated: Use WitnessCreateContract.ProtoReflect.Descriptor instead.

func (*WitnessCreateContract) GetOwnerAddress

func (x *WitnessCreateContract) GetOwnerAddress() []byte

func (*WitnessCreateContract) GetUrl

func (x *WitnessCreateContract) GetUrl() []byte

func (*WitnessCreateContract) ProtoMessage

func (*WitnessCreateContract) ProtoMessage()

func (*WitnessCreateContract) ProtoReflect

func (x *WitnessCreateContract) ProtoReflect() protoreflect.Message

func (*WitnessCreateContract) Reset

func (x *WitnessCreateContract) Reset()

func (*WitnessCreateContract) String

func (x *WitnessCreateContract) String() string

type WitnessUpdateContract

type WitnessUpdateContract struct {
	OwnerAddress []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"`
	UpdateUrl    []byte `protobuf:"bytes,12,opt,name=update_url,json=updateUrl,proto3" json:"update_url,omitempty"`
	// contains filtered or unexported fields
}

func (*WitnessUpdateContract) Descriptor deprecated

func (*WitnessUpdateContract) Descriptor() ([]byte, []int)

Deprecated: Use WitnessUpdateContract.ProtoReflect.Descriptor instead.

func (*WitnessUpdateContract) GetOwnerAddress

func (x *WitnessUpdateContract) GetOwnerAddress() []byte

func (*WitnessUpdateContract) GetUpdateUrl

func (x *WitnessUpdateContract) GetUpdateUrl() []byte

func (*WitnessUpdateContract) ProtoMessage

func (*WitnessUpdateContract) ProtoMessage()

func (*WitnessUpdateContract) ProtoReflect

func (x *WitnessUpdateContract) ProtoReflect() protoreflect.Message

func (*WitnessUpdateContract) Reset

func (x *WitnessUpdateContract) Reset()

func (*WitnessUpdateContract) String

func (x *WitnessUpdateContract) String() string

Jump to

Keyboard shortcuts

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