Skip to content

Commit

Permalink
use pub
Browse files Browse the repository at this point in the history
  • Loading branch information
bjartek committed Aug 6, 2024
1 parent 384dfe7 commit f2963dd
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
12 changes: 6 additions & 6 deletions lib/find.json
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@
}
},
"getFlowToUSD": {
"code": "import FIND from 0x179b6b1cb6755e31\n\naccess(all) fun main():UFix64 {\n\n return FIND.getLatestPrice()\n}",
"code": "import FIND from 0x179b6b1cb6755e31\n\npub fun main():UFix64 {\n\n return FIND.getLatestPrice()\n}",
"spec": {
"order": [],
"parameters": {}
Expand Down Expand Up @@ -651,7 +651,7 @@
}
},
"getNamePriceInFlow": {
"code": "import FIND from 0x179b6b1cb6755e31\n\naccess(all) fun main(_ name:String):UFix64 {\n\n return FIND.calculateCostInFlow(name)\n}",
"code": "import FIND from 0x179b6b1cb6755e31\n\npub fun main(_ name:String):UFix64 {\n\n return FIND.calculateCostInFlow(name)\n}",
"spec": {
"order": [
"name"
Expand Down Expand Up @@ -3718,7 +3718,7 @@
}
},
"getFlowToUSD": {
"code": "import FIND from 0x097bafa4e0b48eef\n\naccess(all) fun main():UFix64 {\n\n return FIND.getLatestPrice()\n}",
"code": "import FIND from 0x097bafa4e0b48eef\n\npub fun main():UFix64 {\n\n return FIND.getLatestPrice()\n}",
"spec": {
"order": [],
"parameters": {}
Expand Down Expand Up @@ -4199,7 +4199,7 @@
}
},
"getNamePriceInFlow": {
"code": "import FIND from 0x097bafa4e0b48eef\n\naccess(all) fun main(_ name:String):UFix64 {\n\n return FIND.calculateCostInFlow(name)\n}",
"code": "import FIND from 0x097bafa4e0b48eef\n\npub fun main(_ name:String):UFix64 {\n\n return FIND.calculateCostInFlow(name)\n}",
"spec": {
"order": [
"name"
Expand Down Expand Up @@ -7335,7 +7335,7 @@
}
},
"getFlowToUSD": {
"code": "import FIND from 0x35717efbbce11c74\n\naccess(all) fun main():UFix64 {\n\n return FIND.getLatestPrice()\n}",
"code": "import FIND from 0x35717efbbce11c74\n\npub fun main():UFix64 {\n\n return FIND.getLatestPrice()\n}",
"spec": {
"order": [],
"parameters": {}
Expand Down Expand Up @@ -7803,7 +7803,7 @@
}
},
"getNamePriceInFlow": {
"code": "import FIND from 0x35717efbbce11c74\n\naccess(all) fun main(_ name:String):UFix64 {\n\n return FIND.calculateCostInFlow(name)\n}",
"code": "import FIND from 0x35717efbbce11c74\n\npub fun main(_ name:String):UFix64 {\n\n return FIND.calculateCostInFlow(name)\n}",
"spec": {
"order": [
"name"
Expand Down
2 changes: 1 addition & 1 deletion lib/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@findonflow/find-flow-contracts",
"version": "3.8.2",
"version": "3.8.3",
"description": "Cadence transactions and scripts to work with https://find.xyz ",
"main": "index.js",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion scripts/getFlowToUSD.cdc
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import "FIND"

access(all) fun main():UFix64 {
pub fun main():UFix64 {

return FIND.getLatestPrice()
}
2 changes: 1 addition & 1 deletion scripts/getNamePriceInFlow.cdc
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import "FIND"

access(all) fun main(_ name:String):UFix64 {
pub fun main(_ name:String):UFix64 {

return FIND.calculateCostInFlow(name)
}

0 comments on commit f2963dd

Please sign in to comment.