diff --git a/contracts/FungibleToken.cdc b/contracts/FungibleToken.cdc index c1d2b327..c25a3cdd 100644 --- a/contracts/FungibleToken.cdc +++ b/contracts/FungibleToken.cdc @@ -40,9 +40,6 @@ the deposit function on another user's Vault to complete the transfer. */ - -/// FungibleToken -/// /// The interface that Fungible Token contracts implement. /// pub contract interface FungibleToken { @@ -50,29 +47,17 @@ pub contract interface FungibleToken { /// The total number of tokens in existence. /// It is up to the implementer to ensure that the total supply /// stays accurate and up to date - /// pub var totalSupply: UFix64 - /// TokensInitialized - /// /// The event that is emitted when the contract is created - /// pub event TokensInitialized(initialSupply: UFix64) - /// TokensWithdrawn - /// /// The event that is emitted when tokens are withdrawn from a Vault - /// pub event TokensWithdrawn(amount: UFix64, from: Address?) - /// TokensDeposited - /// /// The event that is emitted when tokens are deposited into a Vault - /// pub event TokensDeposited(amount: UFix64, to: Address?) - /// Provider - /// /// The interface that enforces the requirements for withdrawing /// tokens from the implementing type. /// @@ -82,7 +67,7 @@ pub contract interface FungibleToken { /// pub resource interface Provider { - /// withdraw subtracts tokens from the owner's Vault + /// Subtracts tokens from the owner's Vault /// and returns a Vault with the removed tokens. /// /// The function's access level is public, but this is not a problem @@ -97,6 +82,9 @@ pub contract interface FungibleToken { /// capability that allows all users to access the provider /// resource through a reference. /// + /// @param amount: The amount of tokens to be withdrawn from the vault + /// @return The Vault resource containing the withdrawn funds + /// pub fun withdraw(amount: UFix64): @Vault { post { // `result` refers to the return value @@ -106,8 +94,6 @@ pub contract interface FungibleToken { } } - /// Receiver - /// /// The interface that enforces the requirements for depositing /// tokens into the implementing type. /// @@ -118,13 +104,13 @@ pub contract interface FungibleToken { /// pub resource interface Receiver { - /// deposit takes a Vault and deposits it into the implementing resource type + /// Takes a Vault and deposits it into the implementing resource type + /// + /// @param from: The Vault resource containing the funds that will be deposited /// pub fun deposit(from: @Vault) } - /// Balance - /// /// The interface that contains the `balance` field of the Vault /// and enforces that when new Vaults are created, the balance /// is initialized correctly. @@ -161,29 +147,28 @@ pub contract interface FungibleToken { } } - /// Vault - /// /// The resource that contains the functions to send and receive tokens. + /// The declaration of a concrete type in a contract interface means that + /// every Fungible Token contract that implements the FungibleToken interface + /// must define a concrete `Vault` resource that conforms to the `Provider`, `Receiver`, + /// and `Balance` interfaces, and declares their required fields and functions /// pub resource Vault: Provider, Receiver, Balance { - // The declaration of a concrete type in a contract interface means that - // every Fungible Token contract that implements the FungibleToken interface - // must define a concrete `Vault` resource that conforms to the `Provider`, `Receiver`, - // and `Balance` interfaces, and declares their required fields and functions - /// The total balance of the vault - /// pub var balance: UFix64 // The conforming type must declare an initializer - // that allows prioviding the initial balance of the Vault + // that allows providing the initial balance of the Vault // init(balance: UFix64) - /// withdraw subtracts `amount` from the Vault's balance + /// Subtracts `amount` from the Vault's balance /// and returns a new Vault with the subtracted balance /// + /// @param amount: The amount of tokens to be withdrawn from the vault + /// @return The Vault resource containing the withdrawn funds + /// pub fun withdraw(amount: UFix64): @Vault { pre { self.balance >= amount: @@ -198,7 +183,9 @@ pub contract interface FungibleToken { } } - /// deposit takes a Vault and adds its balance to the balance of this Vault + /// Takes a Vault and deposits it into the implementing resource type + /// + /// @param from: The Vault resource containing the funds that will be deposited /// pub fun deposit(from: @Vault) { // Assert that the concrete type of the deposited vault is the same @@ -214,7 +201,9 @@ pub contract interface FungibleToken { } } - /// createEmptyVault allows any user to create a new Vault that has a zero balance + /// Allows any user to create a new Vault that has a zero balance + /// + /// @return The new Vault resource /// pub fun createEmptyVault(): @Vault { post { diff --git a/lib/go/contracts/internal/assets/assets.go b/lib/go/contracts/internal/assets/assets.go index 6af72238..6a070b80 100644 --- a/lib/go/contracts/internal/assets/assets.go +++ b/lib/go/contracts/internal/assets/assets.go @@ -1,7 +1,7 @@ // Code generated by go-bindata. DO NOT EDIT. // sources: // ../../../contracts/ExampleToken.cdc (11.564kB) -// ../../../contracts/FungibleToken.cdc (7.961kB) +// ../../../contracts/FungibleToken.cdc (8.207kB) // ../../../contracts/FungibleTokenMetadataViews.cdc (7.022kB) // ../../../contracts/FungibleTokenSwitchboard.cdc (10.462kB) // ../../../contracts/utility/MetadataViews.cdc (26.332kB) @@ -97,7 +97,7 @@ func exampletokenCdc() (*asset, error) { return a, nil } -var _fungibletokenCdc = "\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xa4\x59\x4d\x8f\x1b\x37\x12\xbd\xf7\xaf\x28\xd8\x07\xcf\x78\x65\x4d\x0e\x8b\x3d\x0c\x90\x4d\x9c\xdd\x18\xf0\x61\x17\x8b\xcd\x6c\x72\x08\x82\x55\xa9\xbb\x5a\x22\x86\x4d\x76\x48\xb6\xe4\x76\xe0\xff\x1e\x54\x91\xec\x2f\x69\x34\xb2\x3d\x97\x99\x69\x35\x8b\x55\x8f\xc5\x57\xaf\x4a\x77\xaf\x5f\x17\xc5\x4b\x78\xd8\x13\xbc\xd3\xf6\x08\xef\x3a\xb3\x53\x5b\x4d\xf0\x60\x1f\xc9\x80\x0f\x68\x2a\x74\x55\x51\xbc\x7c\x09\x9b\xfc\xa1\x7c\xb6\x81\xd2\x9a\xe0\xb0\x0c\xa0\x4c\x20\x57\x63\x49\x45\xc1\x86\x86\x7f\x21\xec\x31\x00\x6a\xbd\x34\x9b\x57\x7a\x38\xda\x4e\x57\xb0\xc7\x03\x41\xb0\xfc\xbc\xb6\xae\x81\x60\xd7\xc5\xfb\x1a\x10\x3a\x4f\xce\xc3\x11\x4d\xf0\xfc\x79\x45\xad\xb6\x3d\x20\x18\x3a\x42\x98\x99\x5a\x41\xd8\x93\x72\xc3\xff\x45\xb4\x6c\x88\x2a\x5e\xa9\x9a\x56\x53\x43\x26\xf0\x6b\x30\x0b\x64\xf4\x77\x2d\xfe\x4f\x8c\x2c\xdc\xab\xad\x66\x8c\x38\x20\xb6\xe2\x3a\x4d\x1e\xd0\x54\x60\xb0\x51\x66\x57\x48\xb8\x61\x86\x80\x6f\xa9\x54\xb5\x22\xbf\x8e\x10\xfe\x8c\x9d\x0e\x1b\x70\xe4\x6d\xe7\x18\xb0\x1f\xb1\xdc\x03\x96\xa5\xed\xc4\x37\x0c\x60\x8f\xc6\xc7\xe0\x32\x3c\x39\x08\xf1\x03\xd9\x61\x3e\x97\x92\x0a\x5b\xcb\x76\x62\x74\xb0\x09\x3e\x58\x47\x15\x28\x93\x20\xc9\xd6\xf9\x39\xee\x52\x94\xcb\x45\x7b\xf4\xd0\x50\xd8\xdb\xca\xc3\x10\x87\x3d\x1a\x72\x12\xa1\x0d\x7b\x72\xe9\x38\x4a\x34\x50\xa2\xd6\x29\xa4\xff\x38\x7b\x50\x15\xb9\xcd\x0a\x36\xff\xa5\x92\xd4\x41\xfe\xe6\x55\x9b\x1f\x50\xb3\xa3\x63\xc0\x23\x34\x5e\xdc\xf0\xd3\x27\x50\x51\xa9\xd1\x11\xb4\x8e\xde\x94\xd6\x54\x2a\x28\x6b\x22\xc4\xad\xf5\x61\xfa\x4c\x7c\x74\xe4\x83\x53\x65\x28\xd8\x59\xfa\x40\x65\xc7\x1f\x42\x82\xa5\xee\x4c\x19\x5f\x8e\x50\xc4\x90\x63\xf8\x3d\xf0\x3e\x9e\x5a\x74\x18\x08\xb6\x54\x62\xc7\xbe\x04\xd8\xa9\x03\x79\x79\x9d\xa3\x95\x3f\x70\xab\xb4\x0a\x3d\x1f\x81\xdf\xa3\xa3\x02\xc1\x51\x4d\x8e\x4c\x29\x79\x11\x61\x8e\x80\xc6\x23\x34\xba\x07\xfa\xd0\x5a\x9f\x4c\xd5\x8a\x74\xe5\x47\x8f\x0a\x65\xc0\x1a\x02\xeb\xa0\xb1\x8e\xb2\xc7\x23\x14\xeb\xa2\x78\xcf\x57\xc7\xdb\xe4\x50\x84\x7e\xe1\x4d\x83\x8f\x04\x65\xe7\x83\x6d\x06\x84\x13\x34\x43\xc2\x33\x36\x73\x94\xf9\x22\x59\x38\xa0\x53\xb6\xe3\xb7\x95\xd9\x79\x38\xaa\xb0\x17\xf3\x31\xf3\xd6\xc5\x3b\xeb\x80\x3e\x20\x9b\x59\x01\x42\x8d\x5d\x49\x41\xce\x7e\x4b\xa3\x75\xaa\x60\xdb\xe7\x7b\x2b\x77\x40\xe0\x80\x9c\x14\xb3\xcb\xf5\x43\x0f\x9d\x57\x66\x37\xf1\x95\x8f\x76\x74\x6d\x95\xc2\xb4\xf5\x93\x8c\x51\xb0\x07\x9e\x4c\x25\x4b\x5d\xcc\xb7\x7c\x5d\x5a\x22\xf7\x26\xd8\x37\xfc\x7b\x25\x21\xd9\x2e\xf0\xb5\xe1\x4d\x99\x05\x78\x27\x21\x07\x8e\x16\xa1\x24\xb6\xaa\x41\x53\xb5\x23\x07\xbe\x41\x17\x86\xad\xd6\xf0\x60\xe3\x4e\xc9\x7a\xb0\x80\x66\xbc\x08\xab\x22\xf2\x53\xba\xa4\x9e\x31\xe9\x65\xd3\xca\xe1\x71\x82\x25\xd4\xce\x36\xd3\x24\x11\xae\x8a\x77\x48\x32\xb7\xa2\xd6\x7a\x15\x86\xf4\x00\x6b\x66\x3b\xbd\xf2\x39\xb9\x98\x22\x19\xfa\x40\xd1\xbe\x43\xe3\x6b\x72\xeb\xa2\x78\x7d\x57\x14\xc5\xdd\xdd\xdd\x9c\xdb\xf8\x89\x3c\x3d\xc3\xcb\x4f\x72\xf2\x70\xb8\x6b\x59\xde\x76\xdb\x33\x54\xbf\xe0\xd0\x3f\x8a\x02\x00\x20\x6f\x15\x6c\x40\x0d\xa6\x6b\xb6\xe4\x24\xb9\x23\x10\xca\x00\x7d\x50\x3e\xf0\xc5\x59\x0f\x0b\xde\x07\x50\x1e\xba\x36\x5d\xa5\x49\x72\x39\x7e\x44\xc6\x77\x8e\x46\x52\x8a\xb6\x7d\xd7\xb6\xba\x1f\x6c\xf8\x80\xbd\x67\xa6\xeb\xe4\x3e\x73\x6e\x44\x83\x15\x06\xca\x6f\xc9\x6f\x0e\xe7\x80\x2e\x9a\xf9\x49\xac\xdc\xc3\xff\xde\xa9\x0f\x7f\xfb\xeb\x24\x06\xf1\xf7\xbd\x51\x41\xa1\x56\x1f\xa9\x9a\x99\xc8\x51\xd2\x81\x32\x69\x2b\x0f\xd4\xa8\xc0\xf7\xe1\xc8\x67\xcb\x8e\x8e\xa0\x79\x28\x1d\x61\x58\x98\x61\x4f\xa2\x89\x93\xed\x6e\x54\xfc\x7b\xee\xdf\xed\xd2\xc1\x5f\x52\xb2\x99\xcf\x76\x2f\x9e\x07\x73\x60\x4e\x58\x13\xd3\x14\x63\xaa\x5d\x74\x74\xd8\xf6\x06\x1b\xae\x2c\xd9\xbf\x95\x98\xb8\x87\xb7\x55\xe5\xc8\xfb\xef\x4e\xfc\xfd\x67\x4c\xf4\x2f\x80\x73\xf4\xb7\xca\x36\x38\x17\xed\x55\xfe\x0e\xdb\x9e\xf8\x1b\xec\x59\x6f\x33\x7b\x9d\x75\x73\x71\x8d\x88\xa9\xaf\x4c\x3c\xef\xe8\xf7\x4e\x39\x49\x5e\x0f\xb5\x75\x03\xba\x4c\x8d\xd9\xc8\x82\x15\xc6\x7c\x17\x96\xea\xdb\xf1\x6a\x4c\xaf\x48\x65\xc9\x83\xb1\xc3\x86\xf3\xbd\xac\x81\xcd\x36\x17\xdb\x3d\x39\x5a\x0d\x6b\x27\xb5\x4d\x13\x72\x2d\xb1\x6d\xca\xd0\xd6\x7a\xaf\x52\x39\xb1\x75\x4c\x52\x76\x22\x95\x94\x36\xc1\xe0\x47\xd7\x39\xe2\xca\x8a\x1f\x86\x4a\xf2\x1e\x9d\xd2\x7d\x52\x28\xc2\x70\xf6\x68\x20\x79\xb2\x3e\x39\x95\x53\x19\x30\x56\x8a\x44\x21\x79\xab\x81\x48\x7d\xb7\x4d\xc4\xb4\x04\x4e\xe4\x49\x26\xc7\xd9\xe2\x58\x1b\x42\xe7\x38\x69\x12\x79\x0e\x15\xce\x51\x63\x0f\x54\x0d\x95\x6e\xb2\x70\x66\xe4\x61\xa2\x21\x5e\x09\xb9\x90\xf7\xa0\xe9\x40\x9a\x13\xb4\xed\xb6\x5a\x95\x2b\xd8\x76\x9c\xb4\xca\xf3\x33\xc6\x05\x19\xb7\xad\xa6\x66\x66\x2c\x9f\x82\x48\x83\x51\x5b\xb1\x26\x93\x63\x17\xbf\x06\x70\xe6\xca\x6d\x66\xa8\x14\x01\x28\xec\xa0\x7b\xa9\x21\x71\xf7\xec\xe9\xe5\x78\xe2\xae\x0d\xf6\xb0\x73\x68\x42\xd2\x75\x69\x9f\x21\x46\x2e\xe9\x39\x17\x38\x1c\x75\xc8\x2c\x3a\x7a\xd1\x0e\x3a\x24\x89\x7c\x7b\xf4\x59\xee\x96\x33\xbd\xc8\xb7\x54\xec\xce\x2c\x48\xfe\xe5\xb3\x1f\x42\x0f\x7b\x67\xbb\x1d\xd7\xe6\x41\x61\x5d\x1b\x50\x14\x4b\x12\x15\x83\xf2\x4c\x4c\x72\x78\xd7\x84\xc4\xb6\x16\x71\xcc\x7c\x9f\xd9\xf8\xfc\x38\xf8\x56\xd4\x9d\x19\xd2\x7d\x41\x51\xb7\xf7\xf0\x7d\x4c\xdf\x3f\x86\x25\xb2\xcc\xfa\xe5\xa3\x68\x19\x36\x8e\x7c\xea\x31\xea\xe4\x75\x4c\x2e\xbe\x0d\x70\x40\xdd\xd1\xc9\xb2\xb8\x64\x9d\xae\x2d\x7c\xfb\x2d\x24\x2f\x4e\xde\xe4\x9f\x17\x99\xff\x51\xa7\xf7\xa0\xe9\x7c\x60\x5d\xc8\x3b\x79\x6c\x08\x30\x82\x94\x2d\x26\x7d\x3b\xd6\x1a\x89\xe9\xc5\xcc\xfc\xa7\x62\xfe\xd7\xa7\x91\x8f\x73\x5b\xf1\xf5\x7c\x9c\xaa\xc7\x19\x3a\x96\x6a\x72\x25\x1d\xff\x42\x99\x04\x95\x29\x75\x57\x11\x6b\xc9\xdc\x9b\x44\x37\xca\x3d\x95\x8f\x73\x10\x12\x05\x0c\x56\x8e\x24\x9d\x2d\x9f\x10\x6b\xfc\x6b\x24\x7e\x84\x21\x4a\xfc\x62\xca\x08\x95\xcd\x2f\x9d\xd7\xf3\x2b\xd0\xea\x91\xdb\x51\xad\x44\x45\x35\x2c\x8f\xd0\x54\xa3\x80\x12\xa1\xcb\x1f\xb0\x68\x52\xb5\x24\x6d\x80\x56\xc7\x6e\x04\x9e\x27\xf2\x7c\x48\x4b\x22\xcf\xea\x36\xe0\x23\x8d\x6c\xcc\x0c\x9d\x3e\xf1\x5c\x9a\xce\xc3\x3f\xde\xa7\xbe\xa5\x8b\xf7\x27\xd9\xba\x89\x0a\x24\xde\x99\xdb\x65\x1e\xa5\x76\xf4\x9a\x34\x62\xf1\x86\xca\xc4\xf3\x18\x4b\xab\x34\x72\x30\xed\xbb\x07\x23\x1c\xd1\x24\xf9\x30\x44\xe9\x62\xe8\x18\x5f\x8c\xf2\x25\x09\xc1\xd5\x34\x33\x06\x13\x5c\x44\x46\x11\x08\xa5\x75\x8e\xca\xa0\xfb\xab\xf0\x4f\xc1\x2d\xe1\x1f\xe5\xf8\xe4\x32\x22\x1c\x96\x35\x73\x86\x28\x0b\xe4\xf4\xfa\x5c\x1c\xf3\x0f\xbb\x78\xb3\xf8\xf4\xf6\x3a\x7e\xf2\xa4\xeb\x29\xcd\x64\x2b\xe7\x79\x26\x47\x94\xd9\x65\x8a\x4d\xce\x96\xf8\x28\x1b\x7a\x9a\x51\x66\x98\xbc\xcb\x8d\x56\x9a\x22\x24\xa1\x90\xe6\x3a\xff\xa2\x80\x15\x06\x84\x9f\x15\x1d\xfd\xb2\xd7\xc5\x45\xe3\xf4\x64\x75\xfa\x3e\x51\xee\x5b\x03\xe8\x1c\x8a\xc2\x7a\xe8\x5b\x19\x73\xd4\xca\xe4\xaa\x3f\x35\x7f\xe0\x0d\xd7\xf0\xc0\xf5\x5c\x98\x1a\x8e\x4a\x6b\x0e\xbd\xf3\xb2\xfb\x6c\x83\xfc\x53\xb1\x22\xb1\x6d\x22\xfb\x47\x63\x8f\x70\xdc\xab\x72\x0f\x2d\x3a\x6c\x28\xb5\x51\x2d\xfa\x49\x31\xf0\x56\x1f\x88\xe3\xbb\xb9\x4d\x63\x9f\xcb\xe5\x69\x47\x41\xd0\xb8\xb9\xbd\x87\x5f\x39\x8a\xdf\x16\xa7\x9b\x82\xfd\xf5\xb7\x6b\x31\x17\x0f\x98\x0f\x9a\x0c\x37\x47\x2f\x24\x9d\xf5\x4c\x44\x39\xce\xf9\xb6\xfd\x84\x8b\xcf\xc2\x2d\xd1\x8a\x91\x7b\x49\x7a\xf6\x32\xdf\xd4\x8a\xbc\x72\x09\xe0\xf5\xf9\x53\x02\x1f\x5c\x57\x06\x6e\x35\x1d\xb5\x8e\x7c\xae\x00\xa9\x8c\x90\x0f\xe7\x0c\x9c\x20\x35\xc5\xf6\xff\xd9\x9d\xbe\xa5\xdb\x7b\x78\x6b\xfa\x9f\x64\x93\xef\xce\x83\x67\x94\x7e\xba\x06\x9e\xb6\x39\xf9\x76\x4f\x44\xc7\x92\xb8\xc6\x11\x58\xb0\x4f\x4d\x4d\x2e\x90\x8b\xec\x79\x3f\x48\xf4\xd5\xc0\xf1\xab\xf3\x6c\x23\xee\xc4\x21\x1e\xe6\x49\x9c\x54\xc6\xd2\xc9\xc8\x82\x4f\x44\x99\xf8\x68\x39\x4f\x68\x08\xcd\xa4\xb0\x25\x83\x74\x20\xd7\x3f\x35\xaa\x58\x4c\xba\xfc\xa5\xd9\xee\xd4\xa8\xf0\x89\x5c\x42\x9a\xba\xb7\x1c\xce\x0e\x78\xd6\xd6\x35\xc3\xdd\x79\x62\xde\x39\xb5\x3f\x1f\x7d\x4e\xc7\x5b\xb1\xea\xc9\x90\xd3\x27\x8d\x9f\x24\x4a\x95\x67\x84\xfc\xca\x38\x27\x7c\x9e\xca\xd9\xa7\xaf\x20\xf3\x64\x76\x9c\xe0\xc5\x53\x4a\x10\xc5\x71\xec\xd8\x71\xa8\x8f\x33\xc1\x3b\x13\xca\xad\x53\x0c\xcc\xc0\x6b\x73\x66\x3e\xad\x99\xd1\xc4\xe5\xaa\xf2\x6c\x4b\xb8\x89\x02\x74\x33\x36\x85\xb2\xc1\x2b\x3f\xab\xad\x70\xb6\x2d\x1c\x2a\xf3\x28\x96\xb2\x61\x26\xdb\xd3\xf5\x5f\x2d\xda\x1d\x3d\x57\x13\xff\xfe\x8c\xf4\x7e\x1b\xf5\xf6\x28\xa4\x73\x6d\xd4\xb1\x2f\x41\x03\xd6\x01\xfd\xde\xa1\x8e\xff\x9d\x51\xe1\x17\xb5\x37\x5c\x6c\x2e\xb8\x83\x15\x9c\xb8\xcf\x43\x3d\x4e\x2c\x37\x5b\xaa\xad\xa3\x8d\x88\x59\x0a\x29\x2b\xb9\x82\xa5\x4d\x17\x12\xea\x9c\xf1\x34\xdf\xdb\xd2\x4e\x19\x29\x8f\x8b\x39\xfe\x38\xe1\x3f\xb3\xfa\x79\xa9\x21\x0e\xde\x4c\x1f\xdf\xc2\x9b\xcb\x68\xff\x7b\xc8\x90\xed\x42\x8a\x48\x51\x49\x2a\x79\x44\xb6\x75\x74\x90\xa1\x7a\x7e\x1d\xa3\xa8\xbe\xbe\xf1\xb9\x52\x39\x63\x55\xb1\x6a\x1e\x37\x4a\xe4\x34\x3b\x69\x75\x66\x32\x72\x9d\x6e\x5e\x1c\xfe\xdd\x1d\xbc\xf5\x9e\x5c\x18\x87\xb0\x73\x4e\x1f\xaa\x6c\x1e\xcd\x09\x21\xb1\x9c\xcd\x0d\xe1\xd2\x5e\xea\x0f\x0f\xe3\x77\x26\x2a\x76\xea\xed\x50\x74\x93\xb5\x2b\x6e\x10\xfb\xbe\x56\xfe\x7d\xfa\x5a\x2c\x9e\xf1\x8e\x02\x97\xdd\x9b\xdb\xdb\x7b\x38\x7f\xba\xff\x40\xc3\x2d\x5c\x46\x59\x58\xae\xb4\x4d\x8b\x61\xa2\x3b\x38\xbe\x2f\xb8\x2b\x57\x65\xdf\x5f\xf2\x63\x09\x20\x3f\xfe\xa2\x5c\xf4\x5d\xf3\x6c\x12\x8e\xc7\xf3\x79\xdd\x77\x6c\x59\x7e\x6c\xda\xd0\xa7\x0c\x4c\x93\x11\xd3\xa7\xef\xc8\x6c\x7a\x67\x46\xaa\x72\xaa\x7b\xe4\xc4\xfd\x48\xce\x2e\x9b\x9d\x62\x9a\x85\xcb\x2d\x6e\xce\x51\xe8\x19\xa8\x4f\x07\x17\xdf\xac\xbf\xb9\x87\x17\x5c\xd2\x0c\x1d\x75\x9f\xfb\xad\xe4\x93\x40\x26\x5f\xa3\x4e\x5d\x7a\x71\x12\xfb\xa7\xe2\xcf\x00\x00\x00\xff\xff\x72\xe7\x9d\x6c\x19\x1f\x00\x00" +var _fungibletokenCdc = "\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xe4\x59\x4d\x8f\x23\xb7\xd1\xbe\xf7\xaf\x28\xec\x1e\x76\xb4\xaf\x56\xe3\xc3\x8b\x1c\x06\x70\xbc\xe3\xc4\x0b\xec\x21\x41\x90\x9d\xd8\x07\xc3\x88\xa8\xee\x6a\x89\x18\x36\xd9\x26\xd9\xd2\xf4\x1a\xfb\xdf\x83\x2a\x7e\xf4\x87\x5a\x33\xf2\xfa\x12\x20\x73\x19\xa9\x45\x16\xab\x8a\x55\x4f\x3d\x55\x7d\xfb\xf6\x6d\x51\xbc\x86\x87\x03\xc2\x07\x65\x4e\xf0\xa1\xd3\x7b\xb9\x53\x08\x0f\xe6\x11\x35\x38\x2f\x74\x25\x6c\x55\x14\xaf\x5f\xc3\x36\xfd\xc8\xbf\x6d\xa1\x34\xda\x5b\x51\x7a\x90\xda\xa3\xad\x45\x89\x45\x41\x82\xf2\x57\xf0\x07\xe1\x41\x28\x35\x17\x9b\x76\x3a\x38\x99\x4e\x55\x70\x10\x47\x04\x6f\xe8\x79\x6d\x6c\x03\xde\x6c\x8a\x8f\x35\x08\xe8\x1c\x5a\x07\x27\xa1\xbd\xa3\xdf\x2b\x6c\x95\xe9\x41\x80\xc6\x13\xf8\x89\xa8\x35\xf8\x03\x4a\x9b\xbf\x17\x41\xb2\x46\xac\x68\xa7\x6c\x5a\x85\x0d\x6a\x4f\xcb\x60\x62\xc8\xa0\xef\x86\xf5\x1f\x09\x99\xa9\x57\x1b\x45\x3e\x22\x83\x48\x8a\xed\x14\x3a\x10\xba\x02\x2d\x1a\xa9\xf7\x05\x9b\xeb\x27\x1e\x70\x2d\x96\xb2\x96\xe8\x36\xc1\x85\x3f\x8a\x4e\xf9\x2d\x58\x74\xa6\xb3\xe4\xb0\x1f\x44\x79\x00\x51\x96\xa6\x63\xdd\x84\x07\x73\xd2\x2e\x18\x97\xdc\x93\x8c\x60\x3d\x04\x29\x4c\xf7\x52\x62\x61\x6a\x3e\x8e\x85\x66\x99\xe0\xbc\xb1\x58\x81\xd4\xd1\x25\x49\x3a\x3d\x17\xfb\x68\xe5\x7c\xd3\x41\x38\x68\xd0\x1f\x4c\xe5\x20\xdb\x61\x4e\x1a\x2d\x5b\x68\xfc\x01\x6d\xbc\x8e\x52\x68\x28\x85\x52\xd1\xa4\x7f\x58\x73\x94\x15\xda\xed\x1a\xb6\xff\xc4\x12\xe5\x91\x3f\xd3\xae\xed\xf7\x42\x91\xa2\x83\xc1\x83\x6b\x1c\xab\xe1\xc6\x4f\xa0\xc2\x52\x09\x8b\xd0\x5a\x7c\x57\x1a\x5d\x49\x2f\x8d\x0e\x2e\x6e\x8d\xf3\xe3\x67\xac\xa3\x45\xe7\xad\x2c\x7d\x41\xca\xe2\x13\x96\x1d\xfd\x08\xd1\x2d\x75\xa7\xcb\xb0\x38\xb8\x22\x98\x1c\xcc\xef\x81\xce\x71\xd8\x0a\x2b\x3c\xc2\x0e\x4b\xd1\x91\x2e\x1e\xf6\xf2\x88\x8e\x97\x93\xb5\xfc\x41\xec\xa4\x92\xbe\xa7\x2b\x70\x07\x61\xb1\x10\x60\xb1\x46\x8b\xba\xe4\xb8\x08\x6e\x0e\x0e\x0d\x57\xa8\x55\x0f\xf8\xd4\x1a\x17\x45\xd5\x12\x55\xe5\x06\x8d\x0a\xa9\xc1\x68\x04\x63\xa1\x31\x16\x93\xc6\x83\x2b\x36\x45\xf1\x91\x52\xc7\x99\xa8\x50\x70\xfd\x4c\x9b\x46\x3c\x22\x94\x9d\xf3\xa6\xc9\x1e\x8e\xae\xc9\x01\x4f\xbe\x99\x7a\x99\x12\xc9\xc0\x51\x58\x69\x3a\x5a\x2d\xf5\xde\xc1\x49\xfa\x03\x8b\x0f\x91\xb7\x29\x3e\x18\x0b\xf8\x24\x48\xcc\x1a\x04\xd4\xa2\x2b\xd1\xf3\xdd\xef\x70\x90\x8e\x15\xec\xfa\x94\xb7\x9c\x03\xec\x0e\x48\x41\x31\x49\xae\xef\x7b\xe8\x9c\xd4\xfb\x91\xae\x74\xb5\x83\x6a\xeb\x68\xa6\xa9\x2f\x22\x46\x41\x1a\x38\xd4\x15\x6f\xb5\x21\xde\x52\xba\xb4\x88\xf6\x9d\x37\xef\xe8\xff\x9a\x4d\x32\x9d\xa7\xb4\xa1\x43\x09\x05\xe8\x24\x06\x07\xb2\x56\x40\x89\x24\x55\x81\xc2\x6a\x8f\x16\x5c\x23\xac\xcf\x47\x6d\xe0\xc1\x84\x93\xa2\x74\x6f\x40\xe8\x21\x11\xd6\x45\xc0\xa7\x98\xa4\x8e\x7c\xd2\xf3\xa1\x95\x15\xa7\x91\x2f\xa1\xb6\xa6\x19\x07\x09\x63\x55\xc8\x21\x8e\xdc\x0a\x5b\xe3\xa4\xcf\xe1\x01\x46\x4f\x4e\x7a\xe3\x52\x70\x11\x44\x92\xeb\x3d\x06\xf9\x56\x68\x57\xa3\xdd\x14\xc5\xdb\xdb\xa2\xb8\xbd\xbd\x85\x05\x00\xbe\x08\xbe\xf9\x16\x37\xb4\xb5\x68\xbb\xdd\x02\xa6\xcf\xc0\xf2\xb7\xa2\x00\x00\x48\x47\x79\xe3\x85\x02\xdd\x35\x3b\xb4\x1c\xc5\xc1\x62\xa9\x01\x9f\xa4\xf3\x94\x21\x9b\xbc\xe1\xa3\x07\xe9\xa0\x6b\x63\xce\x8c\xa2\xc8\xd2\x23\xd4\xae\xb3\x38\xa0\x4f\x90\xed\xba\xb6\x55\x7d\x96\xe1\xbc\xe8\x1d\x41\x5a\xc7\x89\x4b\x41\x10\x04\x56\xc2\x23\xaf\x22\x33\x8e\xc2\x86\xed\x9f\x78\xf7\x1d\xfc\xeb\x83\x7c\xfa\xd3\xff\x4f\x75\xc7\x23\x26\xcc\x95\x0e\xb0\x91\x9e\xc2\xf9\x44\x57\x43\xc7\x0f\xae\x70\x50\x5a\x14\x1e\xab\x2c\x3f\x6c\x65\x8f\xb8\x8f\x5a\x7a\x29\x94\xfc\x8c\xd5\x8d\x0c\x9f\xa7\xa7\xae\xae\x3f\x36\x78\x8f\xa0\x29\xc5\x91\x0e\xd1\x23\x42\x04\x2c\x2a\xf0\x53\x5a\x7a\x23\x1a\x02\xfa\x74\xee\x9a\xb7\xde\xc1\x7d\x55\x59\x74\xee\xbb\xaf\xd2\x23\xc6\x26\xd7\x13\x4a\x80\x67\xf4\xf8\x6b\x5a\x7a\xa6\x87\x37\x17\xb5\x98\xc5\x2a\x12\x90\x94\x11\x35\x2d\xfe\xda\x49\xcb\x11\xe2\xa0\x36\x36\x3b\x85\x80\x26\x09\x99\xe5\xd8\x10\x54\x9c\xf3\x7d\x3b\xc4\xdf\x38\x0e\x2b\x83\x0e\xb4\xc9\x07\x4e\xcf\x32\x1a\xb6\xbb\x54\xba\x0e\x68\x71\x9d\xf7\x8e\x2a\x85\x42\x41\xc8\x6c\xda\x18\x30\xad\x71\x4e\x46\x70\x36\x75\x88\x19\x52\x22\x02\x74\x1b\x21\xd1\x0d\xaa\x93\xc5\x95\x61\x3d\x34\x96\xe8\x9c\xb0\x52\xf5\xb1\xde\x33\x5e\x98\x93\x86\xa8\xc9\xd4\x0e\x72\xfe\x79\x51\x1d\x70\x37\xe6\x69\x3a\xea\x53\xb7\x8b\x49\x3f\xf7\x17\xd7\xf8\x84\x30\x93\x3d\x01\x60\x7d\x67\x29\x14\x22\x02\xe5\x32\x61\xb1\x31\x47\xac\x72\xb9\x18\x6d\x9c\x08\x79\x18\x15\xe2\x37\x9c\xb8\xe8\x1c\x28\x3c\xa2\xa2\xb0\x6b\xbb\x9d\x92\xe5\x1a\x76\x1d\x85\xa2\x74\xf4\x8c\xdc\x21\xc8\x5d\x3b\x85\xcd\x44\x58\x72\x3e\xd7\xd7\x81\xa0\x10\xb1\xe1\xdb\x66\xbd\xb2\x4f\xa6\xf4\x67\x22\xa8\x64\x16\xc5\xb9\xaa\x7a\x06\xe2\x70\x7a\xd2\xf4\x79\x7b\xc2\xa9\x8d\xe8\x61\x6f\x85\xf6\x91\x1c\xc5\x73\xb2\x8d\x54\x17\x53\x08\x90\x39\xf2\x98\x10\x6a\xd0\xa2\xcd\xc5\x3c\x32\x65\x73\x72\x89\x33\x96\x13\xd2\x45\xb9\xc7\x72\x27\x12\x38\xec\xd2\x95\x67\xd3\xfd\xc1\x9a\x6e\x4f\x05\x2e\xd3\x94\x6b\x0d\x0a\x8c\x83\xad\x22\xa7\xbc\x60\x13\x5f\xde\x35\x26\x91\xac\x99\x1d\x13\xdd\x27\x32\xbe\xce\x8e\xf7\x44\xe5\x1a\x48\xd0\x43\x66\x85\xcf\xa3\xb2\xe4\x0d\x91\x97\x19\xb4\x92\x1e\xc7\xb3\xe0\x7f\x1f\x22\x1f\x16\xa8\x32\x15\x06\x21\x75\x8a\xb8\x91\xb8\x4e\x57\xd3\xfb\xc9\x5f\x28\x5d\xeb\x4e\xe7\xc5\x33\x88\x5c\xdd\xc1\xfb\x70\xca\x6f\x79\x0b\x6f\x33\x6e\xfe\x28\x88\x86\xad\x45\x17\x5b\x89\x3a\xfa\x35\x84\x3f\x6b\x7d\x14\xaa\xc3\xb3\x6d\x61\xcb\x26\xe2\x09\x7c\xfb\x6d\xf2\xd6\xd9\x4a\xfa\x7b\x95\xea\x8a\x50\xc9\x93\x4d\xe7\x3c\x79\x90\x4e\x72\xa2\x41\x10\xe1\x1a\x93\xc4\x48\x63\x07\x8f\xb0\x4d\xaf\x26\xe2\xbf\x14\xd3\x4f\x5f\xfe\x40\x3d\x88\xc5\x69\xa1\x1c\x70\xb1\xba\xb2\x1c\xfc\x84\x09\x84\xa5\x2e\x55\x57\x21\x31\xc3\xd4\x69\x04\x35\xca\x03\x96\x8f\x53\x5b\x23\x16\x65\x29\x27\xe4\x3e\x95\x2e\x82\x18\xfb\x35\x84\x3d\xf4\x4a\x81\xb0\x17\x30\x82\xa6\xca\xa4\x45\xcb\xec\x7c\x0d\x4a\x3e\x52\x73\xa9\x24\x53\xa5\x86\x38\x90\xd0\xd5\xc0\x92\x98\xb6\xd2\x0f\xc4\x8c\x64\xcd\xd9\xe3\xa1\x55\xa1\xb7\x80\x97\x0b\x49\xea\xe4\xe6\x85\xe4\x41\x3c\xe2\x50\x0e\xa8\x44\xc4\x4b\x70\x54\x12\x97\xdd\x3e\x24\x74\xdf\xe2\x4b\x09\x1c\x38\xcb\xcb\x69\xc7\xc9\x16\x6e\xe7\x24\x95\xa2\xb0\xcc\x5c\x65\xf1\x8c\x94\x82\x71\xd5\x4d\x38\x28\xa4\xdd\xea\x8a\x50\x8c\xe7\x87\x3b\x1d\xe8\x01\xb7\x76\x30\xee\xc4\xb3\x10\xf2\xce\x28\x80\x49\x53\x62\x57\x1a\x4f\x61\x61\x60\x58\x91\x5b\xae\xc7\xd1\x95\x45\x50\x45\x1c\xf8\x25\x94\xc6\x5a\x2c\xbd\xea\xaf\xba\xc3\xd8\x7d\x9f\x5d\x61\xe6\xd6\xa3\xbc\x15\xe7\x18\x38\xf1\x1c\x31\xea\xb8\x7c\xca\xa6\xe9\x8f\x54\xbc\x99\xfd\xba\xba\x0e\xca\x1c\xaa\x7a\x8c\x48\x49\xca\x32\x24\x25\x8b\x12\x10\x8d\x7d\x93\x22\x2f\x3c\x4a\x82\x2e\x83\xcf\xc4\x27\x1f\x52\xeb\x15\xe7\x0a\x91\xf5\xc4\x49\xcf\xdf\xd0\x8b\x4a\x78\x01\x3f\x4a\x3c\xb9\x79\xf7\x2b\x66\x1d\xd6\xe5\x08\x8f\xe8\x7c\xaf\x41\x58\x2b\x98\x25\x3e\xf4\x2d\x0f\x3e\xea\x21\xb2\xc7\xe2\x8f\x74\xe0\x06\x1e\x88\x9c\x30\xa8\xe7\x60\xef\x1c\x9f\x3e\x39\x20\xfd\x55\x44\xaf\x4c\x1b\xeb\xc2\xa3\x36\x27\x38\x1d\x64\x79\x00\x4e\x31\x8c\xfd\x56\x2b\xdc\xa8\x6e\x38\xa3\x8e\x48\xf6\xdd\xac\xe2\x20\x68\xb9\xd6\xa6\x34\xda\xa3\x67\x6f\xdc\xac\xee\xe0\x67\xb2\xe2\x97\xd9\xed\x46\x63\x7f\xfe\xe5\x5a\x9f\xb3\x06\x84\x2d\x4d\x72\x37\x59\xcf\x40\x9f\xc8\x59\xf0\x72\x98\xfc\xed\xfa\x11\x9e\x2f\xba\x3b\x00\x0a\x09\x09\x80\x42\x5a\xa6\x4c\xad\xd0\x49\x1b\x1d\xbc\x59\xbe\x25\x70\xde\x76\xa5\xa7\x9e\xd4\x62\x6b\xd1\xa5\x2a\x12\x4b\x11\x3a\xbf\x24\xe0\xcc\x53\x63\xdf\xfe\x3b\xa9\xd3\xb7\xb8\xba\x83\x7b\xdd\x7f\xe2\x43\xbe\x5b\x76\x9e\x96\xea\xf9\x72\x39\xe2\x4a\x73\x88\x1a\xc6\x5f\xde\x5c\x9a\x98\x6c\x26\xc2\xc2\xf8\x4d\xa4\x19\x1a\x57\xc1\xd2\xf2\xb0\x81\x3c\x27\x75\x78\x34\x1f\x10\x34\x28\xf4\xac\x88\xe1\x11\x6d\x7f\x69\xf0\x30\x1b\x50\xb9\xe7\x46\xb2\x59\x22\x67\x3c\xa7\x09\x8e\x15\x9b\x0f\x54\xb3\x1f\x6a\x63\x9b\x1c\xdd\x17\x66\x94\x13\xa0\x1e\x66\x95\xe3\x79\x54\x28\x70\x3c\x95\x74\xb1\x9f\x88\x2c\xa4\x4a\x43\x3d\x5a\x32\x0c\xf6\xe0\x12\x2c\xb3\xa2\x77\xb9\x41\x5b\xe7\x0a\xbb\xfe\x5d\x38\x7d\xce\x56\x5f\x44\xe7\x28\x6a\x18\xd2\x85\xeb\x8c\x1e\x0d\x13\xd7\xa1\x1f\x92\x9f\x27\x74\x7c\x42\xe3\x03\x5d\xcf\x38\x35\x45\xda\xf3\x1a\x18\x24\x3c\x5f\x25\x2e\xb5\xa9\xdb\x40\x39\xb7\x03\x47\x67\xb9\x6f\xdc\xa4\x44\xc2\x62\xab\x9a\x0b\xec\xc0\x9b\x5c\x14\x4c\x98\x79\xbe\xff\xbf\xbe\x91\xf8\xc3\x7d\x84\xc5\x97\x6a\xef\x9f\x5f\xe8\x06\xee\x83\x0f\x06\x25\x53\x0d\x56\xa1\x99\x13\x1a\x8c\x05\xfc\xb5\x13\x2a\x7c\x5b\x68\x0c\x9e\x6d\x07\xe0\xd9\x7e\x87\xda\x7e\xbe\x48\x6a\x8e\x85\x1a\x66\xa5\xdb\x1d\xd6\xc6\xe2\x96\x89\x37\xfa\x78\x0b\x54\x29\xe3\xa1\x33\xaa\xb6\x24\x3c\x0e\x1c\x77\xb8\x97\x9a\xaf\x63\xf6\x06\x61\x78\xb7\xb0\xb0\xfb\x65\x4a\xc3\x0a\xde\x8c\x1f\xaf\xe0\xdd\xf3\xde\xfe\x7b\x0e\xe1\xdd\x8c\xf2\x70\xf1\x8a\x8c\x7e\xf0\x6c\x6b\xf1\xc8\xe3\xfc\xb4\x5c\x84\x06\xe0\xfa\x5e\xec\x7f\x81\xe5\xcf\x42\xeb\xf6\x16\xee\x9d\x43\xeb\x87\x99\xf3\xb4\xe2\x65\xae\x90\x66\xa0\x9c\xde\x44\xca\x53\x07\x3c\x97\x17\x1b\xe2\xe3\xf0\x2e\x48\x86\xe1\x49\x9b\xa9\x43\x94\x76\x45\x7e\x92\xee\x1b\xe9\x3e\xc6\xd7\x7d\x21\x82\xf6\xe8\x89\x3c\xdc\xac\x56\x77\xb0\x1c\x3b\x7f\x11\x9a\x9a\xd9\xf4\x56\x81\xa1\xbd\x34\x4d\x2b\xfc\x88\x3d\x91\x7d\x5f\x91\x89\x57\xc5\xf6\xff\xa5\xc7\x6c\x40\x7a\xfc\x55\x91\xee\xba\xe6\xc5\x10\x1f\xae\xe7\xf7\x8d\x1b\xee\xe3\x6c\x4a\xf7\xf1\x55\x9f\x89\xbd\xd8\xa4\x84\xf0\x25\x1e\x04\x65\xc3\x67\xb4\x66\xde\xa1\x65\x69\x63\x9c\x1f\x76\xe7\x17\xbd\x30\xe3\x05\x14\xa3\xe1\xb4\x1f\x9a\xd6\xf7\xbc\xfa\x66\x09\xbe\x17\x2e\xe2\x7c\x8e\xf3\xcd\xe6\x9b\x3b\x78\x15\x8f\x56\x7d\xea\x29\xa3\x12\xec\x50\x7e\x79\x3c\xb6\xe0\xd5\x99\x67\xbe\x14\xff\x09\x00\x00\xff\xff\xe4\x8f\x12\x23\x0f\x20\x00\x00" func fungibletokenCdcBytes() ([]byte, error) { return bindataRead( @@ -113,7 +113,7 @@ func fungibletokenCdc() (*asset, error) { } info := bindataFileInfo{name: "FungibleToken.cdc", size: 0, mode: os.FileMode(0), modTime: time.Unix(0, 0)} - a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x2f, 0x60, 0x33, 0x26, 0xd2, 0xbf, 0x77, 0x41, 0x2, 0x55, 0x2e, 0x9d, 0x4d, 0x23, 0xc8, 0x82, 0x6b, 0x72, 0x21, 0xe9, 0x12, 0x1, 0xec, 0x92, 0x96, 0x70, 0x42, 0xd0, 0xba, 0x54, 0xfd, 0x37}} + a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xb9, 0xca, 0x57, 0xf2, 0xcf, 0xcd, 0x43, 0x24, 0x98, 0x39, 0x6c, 0x3a, 0x84, 0x3a, 0xd3, 0xa0, 0x13, 0xdb, 0xe4, 0x50, 0x4e, 0x17, 0x25, 0xe1, 0x83, 0x19, 0x86, 0xed, 0xa, 0x33, 0x69, 0xb7}} return a, nil }