Skip to content

Commit

Permalink
New revolut sepolia deploy.
Browse files Browse the repository at this point in the history
  • Loading branch information
bweick committed May 9, 2024
1 parent 0558f85 commit 2892ebf
Show file tree
Hide file tree
Showing 8 changed files with 676 additions and 192 deletions.
32 changes: 22 additions & 10 deletions contracts/deployments/parameters.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,21 +37,27 @@ export const ACCOUNT_TLS_PARAMS = {
"wise": {
"localhost": {
verifierSigningKey: "0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266",
notaryKeyHash: BigNumber.from("113116629262703480258914951290401242193028831780154554089583031844538369800942"),
notaryKeyHash: BigNumber.from("113116629262703480258914951290401242193028831780154554089583031844538369800942").toHexString(),
endpoint: "POST https://wise.com/gateway/v1/payments",
host: "wise.com",
} as TLSParams,
} as EnvironmentTLSParams,
"revolut": {
"localhost": {
verifierSigningKey: "0x166338393593e85bfde8B65358Ec5801A3445D12",
notaryKeyHash: BigNumber.from("113116629262703480258914951290401242193028831780154554089583031844538369800942"),
notaryKeyHash: BigNumber.from("113116629262703480258914951290401242193028831780154554089583031844538369800942").toHexString(),
endpoint: "GET https://app.revolut.com/api/retail/user/current",
host: "app.revolut.com",
} as TLSParams,
"sepolia": {
verifierSigningKey: "0x166338393593e85bfde8B65358Ec5801A3445D12",
notaryKeyHash: BigNumber.from("113116629262703480258914951290401242193028831780154554089583031844538369800942"),
notaryKeyHash: BigNumber.from("113116629262703480258914951290401242193028831780154554089583031844538369800942").toHexString(),
endpoint: "GET https://app.revolut.com/api/retail/user/current",
host: "app.revolut.com",
} as TLSParams,
"base_staging": {
verifierSigningKey: "0x166338393593e85bfde8B65358Ec5801A3445D12",
notaryKeyHash: BigNumber.from("113116629262703480258914951290401242193028831780154554089583031844538369800942").toHexString(),
endpoint: "GET https://app.revolut.com/api/retail/user/current",
host: "app.revolut.com",
} as TLSParams,
Expand All @@ -62,7 +68,7 @@ export const OFFRAMPER_TLS_PARAMS = {
"wise": {
"localhost": {
verifierSigningKey: "0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266",
notaryKeyHash: BigNumber.from("113116629262703480258914951290401242193028831780154554089583031844538369800942"),
notaryKeyHash: BigNumber.from("113116629262703480258914951290401242193028831780154554089583031844538369800942").toHexString(),
endpoint: "GET https://wise.com/gateway/v3/profiles/*/transfers",
host: "wise.com",
} as TLSParams,
Expand All @@ -73,23 +79,29 @@ export const OFFRAMPER_TLS_PARAMS = {
export const SEND_TLS_PARAMS = {
"wise": {
"localhost": {
verifierSigningKey: "", // We don't pass this in for deploys
notaryKeyHash: ZERO, // We don't pass this in for deploys
verifierSigningKey: "", // We don't pass this in for deploys
notaryKeyHash: ZERO.toHexString(), // We don't pass this in for deploys
endpoint: "GET https://wise.com/gateway/v3/profiles/*/transfers",
host: "wise.com",
} as TLSParams,
"base": {} as TLSParams,
} as EnvironmentTLSParams,
"revolut": {
"localhost": {
verifierSigningKey: "", // We don't pass this in for deploys
notaryKeyHash: ZERO, // We don't pass this in for deploys
verifierSigningKey: "", // We don't pass this in for deploys
notaryKeyHash: ZERO.toHexString(), // We don't pass this in for deploys
endpoint: "GET https://app.revolut.com/api/retail/transaction/*",
host: "app.revolut.com",
} as TLSParams,
"sepolia": {
verifierSigningKey: "", // We don't pass this in for deploys
notaryKeyHash: ZERO, // We don't pass this in for deploys
verifierSigningKey: "", // We don't pass this in for deploys
notaryKeyHash: ZERO.toHexString(), // We don't pass this in for deploys
endpoint: "GET https://app.revolut.com/api/retail/transaction/*",
host: "app.revolut.com",
} as TLSParams,
"base_staging": {
verifierSigningKey: "", // We don't pass this in for deploys
notaryKeyHash: ZERO.toHexString(), // We don't pass this in for deploys
endpoint: "GET https://app.revolut.com/api/retail/transaction/*",
host: "app.revolut.com",
} as TLSParams,
Expand Down
100 changes: 71 additions & 29 deletions contracts/deployments/sepolia/RevolutAccountRegistrationProcessor.json

Large diffs are not rendered by default.

101 changes: 53 additions & 48 deletions contracts/deployments/sepolia/RevolutAccountRegistry.json

Large diffs are not rendered by default.

205 changes: 122 additions & 83 deletions contracts/deployments/sepolia/RevolutRamp.json

Large diffs are not rendered by default.

52 changes: 31 additions & 21 deletions contracts/deployments/sepolia/RevolutSendProcessor.json

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion contracts/utils/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export enum PaymentProviders {

export interface TLSParams {
verifierSigningKey: Address;
notaryKeyHash: BigNumber;
notaryKeyHash: string;
endpoint: string;
host: string;
}
Expand Down

0 comments on commit 2892ebf

Please sign in to comment.