Documentation ¶
Index ¶
- func CadenceIntArrayContains(t assert.TestingT, result cadence.Value, vals ...int)
- func CadenceString(value string) cadence.Value
- func CadenceStringDictionary(pairs []cadence.KeyValuePair) cadence.Dictionary
- func CadenceUFix64(value string) cadence.Value
- func DownloadFile(url string) ([]byte, error)
- func ReadFile(path string) []byte
- func Submit(t *testing.T, b *emulator.Blockchain, tx *flow.Transaction, shouldRevert bool)
- func UInt32Array(values ...int) cadence.Array
- func UInt64Array(values ...int) cadence.Array
- func VariableArray(cadenceType cadence.Type, values ...cadence.Value) cadence.Array
- type SetMetadata
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CadenceIntArrayContains ¶
func CadenceString ¶
CadenceString returns a string value from a string representation
func CadenceStringDictionary ¶
func CadenceStringDictionary(pairs []cadence.KeyValuePair) cadence.Dictionary
func CadenceUFix64 ¶
CadenceUFix64 returns a UFix64 value
func DownloadFile ¶
DownloadFile will download a url a byte slice
func Submit ¶
func Submit( t *testing.T, b *emulator.Blockchain, tx *flow.Transaction, shouldRevert bool, )
Submit submits a transaction and checks if it fails or not.
func UInt32Array ¶
func UInt64Array ¶
Types ¶
type SetMetadata ¶
type SetMetadata struct {
// contains filtered or unexported fields
}
/ Used to verify set metadata in tests
Click to show internal directories.
Click to hide internal directories.