Documentation
¶
Index ¶
- Variables
- func EncodeParams(params SPParams) (res [32]byte, err error)
- func EncodeProposeUploadParams(params ProposeUploadParams) (res [32]byte, err error)
- func FormatData(abi abi.ABI, methodName string, args ArchonSCArgs) (ret []byte, err error)
- type ArchonSCArgs
- type ProposeUploadParams
- type SPParams
Constants ¶
This section is empty.
Variables ¶
View Source
var MaxSLALevel int = 8 // this can be anything
Functions ¶
func EncodeParams ¶
func EncodeProposeUploadParams ¶
func EncodeProposeUploadParams(params ProposeUploadParams) (res [32]byte, err error)
func FormatData ¶
Types ¶
type ArchonSCArgs ¶
type ProposeUploadParams ¶
type ProposeUploadParams struct { ServiceDuration uint32 MinSLARequirements int UploadPmt uint64 Filesize uint64 FileContainerType uint8 EncryptionType uint8 CompressionType uint8 ShardContainerType uint8 ErasureCodeType uint8 AccessControlLevel uint8 ContainerSignatureV byte CustomField uint8 }
func DecodeProposeUploadParams ¶
func DecodeProposeUploadParams(params [32]byte) ProposeUploadParams
Click to show internal directories.
Click to hide internal directories.