Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FEATURE: Cadence 1.0 Core Contracts Changes #319

Merged
merged 136 commits into from
Jun 12, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
136 commits
Select commit Hold shift + click to select a range
d7330c3
update to view functions for stable cadence
joshuahannan Nov 2, 2022
bebb19d
Update to newest Stable Cadence Preview (#371)
dsainati1 Jul 5, 2023
a9e9e5d
remove casting and fix conflicts
joshuahannan Jul 10, 2023
253f985
integrate ft and nft stable cadence changes, use access, view, and en…
joshuahannan Jul 18, 2023
d5d3fc2
use v2 ft and nft
joshuahannan Jul 18, 2023
58bfcfb
use string for nft import
joshuahannan Jul 18, 2023
d9d2614
update token deps
joshuahannan Jul 18, 2023
9b8c764
update token deps
joshuahannan Jul 18, 2023
5044e1d
update nft dependecy
joshuahannan Jul 18, 2023
07c8c7b
update nft dep
joshuahannan Jul 18, 2023
99f47a0
update ft dep
joshuahannan Jul 18, 2023
aa0d30b
add more view
joshuahannan Jul 19, 2023
69e65bd
update FlowToken contract getter to explicitly use metadata views
joshuahannan Jul 19, 2023
a94c565
implement new standard methods
joshuahannan Jul 19, 2023
90cd889
update nft dependency
joshuahannan Jul 19, 2023
8217b15
update ft dep
joshuahannan Jul 19, 2023
7a4a112
fix FungibleToken.Vault types and imports
joshuahannan Jul 19, 2023
dc499b4
remove view from copy
joshuahannan Jul 19, 2023
3e0bd42
add correct vault type
joshuahannan Jul 19, 2023
e642b90
remove views and update balances
joshuahannan Jul 19, 2023
9f786d5
use vault interface type
joshuahannan Jul 19, 2023
a3ad792
remove restricted types
joshuahannan Jul 26, 2023
0bd0969
remove AnyStruct
joshuahannan Jul 26, 2023
40fdc45
remove type restrictions
joshuahannan Jul 26, 2023
bceaf1d
fix view modifiers in epoch contracts
joshuahannan Jul 27, 2023
d6f1c62
remove view for dkgCompleted
joshuahannan Jul 27, 2023
00f3f53
remove non-view methods from pre-conditions
joshuahannan Jul 27, 2023
d258883
use setter methods in QC
joshuahannan Jul 27, 2023
334b5ef
remove pub from QC
joshuahannan Jul 27, 2023
088c4f1
add fun keyword
joshuahannan Jul 27, 2023
186f352
use setters for fields and use getBalance
joshuahannan Jul 27, 2023
eaf04f6
use view keyword
joshuahannan Jul 27, 2023
4a593e6
remove restricted types from flow epoch
joshuahannan Jul 27, 2023
f82c0bd
use setters in FlowEpoch
joshuahannan Jul 27, 2023
1e42943
correct metadata types
joshuahannan Jul 27, 2023
b6eea49
use UInt64 in NodeVersionBeacon
joshuahannan Jul 27, 2023
234488b
dont use restricted types in locked tokens and staking collection
joshuahannan Jul 27, 2023
32ee36b
make LockedTokens compatible with FungibleToken
joshuahannan Jul 28, 2023
3e7e66c
use entitlement for manager
joshuahannan Jul 28, 2023
81673c1
correct entitlement syntax
joshuahannan Jul 28, 2023
3366647
fix entitlement issues with locked tokens
joshuahannan Jul 28, 2023
ae14189
fix entitlement issues with staking collection
joshuahannan Jul 28, 2023
98e669c
fix entitlement return types
joshuahannan Jul 28, 2023
d03de9a
add withdrawable to machine account functions
joshuahannan Jul 28, 2023
20bc88d
replace addresses and fix transactions and scripts
joshuahannan Aug 2, 2023
f00e74c
fixes to epoch tests
joshuahannan Aug 8, 2023
8a95802
update to latest token standards and update locked tokens transactions
joshuahannan Aug 22, 2023
90028cb
Update contracts
SupunS Sep 8, 2023
5624221
Update more contracts
SupunS Sep 11, 2023
a146eb7
Update contracts
SupunS Sep 11, 2023
47c7323
Update contarcts and transactions
SupunS Sep 12, 2023
7f6a9cf
go mod tidy
SupunS Sep 12, 2023
006692d
Update flow-sdk
SupunS Sep 12, 2023
20bf827
Update more contracts
SupunS Sep 12, 2023
f90b7db
Update ft/nft deps
SupunS Sep 13, 2023
3e4a8d7
Generate assets
SupunS Sep 13, 2023
148f186
Update more cadence codes
SupunS Sep 13, 2023
5287d71
Update staking collection
SupunS Sep 13, 2023
82e83fc
Update go mods
SupunS Sep 13, 2023
6e65aab
Fix typo
SupunS Sep 14, 2023
071589b
Replace get()+borrow() with borrow()
SupunS Sep 14, 2023
8bf41b7
Refactor code
SupunS Sep 14, 2023
36b3a40
Update go-sdk and flow-nft versions
SupunS Sep 15, 2023
a14bfc3
Fix publish_voter transaction
SupunS Sep 18, 2023
1a47522
Update to Cadence v1.0.0-preview.1
SupunS Sep 21, 2023
7f0ae3d
Apply suggestions from code review
SupunS Sep 21, 2023
222d143
Refactor code
SupunS Sep 22, 2023
889e103
fix and improve syntax
turbolent Sep 22, 2023
0e44d6d
use optional chaining and nil-coaelescing instead of force-unwrapping
turbolent Sep 22, 2023
2ba8ec1
Update get_total_balance.cdc
SupunS Sep 26, 2023
5d361b6
Merge remote-tracking branch 'origin/master' into stable-cadence
joshuahannan Nov 21, 2023
b41a334
make sure epoch contracts work with capability controllers and entitl…
joshuahannan Nov 22, 2023
f8dfacb
update dependencies and add public burn tokens method
joshuahannan Dec 4, 2023
69a42be
fix go.mod conflict from merge from master
joshuahannan Dec 11, 2023
e45ba2b
remove view from getRandomSourceHistoryPage and use account.storage
joshuahannan Dec 11, 2023
37cbe45
remove custom destructors and fix entitlement usage
joshuahannan Dec 12, 2023
965521c
merge from master and update dependencies
joshuahannan Jan 2, 2024
5f2af20
get all go tests passing for cadence 1.0
joshuahannan Jan 2, 2024
93317bc
make ci
joshuahannan Jan 2, 2024
6eb32e7
make ci
joshuahannan Jan 2, 2024
b29775f
update random source transactions
joshuahannan Jan 2, 2024
1c546c6
update cli version for CI
joshuahannan Jan 2, 2024
cb90b89
update go version
joshuahannan Jan 3, 2024
c0c5250
Update Cadence version (#406)
SupunS Jan 23, 2024
77b4a62
update Withdrawable and createEmptyVault
joshuahannan Jan 23, 2024
1036e08
merge from origin
joshuahannan Jan 23, 2024
8d58eb4
update createEmpty in staking
joshuahannan Jan 24, 2024
7204ba8
use Burner and update dependencies
joshuahannan Jan 25, 2024
9289bdc
update to SDK v1.0.0-M1
turbolent Jan 25, 2024
1a178d6
update NFT contracts, remove replace statements
turbolent Jan 25, 2024
edbd26e
update to Cadence v1.0.0-M3
turbolent Jan 25, 2024
df76aaf
update to Cadence v1.0.0-M3 and SDK v1.0.0-M1
turbolent Jan 25, 2024
b7a9513
remove getBalance, add isAvailableToWithdraw
joshuahannan Jan 25, 2024
e3aada3
update ft and nft deps
joshuahannan Feb 1, 2024
1984b08
merge from master
joshuahannan Feb 1, 2024
5f44be4
update emulator dependencies and get tests passing
joshuahannan Feb 1, 2024
80dacce
use FungibleToken.Balance instead of FlowToken.Vault
joshuahannan Feb 1, 2024
89c4b73
use correct public path types
joshuahannan Feb 5, 2024
e489275
update imports
joshuahannan Feb 6, 2024
7af9d5b
go mod tidy
joshuahannan Feb 6, 2024
b75941c
add fungible token switchboard
joshuahannan Feb 6, 2024
928bf99
fix switchboard
joshuahannan Feb 6, 2024
098fbb0
update error messages for ledger transactions
joshuahannan Feb 7, 2024
439755c
add updated manifests with new account, FT, and NFT transactions and …
joshuahannan Feb 9, 2024
b403661
update account transactions to use simple arguments
joshuahannan Feb 12, 2024
7d800d5
update manifest to include both styles of token transfer transactions:
joshuahannan Feb 13, 2024
46d7685
update emulator dependency
joshuahannan Feb 13, 2024
439c5aa
use string args for NFT contracts
joshuahannan Feb 14, 2024
f5053a4
update collection machine account transactions to not use keylist entry
joshuahannan Feb 15, 2024
a7b73af
Update contract getter methods to use env (#410)
joshuahannan Feb 27, 2024
fda9bc2
get address replacement working in tests and add event emission restr…
joshuahannan Feb 27, 2024
d81e0c3
update to latest emulator, cadence, and token standards versions
joshuahannan Mar 5, 2024
6f9e0a9
Update README
joshuahannan Mar 7, 2024
bcf77ee
Don't copy dictionary in getEpochMetadata (#413)
janezpodhostnik Mar 22, 2024
4352c32
update NFT contracts
joshuahannan Mar 26, 2024
10241ff
update ft dependency
joshuahannan Mar 27, 2024
f410947
update token standard dependencies
joshuahannan Apr 2, 2024
9004857
make ci
joshuahannan Apr 2, 2024
77f7eae
fix algorithm typo and test names
joshuahannan Apr 8, 2024
826099b
update nft transactions
joshuahannan Apr 9, 2024
d40b890
fix typos in transactions
joshuahannan Apr 15, 2024
486ea68
update nft dependencies
joshuahannan Apr 15, 2024
1b20b4d
update RandomBeaconHistory to Cadence 1.0
joshuahannan Apr 16, 2024
272832a
Add entitlement for locked account creator (#423)
joshuahannan Apr 24, 2024
50821c3
update ft dependencies
joshuahannan Apr 24, 2024
93d97ed
remove optional chaining in FlowStakingCollection
joshuahannan Apr 24, 2024
0fc367f
remove optional chaining
joshuahannan Apr 24, 2024
e696a8e
update nft imports and remove unnecessary Burner import from FlowToken
joshuahannan Apr 29, 2024
af808a6
update dependencies
joshuahannan May 7, 2024
7cecccd
Improve random distribution (#428)
tarakby May 9, 2024
fa79414
address PR comments and add entitlements to LockedTokens.TokenManager
joshuahannan May 9, 2024
4f23668
remove UseTokens entitlement
joshuahannan May 9, 2024
9490f1d
use view more and update nft deps
joshuahannan May 17, 2024
47a27af
make ci
joshuahannan May 17, 2024
228d291
add view modifiers
joshuahannan Jun 6, 2024
437cc82
update dependencies
joshuahannan Jun 12, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
remove getBalance, add isAvailableToWithdraw
  • Loading branch information
joshuahannan committed Jan 25, 2024
commit b7a95136dd0da4f988be402b710fca67e1ab0991
10 changes: 5 additions & 5 deletions contracts/FlowFees.cdc
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,14 @@ access(all) contract FlowFees {

access(all) fun deposit(from: @{FungibleToken.Vault}) {
let from <- from as! @FlowToken.Vault
let balance = from.getBalance()
let balance = from.balance
self.vault.deposit(from: <-from)
emit TokensDeposited(amount: balance)
}

/// Get the balance of the Fees Vault
access(all) fun getFeeBalance(): UFix64 {
return self.vault.getBalance()
return self.vault.balance
}

access(all) resource Administrator {
Expand Down Expand Up @@ -121,7 +121,7 @@ access(all) contract FlowFees {
// In the edge case where the payer doesnt have a vault, treat the balance as 0.
var balance = 0.0
if let tokenVault = payerAcct.storage.borrow<&FlowToken.Vault>(from: /storage/flowTokenVault) {
balance = tokenVault.getBalance()
balance = tokenVault.balance
}

return VerifyPayerBalanceResult(
Expand All @@ -146,13 +146,13 @@ access(all) contract FlowFees {
?? panic("Unable to borrow reference to the default token vault")


if feeAmount > tokenVault.getBalance() {
if feeAmount > tokenVault.balance {
// In the future this code path will never be reached,
// as payers that are under account minimum balance will not have their transactions included in a collection
//
// Currently this is not used to fail the transaction (as that is the responsibility of the minimum account balance logic),
// But is used to reduce the balance of the vault to 0.0, if the vault has less available balance than the transaction fees.
feeAmount = tokenVault.getBalance()
feeAmount = tokenVault.balance
}

let feeVault <- tokenVault.withdraw(amount: feeAmount)
Expand Down
10 changes: 5 additions & 5 deletions contracts/FlowIDTableStaking.cdc
Original file line number Diff line number Diff line change
Expand Up @@ -456,7 +456,7 @@ access(all) contract FlowIDTableStaking {
// Borrow the node's record from the staking contract
let nodeRecord = FlowIDTableStaking.borrowNodeRecord(self.id)

emit TokensCommitted(nodeID: nodeRecord.id, amount: tokens.getBalance())
emit TokensCommitted(nodeID: nodeRecord.id, amount: tokens.balance)

// Add the new tokens to tokens committed
nodeRecord.tokensCommitted.deposit(from: <-tokens)
Expand Down Expand Up @@ -661,7 +661,7 @@ access(all) contract FlowIDTableStaking {
let nodeRecord = FlowIDTableStaking.borrowNodeRecord(self.nodeID)
let delRecord = nodeRecord.borrowDelegatorRecord(self.id)

emit DelegatorTokensCommitted(nodeID: self.nodeID, delegatorID: self.id, amount: from.getBalance())
emit DelegatorTokensCommitted(nodeID: self.nodeID, delegatorID: self.id, amount: from.balance)

// Commit the new tokens to the delegator record
delRecord.tokensCommitted.deposit(from: <-from)
Expand Down Expand Up @@ -1286,7 +1286,7 @@ access(all) contract FlowIDTableStaking {
if feeBalance >= totalRewards {
fromFees = totalRewards
}
emit EpochTotalRewardsPaid(total: totalRewards, fromFees: fromFees, minted: mintedRewards, feesBurned: rewardsVault.getBalance(), epochCounterForRewards: forEpochCounter)
emit EpochTotalRewardsPaid(total: totalRewards, fromFees: fromFees, minted: mintedRewards, feesBurned: rewardsVault.balance, epochCounterForRewards: forEpochCounter)

// Clear the non-operational node list so it doesn't persist to the next rewards payment
let emptyNodeList: {String: UFix64} = {}
Expand Down Expand Up @@ -1571,7 +1571,7 @@ access(all) contract FlowIDTableStaking {
let minimum = self.minimumStakeRequired[role]!

assert(
self.isGreaterThanMinimumForRole(numTokens: tokensCommitted.getBalance(), role: role),
self.isGreaterThanMinimumForRole(numTokens: tokensCommitted.balance, role: role),
message: "Tokens committed for registration is not above the minimum (".concat(minimum.toString()).concat(") for the chosen node role (".concat(role.toString()).concat(")"))
)

Expand Down Expand Up @@ -1602,7 +1602,7 @@ access(all) contract FlowIDTableStaking {

let minimum = self.getDelegatorMinimumStakeRequirement()
assert(
tokensCommitted.getBalance() >= minimum,
tokensCommitted.balance >= minimum,
message: "Tokens committed for delegator registration is not above the minimum (".concat(minimum.toString()).concat(")")
)

Expand Down
6 changes: 3 additions & 3 deletions contracts/FlowServiceAccount.cdc
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ access(all) contract FlowServiceAccount {
access(all) fun defaultTokenBalance(_ acct: &Account): UFix64 {
var balance = 0.0
if let balanceRef = acct.capabilities.borrow<&FlowToken.Vault>(/public/flowTokenBalance) {
balance = balanceRef.getBalance()
balance = balanceRef.balance
}

return balance
Expand All @@ -69,8 +69,8 @@ access(all) contract FlowServiceAccount {

let tokenVault = self.defaultTokenVault(acct)
var feeAmount = self.transactionFee
if self.transactionFee > tokenVault.getBalance() {
feeAmount = tokenVault.getBalance()
if self.transactionFee > tokenVault.balance {
feeAmount = tokenVault.balance
}

let feeVault <- tokenVault.withdraw(amount: feeAmount)
Expand Down
10 changes: 5 additions & 5 deletions contracts/FlowStakingCollection.cdc
Original file line number Diff line number Diff line change
Expand Up @@ -230,29 +230,29 @@ access(all) contract FlowStakingCollection {
pre {
// This error should never be triggered in production becasue the tokens used fields
// should be properly managed by all the other functions
from.getBalance() <= self.unlockedTokensUsed + self.lockedTokensUsed: "Cannot deposit more than is already used"
from.balance <= self.unlockedTokensUsed + self.lockedTokensUsed: "Cannot deposit more than is already used"
}

let unlockedVault = self.unlockedVault.borrow()!

/// If there is a locked account, get the locked vault holder for depositing
if self.lockedVault != nil {

if (from.getBalance() <= self.unlockedTokensUsed) {
self.unlockedTokensUsed = self.unlockedTokensUsed - from.getBalance()
if (from.balance <= self.unlockedTokensUsed) {
self.unlockedTokensUsed = self.unlockedTokensUsed - from.balance

unlockedVault.deposit(from: <-from)
} else {
// Return unlocked tokens first
unlockedVault.deposit(from: <-from.withdraw(amount: self.unlockedTokensUsed))
self.unlockedTokensUsed = 0.0

self.lockedTokensUsed = self.lockedTokensUsed - from.getBalance()
self.lockedTokensUsed = self.lockedTokensUsed - from.balance
// followed by returning the difference as locked tokens
self.lockedVault!.borrow()!.deposit(from: <-from)
}
} else {
self.unlockedTokensUsed = self.unlockedTokensUsed - from.getBalance()
self.unlockedTokensUsed = self.unlockedTokensUsed - from.balance

// If there is no locked account, get the users vault capability and deposit tokens to it.
unlockedVault.deposit(from: <-from)
Expand Down
8 changes: 4 additions & 4 deletions contracts/FlowStorageFees.cdc
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ access(all) contract FlowStorageFees {
let acct = getAccount(accountAddress)

if let balanceRef = acct.capabilities.borrow<&FlowToken.Vault>(/public/flowTokenBalance) {
balance = balanceRef.getBalance()
balance = balanceRef.balance
}

return self.accountBalanceToAccountStorageCapacity(balance)
Expand Down Expand Up @@ -97,9 +97,9 @@ access(all) contract FlowStorageFees {
if let balanceRef = acct.capabilities.borrow<&FlowToken.Vault>(/public/flowTokenBalance) {
if accountAddress == payer {
// if the account is the payer, deduct the maximum possible transaction fees from the balance
balance = balanceRef.getBalance().saturatingSubtract(maxTxFees)
balance = balanceRef.balance.saturatingSubtract(maxTxFees)
} else {
balance = balanceRef.getBalance()
balance = balanceRef.balance
}
}

Expand Down Expand Up @@ -157,7 +157,7 @@ access(all) contract FlowStorageFees {
var balance = 0.0

if let balanceRef = acct.capabilities.borrow<&FlowToken.Vault>(/public/flowTokenBalance) {
balance = balanceRef.getBalance()
balance = balanceRef.balance
}

// get how much should be reserved for storage
Expand Down
11 changes: 6 additions & 5 deletions contracts/FlowToken.cdc
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,6 @@ access(all) contract FlowToken: FungibleToken {
// holds the balance of a users tokens
access(all) var balance: UFix64

access(all) view fun getBalance(): UFix64 {
return self.balance
}

// initialize the balance at resource creation time
init(balance: UFix64) {
self.balance = balance
Expand All @@ -52,7 +48,7 @@ access(all) contract FlowToken: FungibleToken {
/// Called when a fungible token is burned via the `Burner.burn()` method
access(contract) fun burnCallback() {
if self.balance > 0.0 {
FlowToken.totalSupply = FlowToken.totalSupply - self.getBalance()
FlowToken.totalSupply = FlowToken.totalSupply - self.balance
}
self.balance = 0.0
}
Expand All @@ -66,6 +62,11 @@ access(all) contract FlowToken: FungibleToken {
if (type == self.getType()) { return true } else { return false }
}

/// Asks if the amount can be withdrawn from this vault
access(all) view fun isAvailableToWithdraw(amount: UFix64): Bool {
return amount <= self.balance
}

// withdraw
//
// Function that takes an integer amount as an argument
Expand Down
19 changes: 15 additions & 4 deletions contracts/LockedTokens.cdc
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ access(all) contract LockedTokens {
access(self) fun depositUnlockedTokens(from: @{FungibleToken.Vault}) {
let vaultRef = self.vault.borrow()!

let balance = from.getBalance()
let balance = from.balance

vaultRef.deposit(from: <- from)

Expand All @@ -142,6 +142,12 @@ access(all) contract LockedTokens {

// FungibleToken.Provider actions

/// Asks if the amount can be withdrawn from this vault
access(all) view fun isAvailableToWithdraw(amount: UFix64): Bool {
let vaultRef = self.vault.borrow()!
return amount <= vaultRef.balance
joshuahannan marked this conversation as resolved.
Show resolved Hide resolved
}

/// Withdraws unlocked tokens from the vault
access(FungibleToken.Withdraw) fun withdraw(amount: UFix64): @{FungibleToken.Vault} {
return <-self.withdrawUnlockedTokens(amount: amount)
Expand All @@ -165,7 +171,7 @@ access(all) contract LockedTokens {
return <-vault
}

access(all) fun getBalance(): UFix64 {
access(all) view fun getBalance(): UFix64 {
let vaultRef = self.vault.borrow()!
return vaultRef.balance
}
Expand Down Expand Up @@ -299,7 +305,7 @@ access(all) contract LockedTokens {
}

/// Utility function to borrow a reference to the LockedTokenManager object
access(account) fun borrowTokenManager(): auth(FungibleToken.Withdraw) &LockedTokenManager {
access(account) view fun borrowTokenManager(): auth(FungibleToken.Withdraw) &LockedTokenManager {
return self.tokenManager.borrow()!
}

Expand All @@ -311,7 +317,7 @@ access(all) contract LockedTokens {
/// Returns the locked account balance for this token holder.
/// Subtracts the minimum storage reservation from the value because that portion
/// of the locked balance is not available to use
access(all) fun getLockedAccountBalance(): UFix64 {
access(all) view fun getLockedAccountBalance(): UFix64 {

let balance = self.borrowTokenManager().getBalance()

Expand Down Expand Up @@ -346,6 +352,11 @@ access(all) contract LockedTokens {

// FungibleToken.Provider actions

/// Asks if the amount can be withdrawn from this vault
access(all) view fun isAvailableToWithdraw(amount: UFix64): Bool {
return amount <= self.getLockedAccountBalance()
}

/// Withdraws tokens from the locked vault. This will only succeed
/// if the withdraw amount is less than or equal to the limit
access(FungibleToken.Withdraw) fun withdraw(amount: UFix64): @{FungibleToken.Vault} {
Expand Down
4 changes: 2 additions & 2 deletions lib/go/contracts/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ go 1.18

require (
github.com/kevinburke/go-bindata v3.23.0+incompatible
github.com/onflow/flow-ft/lib/go/contracts v0.7.1-0.20240125000944-01706d1b6a69
github.com/onflow/flow-ft/lib/go/contracts v0.7.1-0.20240125205519-2e80d9b4bd01
github.com/onflow/flow-go-sdk v1.0.0-M1
github.com/onflow/flow-nft/lib/go/contracts v1.1.1-0.20240125012012-2118663ca817
github.com/onflow/flow-nft/lib/go/contracts v1.1.1-0.20240125205553-d2b571fb3fad
github.com/stretchr/testify v1.8.4
)

Expand Down
4 changes: 4 additions & 0 deletions lib/go/contracts/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -1610,10 +1610,14 @@ github.com/onflow/crypto v0.25.0 h1:BeWbLsh3ZD13Ej+Uky6kg1PL1ZIVBDVX+2MVBNwqddg=
github.com/onflow/crypto v0.25.0/go.mod h1:C8FbaX0x8y+FxWjbkHy0Q4EASCDR9bSPWZqlpCLYyVI=
github.com/onflow/flow-ft/lib/go/contracts v0.7.1-0.20240125000944-01706d1b6a69 h1:QV31Qw7rPZM3jgjaosqr/MJjzpmO7ibnrHjUntSsJGY=
github.com/onflow/flow-ft/lib/go/contracts v0.7.1-0.20240125000944-01706d1b6a69/go.mod h1:PwsL8fC81cjnUnTfmyL/HOIyHnyaw/JA474Wfj2tl6A=
github.com/onflow/flow-ft/lib/go/contracts v0.7.1-0.20240125205519-2e80d9b4bd01 h1:8iKk5RuFvhe7NQyAO3c+xiVvv38RB/yopHdWxp4AbL8=
github.com/onflow/flow-ft/lib/go/contracts v0.7.1-0.20240125205519-2e80d9b4bd01/go.mod h1:PwsL8fC81cjnUnTfmyL/HOIyHnyaw/JA474Wfj2tl6A=
github.com/onflow/flow-go-sdk v1.0.0-M1 h1:mke/ebYwNRRWPZqcwCV56Alx0A8psew43ZbSEUQ4TL8=
github.com/onflow/flow-go-sdk v1.0.0-M1/go.mod h1:TDW0MNuCs4SvqYRUzkbRnRmHQL1h4X8wURsCw9P9beo=
github.com/onflow/flow-nft/lib/go/contracts v1.1.1-0.20240125012012-2118663ca817 h1:ciQUDNptn8jSQjp4Oh7rnC8EZYCYkTvWYlrXhCsf/iQ=
github.com/onflow/flow-nft/lib/go/contracts v1.1.1-0.20240125012012-2118663ca817/go.mod h1:2gpbza+uzs1k7x31hkpBPlggIRkI53Suo0n2AyA2HcE=
github.com/onflow/flow-nft/lib/go/contracts v1.1.1-0.20240125205553-d2b571fb3fad h1:I6LD9BOsilGbiqhGjP86FIIXJe0YdUz75d/oWdHFzDI=
github.com/onflow/flow-nft/lib/go/contracts v1.1.1-0.20240125205553-d2b571fb3fad/go.mod h1:2gpbza+uzs1k7x31hkpBPlggIRkI53Suo0n2AyA2HcE=
github.com/onflow/flow/protobuf/go/flow v0.3.2-0.20231121210617-52ee94b830c2 h1:qZjl4wSTG/E9znEjkHF0nNaEdlBLJoOEAtr7xUsTNqc=
github.com/onflow/flow/protobuf/go/flow v0.3.2-0.20231121210617-52ee94b830c2/go.mod h1:NA2pX2nw8zuaxfKphhKsk00kWLwfd+tv8mS23YXO4Sk=
github.com/onflow/sdks v0.5.1-0.20230912225508-b35402f12bba/go.mod h1:F0dj0EyHC55kknLkeD10js4mo14yTdMotnWMslPirrU=
Expand Down
Loading
Loading