Skip to content

Commit

Permalink
fix: name of smart contract function
Browse files Browse the repository at this point in the history
  • Loading branch information
SuperBatata committed Aug 25, 2023
1 parent c10b18e commit 08c1be1
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,8 @@ object SoulBoundTokenStandard : ISoulBoundTokenStandard {
}

override fun name(chain: EVMChain, contractAddress: String): String? {
val erc721URIStorageWrapper = loadContract(chain, contractAddress)
return erc721URIStorageWrapper.name().send().value
val contract = loadContract(chain, contractAddress)
return contract.name().send().value
}

override fun symbol(chain: EVMChain, contractAddress: String): String? {
Expand Down

0 comments on commit 08c1be1

Please sign in to comment.