Skip to content

Commit

Permalink
New eth deployments for DestinationUtility contract (oncyberio#27)
Browse files Browse the repository at this point in the history
* New eth deployments for DestinationUtility contract

* new deployment with prettier
  • Loading branch information
rayanoncyber authored Dec 23, 2021
1 parent 53f3925 commit 98b9db2
Show file tree
Hide file tree
Showing 26 changed files with 2,902 additions and 1,500 deletions.

Large diffs are not rendered by default.

2,536 changes: 2,420 additions & 116 deletions packages/contracts/deployments/ethereum/DiamondCyberDestinationUtilityFactory.json

Large diffs are not rendered by default.

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion packages/contracts/hardhat.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ const config: HardhatUserConfig = {
url:
process.env.ALCHEMY_URL ||
'https://mainnet.infura.io/v3/b89e58ca51184cb783845c58340629c4',
gasPrice: parseUnits('59', 'gwei').toNumber(),
gasPrice: parseUnits('60', 'gwei').toNumber(),
accounts: [process.env.MAINNET_FACTORY_PRIVATE_KEY || defaultPrivateKey],
},
},
Expand Down
2 changes: 1 addition & 1 deletion packages/contracts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"deploy:rinkeby": "hardhat --network rinkeby deploy",
"deploy:ethereum": "hardhat --network ethereum deploy",
"verify:rinkeby": "hardhat etherscan-verify --network rinkeby --solc-input",
"verify:ethereum": "hardhat etherscan-verify --network ethereum",
"verify:ethereum": "hardhat etherscan-verify --network ethereum --solc-input",
"scripts:createDrop:rinkeby": "hardhat run scripts/createDrop.ts --network rinkeby",
"scripts:mint:rinkeby": "hardhat run scripts/mint.ts --network rinkeby",
"scripts:createDrop:localhost": "hardhat run scripts/createDrop.ts --network localhost",
Expand Down
34 changes: 0 additions & 34 deletions packages/contracts/typechain-types/BaseRelayRecipient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,23 +16,14 @@ import { TypedEventFilter, TypedEvent, TypedListener, OnEvent } from "./common";

export interface BaseRelayRecipientInterface extends utils.Interface {
functions: {
"c_0x1c93e179(bytes32)": FunctionFragment;
"isTrustedForwarder(address)": FunctionFragment;
};

encodeFunctionData(
functionFragment: "c_0x1c93e179",
values: [BytesLike]
): string;
encodeFunctionData(
functionFragment: "isTrustedForwarder",
values: [string]
): string;

decodeFunctionResult(
functionFragment: "c_0x1c93e179",
data: BytesLike
): Result;
decodeFunctionResult(
functionFragment: "isTrustedForwarder",
data: BytesLike
Expand Down Expand Up @@ -68,33 +59,18 @@ export interface BaseRelayRecipient extends BaseContract {
removeListener: OnEvent<this>;

functions: {
c_0x1c93e179(
c__0x1c93e179: BytesLike,
overrides?: CallOverrides
): Promise<[void]>;

isTrustedForwarder(
forwarder: string,
overrides?: CallOverrides
): Promise<[boolean]>;
};

c_0x1c93e179(
c__0x1c93e179: BytesLike,
overrides?: CallOverrides
): Promise<void>;

isTrustedForwarder(
forwarder: string,
overrides?: CallOverrides
): Promise<boolean>;

callStatic: {
c_0x1c93e179(
c__0x1c93e179: BytesLike,
overrides?: CallOverrides
): Promise<void>;

isTrustedForwarder(
forwarder: string,
overrides?: CallOverrides
Expand All @@ -104,23 +80,13 @@ export interface BaseRelayRecipient extends BaseContract {
filters: {};

estimateGas: {
c_0x1c93e179(
c__0x1c93e179: BytesLike,
overrides?: CallOverrides
): Promise<BigNumber>;

isTrustedForwarder(
forwarder: string,
overrides?: CallOverrides
): Promise<BigNumber>;
};

populateTransaction: {
c_0x1c93e179(
c__0x1c93e179: BytesLike,
overrides?: CallOverrides
): Promise<PopulatedTransaction>;

isTrustedForwarder(
forwarder: string,
overrides?: CallOverrides
Expand Down
170 changes: 0 additions & 170 deletions packages/contracts/typechain-types/CyberDestinationFactoryFacet.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,6 @@ export interface CyberDestinationFactoryFacetInterface extends utils.Interface {
"accountsByToken(uint256)": FunctionFragment;
"balanceOf(address,uint256)": FunctionFragment;
"balanceOfBatch(address[],uint256[])": FunctionFragment;
"c_0x07d08ee9(bytes32)": FunctionFragment;
"c_0x1c93e179(bytes32)": FunctionFragment;
"c_0x63bd0478(bytes32)": FunctionFragment;
"c_0xc3324fa2(bytes32)": FunctionFragment;
"c_0xfbe62a3d(bytes32)": FunctionFragment;
"createDrop(string,uint256,uint256,uint256,uint256,uint256,uint256,uint256,bytes)": FunctionFragment;
"dropMintCounter(uint256,address)": FunctionFragment;
"getDrop(uint256)": FunctionFragment;
Expand Down Expand Up @@ -62,26 +57,6 @@ export interface CyberDestinationFactoryFacetInterface extends utils.Interface {
functionFragment: "balanceOfBatch",
values: [string[], BigNumberish[]]
): string;
encodeFunctionData(
functionFragment: "c_0x07d08ee9",
values: [BytesLike]
): string;
encodeFunctionData(
functionFragment: "c_0x1c93e179",
values: [BytesLike]
): string;
encodeFunctionData(
functionFragment: "c_0x63bd0478",
values: [BytesLike]
): string;
encodeFunctionData(
functionFragment: "c_0xc3324fa2",
values: [BytesLike]
): string;
encodeFunctionData(
functionFragment: "c_0xfbe62a3d",
values: [BytesLike]
): string;
encodeFunctionData(
functionFragment: "createDrop",
values: [
Expand Down Expand Up @@ -176,26 +151,6 @@ export interface CyberDestinationFactoryFacetInterface extends utils.Interface {
functionFragment: "balanceOfBatch",
data: BytesLike
): Result;
decodeFunctionResult(
functionFragment: "c_0x07d08ee9",
data: BytesLike
): Result;
decodeFunctionResult(
functionFragment: "c_0x1c93e179",
data: BytesLike
): Result;
decodeFunctionResult(
functionFragment: "c_0x63bd0478",
data: BytesLike
): Result;
decodeFunctionResult(
functionFragment: "c_0xc3324fa2",
data: BytesLike
): Result;
decodeFunctionResult(
functionFragment: "c_0xfbe62a3d",
data: BytesLike
): Result;
decodeFunctionResult(functionFragment: "createDrop", data: BytesLike): Result;
decodeFunctionResult(
functionFragment: "dropMintCounter",
Expand Down Expand Up @@ -371,31 +326,6 @@ export interface CyberDestinationFactoryFacet extends BaseContract {
overrides?: CallOverrides
): Promise<[BigNumber[]]>;

c_0x07d08ee9(
c__0x07d08ee9: BytesLike,
overrides?: CallOverrides
): Promise<[void]>;

c_0x1c93e179(
c__0x1c93e179: BytesLike,
overrides?: CallOverrides
): Promise<[void]>;

c_0x63bd0478(
c__0x63bd0478: BytesLike,
overrides?: CallOverrides
): Promise<[void]>;

c_0xc3324fa2(
c__0xc3324fa2: BytesLike,
overrides?: CallOverrides
): Promise<[void]>;

c_0xfbe62a3d(
c__0xfbe62a3d: BytesLike,
overrides?: CallOverrides
): Promise<[void]>;

createDrop(
_uri: string,
_timeStart: BigNumberish,
Expand Down Expand Up @@ -557,31 +487,6 @@ export interface CyberDestinationFactoryFacet extends BaseContract {
overrides?: CallOverrides
): Promise<BigNumber[]>;

c_0x07d08ee9(
c__0x07d08ee9: BytesLike,
overrides?: CallOverrides
): Promise<void>;

c_0x1c93e179(
c__0x1c93e179: BytesLike,
overrides?: CallOverrides
): Promise<void>;

c_0x63bd0478(
c__0x63bd0478: BytesLike,
overrides?: CallOverrides
): Promise<void>;

c_0xc3324fa2(
c__0xc3324fa2: BytesLike,
overrides?: CallOverrides
): Promise<void>;

c_0xfbe62a3d(
c__0xfbe62a3d: BytesLike,
overrides?: CallOverrides
): Promise<void>;

createDrop(
_uri: string,
_timeStart: BigNumberish,
Expand Down Expand Up @@ -737,31 +642,6 @@ export interface CyberDestinationFactoryFacet extends BaseContract {
overrides?: CallOverrides
): Promise<BigNumber[]>;

c_0x07d08ee9(
c__0x07d08ee9: BytesLike,
overrides?: CallOverrides
): Promise<void>;

c_0x1c93e179(
c__0x1c93e179: BytesLike,
overrides?: CallOverrides
): Promise<void>;

c_0x63bd0478(
c__0x63bd0478: BytesLike,
overrides?: CallOverrides
): Promise<void>;

c_0xc3324fa2(
c__0xc3324fa2: BytesLike,
overrides?: CallOverrides
): Promise<void>;

c_0xfbe62a3d(
c__0xfbe62a3d: BytesLike,
overrides?: CallOverrides
): Promise<void>;

createDrop(
_uri: string,
_timeStart: BigNumberish,
Expand Down Expand Up @@ -990,31 +870,6 @@ export interface CyberDestinationFactoryFacet extends BaseContract {
overrides?: CallOverrides
): Promise<BigNumber>;

c_0x07d08ee9(
c__0x07d08ee9: BytesLike,
overrides?: CallOverrides
): Promise<BigNumber>;

c_0x1c93e179(
c__0x1c93e179: BytesLike,
overrides?: CallOverrides
): Promise<BigNumber>;

c_0x63bd0478(
c__0x63bd0478: BytesLike,
overrides?: CallOverrides
): Promise<BigNumber>;

c_0xc3324fa2(
c__0xc3324fa2: BytesLike,
overrides?: CallOverrides
): Promise<BigNumber>;

c_0xfbe62a3d(
c__0xfbe62a3d: BytesLike,
overrides?: CallOverrides
): Promise<BigNumber>;

createDrop(
_uri: string,
_timeStart: BigNumberish,
Expand Down Expand Up @@ -1152,31 +1007,6 @@ export interface CyberDestinationFactoryFacet extends BaseContract {
overrides?: CallOverrides
): Promise<PopulatedTransaction>;

c_0x07d08ee9(
c__0x07d08ee9: BytesLike,
overrides?: CallOverrides
): Promise<PopulatedTransaction>;

c_0x1c93e179(
c__0x1c93e179: BytesLike,
overrides?: CallOverrides
): Promise<PopulatedTransaction>;

c_0x63bd0478(
c__0x63bd0478: BytesLike,
overrides?: CallOverrides
): Promise<PopulatedTransaction>;

c_0xc3324fa2(
c__0xc3324fa2: BytesLike,
overrides?: CallOverrides
): Promise<PopulatedTransaction>;

c_0xfbe62a3d(
c__0xfbe62a3d: BytesLike,
overrides?: CallOverrides
): Promise<PopulatedTransaction>;

createDrop(
_uri: string,
_timeStart: BigNumberish,
Expand Down
Loading

0 comments on commit 98b9db2

Please sign in to comment.