github.com/fibonacci-chain/fbc@v0.0.0-20231124064014-c7636198c1e9/libs/cosmos-sdk/types/innertx/innerTx.go (about)

     1  package innertx
     2  
     3  import (
     4  	"math/big"
     5  )
     6  
     7  const (
     8  	CosmosCallType = "cosmos"
     9  	CosmosDepth    = 0
    10  
    11  	SendCallName       = "send"
    12  	DelegateCallName   = "delegate"
    13  	MultiCallName      = "multi-send"
    14  	UndelegateCallName = "undelegate"
    15  	EvmCallName        = "call"
    16  	EvmCreateName      = "create"
    17  
    18  	IsAvailable = false
    19  )
    20  
    21  var BIG0 = big.NewInt(0)
    22  
    23  type InnerTxKeeper interface {
    24  	InitInnerBlock(...interface{})
    25  	UpdateInnerTx(...interface{})
    26  	UpdateWasmInnerTx(...interface{})
    27  }
    28  
    29  func AddDefaultInnerTx(...interface{}) interface{} {
    30  	return nil
    31  }
    32  
    33  func UpdateDefaultInnerTx(...interface{}) {
    34  }
    35  
    36  func ParseInnerTxAndContract(...interface{}) (interface{}, interface{}) {
    37  	return nil, nil
    38  }