Skip to content

Commit

Permalink
chore: small mapping adjustments
Browse files Browse the repository at this point in the history
  • Loading branch information
kemuru committed Jun 25, 2024
1 parent b45202a commit 7949f22
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions contracts/deploy/00-escrow.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ const disputeTemplate = `{
"policyURI": "/ipfs/XxxxxXXX/escrow-general-policy.pdf",
"attachment": {
"label": "Transaction Terms",
"uri": "{{extraDescriptionUri}}"
"uri": "{{{extraDescriptionUri}}}"
},
"frontendUrl": "https://escrow-v2.kleros.builders/#/transactions/{{externalDisputeID}}",
"arbitrableChainID": "421614",
Expand All @@ -33,7 +33,7 @@ const disputeTemplate = `{
"amount": "{{amount}}",
"token": "{{token}}",
"deadline": "{{deadline}}",
"transactionUri": "{{transactionUri}}"
"transactionUri": "{{{transactionUri}}}"
},
"category": "Escrow",
"specification": "KIPXXX",
Expand Down Expand Up @@ -66,7 +66,7 @@ const mapping = `[

// General court, 3 jurors
const extraData =
"0x00000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000003";
"0x00000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000003";

const deploy: DeployFunction = async (hre: HardhatRuntimeEnvironment) => {
const { deployments, getNamedAccounts, getChainId } = hre;
Expand All @@ -81,7 +81,7 @@ const deploy: DeployFunction = async (hre: HardhatRuntimeEnvironment) => {
const disputeTemplateRegistry = await deployments.get("DisputeTemplateRegistry");
const feeTimeout = 600; // 10 minutes
const settlementTimeout = 600; // 10 minutes

await deploy("EscrowUniversal", {
from: deployer,
args: [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ const DepositPaymentButton: React.FC = () => {
"policyURI": "/ipfs/XxxxxXXX/escrow-general-policy.pdf",
"attachment": {
"label": "Transaction Terms",
"uri": "{{extraDescriptionUri}}"
"uri": "{{{extraDescriptionUri}}}"
},
"frontendUrl": "https://escrow-v2.kleros.builders/#/transactions/{{externalDisputeID}}",
"arbitrableChainID": "421614",
Expand All @@ -105,7 +105,7 @@ const DepositPaymentButton: React.FC = () => {
"amount": "{{amount}}",
"token": "{{token}}",
"deadline": "{{deadline}}",
"transactionUri": "{{transactionUri}}"
"transactionUri": "{{{transactionUri}}}"
},
"category": "Escrow",
"specification": "KIPXXX",
Expand Down

0 comments on commit 7949f22

Please sign in to comment.