// (c) 2019-2020, Ava Labs, Inc. All rights reserved. // See the file LICENSE for licensing terms. package ava // TestVerifiable ... type TestVerifiable struct{ Err error } // Verify ... func (v *TestVerifiable) Verify() error { return v.Err } // TestTransferable ... type TestTransferable struct { TestVerifiable Val uint64 `serialize:"true"` } // Amount ... func (t *TestTransferable) Amount() uint64 { return t.Val }