From 7e9cd2066560d9e866af83ba82eaf68166c8aab0 Mon Sep 17 00:00:00 2001 From: Josh Hannan Date: Wed, 1 May 2024 11:04:34 -0500 Subject: [PATCH] use contract field and mint event --- contracts/ExampleToken.cdc | 12 +++++++----- lib/go/contracts/internal/assets/assets.go | 6 +++--- 2 files changed, 10 insertions(+), 8 deletions(-) diff --git a/contracts/ExampleToken.cdc b/contracts/ExampleToken.cdc index 740e8dd..9f619ab 100644 --- a/contracts/ExampleToken.cdc +++ b/contracts/ExampleToken.cdc @@ -52,9 +52,9 @@ access(all) contract ExampleToken: FungibleToken { ) case Type(): return FungibleTokenMetadataViews.FTVaultData( - storagePath: /storage/exampleTokenVault, - receiverPath: /public/exampleTokenReceiver, - metadataPath: /public/exampleTokenVault, + storagePath: self.VaultStoragePath, + receiverPath: self.ReceiverPublicPath, + metadataPath: self.VaultPublicPath, receiverLinkedType: Type<&ExampleToken.Vault>(), metadataLinkedType: Type<&ExampleToken.Vault>(), createEmptyVaultFunction: (fun(): @{FungibleToken.Vault} { @@ -178,8 +178,9 @@ access(all) contract ExampleToken: FungibleToken { /// access(all) fun mintTokens(amount: UFix64): @ExampleToken.Vault { ExampleToken.totalSupply = ExampleToken.totalSupply + amount - emit TokensMinted(amount: amount, type: self.getType().identifier) - return <-create Vault(balance: amount) + let vault <-create Vault(balance: amount) + emit TokensMinted(amount: amount, type: vault.getType().identifier) + return <-vault } } @@ -205,6 +206,7 @@ access(all) contract ExampleToken: FungibleToken { // Create the Vault with the total supply of tokens and save it in storage // let vault <- create Vault(balance: self.totalSupply) + emit TokensMinted(amount: vault.balance, type: vault.getType().identifier) // Create a public capability to the stored Vault that exposes // the `deposit` method and getAcceptedTypes method through the `Receiver` interface diff --git a/lib/go/contracts/internal/assets/assets.go b/lib/go/contracts/internal/assets/assets.go index b4c7640..45ea51c 100644 --- a/lib/go/contracts/internal/assets/assets.go +++ b/lib/go/contracts/internal/assets/assets.go @@ -1,6 +1,6 @@ // Code generated by go-bindata. DO NOT EDIT. // sources: -// ../../../contracts/ExampleToken.cdc (9.619kB) +// ../../../contracts/ExampleToken.cdc (9.718kB) // ../../../contracts/FungibleToken.cdc (10.377kB) // ../../../contracts/FungibleTokenMetadataViews.cdc (6.596kB) // ../../../contracts/FungibleTokenSwitchboard.cdc (17.944kB) @@ -79,7 +79,7 @@ func (fi bindataFileInfo) Sys() interface{} { return nil } -var _exampletokenCdc = "\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xcc\x5a\x6d\x6f\xdb\x38\x12\xfe\x9e\x5f\x31\x9b\x03\xee\x6c\x34\x71\xd2\xdd\xb6\xb7\x6b\x24\xcd\xa6\xdd\x06\x77\xc0\x16\x28\xda\x6c\xf7\x43\x51\x34\xb4\x34\xb6\x78\xa1\x48\x81\xa4\xec\x78\x83\xfe\xf7\xc3\xf0\x45\x16\x65\x29\x71\xd2\x1e\x70\xfe\xd0\xe8\x85\x33\x1c\xce\x3c\x9c\x99\x87\x2a\x2f\x2b\xa5\x2d\xec\x5f\xd4\x72\xc1\x67\x02\x2f\xd5\x35\xca\xfd\xbd\xf8\xf8\x2d\x5a\x96\x33\xcb\x3e\x72\x5c\x99\xcd\xe3\x64\x74\x67\xcc\x1e\xcb\x32\x34\x66\xc4\x84\x18\x43\xa6\xa4\xd5\x2c\xb3\xf0\xe6\x86\x95\x55\x10\x98\x42\x22\x0f\xb7\x7b\x7b\x00\x00\x47\x47\x47\x70\x59\x20\xe0\x12\xa5\x05\x5b\x30\x0b\xdc\x00\x96\xdc\x5a\xcc\x61\x55\xa0\x04\x89\x2b\xb0\x24\x63\x80\x69\x84\x92\x4b\x8b\xb9\x13\x6e\x4f\xea\x15\x38\xdd\xe6\xad\x1b\x32\x62\xa5\xaa\xa5\x9d\xc2\x1f\x17\xfc\xe6\xc5\xb3\x03\xb0\xeb\x0a\xa7\xf0\xc1\x6a\x2e\x17\xe3\xd6\xf4\xca\x32\x01\xa6\xae\x2a\xb1\x06\x35\x4f\xac\x36\xc0\x25\xe0\x0d\x37\x16\x65\x86\x5b\x93\x2e\x99\x06\x4b\xe2\x1f\x9c\x74\x9c\x6a\xa3\xfb\x83\x55\x9a\x2d\x10\x98\xcc\xe1\x5d\x3d\x13\x3c\x83\x77\xcc\x16\x66\x4b\x93\x40\x0b\x1f\x59\x2d\x6c\x90\xa0\x51\x53\x68\xdd\x0c\x4b\x78\xbd\x5e\x60\x73\xdd\x3b\xfe\x3d\x66\xc8\x97\xa8\x1f\x20\x72\x9e\x97\x5c\x0e\x1a\xb5\xed\x11\x8e\x2b\x98\xd7\x12\x16\x68\x5f\x07\x1c\x38\x8c\x8c\x34\x1a\x55\xeb\x0c\x2f\x5d\x14\xe8\xdf\xb3\xf1\x14\x3e\xd1\xc5\x67\xb8\x75\x8a\xe8\xa7\xd1\xd6\x5a\xc2\xa7\xe6\x01\xfd\x68\xd0\xc9\x30\xfe\x26\x17\x97\xf4\xf7\xe5\x68\x7c\xf0\x40\xb1\xdf\xb8\xa9\x04\x5b\x3f\x42\xd2\xb9\xfe\x37\x66\xd9\x83\x65\x2f\x37\x80\x79\x39\x1a\x37\xa2\x9f\xdd\xd5\xd7\x6d\x97\x92\x37\xc9\x79\x62\x89\x6d\x8f\xf6\x39\xf4\xc0\xf9\x7f\xf3\x60\x3c\x85\x73\xb9\xfe\x60\x75\x9d\xd9\xb3\x96\x93\xcd\x8a\xdb\xac\x68\x06\xb7\xde\xd0\x2f\x63\x06\x77\x77\xf9\x34\x91\x6d\x85\xf0\x5e\xe1\xd1\x96\x24\xfd\xe6\x36\x04\x65\x0a\x06\xc5\x7c\x72\xff\xd2\x25\x17\xdd\x85\xef\x1a\xf5\x31\x30\xf3\xc3\xdd\x96\x86\xc1\x67\x07\x03\xd6\x36\x40\xf8\xdf\xd9\xdb\xc6\xda\x0e\x16\x37\xc3\xcf\xb6\x4c\x1e\x3f\x26\xd0\x1b\x77\x6d\xc7\x9a\x52\x44\x89\x39\x67\x70\x0a\xa9\xdc\x5b\x7a\xda\x1f\x62\xe7\x38\x2e\x70\xda\x11\xf9\xd7\xe5\xe5\xbb\x0b\x2e\x70\x58\xaa\xd6\x62\x0a\xfb\x85\xb5\x95\x99\x1e\x1d\x31\x63\xd0\x9a\xc9\x0a\x67\x86\x5b\x3c\x24\x95\x66\x92\xa9\xf2\xe8\xf9\xfc\xc5\x8f\xbf\x3c\xcb\x8e\xb3\x7f\xb2\x9f\xb3\x3c\x7f\xf1\xec\xa7\xd9\xd3\xec\xe7\x1f\x8f\x3b\x2f\xd8\xf3\xe7\xd9\xec\x69\xf6\xcb\x4f\x2f\xbe\x5c\x08\xb5\xfa\xf2\xa7\xd2\x79\xc9\xf4\xf5\xc4\x2c\x17\xfb\xbd\x36\x8c\xfb\x51\xe0\x3c\xe0\xa3\xb9\xcf\x4b\xb6\xc0\x23\xb3\x5c\x3c\xb9\x29\xc5\xb6\x96\xf1\xb0\x0b\x4d\xbf\x0f\xcd\xe8\x93\x7b\xfd\x79\x5b\x74\x97\x9d\x16\xa2\xd7\xef\x53\xc9\x4a\xb2\x39\x94\xbc\x46\x91\xaf\xa3\xfb\xfd\x8b\x35\xeb\x72\xa6\x28\x0c\x6f\x2e\x2e\x07\x86\xe4\x68\x32\xcd\x2b\xcb\x95\x9c\xc2\xfe\x65\xc1\x0d\x65\x31\xaf\xda\x95\x72\x2a\xf2\xb5\xc1\x1c\x98\x01\x46\x15\xd6\xcf\x6f\x15\x14\x28\x2a\x58\xab\x1a\x72\x5c\xa2\x50\xee\x5a\x83\xc4\x1b\x0b\x17\x97\xf0\x37\x25\x29\x52\x93\x81\x79\xf1\xc6\xa2\x96\x4c\xfc\xf1\xfe\xf7\x2e\xb6\xde\x6c\x5e\x8d\x1a\x00\x85\x79\x0f\xe7\x76\xa2\xe4\x9c\x14\x2b\xbd\xd8\x1f\x08\xb2\x50\x0b\x65\xa6\x21\x54\x03\xae\x51\x19\x67\xc2\x4c\x3b\x09\xb5\xfd\xdb\xb7\x2b\xea\x6d\xf4\xfe\x4e\x06\x86\xc1\x0e\xd4\x64\xdf\x97\x99\x50\xd9\x75\x56\x30\x2e\xf7\xb7\xe1\x00\xae\x80\x74\x9f\x3c\x6a\xcf\xb7\x53\xce\x23\x33\x7c\xd4\xd0\x8f\x3c\xd3\x6e\x29\x8e\xc2\x5d\x0c\x88\x53\xe8\x14\xf4\xfb\x59\xc7\x3e\xc6\x4b\x57\xae\x85\x49\x84\x63\xa7\x33\xb4\x5f\xbd\xad\xc3\xf2\x3b\x4c\xfe\x3b\x97\xd7\x98\xb7\x72\xf8\xdf\xdb\x9d\xe3\xc4\x69\xd8\x6a\x0e\xba\x16\x7c\x93\x92\x4c\x23\xb3\xf8\xa6\xac\xec\xda\x0d\xbc\xa8\x65\xe6\xf7\xdc\x68\x5e\xcb\xd1\x78\x0a\xbf\xde\x26\x31\xf2\xfa\xbe\xde\x01\xcf\x10\xd9\x93\xc3\xc4\x8c\xee\x44\xa3\x25\xfd\xdb\xb2\xfa\xd7\x5e\xab\x07\x10\xba\xfd\xf8\x11\x10\x4d\xbb\xa8\xc7\x40\xb4\xa5\xa1\x1f\xa2\x49\x67\x9f\x2c\xb0\xf5\xe6\x8e\xb5\x7c\xed\x36\xb5\x92\x8b\x76\x93\x47\x04\xc1\xb9\x2a\xde\x35\x4f\xdf\xb0\xac\xa0\xfc\xa8\xdd\x36\x41\x97\x23\xb9\x34\x96\xc9\x0c\x89\xa2\x28\x29\xd6\x60\x0b\xf4\xe2\xc4\x51\x6c\x81\x5c\xc7\x4d\x95\x30\xab\x79\x00\x85\x09\xc3\x82\x0c\x31\x92\x85\x5a\xa2\x96\x98\xc3\xcc\x6b\xab\xb4\x67\x2a\x95\x32\x96\x58\x5c\xce\x9d\x60\xa3\x8e\x77\xfc\xe9\xf9\x99\x2d\x70\xed\x98\x59\xc6\x84\xc0\x7c\x92\xcc\x9e\x15\x98\x5d\x1b\x28\x58\x55\xa1\x04\x66\x41\xd7\xd2\xf2\x12\x9d\x28\x2e\x51\x03\x6b\x2c\xa4\xa2\xd0\xd1\xd1\xe8\x7a\x1f\x3a\x28\x1a\x21\xfd\xfa\x67\x18\x36\x40\x1e\x57\x46\xc4\x93\x0a\x85\x9a\x37\xb7\x8e\x87\x3a\x5a\x49\x66\x36\xea\xc8\xdc\x1c\xe7\x5c\x3a\xe1\x03\x30\x8a\xde\x6b\x24\x13\xa4\x82\x15\x5b\xc3\x5c\x91\x6d\x25\x13\x3c\xe3\xaa\x36\x3e\x1c\x56\x85\x39\xbd\x17\x37\xae\x51\x75\x98\x96\x4b\x60\x5c\x4f\xe0\x1c\x4c\x85\x54\x0d\xc0\xb1\x51\x0d\xb1\x07\x04\x89\x98\x1b\xd2\x34\xdb\xd8\x60\x95\xe3\xb5\x8d\xba\x0d\xe7\x4d\x5d\xd1\xe6\x05\x8d\x42\x67\x4a\x87\x5f\xfb\x3d\x18\x59\x76\x3b\x22\x0e\xbb\x30\x63\x22\x82\xc9\x52\x79\x5e\x36\x38\xec\x4e\x43\x1c\x37\x8c\x4e\xf9\xad\x57\x0a\x5c\x72\xcb\x99\xe0\x7f\xa1\x73\x7a\x54\x4c\xa1\x8e\x06\x3a\x97\x51\x80\x29\xf2\x8d\x2c\x09\x8e\x3a\x9a\xc7\x9d\xd4\xe4\x3a\xea\xa8\xf2\x34\x2a\x6f\xed\xb0\x64\x79\xaf\x1d\x78\x3c\x2a\x59\x4f\xc7\x31\xab\x1d\xda\x97\x9c\x39\x53\xaf\x5e\xd1\xbd\x9e\xd0\xe3\xd1\xf8\x8a\x72\x72\xa1\xf2\xae\x13\x22\x8a\x3c\x11\xa3\xb1\x34\xcd\x8c\x65\xd7\xa3\xae\xb5\x7c\x9e\x1a\xfc\x12\x8e\x27\xc7\x3d\xc9\x76\x28\x97\xc0\xe9\xf0\xab\xc3\x44\x75\xa2\xf2\xeb\x5d\x2e\x3b\x9e\x1c\xf7\xb9\x6b\x88\xb3\x7b\xae\xde\x47\xcc\x5b\x79\x2c\x31\xf2\x1e\xa2\x2f\xb9\x18\xdf\x67\x40\x8b\xe1\x3a\xba\xf4\xc5\x99\x74\x37\x85\x1d\x32\xe7\xc1\xf4\x8b\xae\x7a\x2d\x24\x44\x2d\xd0\x92\xff\x95\xb6\x98\x7f\x8c\x35\xcf\x80\x72\xad\x2d\x13\x62\x1d\x6c\x30\xc0\x40\x70\xe3\x72\x80\xdb\x4a\xee\xb0\xc9\xc4\xcc\xc3\x4d\xd3\x35\xb8\x85\x57\x21\x73\xdc\x15\x89\x9e\x79\x29\x2e\xb7\xde\xea\x57\x4a\x89\x6e\x1d\x27\x22\x61\xa2\x94\x13\xe8\x0c\x3f\x85\xdb\x0e\x56\x92\xd1\x9f\x1c\x74\x16\xe8\x26\x1b\x8d\x3f\xc3\x29\x58\x5d\x63\x9f\xcb\x53\xc1\x9d\x01\xc6\xcd\xf6\xaa\x46\xb6\x7d\x5c\x41\x86\xf6\x47\x39\x1a\xd7\xeb\x97\x4f\xd6\xa1\xf5\xec\x0c\xe6\x4c\x98\xc1\x04\x71\x6e\xae\x0d\xed\x52\xda\xfd\xfe\x74\xd0\x95\x93\x19\xc2\x8a\xdb\x22\xd7\x6c\x25\x61\xae\x55\x79\x6f\x4e\xdc\x2c\xe8\x7c\xc9\xb8\x60\x2e\xed\xfe\x19\x74\x74\x0e\x1e\xef\x5c\x55\xb0\xe2\xe4\xb4\x7f\x7b\x77\xec\x8f\x56\xb6\x1f\x26\x03\x62\x07\x18\x80\xc7\xae\x7d\xef\x10\x66\xf1\x64\x8b\xe9\x45\x5d\xa2\xb4\x89\x20\x95\xfd\xa8\x3d\xc0\x36\x08\x05\x7f\x84\x32\x33\x19\x9c\xfa\xdf\x36\x94\x46\xda\x0b\xae\x7e\x61\x59\x29\xcd\xf4\x3a\x74\x1c\xf1\x70\xd7\xf1\x3e\x62\x7a\x4a\xe4\x89\x06\x5b\x60\x3c\xe8\xf5\x06\x68\x84\x19\x72\xb9\x00\xab\x99\x34\x73\xd4\x1a\xf3\x09\x4d\x14\x37\x1d\x49\x48\x5c\xb5\xba\x30\xd2\x13\xbb\x82\x30\xad\x4a\x7a\x03\xa7\xd9\x77\x19\x54\xf5\x79\x83\x80\x1c\x2b\x65\x78\x3c\x5a\x8e\xba\x50\x18\x5c\x51\x67\xd0\xbf\xf0\x00\x8a\xb4\xf4\x46\x1c\xf8\xc4\xb6\x1a\x44\x45\x4f\xd3\x7c\x77\xf9\x4b\x6e\x0f\x43\x80\xfa\x50\x75\x72\xd8\xee\x52\x36\x45\xd6\x4b\x0c\x66\xbb\xe0\x82\x87\xa1\x2b\xb8\x59\xcd\xfe\x83\x59\x17\x62\x0e\x56\x2c\xcf\x4d\xa2\x86\x5b\xd3\xb4\x09\x21\x3a\x49\x3b\x82\xa0\x56\x12\xb5\xd9\x01\x71\xdc\x00\x13\x42\xad\x3c\xa2\x72\x34\x56\x2b\xdf\xcb\x1a\x9a\xde\x9b\x36\xc3\x8c\xd5\x06\x37\x20\x4e\xf7\x14\x99\xdc\x02\x2b\xc1\x12\x75\xb4\x24\x34\x61\xae\x73\x72\xb2\xff\xd8\xd8\x5e\xb0\x74\x5d\x33\x44\x49\x38\x33\x75\x89\xb9\x5b\xba\xeb\x29\xe7\xca\xf5\xc6\x01\x64\xce\xc2\xd8\xe1\x0e\xc0\xa9\x29\x8a\x21\x20\x23\xda\x83\x43\x64\xae\xdb\x84\x50\x15\xf0\x25\xe8\xe4\xd0\x6f\x5e\x66\x7e\xe8\xc3\xda\xce\x48\x7b\xe2\xf5\xf5\xf6\x1e\xc9\x9b\x4e\xbb\x01\xfe\x24\xc8\x85\x24\xcd\xa5\x1d\xdc\x75\xe9\xe5\x8e\x00\x4c\xd3\x8d\x8f\x35\xed\x36\x60\x6d\x3c\xfd\x85\x5a\x6d\xa5\xba\x98\x40\xf8\x26\x3f\x30\x21\x28\xd5\x84\x3c\x41\x0d\xbc\xeb\xf8\xcb\xda\xf8\x7c\xe1\x6b\x42\xe4\x2a\x5b\x1a\x1d\x51\x73\x9a\xbc\xee\x26\xff\x74\xc9\x19\x3d\x50\x3a\xf7\x64\xc2\x81\xd7\xbf\x4f\x35\x66\x99\x4b\xbe\x9e\x25\x30\xdf\xc5\xc6\x1e\x22\xc2\xc2\x34\xdd\xbb\xef\x70\xa9\x06\xee\x86\xab\x2d\x3e\xbf\x53\x36\xba\x27\xb9\x1c\x4f\x8e\xbb\xdc\xb7\x45\x74\x3d\x0b\x1a\xe4\x75\x31\x7f\xf8\xcc\xe2\x96\xc3\xf2\x92\xc8\x94\xf7\x84\xe7\x7d\xb4\x37\x23\x57\x7a\x18\x47\x0a\x24\xec\x36\xf1\x32\xa9\xf1\x9f\xf9\x76\x44\x1c\x09\x98\xd6\xc4\x07\x2e\xb9\x51\xfc\xca\x88\x23\xdb\xfa\x9a\x78\x30\x88\xbb\xb6\x44\x17\x79\x3b\x45\x70\x63\xfa\x63\xea\xca\x63\x08\xc8\x93\xbe\x7a\x83\x25\x1f\xf8\xe8\xea\xff\xc6\x8f\xae\x69\x67\x39\xe1\x39\x4a\xcb\xe7\x1c\xf5\xf8\xdb\xca\x57\x07\x64\xbd\x89\xa4\x0d\xb7\x6f\x4a\x20\xdf\x37\x79\x7c\xdf\xc4\xf1\x1d\x92\x46\xdf\xfe\xe9\x4d\x16\x9d\xc3\xbf\x7b\x11\xd7\x44\x15\xee\x49\x1c\x21\x92\xee\x60\xa0\x5d\xd6\x1c\x7a\x52\x98\x3e\x3d\x3e\xa6\x52\x93\x0e\xe9\x7e\x40\x87\xd3\x3b\x4e\x96\x7b\x44\x37\x9f\xc2\x49\x72\xe8\x54\x38\x15\xdc\xfe\xa4\x3e\x20\x1b\x07\xa6\xe2\xdd\xcf\xeb\x43\x26\xbb\x71\x90\x1c\xbc\xbc\xf6\xce\xdc\x1c\xe9\x39\xe8\x76\x73\x90\x0b\x77\xf8\xdf\x13\x84\x36\xb6\x44\x02\x2e\x97\xc9\x61\xa1\x57\xd9\x5c\x26\x3d\x44\x7f\xd0\xba\x31\x19\xf7\xd9\xc6\xc0\x3b\x02\x32\x56\xb1\x19\x17\xdc\xae\xe3\x96\x71\xb0\xcf\xdb\xd4\x00\x6f\x2a\x65\xb0\x9d\x8a\xfd\x29\x4d\x00\x6e\x3c\x9f\xf1\x27\x97\x68\xcf\x1d\x8f\x0e\x0c\x34\xbe\xb3\x85\x56\xf5\xc2\x7b\xe1\x2a\x7a\xfc\x0a\x5c\xf2\x9f\xb3\xac\xbd\xd8\xd8\xa0\xc1\x55\x58\xd3\x55\xaf\x92\x57\xf1\x65\x9f\x8e\xc4\x61\xed\x70\xbd\x66\x55\xec\xa2\xc2\xae\x9c\x34\x2e\xe0\x68\x26\xc1\xf7\x13\x6e\x4c\x3d\x70\xe6\xdf\x8b\xe8\x71\x8a\x9e\x5e\xdd\xce\xe5\xa6\x18\x75\xec\x39\x00\x66\xa7\xbd\x60\x1f\x27\xcb\x88\x07\x15\xff\x0f\x4b\x68\xd9\xd2\x32\x7f\x7b\xcb\x8d\xf7\xfa\x95\x46\x1b\x09\xf5\xa3\x93\x43\x07\xe9\x03\xb0\xea\xae\x2f\x4e\x2d\x5d\xe4\x0e\xdf\x85\x6c\xb6\x81\x6f\x24\x46\x03\xab\xe8\x4c\xe8\x84\xfd\x84\xbd\xbb\x3d\xa6\xbd\xaf\x7b\xff\x0d\x00\x00\xff\xff\x01\xc2\xd9\x61\x93\x25\x00\x00" +var _exampletokenCdc = "\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xcc\x5a\x5f\x6f\x1b\x37\x12\x7f\xf7\xa7\x98\xea\x80\x3b\x09\xb5\x65\xa7\x4d\x72\xad\x10\xc7\x75\xd2\x18\x77\x40\x03\x04\x89\x9b\x3e\x04\x41\x4c\xed\x8e\xb4\x3c\x73\xc9\x05\xc9\x95\xac\x1a\xf9\xee\x87\xe1\x9f\xd5\x72\xb5\x6b\xcb\x6e\x0e\x38\x3d\x34\xd6\x2e\x67\x38\x9c\xf9\xcd\x6f\x66\xa8\xf2\xb2\x52\xda\xc2\xe8\xa2\x96\x4b\x3e\x17\x78\xa9\xae\x51\x8e\x0e\xe2\xe3\xb7\x68\x59\xce\x2c\xfb\xc8\x71\x6d\xb6\x8f\x93\xd5\x9d\x35\x07\x2c\xcb\xd0\x98\x31\x13\x62\x02\x99\x92\x56\xb3\xcc\xc2\x9b\x1b\x56\x56\x41\x60\x06\x89\x3c\xdc\x1e\x1c\x00\x00\x1c\x1f\x1f\xc3\x65\x81\x80\x2b\x94\x16\x6c\xc1\x2c\x70\x03\x58\x72\x6b\x31\x87\x75\x81\x12\x24\xae\xc1\x92\x8c\x01\xa6\x11\x4a\x2e\x2d\xe6\x4e\xb8\xbd\xa9\x57\xe0\x74\x9b\xb7\x6e\xc9\x98\x95\xaa\x96\x76\x06\xbf\x5f\xf0\x9b\xe7\x4f\x0f\xc1\x6e\x2a\x9c\xc1\x07\xab\xb9\x5c\x4e\x5a\xdb\x2b\xcb\x04\x98\xba\xaa\xc4\x06\xd4\x22\xb1\xda\x00\x97\x80\x37\xdc\x58\x94\x19\xee\x6c\xba\x62\x1a\x2c\x89\x7f\x70\xd2\x71\xab\xad\xee\x0f\x56\x69\xb6\x44\x60\x32\x87\x77\xf5\x5c\xf0\x0c\xde\x31\x5b\x98\x1d\x4d\x02\x2d\x7c\x64\xb5\xb0\x41\x82\x56\xcd\xa0\xf5\x65\x58\xc2\xeb\xf5\x02\xdb\xbf\x7b\xd7\xbf\xc7\x0c\xf9\x0a\xf5\x03\x44\xce\xf3\x92\xcb\x41\xa3\x76\x3d\xc2\x71\x0d\x8b\x5a\xc2\x12\xed\xeb\x80\x03\x87\x91\xb1\x46\xa3\x6a\x9d\xe1\xa5\x8b\x02\xfd\xf7\x6c\x32\x83\x4f\xf4\xc7\x67\xb8\x75\x8a\xe8\xa3\xd1\xd6\x5a\xc2\xa7\xe6\x01\x7d\x68\xd1\x8b\x61\xfc\x4d\x2f\x2e\xe9\xdf\x97\xe3\xc9\xe1\x03\xc5\x7e\xe5\xa6\x12\x6c\xf3\x08\x49\xe7\xfa\x5f\x99\x65\x0f\x96\xbd\xdc\x02\xe6\xe5\x78\xd2\x88\x7e\x76\x7f\x7d\xdd\x75\x29\x79\x93\x9c\x27\x56\xd8\xf6\x68\x9f\x43\x0f\x9d\xff\xb7\x0f\x26\x33\x38\x97\x9b\x0f\x56\xd7\x99\x3d\x6b\x39\xd9\xac\xb9\xcd\x8a\x66\x71\xeb\x0d\x7d\x32\x66\x70\x7f\x97\xcf\x12\xd9\x56\x08\xef\x15\x1e\xef\x48\xd2\x67\x61\x43\x50\x66\x60\x50\x2c\xa6\xf7\x1f\x5d\x72\xd1\x3d\xf8\xbe\x51\x9f\x00\x33\xdf\xdd\x6d\x69\x58\x7c\x76\x38\x60\x6d\x03\x84\xff\x9d\xbd\x6d\xac\xed\x61\x71\xb3\xfc\x6c\xc7\xe4\xc9\x63\x02\xbd\x75\xd7\x6e\xac\x89\x22\x4a\xcc\x39\x83\x53\x48\xe5\xde\xd2\xd3\xfe\x10\x3b\xc7\x71\x81\xb3\x8e\xc8\xbf\x2e\x2f\xdf\x5d\x70\x81\xc3\x52\xb5\x16\x33\x18\x15\xd6\x56\x66\x76\x7c\xcc\x8c\x41\x6b\xa6\x6b\x9c\x1b\x6e\xf1\x88\x54\x9a\x69\xa6\xca\xe3\x67\x8b\xe7\x3f\xfc\xfc\x34\x3b\xc9\xfe\xc9\x7e\xca\xf2\xfc\xf9\xd3\x1f\xe7\x4f\xb2\x9f\x7e\x38\xe9\xbc\x60\xcf\x9e\x65\xf3\x27\xd9\xcf\x3f\x3e\xff\x72\x21\xd4\xfa\xcb\x1f\x4a\xe7\x25\xd3\xd7\x53\xb3\x5a\x8e\x7a\x6d\x98\xf4\xa3\xc0\x79\xc0\x47\x73\xc4\x4b\xb6\xc4\x63\xb3\x5a\x7e\x7f\x53\x8a\x5d\x2d\x93\x61\x17\x9a\x7e\x1f\x9a\xf1\x27\xf7\xfa\xf3\xae\xe8\x3e\x99\x16\xa2\xd7\xef\x53\xc9\x4a\xb2\x39\x94\xbc\x46\x91\xaf\xa3\xa3\xfe\xc3\x9a\x4d\x39\x57\x14\x86\x37\x17\x97\x03\x4b\x72\x34\x99\xe6\x95\xe5\x4a\xce\x60\x74\x59\x70\x43\x2c\xe6\x55\xbb\x52\x4e\x45\xbe\x36\x98\x03\x33\xc0\xa8\xc2\xfa\xfd\xad\x82\x02\x45\x05\x1b\x55\x43\x8e\x2b\x14\xca\xfd\xad\x41\xe2\x8d\x85\x8b\x4b\xf8\x9b\x92\x14\xa9\xe9\xc0\xbe\x78\x63\x51\x4b\x26\x7e\x7f\xff\x5b\x17\x5b\x6f\xb6\xaf\xc6\x0d\x80\xc2\xbe\x47\x0b\x3b\x55\x72\x41\x8a\x95\x5e\x8e\x06\x82\x2c\xd4\x52\x99\x59\x08\xd5\x80\x6b\x54\xc6\x99\x30\xb3\x0e\xa1\xb6\x3f\x23\xbb\xa6\xde\x46\x8f\xf6\x32\x30\x2c\x76\xa0\x26\xfb\xbe\xcc\x85\xca\xae\xb3\x82\x71\x39\xda\x85\x03\xb8\x02\xd2\x7d\xf2\xa8\x9c\x6f\x53\xce\x23\x19\x3e\x6a\xe8\x47\x9e\x69\xb7\x14\x8e\x38\xbb\xed\x4f\xbf\x8b\x75\x6c\x61\xb6\x82\xbb\x5d\xcd\x50\x96\x7a\x0b\xbb\x7b\xde\x27\x17\xb7\xfc\x8d\xcb\x6b\xcc\x5b\xa4\xfd\xf7\x76\xab\xe8\x75\xed\x74\x03\xdd\xcd\xff\x92\x92\x4c\x23\xb3\xf8\xa6\xac\xec\xc6\x2d\xbc\xa8\x65\xe6\x93\x6c\xbc\xa8\xe5\x78\x32\x83\x5f\x6e\x93\xa0\x78\x7d\x5f\xef\xc0\x63\x08\xe5\x8b\xa3\xc4\x8c\xee\x46\xe3\x15\xfd\xb7\x65\xf5\x2f\xbd\x56\x0f\x40\x72\xf7\xf1\x23\x30\x99\xb6\x4d\x8f\xc1\x64\x4b\x43\x3f\x26\x93\x56\x3e\x39\x60\xeb\xcd\x1d\x67\xf9\xda\xed\x62\x25\x17\xed\xae\x8e\x26\x02\xe7\xaa\xf8\xad\x79\xfa\x86\x65\x05\x11\xa2\x76\x79\x81\x8e\x14\xb9\x34\x96\xc9\x0c\x69\x26\x51\x52\x6c\xc0\x16\xe8\xc5\x69\x28\xb1\x05\x72\x1d\xb3\x28\x19\xa5\x16\x01\x14\x26\x2c\x0b\x32\x34\x82\x2c\xd5\x0a\xb5\xc4\x1c\xe6\x5e\x5b\xa5\xfd\x68\x52\x29\x63\x69\x6c\xcb\xb9\x13\x6c\xd4\xf1\x8e\x3f\xfd\x40\x66\x0b\xdc\xb8\x51\x2c\x63\x42\x60\x3e\x4d\x76\xcf\x0a\xcc\xae\x0d\x14\xac\xaa\x50\x02\xb3\xa0\x6b\x69\x79\x89\x4e\x14\x57\xa8\x81\x35\x16\x52\x15\xe8\xe8\x68\x74\xbd\x0f\x2d\x13\xad\x90\xfe\xfc\x73\x0c\x09\x90\xc7\x93\xd1\xa4\x49\x95\x41\x2d\x9a\xaf\x6e\xf0\x74\x73\x24\x99\xd9\xa8\x23\x73\x73\x5c\x70\xe9\x84\x0f\xc1\x28\x7a\xaf\x91\x4c\x90\x0a\xd6\x6c\x03\x0b\x45\xb6\x95\x4c\xf0\x8c\xab\xda\xf8\x70\x58\x15\xf6\xf4\x5e\xdc\xba\x46\xd5\x61\x5b\x2e\x81\x71\x3d\x85\x73\x30\x15\x12\xfd\x83\x1b\x3f\x35\xc4\xa6\x0f\x24\x62\x6e\x48\xd3\x7c\x6b\x83\x55\x6e\x90\x6d\xd4\x6d\x87\xdc\xd4\x15\xed\x41\xa0\x51\xe8\x4c\xe9\x0c\xd4\x3e\x07\xe3\x58\xdd\x8e\x88\xc3\x2e\xcc\x99\x88\x60\xb2\x54\x8f\x57\x0d\x0e\xbb\xdb\xd0\x50\x1b\x56\xa7\x03\xad\x57\x0a\x5c\x72\xcb\x99\xe0\x7f\xa2\x73\x7a\x54\x4c\xa1\x8e\x06\x3a\x97\x51\x80\x29\xf2\x8d\x2c\x09\x8e\x3b\x9a\x27\x1d\x6a\x72\xac\x1c\x55\x9e\x46\xe5\xad\x0c\x4b\x8e\xf7\xda\x81\xc7\xa3\x92\xf5\xb4\x18\xf3\xda\xa1\x7d\xc5\x99\x33\xf5\xea\x15\x7d\xd7\x53\x7a\x3c\x9e\x5c\x11\x27\x17\x2a\xef\x3a\x21\xa2\xc8\x4f\x5e\xb4\x96\xb6\x99\xb3\xec\x7a\xdc\xb5\x96\x2f\x52\x83\x5f\xc2\xc9\xf4\xa4\x87\x6c\x87\xb8\x04\x4e\x87\x5f\x1d\x25\xaa\x13\x95\x5f\xef\x72\xd9\xc9\xf4\xa4\xcf\x5d\x43\x43\xba\x1f\xce\xfb\x26\xf1\x16\x8f\x25\x46\xde\x33\xd9\x4b\x2e\x26\xf7\x19\xd0\x1a\x69\xdd\x7c\xf4\xc5\x99\x74\xf7\xcc\x3a\x64\xce\x83\xe7\x2d\xfa\xab\xd7\x42\x42\xd4\x12\x2d\xf9\x5f\x69\x8b\xf9\xc7\x58\xf3\x0c\x28\xd7\xcb\x32\x21\x36\xc1\x06\x03\x0c\x04\x37\x8e\x03\x5c\x2a\xb9\xdb\x25\x13\x99\x87\x9b\xa6\x6b\x70\x07\xaf\x02\x73\xdc\x15\x89\x9e\x7d\x29\x2e\xb7\xde\xea\x57\x4a\x89\x6e\x1d\xa7\xc9\xc1\x44\x29\x27\xd0\x59\x7e\x0a\xb7\x1d\xac\x24\xab\x3f\x39\xe8\x2c\xd1\x6d\x36\x9e\x7c\x86\x53\xb0\xba\xc6\x3e\x97\xa7\x82\x7b\x03\x8c\x9b\xdd\x53\x8d\x6d\xfb\x7e\x82\x0c\xed\x8f\x72\x34\xae\xd7\x2f\x9f\xac\x43\xeb\xd9\x19\x2c\x98\x30\x83\x04\x71\x6e\xae\x0d\x65\x29\x65\xbf\xbf\x0e\x74\xe5\x64\x8e\xb0\xe6\xb6\xc8\x35\x5b\x4b\x58\x68\x55\xde\xcb\x89\xdb\x03\x9d\xaf\x18\x17\xcc\xd1\xee\x1f\x41\x47\xe7\xa6\xf1\xce\x53\x05\x2b\x5e\x9c\xf6\xa7\x77\xc7\xfe\x68\x65\xfb\x61\xb2\x20\x76\x80\x01\x78\xec\xda\xf7\x0e\x61\x17\x3f\x5d\x31\xbd\xac\x4b\x94\x36\x11\xa4\xb2\x1f\xb5\x07\xd8\x06\xa1\xe0\x8f\x50\x66\xa6\x83\x5b\xff\xdb\x86\xd2\x48\xb9\xe0\xea\x17\x96\x95\xd2\x4c\x6f\x42\xc7\x11\x6f\x73\xdd\xa0\x47\xa3\x9d\x12\x79\xa2\xc1\x16\x18\x6f\x76\xbd\x01\x1a\x61\x8e\x5c\x2e\xc1\x6a\x26\xcd\x02\xb5\xc6\x7c\x4a\x1b\xc5\xa4\x23\x09\x89\xeb\x56\x17\x46\x7a\x62\x57\x10\xb6\x55\x49\x6f\xe0\x34\xfb\x2e\x83\xaa\x3e\x6f\x10\x90\x63\xa5\x0c\x8f\x77\xc9\x51\x17\x0a\x83\x6b\xea\x0c\xfa\x0f\x1e\x40\x91\x96\xde\x88\x03\x4f\x6c\xeb\x41\x54\xf4\x34\xcd\x77\x97\xbf\xe4\xeb\x51\x08\x50\x1f\xaa\x5e\x1c\xb5\xbb\x94\x6d\x91\xf5\x12\x83\x6c\x17\x5c\xf0\x30\x74\x05\x37\xab\xf9\x7f\x30\xeb\x42\xcc\xc1\x8a\xe5\xb9\x49\xd4\x70\x6b\x9a\x36\x21\x44\x27\x69\x47\x10\xd4\x5a\xa2\x36\x7b\x20\x8e\x1b\x60\x42\xa8\xb5\x47\x54\x8e\xc6\x6a\xe5\x7b\x59\x43\xdb\x7b\xd3\xe6\x98\xb1\xda\xe0\x16\xc4\x69\x4e\x91\xc9\x2d\xb0\x12\x2c\x51\x47\x4b\x42\x13\xe6\x3a\x27\x27\xfb\x8f\xad\xed\x05\x4b\xcf\x35\x47\x94\x84\x33\x53\x97\x98\xbb\xa3\xbb\x9e\x72\xa1\x5c\x6f\x1c\x40\xe6\x2c\x8c\x1d\xee\x00\x9c\x9a\xa2\x18\x02\x32\xa6\x1c\x1c\x1a\xe6\xba\x4d\x08\x55\x01\x5f\x82\x5e\x1c\xf9\xe4\x65\xe6\xbb\x3e\xac\xed\x8d\xb4\xef\xbd\xbe\xde\xde\x23\x79\xd3\x69\x37\xc0\x5f\xfd\xb8\x90\xa4\x5c\xda\xc1\x5d\x77\xbc\xdc\x13\x80\x29\xdd\xf8\x58\x53\xb6\x01\x6b\xe3\xe9\x4f\xd4\x6a\x87\xea\x22\x81\xf0\x2d\x3f\x30\x21\x88\x6a\x02\x4f\x50\x03\xef\x3a\xfe\xb2\x36\x9e\x2f\x7c\x4d\x88\xb3\xca\x8e\x46\x37\xa8\x39\x4d\x5e\x77\xc3\x3f\xdd\xe1\x8c\x1e\x28\x9d\xfb\x61\xc2\x81\xd7\xbf\x4f\x35\x66\x99\x23\x5f\x3f\x25\x30\xdf\xc5\xc6\x1e\x22\xc2\xc2\x34\xdd\xbb\xef\x70\xa9\x06\xee\x87\xab\x9d\x79\x7e\x2f\x36\xba\x87\x5c\x4e\xa6\x27\xdd\xd9\xb7\x35\xe8\xfa\x29\x68\x70\xae\x8b\xfc\xe1\x99\xc5\x1d\x87\xe5\x25\x0d\x53\xde\x13\x7e\xee\xa3\xdc\x8c\xb3\xd2\xc3\x66\xa4\x30\x84\xdd\x26\x5e\x26\x35\xfe\x77\xbd\x3d\x11\x47\x02\xa6\xb5\xf1\xa1\x23\x37\x8a\x5f\x19\x71\x64\x5b\x3f\x1f\x1e\x0e\xe2\xae\x2d\xd1\x45\xde\x5e\x11\xdc\x9a\xfe\x98\xba\xf2\x98\x01\xe4\xfb\xbe\x7a\xd3\x26\x9b\xfd\x4a\x0e\x7d\xb0\xe4\x03\xbf\xcd\xfa\x7f\xe3\x6f\xb3\x9e\x5c\x9a\x86\x74\xca\x73\x94\x96\x2f\x38\xea\x49\x3f\x30\xbb\x2c\xd3\xc1\x60\x2f\xcf\xb4\xd1\xf8\x97\xf8\xe5\xdb\x72\xcb\xb7\xe5\x95\x6f\xc0\x29\x7d\xe9\xd5\xcb\x25\x9d\xbb\xc1\x7b\x01\xd9\x44\x0f\xee\xe1\x95\x10\x49\x77\x6f\xd0\xae\x7a\xae\x58\xa5\x28\x7e\x72\x72\x42\x95\x28\x5d\xd2\xbd\x51\x86\x53\x38\x0e\xce\x8b\x57\xff\xce\xc2\xb4\x06\xf5\x5d\x0c\x93\x64\xe5\xbe\xdd\x27\xb8\x7b\x19\x3d\x20\x1b\x17\xa6\xe2\xdd\x9f\xdb\x87\x4c\x76\xeb\x20\xb9\x97\x79\xed\x9d\xb9\xbd\xf1\x73\xd0\xed\x52\x94\x0b\x77\xf8\xbf\x29\x08\x6d\x6c\x85\x04\x5c\x2e\x93\xbb\x44\xaf\xf2\xa0\x2f\xeb\x07\x82\xd6\x8d\xc9\x36\x61\x87\x93\x3f\xe9\x25\xf6\xe1\x80\x9e\xe3\x32\xf0\xbe\x85\x8c\x55\x6c\xce\x05\xb7\x9b\x98\x85\x2e\x93\xf2\xf6\x30\x82\x37\x95\x32\xd8\x26\x7f\x7f\x2f\x14\x72\x21\xde\x08\xf9\xbb\x52\xb4\xe7\x6e\x72\x0f\x33\x6f\x7c\x67\x0b\xad\xea\xa5\x77\xec\x55\x0c\xe2\x15\xb8\x72\xb3\x60\x59\xdb\x7f\xb1\x25\x84\xab\x70\xc6\xab\x5e\x25\xaf\xe2\xcb\x3e\x1d\x49\x0c\xda\x08\x78\xcd\xaa\xd8\xb7\x85\x44\x9f\x36\x2e\xe0\x68\xa6\x21\x9c\x53\x6e\x4c\x3d\xf0\x2b\x43\x6f\x92\x4c\x52\x40\xf6\xea\x76\x2e\x37\xc5\xb8\x63\xcf\x21\x30\xdb\xff\xc3\xca\x24\x39\x46\xbc\x1a\xf9\x7f\x38\x42\xcb\x96\x96\xf9\xbb\x59\x3c\x39\xe8\x57\x1a\x6d\xa4\x44\x1a\x87\x82\x74\x08\x56\xcd\xee\xa0\x9a\x96\x2e\x72\x87\xef\x7b\xb6\x99\xe5\x5b\x97\xf1\xc0\x29\x3a\x1b\x3a\x61\xbf\x61\x2f\x81\x44\x26\xfd\x7a\xf0\xdf\x00\x00\x00\xff\xff\x9d\x72\xd1\xe7\xf6\x25\x00\x00" func exampletokenCdcBytes() ([]byte, error) { return bindataRead( @@ -95,7 +95,7 @@ func exampletokenCdc() (*asset, error) { } info := bindataFileInfo{name: "ExampleToken.cdc", size: 0, mode: os.FileMode(0), modTime: time.Unix(0, 0)} - a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x28, 0xee, 0x30, 0xde, 0xd2, 0x6, 0xfc, 0x78, 0x7b, 0xf1, 0x91, 0x61, 0x2d, 0xd7, 0xba, 0x75, 0x17, 0x9d, 0xd8, 0xfe, 0xfb, 0xd5, 0x5d, 0x22, 0xb, 0xd6, 0xd3, 0xad, 0xdc, 0xb9, 0x6d, 0x70}} + a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xe0, 0xbe, 0x3b, 0x6f, 0xd2, 0xd0, 0xf5, 0x35, 0x49, 0x8b, 0xda, 0x6b, 0xd4, 0x13, 0x3, 0x5e, 0x67, 0xf0, 0xb9, 0x32, 0x81, 0xc, 0xec, 0xff, 0x14, 0xe8, 0xa6, 0x75, 0x9b, 0x8d, 0xe7, 0x6d}} return a, nil }