From 0425e6f672ddfd297dfc0b550641c411927dd137 Mon Sep 17 00:00:00 2001 From: Josh Hannan Date: Mon, 9 Sep 2024 13:34:57 -0500 Subject: [PATCH] add comment about vault identifier --- lib/go/templates/internal/assets/assets.go | 6 ++--- lib/go/test/go.mod | 26 +++++++++---------- lib/go/test/go.sum | 26 +++++++++++++++++++ .../generic_transfer_with_address.cdc | 5 ++++ 4 files changed, 47 insertions(+), 16 deletions(-) diff --git a/lib/go/templates/internal/assets/assets.go b/lib/go/templates/internal/assets/assets.go index f0545f7..30f2ed0 100644 --- a/lib/go/templates/internal/assets/assets.go +++ b/lib/go/templates/internal/assets/assets.go @@ -1,7 +1,7 @@ // Code generated by go-bindata. DO NOT EDIT. // sources: // burn_tokens.cdc (1.637kB) -// generic_transfer_with_address.cdc (3.378kB) +// generic_transfer_with_address.cdc (3.636kB) // generic_transfer_with_paths.cdc (2.424kB) // metadata/scripts/get_token_metadata.cdc (724B) // metadata/scripts/get_vault_data.cdc (788B) @@ -127,7 +127,7 @@ func burn_tokensCdc() (*asset, error) { return a, nil } -var _generic_transfer_with_addressCdc = "\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x9c\x57\x51\x6f\xdb\x36\x10\x7e\x8e\x7f\xc5\x59\x03\x5a\x09\x70\x94\x64\x18\x86\xc2\x88\x93\x66\xd9\xd2\xa7\x0d\x45\xeb\x64\xcf\xb4\x74\x96\x88\x48\xa4\x46\x9e\xac\x18\x81\xff\xfb\x40\x52\xa2\x45\x3b\xee\xba\xe6\x21\x76\x48\xde\x77\xdf\xdd\x7d\x77\x64\x78\xdd\x48\x45\x10\x3d\xb4\xa2\xe0\xab\x0a\x97\xf2\x19\x45\x34\x79\x73\xf9\x4f\x24\x96\x33\x62\x4f\x1c\x3b\x1d\x4d\x26\x3f\x71\x41\xa8\x58\x46\x5c\x0a\x88\x27\x00\x1b\x54\x9a\x4b\x31\x87\xe8\x2a\xbd\x4c\x2f\xa3\xd9\xe4\x8c\x38\x55\x38\x87\xe8\x13\x0a\x54\x3c\x83\x87\x25\x2c\x15\x13\x7a\x8d\x0a\x3a\x4e\x25\xdc\x4b\x41\x06\x03\xee\xf2\x5c\xa1\xd6\xc0\x44\x0e\x7f\xb1\x1a\x8d\x75\x8e\x3a\x53\xbc\x21\x07\xea\x0d\x99\xd8\xc2\xc0\x0c\x2c\x35\x58\x6d\xa1\x51\x72\xc3\x73\x2e\x0a\xa0\x12\x21\x1b\x70\xd9\x08\x57\xf4\xb8\x15\x13\x45\xcb\x0a\x43\x0c\xc5\xf9\xe3\xd7\x68\x36\x49\x26\x93\x8b\x8b\x0b\xb8\x67\x02\x1a\xa6\x35\x70\x61\xdd\x9c\x84\x01\x92\x40\x9e\x10\x90\x65\xb1\x56\xb2\x06\x2a\x19\x79\x3b\x0b\xba\x2c\xb9\x86\x0a\x49\xc3\x56\xb6\x90\x95\x52\x6a\xb4\x24\x9d\x95\x59\xec\x98\x20\x03\xa9\x51\xe4\xc6\xc6\xda\xdd\x8d\x09\x64\x4c\xc0\x0a\x8d\xb5\x46\x01\x25\x2a\x9c\x81\x96\xd0\xb1\xca\x22\xeb\x52\xb6\x55\x0e\x59\x89\xd9\x33\x30\x55\xb4\x35\x0a\x82\x0d\xab\x5a\xd4\x16\x8c\x24\xd4\xec\x19\x41\xb7\xca\x39\x37\xd5\x13\x39\xe6\x3d\x0b\xef\xc8\x46\x67\xc2\x1c\x42\xe6\xda\xa6\x04\x73\xe0\xc2\x25\xa9\x3f\xaa\x5d\xac\x4c\x21\xb4\x66\xbb\x6e\x35\x01\xaf\x9b\x0a\xad\x73\xe3\xe4\x61\xf9\xc4\xda\x8a\x7e\x67\xc4\x60\xd0\x0f\x18\x01\xf9\x20\x3f\x36\x4c\xb1\x1a\x58\x2d\x5b\x41\x73\x58\x96\xd8\x7f\x07\xb9\x76\xd4\xf4\x38\xd7\x63\x1b\x92\xfd\xf9\x9e\xe8\xb8\x24\x3e\xbd\x66\x79\x6c\x34\xc4\xd9\xeb\x2d\x44\x30\x2e\xc7\xe2\xb1\xf1\xe5\xb8\xe6\x02\xf5\x18\x72\x85\x56\x67\xbd\x33\x85\xf9\x5b\x1e\x8c\x8a\x1d\xbc\x4d\xe9\x0f\x63\xa7\xf0\xc7\xcb\x1c\xa2\x87\x4a\x76\x7d\x7b\x9a\xdc\xd9\x03\xae\xf9\xe2\x21\x79\x8f\x0f\xfc\xe5\xd7\x5f\x66\x36\x31\x7d\x7c\xb3\xe3\x80\x8f\x76\x1c\xd1\xaf\xa4\xb8\x28\x12\x78\x9d\x4c\x00\x00\xac\x6e\x11\x6c\xf9\x40\xa1\x96\xad\xca\xd0\x91\x2e\x65\x95\x07\x94\xbd\x0c\x8e\xf3\x62\xa0\x2a\x24\x20\xac\x1b\x8b\x35\x87\x8f\xaf\xc1\x58\x49\xed\xf2\xce\x7b\x1d\x4b\x46\x93\x6a\x33\xdb\x18\x05\x12\x34\x8c\x4a\x6d\x9b\xcc\xc3\x6e\x86\xa3\x73\x38\x3d\xab\xd2\x11\xa4\x73\xd3\x28\x6c\x98\xc2\x58\xf3\x42\xa0\x9a\x03\x6b\xa9\x8c\x7f\x93\x4a\xc9\xee\xc9\xb4\x4c\x02\xef\xee\xb2\xcc\x24\xd5\xe7\xa3\x67\xe7\x0e\x01\x03\x85\x6b\x54\x28\x32\x37\x09\x4a\x74\x54\x40\x93\x54\x98\x83\x14\x76\xad\xef\x1b\xe6\xb0\x80\xd1\x78\xb5\x69\x57\x15\xcf\x3e\x33\x2a\xbd\x03\x13\x92\xc9\x75\xb5\x41\xf5\x05\xd7\xb0\x30\x71\xf7\x4c\xe2\x83\x42\x26\xde\xca\xfc\xa4\xc3\xae\x4e\x57\x96\xe2\xf5\xbb\x30\xcd\xbb\x9b\x58\xd8\x3a\x8f\xab\x1e\x62\xdc\xde\x42\xc3\x04\xcf\xe2\xe8\xde\x0e\x13\x21\x09\x56\x27\xe3\x5d\x0f\x13\x38\x9c\x1f\x51\x12\xe4\xeb\x51\xf7\xa2\x09\xec\x15\x92\xe2\xb8\xc1\x61\x46\x70\xec\xc0\x5b\x69\xac\xd6\xa9\x2f\x2c\x2c\xc6\x19\x49\xfb\xef\xc3\x08\x32\x96\xf1\xa0\xce\xe5\xb6\xc1\x39\x08\x5e\xcd\x60\xc3\xb1\x73\x7f\x9a\xdf\xd7\xdf\xa7\x8d\x9b\x38\x49\x80\xe9\xe9\x77\x4a\xe9\xf6\x3f\x93\xd7\x93\x3d\x9a\x84\x86\x1d\xac\xa5\x9b\x52\x05\xdf\xa0\xd8\xdf\x67\xdf\xcc\xe6\x27\xa4\xb7\x4a\xe1\x64\xfc\x5e\x0f\xea\xb3\xc9\x0b\x44\x65\x57\x9c\xa2\xdc\xe1\xd4\x1c\x65\x05\x0e\x6a\xb1\x1d\x10\xf6\xe5\xdf\x9c\xca\x5c\xb1\x2e\x81\x03\x29\xa5\x9f\xed\x55\x8b\x6a\x77\x13\x9b\x6e\x9c\x1f\x94\x6c\xc0\x36\xd2\x4e\x26\x67\x67\x67\xdf\x10\xd6\x51\x2c\xb2\x73\xa1\xd8\x6c\x4d\xc7\xf1\x5b\x27\x7e\x8e\xc0\xf5\xb9\x8f\x2a\xed\x7a\xaa\x7e\x12\xba\xcf\xe3\xe4\xd9\x6c\xd9\x41\x07\x0a\x1b\x85\x1a\x05\x31\xfb\x80\xe9\xc7\xf3\x70\x13\x18\x44\xd9\x3a\x83\xcb\x17\x0f\xb3\x61\x6a\x38\xe2\xe6\x25\x2c\x0e\x07\x6c\x4a\xd2\x6d\xc5\xfb\xee\xe2\xeb\xd0\x2a\xad\x50\x14\x54\xc2\x62\x01\x57\x1f\xe0\x35\x10\xd2\x21\x7c\x68\xa8\x2b\x9e\x61\x9f\xf5\x9f\x67\xd0\x36\x4b\x39\x87\xab\x0f\x7b\x57\xbb\xa0\xee\xb4\x6d\xd0\x59\x0e\x03\x1e\x16\x10\xdd\xa5\x91\x99\x17\x19\xa3\x38\x40\x4f\x86\xd5\x28\x8d\xfc\xf7\x60\x5e\xec\x0f\xd8\x22\x44\xc9\x91\x37\x58\xc0\xbd\xac\x1b\xa9\x39\xd9\x86\x8c\xf7\x14\xf6\x87\xcd\x00\x54\x14\x07\x71\x5b\xe3\xe9\xc2\xf6\x6f\xb0\x51\xa3\xd6\xee\xb1\xb6\x57\x4f\xa6\x90\x11\x9a\x87\x97\xb1\x32\x85\x3a\xbc\x5e\x0f\x9f\x31\xd3\xc8\x83\x8e\x64\xf1\x16\x91\x50\x67\x69\x81\x64\xe3\x48\x4c\xb5\x8c\xbb\xe9\x29\x7a\xfb\xfb\xd2\x4e\xbc\x8e\x39\x19\x19\x61\x8a\xe0\x71\xc2\xb5\x0d\xc2\xde\xa0\x86\xbf\x3f\xae\xf0\x9f\x16\x35\x61\x1e\xb0\x75\x65\xb5\x1f\xf8\x82\x59\x4b\x38\x92\x8c\xbb\x32\x32\xde\x70\xf3\xe6\x0a\x2e\x0c\x92\xc9\xe1\x31\xe4\xfe\x66\xf1\x46\x69\xc6\x1a\xb6\xe2\x15\x27\x8e\xa7\x6e\x8f\xf4\x4b\x6f\xbb\xbb\x89\x0f\x9a\x7d\x40\x75\xdd\x3e\xce\xcc\xff\x69\x7b\xcf\xe6\xbd\x86\xc1\xd7\xf4\x60\xfa\xf9\x7f\x00\xfa\x67\x47\xff\xdc\x3e\x31\xff\x46\xc8\x16\x0d\x7c\x98\x5b\x0f\x3a\xca\x48\x9a\xa3\x15\x6d\xdf\x5b\xd7\xe7\xa1\x0c\x86\x2a\xec\xfe\x0d\x00\x00\xff\xff\x17\x0e\x79\x31\x32\x0d\x00\x00" +var _generic_transfer_with_addressCdc = "\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x9c\x57\xdf\x6f\xdb\x36\x10\x7e\x8e\xff\x8a\x8b\x06\xb4\x12\xe0\xaa\xed\x30\x0c\x85\x11\xa7\xcd\xb2\xa5\x4f\x2b\x8a\xd6\xed\x9e\x69\xe9\x6c\x11\x91\x48\x8d\x3c\x59\x31\x8a\xfc\xef\x03\x8f\x14\x2d\xd9\x71\xd7\x2d\x0f\xb1\x4c\xf1\xbe\xfb\xf5\xdd\x47\x5a\x36\xad\x36\x04\xc9\x5d\xa7\xb6\x72\x5d\xe3\x4a\xdf\xa3\x4a\x66\x4f\x2e\xff\x89\x24\x4a\x41\xe2\xab\xc4\xde\x26\xb3\xd9\x4f\x52\x11\x1a\x51\x90\xd4\x0a\xd2\x19\xc0\x0e\x8d\x95\x5a\x2d\x20\x79\x9d\xbf\xca\x5f\x25\xf3\xd9\x05\x49\xaa\x71\x01\xc9\x7b\x54\x68\x64\x01\x77\x2b\x58\x19\xa1\xec\x06\x0d\xf4\x92\x2a\xb8\xd5\x8a\x1c\x06\xdc\x94\xa5\x41\x6b\x41\xa8\x12\x3e\x88\x06\x9d\x75\x89\xb6\x30\xb2\x25\x0f\x1a\x0d\x85\xda\xc3\x10\x19\x70\x68\xb0\xde\x43\x6b\xf4\x4e\x96\x52\x6d\x81\x2a\x84\x62\xc0\x15\x23\x5c\x15\x70\x6b\xa1\xb6\x9d\xd8\xba\xc0\x50\xbd\xf8\xf2\x39\x99\xcf\xb2\xd9\xec\xe5\xcb\x97\x70\x2b\x14\xb4\xc2\x5a\x90\x8a\xdd\x9c\x85\x01\xd2\x40\x31\x20\x20\x8e\x62\x63\x74\x03\x54\x09\x8a\x76\x0c\xba\xaa\xa4\x85\x1a\xc9\xc2\x5e\x77\x50\x54\x5a\x5b\xe4\x20\xbd\x95\x5b\xec\x85\x22\x07\x69\x51\x95\xce\x86\xed\x6e\xc6\x01\x14\x42\xc1\x1a\x9d\xb5\x45\x05\x15\x1a\x9c\x83\xd5\xd0\x8b\x9a\x91\x6d\xa5\xbb\xba\x84\xa2\xc2\xe2\x1e\x84\xd9\x76\x0d\x2a\x82\x9d\xa8\x3b\xb4\x0c\x46\x1a\x1a\x71\x8f\x60\x3b\xe3\x9d\xbb\xee\xa9\x12\xcb\x10\x45\x74\xc4\xd9\xb9\x34\x87\x94\xa5\xe5\x92\x60\x09\x52\xf9\x22\x85\xad\xd6\xe7\x2a\x0c\x42\xe7\x5e\x37\x9d\x25\x90\x4d\x5b\x23\x3b\x77\x4e\xee\x56\x5f\x45\x57\xd3\xef\x82\x04\x0c\xfc\x01\x47\xa0\x98\xe4\x07\x4d\xb8\xf0\x25\xe2\x7a\x06\x3e\x69\x55\xef\xa1\x97\x75\x0d\xbd\x36\xf7\xb0\xd1\xe6\xa8\xe5\xde\x39\x43\xf8\xbf\x4a\xec\x38\x31\x69\x7c\x46\xcf\x2d\x18\xb4\xba\x33\x05\xfa\x9c\x2c\x12\x08\x0b\x09\x47\x94\xe4\x23\xd3\x00\xc8\x84\xd4\x54\xa1\x61\x03\xeb\xfd\x2b\xe4\x1a\xb9\x14\x41\x40\x29\x37\x1b\x34\x9c\xde\x21\xda\x11\x94\xaf\x48\x59\x4a\xb7\x2e\xea\x7a\x0f\xb6\xc5\x42\x6e\x24\x5a\x5f\xf5\x12\x15\xb9\xaf\x26\x56\xe0\x5d\x2b\x8c\x68\x40\x34\xba\x53\xe4\x4a\x81\xe1\x19\xf4\xc6\xa7\x62\xc7\x6c\x1b\xdb\x90\x0e\xfb\x43\xab\xc6\xa4\x8c\x04\x73\xcb\x63\xa3\xa1\xd3\x61\xe2\xa6\x08\xce\xe5\x78\x7c\x38\x9f\x12\x37\x52\x85\x04\x02\xe4\x1a\x79\xd2\x82\x33\x83\xe5\x53\x1e\xdc\x1c\x7b\x78\x6e\xc0\xff\xc6\xce\xe1\x8f\x87\x05\x24\x77\xb5\xee\x83\x40\xb9\xda\x8d\x1a\x90\x0e\xc5\xfb\x72\x27\x1f\x7e\xfd\x65\xce\x85\x09\xf9\xcd\x4f\x13\x3e\x79\xe3\x03\xfd\x4c\x46\xaa\x6d\x06\xdf\x66\x33\xd7\x4a\x9e\x5c\x04\xa6\xcb\x81\x4a\x1c\x74\xa5\xeb\x72\x12\x72\x1c\x84\xd3\xba\x38\xa8\x1a\x09\x08\x9b\x96\xb1\x16\xf0\xee\xdb\x44\x58\x73\x5e\x7e\x8c\x5e\xc7\x43\x63\xc9\x74\x05\x4b\xc3\x16\x09\x5a\x41\x95\x65\x99\x89\xb0\xbb\x61\xeb\x02\xce\xab\x75\x3e\x82\xf4\x6e\x5a\x83\xad\x30\x98\x5a\xb9\x55\x68\x16\x20\x3a\xaa\xd2\xdf\xb4\x31\xba\xff\xea\x44\x23\x83\x67\x37\x45\xe1\x8a\x1a\xeb\x11\xa2\xf3\x9b\x40\x80\x41\x9e\x84\xc2\x6b\x61\x85\x3e\x14\xb0\xa4\x0d\x96\xa0\x15\xaf\x05\xe5\x10\x1e\x0b\x04\x8d\x57\xdb\x6e\x5d\xcb\xe2\xa3\xa0\x2a\x3a\x70\x29\xb9\x5a\xd7\x3b\x34\x9f\x70\x03\x4b\x97\x77\x88\x24\x3d\x6a\x64\x16\xad\xdc\x5f\x3e\xbc\xb5\xf9\x9a\x43\xbc\x7a\x36\x2d\xf3\xe3\x75\xaa\xb8\xcf\xe3\xae\x4f\x31\xde\xbe\x85\x56\x28\x59\xa4\xc9\x2d\xcb\xa9\xd2\x04\xeb\xb3\xf9\x6e\x06\x41\x9a\x2a\x68\x92\x4d\xea\xf5\xc5\x06\xd2\x4c\xec\x0d\x92\x91\xe8\x15\xcb\x35\x5c\x62\x0f\xd1\xca\x62\xbd\xc9\x63\x63\x61\x39\xae\x48\x1e\x9e\x07\x11\x76\x96\xe9\xc0\xce\xd5\xbe\xc5\x05\x28\x59\xcf\x61\x27\xb1\xf7\x5f\xdd\xff\xab\x1f\xe3\xc6\x75\x9a\x65\x20\xec\xe5\x0f\x52\xe9\xed\xbf\x16\x2f\x04\x7b\x72\x16\xb8\xe8\x58\xd4\xdd\x8b\xad\xdc\xa1\x3a\xc8\xfb\x77\xab\xf9\xde\x89\xf8\x69\x2b\x3c\x8d\x9f\xdb\x81\x7d\x5c\xbc\x09\xa9\x78\xc5\x33\xca\x6f\xce\xdd\x56\xb1\xc5\x81\x2d\x3c\x01\xd3\xb9\xfc\x4b\x52\x55\x1a\xd1\x67\x70\x44\xa5\xfc\x23\x5f\x36\xd0\x3c\x5e\xa7\x6e\x1a\x17\x47\x2d\x1b\xb0\x1d\xb5\xb3\xd9\xc5\xc5\xc5\x77\x88\x75\x92\x8b\xee\x7d\x2a\x5c\xad\xcb\x71\xfe\xec\x24\xea\x08\x5c\xbd\x88\x59\xe5\x7d\x08\x35\x2a\xa1\xff\x3c\x2d\x1e\x57\x8b\x85\x0e\x0c\xb6\x06\x2d\x2a\x12\xfe\xc8\xf5\xf2\x3c\x9c\x04\x0e\x51\x77\xde\xe0\xd5\x43\x84\xd9\x09\x33\x6c\xf1\x7a\x09\xcb\x63\x81\xcd\x49\xfb\x57\xe9\x61\xba\xe4\x66\x6a\x95\xd7\xa8\xb6\x54\xc1\x72\x09\xaf\xdf\xc0\xb7\x09\x91\x8e\xe1\xa7\x86\xb6\x96\x05\x86\xaa\xff\x3c\x87\xae\x5d\xe9\x05\xbc\x7e\x73\x70\xf5\x38\xe9\x3b\xed\x5b\xf4\x96\x83\xc0\xc3\x12\x92\x9b\x3c\x71\x7a\x51\x08\x4a\x27\xe8\xd9\xb0\x9a\xe4\x49\x7c\x9e\xe8\xc5\x61\x83\xbf\x47\x64\x27\xde\x60\x09\xb7\xba\x69\xb5\x95\xc4\x03\x99\x1e\x42\x38\x6c\x76\x02\x68\x28\x9d\xe4\xcd\xc6\x97\x4b\x9e\xdf\xc9\x8b\x06\xad\xf5\xd7\xd5\x03\x7b\x0a\x83\x82\xdc\x8d\x84\xad\x5c\xa3\x8e\x8f\xd7\xe3\x8b\xdc\x65\x12\x41\x47\xb4\x78\x2a\x90\x29\xcf\xf2\x2d\x12\xe7\x91\xb9\x6e\x39\x77\x97\xe7\xc2\x3b\x9c\x97\xac\x78\xbd\xf0\x34\x72\xc4\x54\x93\xcb\x89\xb4\x9c\x04\x9f\xa0\x2e\xfe\xb8\xdd\xe0\xdf\x1d\x5a\xc2\x72\x12\xad\x6f\x2b\x7f\xe0\x03\x16\x1d\xe1\x88\x32\xfe\xc8\x28\x64\x2b\xdd\xb5\x6c\x72\x60\x90\xce\x8e\xb7\xa1\x8c\x27\x4b\x34\xca\x0b\xd1\x8a\xb5\xac\x25\x49\x3c\x77\x7a\xe4\x9f\x82\xed\xe3\x75\x7a\x34\xec\x03\xaa\x9f\xf6\x71\x65\xfe\xcb\xd8\xc7\x68\x9e\x5b\x18\x7c\x5d\x1e\xa9\x5f\xfc\x09\x14\xae\x1d\xe1\x07\xc7\x19\xfd\x1b\x21\x33\x1a\xc4\x34\xf7\x11\x74\x54\x91\xbc\x44\x26\x6d\x98\xad\xab\x17\x53\x1a\x0c\x5d\x78\xfc\x27\x00\x00\xff\xff\x0d\xe6\xfe\x36\x34\x0e\x00\x00" func generic_transfer_with_addressCdcBytes() ([]byte, error) { return bindataRead( @@ -143,7 +143,7 @@ func generic_transfer_with_addressCdc() (*asset, error) { } info := bindataFileInfo{name: "generic_transfer_with_address.cdc", size: 0, mode: os.FileMode(0), modTime: time.Unix(0, 0)} - a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xeb, 0x35, 0xf9, 0xf4, 0x21, 0x3d, 0x76, 0xc0, 0x33, 0x55, 0x82, 0x5c, 0x8c, 0xb8, 0x9d, 0x85, 0xfe, 0x2a, 0x34, 0x25, 0xb0, 0xc9, 0xb4, 0x9f, 0x12, 0xbb, 0x8c, 0x3b, 0x53, 0xd3, 0x18, 0x47}} + a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x3, 0x8c, 0x24, 0xda, 0x6e, 0x86, 0xe9, 0x2c, 0xe2, 0x8b, 0x46, 0xe4, 0x2c, 0xea, 0x26, 0xaf, 0xb8, 0x93, 0x61, 0x68, 0x74, 0xe, 0x6a, 0xc6, 0x4f, 0x30, 0xe, 0xdf, 0x34, 0x4d, 0x2a, 0x83}} return a, nil } diff --git a/lib/go/test/go.mod b/lib/go/test/go.mod index d8c3210..6138350 100644 --- a/lib/go/test/go.mod +++ b/lib/go/test/go.mod @@ -4,11 +4,11 @@ go 1.22 require ( github.com/btcsuite/btcd/chaincfg/chainhash v1.0.2 - github.com/onflow/cadence v1.0.0-preview.48 - github.com/onflow/flow-emulator v1.0.0-preview.39 + github.com/onflow/cadence v1.0.0-preview.52 + github.com/onflow/flow-emulator v1.0.0 github.com/onflow/flow-ft/lib/go/contracts v1.0.0 github.com/onflow/flow-ft/lib/go/templates v1.0.0 - github.com/onflow/flow-go-sdk v1.0.0-preview.50 + github.com/onflow/flow-go-sdk v1.0.0-preview.54 github.com/onflow/flow-nft/lib/go/contracts v1.2.1 github.com/rs/zerolog v1.29.0 github.com/stretchr/testify v1.9.0 @@ -27,7 +27,7 @@ require ( github.com/VictoriaMetrics/fastcache v1.12.2 // indirect github.com/beorn7/perks v1.0.1 // indirect github.com/bits-and-blooms/bitset v1.10.0 // indirect - github.com/btcsuite/btcd/btcec/v2 v2.2.1 // indirect + github.com/btcsuite/btcd/btcec/v2 v2.3.4 // indirect github.com/cenkalti/backoff/v4 v4.2.1 // indirect github.com/cespare/xxhash v1.1.0 // indirect github.com/cespare/xxhash/v2 v2.3.0 // indirect @@ -134,13 +134,13 @@ require ( github.com/multiformats/go-multistream v0.5.0 // indirect github.com/multiformats/go-varint v0.0.7 // indirect github.com/olekukonko/tablewriter v0.0.5 // indirect - github.com/onflow/atree v0.8.0-rc.5 // indirect - github.com/onflow/crypto v0.25.1 // indirect + github.com/onflow/atree v0.8.0-rc.6 // indirect + github.com/onflow/crypto v0.25.2 // indirect github.com/onflow/flow-core-contracts/lib/go/contracts v1.3.1 // indirect github.com/onflow/flow-core-contracts/lib/go/templates v1.3.1 // indirect - github.com/onflow/flow-go v0.37.1 // indirect + github.com/onflow/flow-go v0.37.10 // indirect github.com/onflow/flow-nft/lib/go/templates v1.2.0 // indirect - github.com/onflow/flow/protobuf/go/flow v0.4.5 // indirect + github.com/onflow/flow/protobuf/go/flow v0.4.6 // indirect github.com/onflow/go-ethereum v1.14.7 // indirect github.com/onflow/sdks v0.6.0-preview.1 // indirect github.com/onflow/wal v1.0.2 // indirect @@ -196,13 +196,13 @@ require ( go.uber.org/atomic v1.11.0 // indirect go.uber.org/multierr v1.11.0 // indirect go.uber.org/zap v1.26.0 // indirect - golang.org/x/crypto v0.22.0 // indirect + golang.org/x/crypto v0.26.0 // indirect golang.org/x/exp v0.0.0-20240119083558-1b970713d09a // indirect - golang.org/x/net v0.24.0 // indirect + golang.org/x/net v0.25.0 // indirect golang.org/x/oauth2 v0.17.0 // indirect - golang.org/x/sync v0.7.0 // indirect - golang.org/x/sys v0.20.0 // indirect - golang.org/x/text v0.14.0 // indirect + golang.org/x/sync v0.8.0 // indirect + golang.org/x/sys v0.23.0 // indirect + golang.org/x/text v0.17.0 // indirect golang.org/x/time v0.5.0 // indirect golang.org/x/xerrors v0.0.0-20231012003039-104605ab7028 // indirect gonum.org/v1/gonum v0.14.0 // indirect diff --git a/lib/go/test/go.sum b/lib/go/test/go.sum index 942aa3e..bc13928 100644 --- a/lib/go/test/go.sum +++ b/lib/go/test/go.sum @@ -1073,6 +1073,8 @@ github.com/boombuler/barcode v1.0.1/go.mod h1:paBWMcWSl3LHKBqUq+rly7CNSldXjb2rDl github.com/btcsuite/btcd/btcec/v2 v2.2.0/go.mod h1:U7MHm051Al6XmscBQ0BoNydpOTsFAn707034b5nY8zU= github.com/btcsuite/btcd/btcec/v2 v2.2.1 h1:xP60mv8fvp+0khmrN0zTdPC3cNm24rfeE6lh2R/Yv3E= github.com/btcsuite/btcd/btcec/v2 v2.2.1/go.mod h1:9/CSmJxmuvqzX9Wh2fXMWToLOHhPd11lSPuIupwTkI8= +github.com/btcsuite/btcd/btcec/v2 v2.3.4 h1:3EJjcN70HCu/mwqlUsGK8GcNVyLVxFDlWurTXGPFfiQ= +github.com/btcsuite/btcd/btcec/v2 v2.3.4/go.mod h1:zYzJ8etWJQIv1Ogk7OzpWjowwOdXY1W/17j2MW85J04= github.com/btcsuite/btcd/chaincfg/chainhash v1.0.1/go.mod h1:7SFka0XMvUgj3hfZtydOrQY2mwhPclbT2snogU7SQQc= github.com/btcsuite/btcd/chaincfg/chainhash v1.0.2 h1:KdUfX2zKommPRa+PD0sWZUyXe9w277ABlgELO7H04IM= github.com/btcsuite/btcd/chaincfg/chainhash v1.0.2/go.mod h1:7SFka0XMvUgj3hfZtydOrQY2mwhPclbT2snogU7SQQc= @@ -1926,23 +1928,35 @@ github.com/olekukonko/tablewriter v0.0.5/go.mod h1:hPp6KlRPjbx+hW8ykQs1w3UBbZlj6 github.com/onflow/atree v0.6.1-0.20230711151834-86040b30171f/go.mod h1:xvP61FoOs95K7IYdIYRnNcYQGf4nbF/uuJ0tHf4DRuM= github.com/onflow/atree v0.8.0-rc.5 h1:1sU+c6UfDzq/EjM8nTw4EI8GvEMarcxkWkJKy6piFSY= github.com/onflow/atree v0.8.0-rc.5/go.mod h1:yccR+LR7xc1Jdic0mrjocbHvUD7lnVvg8/Ct1AA5zBo= +github.com/onflow/atree v0.8.0-rc.6 h1:GWgaylK24b5ta2Hq+TvyOF7X5tZLiLzMMn7lEt59fsA= +github.com/onflow/atree v0.8.0-rc.6/go.mod h1:yccR+LR7xc1Jdic0mrjocbHvUD7lnVvg8/Ct1AA5zBo= github.com/onflow/cadence v1.0.0-M3/go.mod h1:odXGZZ/wGNA5mwT8bC9v8u8EXACHllB2ABSZK65TGL8= github.com/onflow/cadence v1.0.0-preview.48 h1:WkgU0z6H/oRe44kLL6OO+wkGeKULWChoCT8i7sgiWdg= github.com/onflow/cadence v1.0.0-preview.48/go.mod h1:BCoenp1TYp+SmG7FGWStjehvvzcvNQ3xvpK5rkthq3Y= +github.com/onflow/cadence v1.0.0-preview.52 h1:hZ92e6lL2+PQa3C1i5jJh0zZYFdW89+X1MS0Bkd6Ayo= +github.com/onflow/cadence v1.0.0-preview.52/go.mod h1:7wvvecnAZtYOspLOS3Lh+FuAmMeSrXhAWiycC3kQ1UU= github.com/onflow/crypto v0.25.0/go.mod h1:C8FbaX0x8y+FxWjbkHy0Q4EASCDR9bSPWZqlpCLYyVI= github.com/onflow/crypto v0.25.1 h1:0txy2PKPMM873JbpxQNbJmuOJtD56bfs48RQfm0ts5A= github.com/onflow/crypto v0.25.1/go.mod h1:C8FbaX0x8y+FxWjbkHy0Q4EASCDR9bSPWZqlpCLYyVI= +github.com/onflow/crypto v0.25.2 h1:GjHunqVt+vPcdqhxxhAXiMIF3YiLX7gTuTR5O+VG2ns= +github.com/onflow/crypto v0.25.2/go.mod h1:fY7eLqUdMKV8EGOw301unP8h7PvLVy8/6gVR++/g0BY= github.com/onflow/flow-core-contracts/lib/go/contracts v1.3.1 h1:q9tXLIALwQ76bO4bmSrhtTkyc2cZF4/gH11ix9E3F5k= github.com/onflow/flow-core-contracts/lib/go/contracts v1.3.1/go.mod h1:u/mkP/B+PbV33tEG3qfkhhBlydSvAKxfLZSfB4lsJHg= github.com/onflow/flow-core-contracts/lib/go/templates v1.3.1 h1:FfhMBAb78p6VAWkJ+iqdKLErGQVQgxk5w6DP5ZruWX8= github.com/onflow/flow-core-contracts/lib/go/templates v1.3.1/go.mod h1:NgbMOYnMh0GN48VsNKZuiwK7uyk38Wyo8jN9+C9QE30= github.com/onflow/flow-emulator v1.0.0-preview.39 h1:5z/jKUrU3YB/Lqvr1bNTDW2BGIcCJocLdw06Rk87r+U= github.com/onflow/flow-emulator v1.0.0-preview.39/go.mod h1:0mXSq9eSwkAmGgvn/8aCBNgXiJM6MHKETFgPSk6f9NA= +github.com/onflow/flow-emulator v1.0.0 h1:CCE9mFUYidb4YPQWFSBHzcBGggs5bXVqIh02wF2wRr0= +github.com/onflow/flow-emulator v1.0.0/go.mod h1:sHbe9e1RG7Y6LA/dFyLEoBnKyjJ4iHeOdkXIobMjjrE= github.com/onflow/flow-go v0.37.1 h1:DHvadojDigTOjLBLrwwKyyWXVRawmlefAk/DNVbK8cQ= github.com/onflow/flow-go v0.37.1/go.mod h1:hLFem+cwkq6650p4+0DUp36GH2QEuuFDCDUzDg0QZNE= +github.com/onflow/flow-go v0.37.10 h1:Nz2Gp63+0ubb9FuQaEZgCsXNXM5WsXq/j0ukC74N5Vw= +github.com/onflow/flow-go v0.37.10/go.mod h1:bfOCsCk0v1J93vXd+zrYkCmRIVOaL9oAXvNFWgVOujE= github.com/onflow/flow-go-sdk v1.0.0-M1/go.mod h1:TDW0MNuCs4SvqYRUzkbRnRmHQL1h4X8wURsCw9P9beo= github.com/onflow/flow-go-sdk v1.0.0-preview.50 h1:j5HotrV/ieo5JckmMxR2dMxO3x1j7YO8SP2EuGMEwRQ= github.com/onflow/flow-go-sdk v1.0.0-preview.50/go.mod h1:Ykk4PS7fgWuc6BB073tdzHu/VtzOd0CVNIoDjaqFHLg= +github.com/onflow/flow-go-sdk v1.0.0-preview.54 h1:5GjCkyIyvE9KolOUUPTkGdEiV/8qOe1MGnLHOLBmthA= +github.com/onflow/flow-go-sdk v1.0.0-preview.54/go.mod h1:u9oFiS25TpnU1EW62PQlq22jzkwBAj4VEiiCBM6nhHo= github.com/onflow/flow-nft/lib/go/contracts v1.2.1 h1:woAAS5z651sDpi7ihAHll8NvRS9uFXIXkL6xR+bKFZY= github.com/onflow/flow-nft/lib/go/contracts v1.2.1/go.mod h1:2gpbza+uzs1k7x31hkpBPlggIRkI53Suo0n2AyA2HcE= github.com/onflow/flow-nft/lib/go/templates v1.2.0 h1:JSQyh9rg0RC+D1930BiRXN8lrtMs+ubVMK6aQPon6Yc= @@ -1950,6 +1964,8 @@ github.com/onflow/flow-nft/lib/go/templates v1.2.0/go.mod h1:p+2hRvtjLUR3MW1NsoJ github.com/onflow/flow/protobuf/go/flow v0.3.2-0.20231121210617-52ee94b830c2/go.mod h1:NA2pX2nw8zuaxfKphhKsk00kWLwfd+tv8mS23YXO4Sk= github.com/onflow/flow/protobuf/go/flow v0.4.5 h1:6o+pgYGqwXdEhqSJxu2BdnDXkOQVOkfGAb6IiXB+NPM= github.com/onflow/flow/protobuf/go/flow v0.4.5/go.mod h1:NA2pX2nw8zuaxfKphhKsk00kWLwfd+tv8mS23YXO4Sk= +github.com/onflow/flow/protobuf/go/flow v0.4.6 h1:KE/CsRVfyG5lGBtm1aNcjojMciQyS5GfPF3ixOWRfi0= +github.com/onflow/flow/protobuf/go/flow v0.4.6/go.mod h1:NA2pX2nw8zuaxfKphhKsk00kWLwfd+tv8mS23YXO4Sk= github.com/onflow/go-ethereum v1.14.7 h1:gg3awYqI02e3AypRdpJKEvNTJ6kz/OhAqRti0h54Wlc= github.com/onflow/go-ethereum v1.14.7/go.mod h1:zV14QLrXyYu5ucvcwHUA0r6UaqveqbXaehAVQJlSW+I= github.com/onflow/sdks v0.5.1-0.20230912225508-b35402f12bba/go.mod h1:F0dj0EyHC55kknLkeD10js4mo14yTdMotnWMslPirrU= @@ -2329,6 +2345,8 @@ golang.org/x/crypto v0.14.0/go.mod h1:MVFd36DqK4CsrnJYDkBA3VC4m2GkXAM0PvzMCn4JQf golang.org/x/crypto v0.16.0/go.mod h1:gCAAfMLgwOJRpTjQ2zCCt2OcSfYMTeZVSRtQlPC7Nq4= golang.org/x/crypto v0.22.0 h1:g1v0xeRhjcugydODzvb3mEM9SQ0HGp9s/nh3COQ/C30= golang.org/x/crypto v0.22.0/go.mod h1:vr6Su+7cTlO45qkww3VDJlzDn0ctJvRgYbC2NvXHt+M= +golang.org/x/crypto v0.26.0 h1:RrRspgV4mU+YwB4FYnuBoKsUapNIL5cohGAmSH3azsw= +golang.org/x/crypto v0.26.0/go.mod h1:GY7jblb9wI+FOo5y8/S2oY4zWP07AkOJ4+jxCqdqn54= golang.org/x/exp v0.0.0-20180321215751-8460e604b9de/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= golang.org/x/exp v0.0.0-20180807140117-3d87b88a115f/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= golang.org/x/exp v0.0.0-20190121172915-509febef88a4/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= @@ -2486,6 +2504,8 @@ golang.org/x/net v0.17.0/go.mod h1:NxSsAGuq816PNPmqtQdLE42eU2Fs7NoRIZrHJAlaCOE= golang.org/x/net v0.19.0/go.mod h1:CfAk/cbD4CthTvqiEl8NpboMuiuOYsAr/7NOjZJtv1U= golang.org/x/net v0.24.0 h1:1PcaxkF854Fu3+lvBIx5SYn9wRlBzzcnHZSiaFFAb0w= golang.org/x/net v0.24.0/go.mod h1:2Q7sJY5mzlzWjKtYUEXSlBWCdyaioyXzRB2RtU8KVE8= +golang.org/x/net v0.25.0 h1:d/OCCoBEUq33pjydKrGQhw7IlUPI2Oylr+8qLx49kac= +golang.org/x/net v0.25.0/go.mod h1:JkAGAh7GEvH74S6FOH42FLoXpXbE/aqXSrIQjXgsiwM= golang.org/x/oauth2 v0.0.0-20170207211851-4464e7848382/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U= golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U= golang.org/x/oauth2 v0.0.0-20190226205417-e64efc72b421/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= @@ -2545,6 +2565,8 @@ golang.org/x/sync v0.4.0/go.mod h1:FU7BRWz2tNW+3quACPkgCx/L+uEAv1htQ0V83Z9Rj+Y= golang.org/x/sync v0.5.0/go.mod h1:Czt+wKu1gCyEFDUtn0jG5QVvpJ6rzVqr5aXyt9drQfk= golang.org/x/sync v0.7.0 h1:YsImfSBoP9QPYL0xyKJPq0gcaJdG3rInoqxTWbfQu9M= golang.org/x/sync v0.7.0/go.mod h1:Czt+wKu1gCyEFDUtn0jG5QVvpJ6rzVqr5aXyt9drQfk= +golang.org/x/sync v0.8.0 h1:3NFvSEYkUoMifnESzZl15y791HH1qU2xm6eCJU5ZPXQ= +golang.org/x/sync v0.8.0/go.mod h1:Czt+wKu1gCyEFDUtn0jG5QVvpJ6rzVqr5aXyt9drQfk= golang.org/x/sys v0.0.0-20180830151530-49385e6e1522/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20180905080454-ebe1bf3edb33/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20180909124046-d0be0721c37e/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= @@ -2672,6 +2694,8 @@ golang.org/x/sys v0.14.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= golang.org/x/sys v0.15.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= golang.org/x/sys v0.20.0 h1:Od9JTbYCk261bKm4M/mw7AklTlFYIa0bIp9BgSm1S8Y= golang.org/x/sys v0.20.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= +golang.org/x/sys v0.23.0 h1:YfKFowiIMvtgl1UERQoTPPToxltDeZfbj4H7dVUCwmM= +golang.org/x/sys v0.23.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= golang.org/x/term v0.0.0-20201117132131-f5c789dd3221/go.mod h1:Nr5EML6q2oocZ2LXRh80K7BxOlk5/8JxuGnuhpl+muw= golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo= golang.org/x/term v0.0.0-20210927222741-03fcf44c2211/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8= @@ -2713,6 +2737,8 @@ golang.org/x/text v0.12.0/go.mod h1:TvPlkZtksWOMsz7fbANvkp4WM8x/WCo/om8BMLbz+aE= golang.org/x/text v0.13.0/go.mod h1:TvPlkZtksWOMsz7fbANvkp4WM8x/WCo/om8BMLbz+aE= golang.org/x/text v0.14.0 h1:ScX5w1eTa3QqT8oi6+ziP7dTV1S2+ALU0bI+0zXKWiQ= golang.org/x/text v0.14.0/go.mod h1:18ZOQIKpY8NJVqYksKHtTdi31H5itFRjB5/qKTNYzSU= +golang.org/x/text v0.17.0 h1:XtiM5bkSOt+ewxlOE/aE/AKEHibwj/6gvWMl9Rsh0Qc= +golang.org/x/text v0.17.0/go.mod h1:BuEKDfySbSR4drPmRPG/7iBdf8hvFMuRexcpahXilzY= golang.org/x/time v0.0.0-20181108054448-85acf8d2951c/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= golang.org/x/time v0.0.0-20190308202827-9d24e82272b4/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= golang.org/x/time v0.0.0-20191024005414-555d28b269f0/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= diff --git a/transactions/generic_transfer_with_address.cdc b/transactions/generic_transfer_with_address.cdc index db6a16f..cee7acc 100644 --- a/transactions/generic_transfer_with_address.cdc +++ b/transactions/generic_transfer_with_address.cdc @@ -15,6 +15,11 @@ import "FungibleTokenMetadataViews" /// to make sure the intended token contract name and address is passed in /// Contracts that are used must implement the FTVaultData Metadata View /// +/// Note: This transaction only will work for Fungible Tokens that +/// have their token's resource name set as "Vault". +/// Tokens with other names will need to use a different transaction +/// that additionally specifies the identifier +/// /// @param amount: The amount of tokens to transfer /// @param to: The address to transfer the tokens to /// @param contractAddress: The address of the contract that defines the tokens being transferred