Skip to content

Commit f3c824d

Browse files
committed
deploy all contracts to testnet
1 parent 0b3d8d6 commit f3c824d

File tree

6 files changed

+32
-119
lines changed

6 files changed

+32
-119
lines changed

README.md

+15-12
Original file line numberDiff line numberDiff line change
@@ -10,16 +10,19 @@ See [SPECIFICATION.md](./SPECIFICATION.md) for more detail.
1010

1111
```
1212
LST Token: 0x180dC617701A507239659215D19FA142eD3B91A7
13-
BalanceLogicLibrary deployed to 0xAb51f1344a99cA04131B735Fc399bF0840841e72
14-
DelegationLogicLibrary deployed to 0x269eF19C20e2Cd8952ab43082CDCE1b26Ba3719B
15-
Forwarder deployed to 0x050D779Bf93A7b95D27e676EcdAFe255C45e982b
16-
VotingEscrow deployed to 0x8F93391837816D1a6E5282dAFb1aF01D6f18b714
17-
Trig deployed to 0xd66fe3deD9d8af22Ea507B18cF8C263F505bbacd
18-
PerlinNoise deployed to 0x86a24be33e709915a630088E64945936F832B477
19-
VeArtProxy deployed to 0x74086C4Db9A153b23A8E17DB42d92d9932Ec7eF7
20-
MarshallGovernor deployed to 0xa45c391d8e4b603b62Fc277049C8Fd22C93BC85C
21-
EmptyPoolFactory deployed to 0x818FAbFCb09D7F506b937f709754A93d40Cb992D
22-
VotingRewardsFactory deployed to 0x7ed5337943b9B48542E6b9357937A59EfA212AC9
23-
GaugeFactory deployed to 0x12fb1f55a5D6B4b9d7b4cAf8125006Cd29a5b77A
24-
FactoryRegistry deployed to 0xc95e698b2d6b4D675C1AC0683BAf2d00E4893ed0
13+
BalanceLogicLibrary deployed to 0x4aa66de4dD27C9ff172e7ccB29EB051afD242d28
14+
DelegationLogicLibrary deployed to 0x01E70515E0A243bc3A4446C76BeC6a6c1F609Bfc
15+
Forwarder deployed to 0x8C1FC775027bBef80e7B07e127a87b85D4c8731e
16+
VotingEscrow deployed to 0x96dC256Ea343ae8b13999C73562e5D6B457a8501
17+
Trig deployed to 0x3E9E887939344F66434fa0f67c20f80D3C48d661
18+
PerlinNoise deployed to 0x245243f5282D79dec70b5E0e0a8Cba253E27c333
19+
VeArtProxy deployed to 0xD289e0B728FDBC3F6BFda39a1FAda409fe3b6d71
20+
MarshallGovernor deployed to 0xC54A5a8673809b593e12478A1B51AC5372c596a0
21+
EmptyPoolFactory deployed to 0xBEBa61CD08787A01d3e2518975EFe602b0422dCC
22+
VotingRewardsFactory deployed to 0xA1B7853a6a1cbB69DD52f033dAc9625bb241f325
23+
GaugeFactory deployed to 0x454e0Ef916fA03839D0f40de8FaC7f64641C01A6
24+
FactoryRegistry deployed to 0x7d8cC390e8d6B5a06a1357A5EF3059fd23E97e0f
25+
Voter deployed to 0x20FF82B8D1fdb1550c9093ca0685089d2514F8a8
26+
RewardsDistributor deployed to 0x777014eFF4b695b4D5d95A18f6913310579e1EeC
27+
Minter deployed to 0x6d493415fA1a47F0E11932f3E1376722bba1D3d5
2528
```

script/04_deploy_minter.ts

-4
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,6 @@ async function main() {
1313
console.log(`Please provide FACTORY_REGISTRY address`);
1414
return;
1515
}
16-
if (!process.env.FACTORY_REGISTRY) {
17-
console.log(`Please provide FACTORY_REGISTRY address`);
18-
return;
19-
}
2016
if (!process.env.GOVERNOR) {
2117
console.log(`Please provide GOVERNOR address`);
2218
return;

src/types/contracts/VotingEscrow.ts

+7-32
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,6 @@ export interface VotingEscrowInterface extends Interface {
124124
| "delegateBySig"
125125
| "delegates"
126126
| "depositFor"
127-
| "distributor"
128127
| "epoch"
129128
| "forwarder"
130129
| "getApproved"
@@ -153,7 +152,7 @@ export interface VotingEscrowInterface extends Interface {
153152
| "setApprovalForAll"
154153
| "setArtProxy"
155154
| "setTeam"
156-
| "setVoterAndDistributor"
155+
| "setVoter"
157156
| "slopeChanges"
158157
| "split"
159158
| "supply"
@@ -282,10 +281,6 @@ export interface VotingEscrowInterface extends Interface {
282281
functionFragment: "depositFor",
283282
values: [BigNumberish, BigNumberish]
284283
): string;
285-
encodeFunctionData(
286-
functionFragment: "distributor",
287-
values?: undefined
288-
): string;
289284
encodeFunctionData(functionFragment: "epoch", values?: undefined): string;
290285
encodeFunctionData(functionFragment: "forwarder", values?: undefined): string;
291286
encodeFunctionData(
@@ -387,8 +382,8 @@ export interface VotingEscrowInterface extends Interface {
387382
values: [AddressLike]
388383
): string;
389384
encodeFunctionData(
390-
functionFragment: "setVoterAndDistributor",
391-
values: [AddressLike, AddressLike]
385+
functionFragment: "setVoter",
386+
values: [AddressLike]
392387
): string;
393388
encodeFunctionData(
394389
functionFragment: "slopeChanges",
@@ -499,10 +494,6 @@ export interface VotingEscrowInterface extends Interface {
499494
): Result;
500495
decodeFunctionResult(functionFragment: "delegates", data: BytesLike): Result;
501496
decodeFunctionResult(functionFragment: "depositFor", data: BytesLike): Result;
502-
decodeFunctionResult(
503-
functionFragment: "distributor",
504-
data: BytesLike
505-
): Result;
506497
decodeFunctionResult(functionFragment: "epoch", data: BytesLike): Result;
507498
decodeFunctionResult(functionFragment: "forwarder", data: BytesLike): Result;
508499
decodeFunctionResult(
@@ -591,10 +582,7 @@ export interface VotingEscrowInterface extends Interface {
591582
data: BytesLike
592583
): Result;
593584
decodeFunctionResult(functionFragment: "setTeam", data: BytesLike): Result;
594-
decodeFunctionResult(
595-
functionFragment: "setVoterAndDistributor",
596-
data: BytesLike
597-
): Result;
585+
decodeFunctionResult(functionFragment: "setVoter", data: BytesLike): Result;
598586
decodeFunctionResult(
599587
functionFragment: "slopeChanges",
600588
data: BytesLike
@@ -1154,8 +1142,6 @@ export interface VotingEscrow extends BaseContract {
11541142
"payable"
11551143
>;
11561144

1157-
distributor: TypedContractMethod<[], [string], "view">;
1158-
11591145
epoch: TypedContractMethod<[], [bigint], "view">;
11601146

11611147
forwarder: TypedContractMethod<[], [string], "view">;
@@ -1281,11 +1267,7 @@ export interface VotingEscrow extends BaseContract {
12811267

12821268
setTeam: TypedContractMethod<[_team: AddressLike], [void], "nonpayable">;
12831269

1284-
setVoterAndDistributor: TypedContractMethod<
1285-
[_voter: AddressLike, _distributor: AddressLike],
1286-
[void],
1287-
"nonpayable"
1288-
>;
1270+
setVoter: TypedContractMethod<[_voter: AddressLike], [void], "nonpayable">;
12891271

12901272
slopeChanges: TypedContractMethod<[arg0: BigNumberish], [bigint], "view">;
12911273

@@ -1473,9 +1455,6 @@ export interface VotingEscrow extends BaseContract {
14731455
[void],
14741456
"payable"
14751457
>;
1476-
getFunction(
1477-
nameOrSignature: "distributor"
1478-
): TypedContractMethod<[], [string], "view">;
14791458
getFunction(
14801459
nameOrSignature: "epoch"
14811460
): TypedContractMethod<[], [bigint], "view">;
@@ -1614,12 +1593,8 @@ export interface VotingEscrow extends BaseContract {
16141593
nameOrSignature: "setTeam"
16151594
): TypedContractMethod<[_team: AddressLike], [void], "nonpayable">;
16161595
getFunction(
1617-
nameOrSignature: "setVoterAndDistributor"
1618-
): TypedContractMethod<
1619-
[_voter: AddressLike, _distributor: AddressLike],
1620-
[void],
1621-
"nonpayable"
1622-
>;
1596+
nameOrSignature: "setVoter"
1597+
): TypedContractMethod<[_voter: AddressLike], [void], "nonpayable">;
16231598
getFunction(
16241599
nameOrSignature: "slopeChanges"
16251600
): TypedContractMethod<[arg0: BigNumberish], [bigint], "view">;

src/types/contracts/interfaces/IVotingEscrow.ts

+7-32
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,6 @@ export interface IVotingEscrowInterface extends Interface {
120120
| "delegateBySig"
121121
| "delegates"
122122
| "depositFor"
123-
| "distributor"
124123
| "epoch"
125124
| "forwarder"
126125
| "getApproved"
@@ -146,7 +145,7 @@ export interface IVotingEscrowInterface extends Interface {
146145
| "setApprovalForAll"
147146
| "setArtProxy"
148147
| "setTeam"
149-
| "setVoterAndDistributor"
148+
| "setVoter"
150149
| "slopeChanges"
151150
| "split"
152151
| "supply"
@@ -255,10 +254,6 @@ export interface IVotingEscrowInterface extends Interface {
255254
functionFragment: "depositFor",
256255
values: [BigNumberish, BigNumberish]
257256
): string;
258-
encodeFunctionData(
259-
functionFragment: "distributor",
260-
values?: undefined
261-
): string;
262257
encodeFunctionData(functionFragment: "epoch", values?: undefined): string;
263258
encodeFunctionData(functionFragment: "forwarder", values?: undefined): string;
264259
encodeFunctionData(
@@ -348,8 +343,8 @@ export interface IVotingEscrowInterface extends Interface {
348343
values: [AddressLike]
349344
): string;
350345
encodeFunctionData(
351-
functionFragment: "setVoterAndDistributor",
352-
values: [AddressLike, AddressLike]
346+
functionFragment: "setVoter",
347+
values: [AddressLike]
353348
): string;
354349
encodeFunctionData(
355350
functionFragment: "slopeChanges",
@@ -444,10 +439,6 @@ export interface IVotingEscrowInterface extends Interface {
444439
): Result;
445440
decodeFunctionResult(functionFragment: "delegates", data: BytesLike): Result;
446441
decodeFunctionResult(functionFragment: "depositFor", data: BytesLike): Result;
447-
decodeFunctionResult(
448-
functionFragment: "distributor",
449-
data: BytesLike
450-
): Result;
451442
decodeFunctionResult(functionFragment: "epoch", data: BytesLike): Result;
452443
decodeFunctionResult(functionFragment: "forwarder", data: BytesLike): Result;
453444
decodeFunctionResult(
@@ -524,10 +515,7 @@ export interface IVotingEscrowInterface extends Interface {
524515
data: BytesLike
525516
): Result;
526517
decodeFunctionResult(functionFragment: "setTeam", data: BytesLike): Result;
527-
decodeFunctionResult(
528-
functionFragment: "setVoterAndDistributor",
529-
data: BytesLike
530-
): Result;
518+
decodeFunctionResult(functionFragment: "setVoter", data: BytesLike): Result;
531519
decodeFunctionResult(
532520
functionFragment: "slopeChanges",
533521
data: BytesLike
@@ -1023,8 +1011,6 @@ export interface IVotingEscrow extends BaseContract {
10231011
"payable"
10241012
>;
10251013

1026-
distributor: TypedContractMethod<[], [string], "view">;
1027-
10281014
epoch: TypedContractMethod<[], [bigint], "view">;
10291015

10301016
forwarder: TypedContractMethod<[], [string], "view">;
@@ -1140,11 +1126,7 @@ export interface IVotingEscrow extends BaseContract {
11401126

11411127
setTeam: TypedContractMethod<[_team: AddressLike], [void], "nonpayable">;
11421128

1143-
setVoterAndDistributor: TypedContractMethod<
1144-
[_voter: AddressLike, _distributor: AddressLike],
1145-
[void],
1146-
"nonpayable"
1147-
>;
1129+
setVoter: TypedContractMethod<[_voter: AddressLike], [void], "nonpayable">;
11481130

11491131
slopeChanges: TypedContractMethod<
11501132
[_timestamp: BigNumberish],
@@ -1324,9 +1306,6 @@ export interface IVotingEscrow extends BaseContract {
13241306
[void],
13251307
"payable"
13261308
>;
1327-
getFunction(
1328-
nameOrSignature: "distributor"
1329-
): TypedContractMethod<[], [string], "view">;
13301309
getFunction(
13311310
nameOrSignature: "epoch"
13321311
): TypedContractMethod<[], [bigint], "view">;
@@ -1456,12 +1435,8 @@ export interface IVotingEscrow extends BaseContract {
14561435
nameOrSignature: "setTeam"
14571436
): TypedContractMethod<[_team: AddressLike], [void], "nonpayable">;
14581437
getFunction(
1459-
nameOrSignature: "setVoterAndDistributor"
1460-
): TypedContractMethod<
1461-
[_voter: AddressLike, _distributor: AddressLike],
1462-
[void],
1463-
"nonpayable"
1464-
>;
1438+
nameOrSignature: "setVoter"
1439+
): TypedContractMethod<[_voter: AddressLike], [void], "nonpayable">;
14651440
getFunction(
14661441
nameOrSignature: "slopeChanges"
14671442
): TypedContractMethod<[_timestamp: BigNumberish], [bigint], "view">;

src/types/factories/contracts/VotingEscrow__factory.ts

+2-20
Large diffs are not rendered by default.

src/types/factories/contracts/interfaces/IVotingEscrow__factory.ts

+1-19
Original file line numberDiff line numberDiff line change
@@ -996,19 +996,6 @@ const _abi = [
996996
stateMutability: "payable",
997997
type: "function",
998998
},
999-
{
1000-
inputs: [],
1001-
name: "distributor",
1002-
outputs: [
1003-
{
1004-
internalType: "address",
1005-
name: "",
1006-
type: "address",
1007-
},
1008-
],
1009-
stateMutability: "view",
1010-
type: "function",
1011-
},
1012999
{
10131000
inputs: [],
10141001
name: "epoch",
@@ -1527,13 +1514,8 @@ const _abi = [
15271514
name: "_voter",
15281515
type: "address",
15291516
},
1530-
{
1531-
internalType: "address",
1532-
name: "_distributor",
1533-
type: "address",
1534-
},
15351517
],
1536-
name: "setVoterAndDistributor",
1518+
name: "setVoter",
15371519
outputs: [],
15381520
stateMutability: "nonpayable",
15391521
type: "function",

0 commit comments

Comments
 (0)