Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cardstack/cardstack
/ getOracle
Function
getOracle
packages/cardpay-sdk/contracts/addresses.ts:98–101 ·
view source on GitHub ↗
(tokenName: string, web3: Web3)
Source
from the content-addressed store, hash-verified
96
}
97
98
export
async
function
getOracle(tokenName: string, web3: Web3): Promise<string> {
99
let
network =
await
networkName(web3);
100
return
getOracleByNetwork(tokenName, network);
101
}
Callers
1
getOracleContract
Method · 0.90
Calls
2
networkName
Function · 0.90
getOracleByNetwork
Function · 0.85
Tested by
no test coverage detected