 Documentation
      ¶
      Documentation
      ¶
    
    
  
    
  
    Index ¶
- type ProxyAdaptedContractStorage
- type ProxyVerificationContractStorage
- func (contractStorage *ProxyVerificationContractStorage) AddMorphRuleChain(name chain.Name, target engine.Target, c *chain.Chain) (util.Uint256, uint32, error)
- func (contractStorage *ProxyVerificationContractStorage) ListMorphRuleChains(name chain.Name, target engine.Target) ([]*chain.Chain, error)
- func (contractStorage *ProxyVerificationContractStorage) RemoveMorphRuleChain(name chain.Name, target engine.Target, chainID chain.ID) (util.Uint256, uint32, error)
 
- type RPCActorProvider
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ProxyAdaptedContractStorage ¶
type ProxyAdaptedContractStorage interface {
	AddMorphRuleChain(name chain.Name, target engine.Target, c *chain.Chain) (util.Uint256, uint32, error)
	RemoveMorphRuleChain(name chain.Name, target engine.Target, chainID chain.ID) (util.Uint256, uint32, error)
	ListMorphRuleChains(name chain.Name, target engine.Target) ([]*chain.Chain, error)
}
    type ProxyVerificationContractStorage ¶
type ProxyVerificationContractStorage struct {
	// contains filtered or unexported fields
}
    ProxyVerificationContractStorage uses decorated MorphRuleChainStorage with actor where cosigner is a proxy contract.
func NewProxyVerificationContractStorage ¶
func NewProxyVerificationContractStorage(rpcActorProvider RPCActorProvider, key *keys.PrivateKey, proxyScriptHash, policyScriptHash util.Uint160) *ProxyVerificationContractStorage
func (*ProxyVerificationContractStorage) AddMorphRuleChain ¶
func (contractStorage *ProxyVerificationContractStorage) AddMorphRuleChain(name chain.Name, target engine.Target, c *chain.Chain) (util.Uint256, uint32, error)
AddMorphRuleChain add morph rule chain to Policy contract using both Proxy contract and storage account as consigners.
func (*ProxyVerificationContractStorage) ListMorphRuleChains ¶
func (contractStorage *ProxyVerificationContractStorage) ListMorphRuleChains(name chain.Name, target engine.Target) ([]*chain.Chain, error)
ListMorphRuleChains lists morph rule chains from Policy contract using both Proxy contract and storage account as consigners.
func (*ProxyVerificationContractStorage) RemoveMorphRuleChain ¶
func (contractStorage *ProxyVerificationContractStorage) RemoveMorphRuleChain(name chain.Name, target engine.Target, chainID chain.ID) (util.Uint256, uint32, error)
RemoveMorphRuleChain removes morph rule chain from Policy contract using both Proxy contract and storage account as consigners.
type RPCActorProvider ¶
 Click to show internal directories. 
   Click to hide internal directories.