diff --git a/blockchain/ton/contracts/attest/contracts/attest.tact b/blockchain/ton/contracts/attest/contracts/attest.tact index e9455734..0c20b2ac 100644 --- a/blockchain/ton/contracts/attest/contracts/attest.tact +++ b/blockchain/ton/contracts/attest/contracts/attest.tact @@ -607,4 +607,8 @@ contract Oracle with Common { return total; } + + get fun manifestUrl(): String { + return self.manifestUrl; + } } diff --git a/blockchain/ton/contracts/attest/scripts/bot_create_attest_task.ts b/blockchain/ton/contracts/attest/scripts/bot_create_attest_task.ts index ad667889..6fb5b472 100644 --- a/blockchain/ton/contracts/attest/scripts/bot_create_attest_task.ts +++ b/blockchain/ton/contracts/attest/scripts/bot_create_attest_task.ts @@ -18,6 +18,7 @@ export async function run(provider: NetworkProvider) { }, { $$type: 'SubmitAttestTask', + queryId: BigInt("123"), proofUrl: "https://ario.laisky.com/alias/attest-proof.json", attestValue: toNano("0.05"), } diff --git a/blockchain/ton/contracts/attest/scripts/bot_register.ts b/blockchain/ton/contracts/attest/scripts/bot_register.ts index 70c38b73..26d48bc1 100644 --- a/blockchain/ton/contracts/attest/scripts/bot_register.ts +++ b/blockchain/ton/contracts/attest/scripts/bot_register.ts @@ -14,8 +14,10 @@ export async function run(provider: NetworkProvider) { }, { $$type: 'RegisterBot', + queryId: BigInt("123"), manifestUrl: "https://ario.laisky.com/alias/attest-manifest.json", - botOwner: provider.sender().address!! + botOwner: provider.sender().address!!, + responseDestination: provider.sender().address!!, }, ); } diff --git a/blockchain/ton/contracts/attest/scripts/oracle_create_attest_result.ts b/blockchain/ton/contracts/attest/scripts/oracle_create_attest_result.ts index 5876781f..5d405a3a 100644 --- a/blockchain/ton/contracts/attest/scripts/oracle_create_attest_result.ts +++ b/blockchain/ton/contracts/attest/scripts/oracle_create_attest_result.ts @@ -18,6 +18,7 @@ export async function run(provider: NetworkProvider) { }, { $$type: 'AttestTaskResult', + queryId: BigInt("123"), taskId: BigInt("0"), status: "verified", verifiedUrl: "https://ario.laisky.com/alias/attest-verified.json", diff --git a/blockchain/ton/contracts/attest/scripts/oracle_register.ts b/blockchain/ton/contracts/attest/scripts/oracle_register.ts index 1d76e236..5eeaddfb 100644 --- a/blockchain/ton/contracts/attest/scripts/oracle_register.ts +++ b/blockchain/ton/contracts/attest/scripts/oracle_register.ts @@ -14,8 +14,11 @@ export async function run(provider: NetworkProvider) { }, { $$type: "RegisterOracle", + queryId: BigInt("123"), stakeValue: toNano("0.05"), // should bigger than MinimalOracleStakeValue - oracleOwner: provider.sender().address!! + oracleOwner: provider.sender().address!!, + responseDestination: provider.sender().address!!, + manifestUrl: "https://ario.laisky.com/alias/attest-manifest.json", } ); }