For the complete documentation index, see llms.txt. This page is also available as Markdown.

updateOracle

address -> storage.oracle

Sets address value to storage oracle.

Usage

const newOracle = "KT1...";
const proxy = await tezos.contract.at(proxyAddress);
const operation = await yupana.methods
      .updateOracle(newOracle)
      .send();
await operation.confirmation();
new_oracle = "KT1..."
proxy = ContractInterface.from_michelson(code) # or client.contract(contract_address)...
call = proxy.updateOracle(new_oracle)
opg = call.inject()

Last updated