Skip to content

Commit

Permalink
added new client
Browse files Browse the repository at this point in the history
  • Loading branch information
bjartek committed Oct 27, 2024
1 parent 021e47d commit 2bdc586
Show file tree
Hide file tree
Showing 3 changed files with 48 additions and 2 deletions.
4 changes: 3 additions & 1 deletion flow.json
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,9 @@
"source": "./contracts/community/BandOracle.cdc",
"aliases": {
"mainnet": "0x6801a6222ebf784a",
"testnet": "0x2c71de7af78d1adf"
"testnet": "0x2c71de7af78d1adf",
"migrationnet": "0x8232ce4a3aff4e94",
"emulator": "0x8232ce4a3aff4e94"
}
},
"ExampleNFT": "./contracts/standard/ExampleNFT.cdc",
Expand Down
44 changes: 44 additions & 0 deletions lib/find.json
Original file line number Diff line number Diff line change
Expand Up @@ -281,6 +281,17 @@
},
"code": "import FIND from 0xf3fcd2c1a78f5eee\n\naccess(all)\nfun main(address: Address) : String?{\n return FIND.reverseLookup(address)\n}"
},
"getNamePriceInFlow": {
"spec": {
"parameters": {
"name": "String"
},
"order": [
"name"
]
},
"code": "import FIND from 0xf3fcd2c1a78f5eee\n\naccess(all) fun main(_ name:String):UFix64 {\n return FIND.calculateCostInFlow(name)\n}"
},
"getNameSearchbar": {
"spec": {
"parameters": {
Expand Down Expand Up @@ -3038,6 +3049,17 @@
},
"code": "import FIND from 0x097bafa4e0b48eef\n\naccess(all)\nfun main(address: Address) : String?{\n return FIND.reverseLookup(address)\n}"
},
"getNamePriceInFlow": {
"spec": {
"parameters": {
"name": "String"
},
"order": [
"name"
]
},
"code": "import FIND from 0x097bafa4e0b48eef\n\naccess(all) fun main(_ name:String):UFix64 {\n return FIND.calculateCostInFlow(name)\n}"
},
"getNameSearchbar": {
"spec": {
"parameters": {
Expand Down Expand Up @@ -5716,6 +5738,17 @@
},
"code": "import FIND from 0x35717efbbce11c74\n\naccess(all)\nfun main(address: Address) : String?{\n return FIND.reverseLookup(address)\n}"
},
"getNamePriceInFlow": {
"spec": {
"parameters": {
"name": "String"
},
"order": [
"name"
]
},
"code": "import FIND from 0x35717efbbce11c74\n\naccess(all) fun main(_ name:String):UFix64 {\n return FIND.calculateCostInFlow(name)\n}"
},
"getNameSearchbar": {
"spec": {
"parameters": {
Expand Down Expand Up @@ -8542,6 +8575,17 @@
},
"code": "import FIND from 0x35717efbbce11c74\n\naccess(all)\nfun main(address: Address) : String?{\n return FIND.reverseLookup(address)\n}"
},
"getNamePriceInFlow": {
"spec": {
"parameters": {
"name": "String"
},
"order": [
"name"
]
},
"code": "import FIND from 0x35717efbbce11c74\n\naccess(all) fun main(_ name:String):UFix64 {\n return FIND.calculateCostInFlow(name)\n}"
},
"getNameSearchbar": {
"spec": {
"parameters": {
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-1.0",
"version": "1.2.0",
"version": "1.2.1",
"description": "Cadence transactions and scripts to work with https://find.xyz for cadence 1.0",
"main": "index.js",
"scripts": {
Expand Down

0 comments on commit 2bdc586

Please sign in to comment.