Skip to content

Commit 341f0ff

Browse files
authored
chore: update FilBeamOperator contract address (#407)
* chore: update FilBeamOperator calibnet contract address * chore: add mainnet contract address * chore: add mainnet configuration * chore: update filbeam contract address
1 parent 9a5a701 commit 341f0ff

File tree

4 files changed

+12
-12
lines changed

4 files changed

+12
-12
lines changed

payment-settler/worker-configuration.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/* eslint-disable */
2-
// Generated by Wrangler by running `wrangler types` (hash: 76102f788b262849f1cf19b9eec21088)
2+
// Generated by Wrangler by running `wrangler types` (hash: 1891160663621fda4d214f8a371ceab9)
33
// Runtime types generated with [email protected] 2024-12-05 nodejs_compat
44
declare namespace Cloudflare {
55
interface GlobalProps {
@@ -8,7 +8,7 @@ declare namespace Cloudflare {
88
interface Env {
99
ENVIRONMENT: "dev" | "calibration" | "mainnet";
1010
RPC_URL: "https://api.calibration.node.glif.io/" | "https://api.node.glif.io/";
11-
FILBEAM_CONTRACT_ADDRESS: "0x96e13bC98fA0cdf01b07985c804960117EAB76E8" | "0x";
11+
FILBEAM_CONTRACT_ADDRESS: "0x0000000000000000000000000000000000000000" | "0x50aBAe0B3D37A2fA4D3a7f62FbD49F9a566AeB95" | "0x010ca67040e80c8FdBF679680D09b94e2A9ac6B8";
1212
DEFAULT_LOCKUP_PERIOD_DAYS: 30;
1313
FILECOIN_GENESIS_BLOCK_TIMESTAMP_MS: 1667326380000 | 1598306400000;
1414
FILBEAM_CONTROLLER_PRIVATE_KEY: "0xabc";

payment-settler/wrangler.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ class_name = "TransactionMonitorWorkflow"
3030
[env.dev.vars]
3131
ENVIRONMENT = "dev"
3232
RPC_URL = "https://api.calibration.node.glif.io/"
33-
FILBEAM_CONTRACT_ADDRESS = "0x96e13bC98fA0cdf01b07985c804960117EAB76E8"
33+
FILBEAM_CONTRACT_ADDRESS = "0x0000000000000000000000000000000000000000"
3434
DEFAULT_LOCKUP_PERIOD_DAYS = 30 # 30 days lockup period
3535
FILECOIN_GENESIS_BLOCK_TIMESTAMP_MS = 1667326380000 # Calibration network genesis timestamp in milliseconds
3636

@@ -56,7 +56,7 @@ class_name = "TransactionMonitorWorkflow"
5656
[env.calibration.vars]
5757
ENVIRONMENT = "calibration"
5858
RPC_URL = "https://api.calibration.node.glif.io/"
59-
FILBEAM_CONTRACT_ADDRESS = "0x"
59+
FILBEAM_CONTRACT_ADDRESS = "0x50aBAe0B3D37A2fA4D3a7f62FbD49F9a566AeB95"
6060
DEFAULT_LOCKUP_PERIOD_DAYS = 30 # 30 days lockup period
6161
FILECOIN_GENESIS_BLOCK_TIMESTAMP_MS = 1667326380000 # Calibration network genesis timestamp in milliseconds
6262
FILBEAM_CONTROLLER_PRIVATE_KEY = "0xabc"
@@ -87,7 +87,7 @@ class_name = "TransactionMonitorWorkflow"
8787
[env.mainnet.vars]
8888
ENVIRONMENT = "mainnet"
8989
RPC_URL = "https://api.node.glif.io/"
90-
FILBEAM_CONTRACT_ADDRESS = "0x" # TODO
90+
FILBEAM_CONTRACT_ADDRESS = "0x010ca67040e80c8FdBF679680D09b94e2A9ac6B8"
9191
DEFAULT_LOCKUP_PERIOD_DAYS = 30 # 30 days lockup period
9292
FILECOIN_GENESIS_BLOCK_TIMESTAMP_MS = 1598306400000 # Mainnet genesis timestamp in milliseconds
9393

usage-reporter/worker-configuration.d.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/* eslint-disable */
2-
// Generated by Wrangler by running `wrangler types` (hash: 7e0f4963c161312f073c7180b0048762)
2+
// Generated by Wrangler by running `wrangler types` (hash: cdef46f57359e0b45a3361a406430f13)
33
// Runtime types generated with [email protected] 2024-12-05 nodejs_compat
44
declare namespace Cloudflare {
55
interface GlobalProps {
@@ -8,12 +8,12 @@ declare namespace Cloudflare {
88
interface Env {
99
ENVIRONMENT: "dev" | "calibration" | "mainnet";
1010
RPC_URL: "https://api.calibration.node.glif.io/" | "https://api.node.glif.io/";
11-
FILBEAM_CONTRACT_ADDRESS: "0x96e13bC98fA0cdf01b07985c804960117EAB76E8" | "0x";
11+
FILBEAM_CONTRACT_ADDRESS: "0x0000000000000000000000000000000000000000" | "0x50aBAe0B3D37A2fA4D3a7f62FbD49F9a566AeB95" | "0x010ca67040e80c8FdBF679680D09b94e2A9ac6B8";
1212
FILECOIN_GENESIS_BLOCK_TIMESTAMP_MS: "1667326380000" | "1598306400000";
1313
DB: D1Database;
14-
TRANSACTION_QUEUE: Queue;
15-
TRANSACTION_MONITOR_WORKFLOW: Workflow;
14+
TRANSACTION_QUEUE: Queue;
1615
FILBEAM_CONTROLLER_PRIVATE_KEY: string;
16+
TRANSACTION_MONITOR_WORKFLOW: Workflow<Parameters<import("./bin/usage-reporter").TransactionMonitorWorkflow['run']>[0]['payload']>;
1717
}
1818
}
1919
interface Env extends Cloudflare.Env {}

usage-reporter/wrangler.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ database_id = "8cc92155-16f6-426a-b782-2965e0daf100"
1616
[env.dev.vars]
1717
ENVIRONMENT = "dev"
1818
RPC_URL = "https://api.calibration.node.glif.io/"
19-
FILBEAM_CONTRACT_ADDRESS = "0x96e13bC98fA0cdf01b07985c804960117EAB76E8"
19+
FILBEAM_CONTRACT_ADDRESS = "0x0000000000000000000000000000000000000000"
2020
FILECOIN_GENESIS_BLOCK_TIMESTAMP_MS = "1667326380000"
2121

2222
[[env.dev.d1_databases]]
@@ -27,7 +27,7 @@ database_id = "8cc92155-16f6-426a-b782-2965e0daf101"
2727
[env.calibration.vars]
2828
ENVIRONMENT = "calibration"
2929
RPC_URL = "https://api.calibration.node.glif.io/"
30-
FILBEAM_CONTRACT_ADDRESS = "0x"
30+
FILBEAM_CONTRACT_ADDRESS = "0x50aBAe0B3D37A2fA4D3a7f62FbD49F9a566AeB95"
3131
FILECOIN_GENESIS_BLOCK_TIMESTAMP_MS = "1667326380000"
3232

3333
[[env.calibration.d1_databases]]
@@ -42,7 +42,7 @@ database_id = "78f15bbb-391f-4797-9016-a6cb86c0b9b8"
4242
[env.mainnet.vars]
4343
ENVIRONMENT = "mainnet"
4444
RPC_URL = "https://api.node.glif.io/"
45-
FILBEAM_CONTRACT_ADDRESS = "0x" # TODO
45+
FILBEAM_CONTRACT_ADDRESS = "0x010ca67040e80c8FdBF679680D09b94e2A9ac6B8"
4646
FILECOIN_GENESIS_BLOCK_TIMESTAMP_MS = "1598306400000"
4747

4848
[[env.mainnet.d1_databases]]

0 commit comments

Comments
 (0)