Documentation ¶
Index ¶
- type Contract1
- type Contract2
- type ContractCut
- type ContractFactCut
- func (c *ContractFactCut) FindByFileHash() protogo.Response
- func (c *ContractFactCut) InitContract() protogo.Response
- func (c *ContractFactCut) InvokeContract(method string) protogo.Response
- func (c *ContractFactCut) Save() protogo.Response
- func (c *ContractFactCut) UpgradeContract() protogo.Response
- type CrossEvmContract
- func (c *CrossEvmContract) CrossEvmStorageGet() protogo.Response
- func (c *CrossEvmContract) CrossEvmStorageSet() protogo.Response
- func (c *CrossEvmContract) InitContract() protogo.Response
- func (c *CrossEvmContract) InvokeContract(method string) protogo.Response
- func (c *CrossEvmContract) UpgradeContract() protogo.Response
- type Fact
- type FactContract
- type Peoples
- type RaffleContract
- func (r *RaffleContract) BkdrHash(timestamp string) int
- func (r *RaffleContract) InitContract() protogo.Response
- func (r *RaffleContract) InvokeContract(method string) protogo.Response
- func (r *RaffleContract) Raffle() protogo.Response
- func (r *RaffleContract) RegisterAll() protogo.Response
- func (r *RaffleContract) UpgradeContract() protogo.Response
- type StoreMapContract
- func (s *StoreMapContract) Del() protogo.Response
- func (s *StoreMapContract) Exist() protogo.Response
- func (s *StoreMapContract) Get() protogo.Response
- func (s *StoreMapContract) InitContract() protogo.Response
- func (s *StoreMapContract) InvokeContract(method string) protogo.Response
- func (s *StoreMapContract) Set() protogo.Response
- func (s *StoreMapContract) UpgradeContract() protogo.Response
- type TestContract
- type TransferContract
- func (t *TransferContract) Init() protogo.Response
- func (t *TransferContract) InitContract() protogo.Response
- func (t *TransferContract) InvokeContract(method string) protogo.Response
- func (t *TransferContract) Transfer() protogo.Response
- func (t *TransferContract) UpgradeContract() protogo.Response
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Contract1 ¶
type Contract1 struct { }
func (*Contract1) InitContract ¶
func (*Contract1) InvokeContract ¶
func (*Contract1) UpgradeContract ¶
type Contract2 ¶
type Contract2 struct { }
func (*Contract2) InitContract ¶
func (*Contract2) InvokeContract ¶
func (*Contract2) UpgradeContract ¶
type ContractCut ¶
type ContractCut struct { }
func (*ContractCut) FindByFileHash ¶
func (c *ContractCut) FindByFileHash() protogo.Response
func (*ContractCut) InitContract ¶
func (c *ContractCut) InitContract() protogo.Response
func (*ContractCut) InvokeContract ¶
func (c *ContractCut) InvokeContract(method string) protogo.Response
func (*ContractCut) Save ¶
func (c *ContractCut) Save() protogo.Response
func (*ContractCut) UpgradeContract ¶
func (c *ContractCut) UpgradeContract() protogo.Response
type ContractFactCut ¶
type ContractFactCut struct { }
func (*ContractFactCut) FindByFileHash ¶
func (c *ContractFactCut) FindByFileHash() protogo.Response
func (*ContractFactCut) InitContract ¶
func (c *ContractFactCut) InitContract() protogo.Response
func (*ContractFactCut) InvokeContract ¶
func (c *ContractFactCut) InvokeContract(method string) protogo.Response
func (*ContractFactCut) Save ¶
func (c *ContractFactCut) Save() protogo.Response
func (*ContractFactCut) UpgradeContract ¶
func (c *ContractFactCut) UpgradeContract() protogo.Response
type CrossEvmContract ¶
type CrossEvmContract struct { }
func (*CrossEvmContract) CrossEvmStorageGet ¶
func (c *CrossEvmContract) CrossEvmStorageGet() protogo.Response
func (*CrossEvmContract) CrossEvmStorageSet ¶
func (c *CrossEvmContract) CrossEvmStorageSet() protogo.Response
func (*CrossEvmContract) InitContract ¶
func (c *CrossEvmContract) InitContract() protogo.Response
func (*CrossEvmContract) InvokeContract ¶
func (c *CrossEvmContract) InvokeContract(method string) protogo.Response
func (*CrossEvmContract) UpgradeContract ¶
func (c *CrossEvmContract) UpgradeContract() protogo.Response
type Fact ¶
type Fact struct { FileHash string `json:"FileHash"` FileName string `json:"FileName"` Time int32 `json:"time"` }
存证对象
type FactContract ¶
type FactContract struct { }
func (*FactContract) FindByFileHash ¶
func (f *FactContract) FindByFileHash() protogo.Response
func (*FactContract) InitContract ¶
func (f *FactContract) InitContract() protogo.Response
func (*FactContract) InvokeContract ¶
func (f *FactContract) InvokeContract(method string) protogo.Response
func (*FactContract) Save ¶
func (f *FactContract) Save() protogo.Response
func (*FactContract) UpgradeContract ¶
func (f *FactContract) UpgradeContract() protogo.Response
type RaffleContract ¶
type RaffleContract struct { }
func (*RaffleContract) BkdrHash ¶
func (r *RaffleContract) BkdrHash(timestamp string) int
func (*RaffleContract) InitContract ¶
func (r *RaffleContract) InitContract() protogo.Response
func (*RaffleContract) InvokeContract ¶
func (r *RaffleContract) InvokeContract(method string) protogo.Response
func (*RaffleContract) Raffle ¶
func (r *RaffleContract) Raffle() protogo.Response
func (*RaffleContract) RegisterAll ¶
func (r *RaffleContract) RegisterAll() protogo.Response
func (*RaffleContract) UpgradeContract ¶
func (r *RaffleContract) UpgradeContract() protogo.Response
type StoreMapContract ¶
type StoreMapContract struct { }
func (*StoreMapContract) Del ¶
func (s *StoreMapContract) Del() protogo.Response
func (*StoreMapContract) Exist ¶
func (s *StoreMapContract) Exist() protogo.Response
func (*StoreMapContract) Get ¶
func (s *StoreMapContract) Get() protogo.Response
func (*StoreMapContract) InitContract ¶
func (s *StoreMapContract) InitContract() protogo.Response
func (*StoreMapContract) InvokeContract ¶
func (s *StoreMapContract) InvokeContract(method string) protogo.Response
func (*StoreMapContract) Set ¶
func (s *StoreMapContract) Set() protogo.Response
func (*StoreMapContract) UpgradeContract ¶
func (s *StoreMapContract) UpgradeContract() protogo.Response
type TestContract ¶
type TestContract struct { }
func (*TestContract) FindByFileHash ¶
func (t *TestContract) FindByFileHash() protogo.Response
func (*TestContract) InitContract ¶
func (t *TestContract) InitContract() protogo.Response
func (*TestContract) InvokeContract ¶
func (t *TestContract) InvokeContract(method string) protogo.Response
func (*TestContract) Save ¶
func (t *TestContract) Save() protogo.Response
func (*TestContract) UpgradeContract ¶
func (t *TestContract) UpgradeContract() protogo.Response
type TransferContract ¶
type TransferContract struct { }
func (*TransferContract) Init ¶
func (t *TransferContract) Init() protogo.Response
func (*TransferContract) InitContract ¶
func (t *TransferContract) InitContract() protogo.Response
func (*TransferContract) InvokeContract ¶
func (t *TransferContract) InvokeContract(method string) protogo.Response
func (*TransferContract) Transfer ¶
func (t *TransferContract) Transfer() protogo.Response
func (*TransferContract) UpgradeContract ¶
func (t *TransferContract) UpgradeContract() protogo.Response
Click to show internal directories.
Click to hide internal directories.