Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@opengsn/contracts

Package Overview
Dependencies
Maintainers
2
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@opengsn/contracts - npm Package Compare versions

Comparing version 3.0.0-beta.1 to 3.0.0-beta.2

src/test/TestWrappedNativeToken.sol

11

package.json
{
"name": "@opengsn/contracts",
"license": "GPL-3.0-only",
"version": "3.0.0-beta.1",
"version": "3.0.0-beta.2",
"main": "types/truffle-contracts/index.d.ts",

@@ -23,10 +23,13 @@ "scripts": {

"dependencies": {
"@openzeppelin/contracts": "^4.2.0"
"@openzeppelin/contracts": "^4.2.0",
"web3-eth-contract": "^1.7.4"
},
"devDependencies": {
"bn.js": "^5.2.1",
"solc-0.8": "npm:solc@0.8.11",
"solhint": "^3.3.2",
"solidity-docgen": "^0.5.16"
"solidity-docgen": "^0.5.16",
"ts-node": "8.6.2"
},
"gitHead": "78fd9835d76f8e9c5289cf7b5fa268496797aa4e"
"gitHead": "c35e470daff0e9aea49bbb6a67d31a14d7fccac9"
}

@@ -384,2 +384,3 @@ /* Autogenerated file. Do not edit manually. */

(
domainSeparatorName: string,
relayRequest: {

@@ -419,2 +420,3 @@ request: {

call(
domainSeparatorName: string,
relayRequest: {

@@ -454,2 +456,3 @@ request: {

sendTransaction(
domainSeparatorName: string,
relayRequest: {

@@ -489,2 +492,3 @@ request: {

estimateGas(
domainSeparatorName: string,
relayRequest: {

@@ -593,2 +597,3 @@ request: {

(
domainSeparatorName: string,
maxAcceptanceBudget: number | BN | string,

@@ -621,2 +626,3 @@ relayRequest: {

call(
domainSeparatorName: string,
maxAcceptanceBudget: number | BN | string,

@@ -649,2 +655,3 @@ relayRequest: {

sendTransaction(
domainSeparatorName: string,
maxAcceptanceBudget: number | BN | string,

@@ -677,2 +684,3 @@ relayRequest: {

estimateGas(
domainSeparatorName: string,
maxAcceptanceBudget: number | BN | string,

@@ -1096,2 +1104,3 @@ relayRequest: {

(
domainSeparatorName: string,
relayRequest: {

@@ -1131,2 +1140,3 @@ request: {

call(
domainSeparatorName: string,
relayRequest: {

@@ -1166,2 +1176,3 @@ request: {

sendTransaction(
domainSeparatorName: string,
relayRequest: {

@@ -1201,2 +1212,3 @@ request: {

estimateGas(
domainSeparatorName: string,
relayRequest: {

@@ -1305,2 +1317,3 @@ request: {

(
domainSeparatorName: string,
maxAcceptanceBudget: number | BN | string,

@@ -1333,2 +1346,3 @@ relayRequest: {

call(
domainSeparatorName: string,
maxAcceptanceBudget: number | BN | string,

@@ -1361,2 +1375,3 @@ relayRequest: {

sendTransaction(
domainSeparatorName: string,
maxAcceptanceBudget: number | BN | string,

@@ -1389,2 +1404,3 @@ relayRequest: {

estimateGas(
domainSeparatorName: string,
maxAcceptanceBudget: number | BN | string,

@@ -1391,0 +1407,0 @@ relayRequest: {

@@ -17,2 +17,3 @@ /* Autogenerated file. Do not edit manually. */

import { IERC20MetadataContract } from "./IERC20Metadata";
import { IERC20PermitContract } from "./IERC20Permit";
import { IERC20TokenContract } from "./IERC20Token";

@@ -51,3 +52,3 @@ import { IERC2771RecipientContract } from "./IERC2771Recipient";

import { TestUtilContract } from "./TestUtil";
import { WrappedEthTokenContract } from "./WrappedEthToken";
import { TestWrappedNativeTokenContract } from "./TestWrappedNativeToken";

@@ -69,2 +70,3 @@ declare global {

require(name: "IERC20Metadata"): IERC20MetadataContract;
require(name: "IERC20Permit"): IERC20PermitContract;
require(name: "IERC20Token"): IERC20TokenContract;

@@ -119,3 +121,3 @@ require(name: "IERC2771Recipient"): IERC2771RecipientContract;

require(name: "TestUtil"): TestUtilContract;
require(name: "WrappedEthToken"): WrappedEthTokenContract;
require(name: "TestWrappedNativeToken"): TestWrappedNativeTokenContract;
}

@@ -149,2 +151,3 @@ }

} from "./IERC20Metadata";
export { IERC20PermitContract, IERC20PermitInstance } from "./IERC20Permit";
export { IERC20TokenContract, IERC20TokenInstance } from "./IERC20Token";

@@ -232,4 +235,4 @@ export {

export {
WrappedEthTokenContract,
WrappedEthTokenInstance,
} from "./WrappedEthToken";
TestWrappedNativeTokenContract,
TestWrappedNativeTokenInstance,
} from "./TestWrappedNativeToken";

@@ -298,2 +298,3 @@ /* Autogenerated file. Do not edit manually. */

(
domainSeparatorName: string,
maxAcceptanceBudget: number | BN | string,

@@ -326,2 +327,3 @@ relayRequest: {

call(
domainSeparatorName: string,
maxAcceptanceBudget: number | BN | string,

@@ -354,2 +356,3 @@ relayRequest: {

sendTransaction(
domainSeparatorName: string,
maxAcceptanceBudget: number | BN | string,

@@ -382,2 +385,3 @@ relayRequest: {

estimateGas(
domainSeparatorName: string,
maxAcceptanceBudget: number | BN | string,

@@ -820,2 +824,3 @@ relayRequest: {

(
domainSeparatorName: string,
maxAcceptanceBudget: number | BN | string,

@@ -848,2 +853,3 @@ relayRequest: {

call(
domainSeparatorName: string,
maxAcceptanceBudget: number | BN | string,

@@ -876,2 +882,3 @@ relayRequest: {

sendTransaction(
domainSeparatorName: string,
maxAcceptanceBudget: number | BN | string,

@@ -904,2 +911,3 @@ relayRequest: {

estimateGas(
domainSeparatorName: string,
maxAcceptanceBudget: number | BN | string,

@@ -906,0 +914,0 @@ relayRequest: {

@@ -526,2 +526,3 @@ /* Autogenerated file. Do not edit manually. */

(
domainSeparatorName: string,
maxAcceptanceBudget: number | BN | string,

@@ -554,2 +555,3 @@ relayRequest: {

call(
domainSeparatorName: string,
maxAcceptanceBudget: number | BN | string,

@@ -582,2 +584,3 @@ relayRequest: {

sendTransaction(
domainSeparatorName: string,
maxAcceptanceBudget: number | BN | string,

@@ -610,2 +613,3 @@ relayRequest: {

estimateGas(
domainSeparatorName: string,
maxAcceptanceBudget: number | BN | string,

@@ -641,2 +645,3 @@ relayRequest: {

(
domainSeparatorName: string,
relayRequest: {

@@ -676,2 +681,3 @@ request: {

call(
domainSeparatorName: string,
relayRequest: {

@@ -711,2 +717,3 @@ request: {

sendTransaction(
domainSeparatorName: string,
relayRequest: {

@@ -746,2 +753,3 @@ request: {

estimateGas(
domainSeparatorName: string,
relayRequest: {

@@ -1229,2 +1237,3 @@ request: {

(
domainSeparatorName: string,
maxAcceptanceBudget: number | BN | string,

@@ -1257,2 +1266,3 @@ relayRequest: {

call(
domainSeparatorName: string,
maxAcceptanceBudget: number | BN | string,

@@ -1285,2 +1295,3 @@ relayRequest: {

sendTransaction(
domainSeparatorName: string,
maxAcceptanceBudget: number | BN | string,

@@ -1313,2 +1324,3 @@ relayRequest: {

estimateGas(
domainSeparatorName: string,
maxAcceptanceBudget: number | BN | string,

@@ -1344,2 +1356,3 @@ relayRequest: {

(
domainSeparatorName: string,
relayRequest: {

@@ -1379,2 +1392,3 @@ request: {

call(
domainSeparatorName: string,
relayRequest: {

@@ -1414,2 +1428,3 @@ request: {

sendTransaction(
domainSeparatorName: string,
relayRequest: {

@@ -1449,2 +1464,3 @@ request: {

estimateGas(
domainSeparatorName: string,
relayRequest: {

@@ -1451,0 +1467,0 @@ request: {

@@ -371,2 +371,3 @@ /* Autogenerated file. Do not edit manually. */

(
domainSeparatorName: string,
relayRequest: {

@@ -406,2 +407,3 @@ request: {

call(
domainSeparatorName: string,
relayRequest: {

@@ -441,2 +443,3 @@ request: {

sendTransaction(
domainSeparatorName: string,
relayRequest: {

@@ -476,2 +479,3 @@ request: {

estimateGas(
domainSeparatorName: string,
relayRequest: {

@@ -580,2 +584,3 @@ request: {

(
domainSeparatorName: string,
maxAcceptanceBudget: number | BN | string,

@@ -608,2 +613,3 @@ relayRequest: {

call(
domainSeparatorName: string,
maxAcceptanceBudget: number | BN | string,

@@ -636,2 +642,3 @@ relayRequest: {

sendTransaction(
domainSeparatorName: string,
maxAcceptanceBudget: number | BN | string,

@@ -664,2 +671,3 @@ relayRequest: {

estimateGas(
domainSeparatorName: string,
maxAcceptanceBudget: number | BN | string,

@@ -1071,2 +1079,3 @@ relayRequest: {

(
domainSeparatorName: string,
relayRequest: {

@@ -1106,2 +1115,3 @@ request: {

call(
domainSeparatorName: string,
relayRequest: {

@@ -1141,2 +1151,3 @@ request: {

sendTransaction(
domainSeparatorName: string,
relayRequest: {

@@ -1176,2 +1187,3 @@ request: {

estimateGas(
domainSeparatorName: string,
relayRequest: {

@@ -1280,2 +1292,3 @@ request: {

(
domainSeparatorName: string,
maxAcceptanceBudget: number | BN | string,

@@ -1308,2 +1321,3 @@ relayRequest: {

call(
domainSeparatorName: string,
maxAcceptanceBudget: number | BN | string,

@@ -1336,2 +1350,3 @@ relayRequest: {

sendTransaction(
domainSeparatorName: string,
maxAcceptanceBudget: number | BN | string,

@@ -1364,2 +1379,3 @@ relayRequest: {

estimateGas(
domainSeparatorName: string,
maxAcceptanceBudget: number | BN | string,

@@ -1366,0 +1382,0 @@ relayRequest: {

@@ -19,38 +19,6 @@ /* Autogenerated file. Do not edit manually. */

extends Truffle.ContractInstance {
dummyRelayCall(
arg0: number | BN | string,
relayRequest: {
request: {
from: string;
to: string;
value: number | BN | string;
gas: number | BN | string;
nonce: number | BN | string;
data: string;
validUntilTime: number | BN | string;
};
relayData: {
maxFeePerGas: number | BN | string;
maxPriorityFeePerGas: number | BN | string;
transactionCalldataGasUsed: number | BN | string;
relayWorker: string;
paymaster: string;
forwarder: string;
paymasterData: string;
clientId: number | BN | string;
};
},
signature: string,
approvalData: string,
txDetails?: Truffle.TransactionDetails
): Promise<void>;
dynamicParamSize(
buf: string,
txDetails?: Truffle.TransactionDetails
): Promise<BN>;
methods: {
dummyRelayCall(
arg0: number | BN | string,
dummyRelayCall: {
(
domainSeparatorName: string,
arg1: number | BN | string,
relayRequest: {

@@ -80,4 +48,210 @@ request: {

txDetails?: Truffle.TransactionDetails
): Promise<Truffle.TransactionResponse<AllEvents>>;
call(
domainSeparatorName: string,
arg1: number | BN | string,
relayRequest: {
request: {
from: string;
to: string;
value: number | BN | string;
gas: number | BN | string;
nonce: number | BN | string;
data: string;
validUntilTime: number | BN | string;
};
relayData: {
maxFeePerGas: number | BN | string;
maxPriorityFeePerGas: number | BN | string;
transactionCalldataGasUsed: number | BN | string;
relayWorker: string;
paymaster: string;
forwarder: string;
paymasterData: string;
clientId: number | BN | string;
};
},
signature: string,
approvalData: string,
txDetails?: Truffle.TransactionDetails
): Promise<void>;
sendTransaction(
domainSeparatorName: string,
arg1: number | BN | string,
relayRequest: {
request: {
from: string;
to: string;
value: number | BN | string;
gas: number | BN | string;
nonce: number | BN | string;
data: string;
validUntilTime: number | BN | string;
};
relayData: {
maxFeePerGas: number | BN | string;
maxPriorityFeePerGas: number | BN | string;
transactionCalldataGasUsed: number | BN | string;
relayWorker: string;
paymaster: string;
forwarder: string;
paymasterData: string;
clientId: number | BN | string;
};
},
signature: string,
approvalData: string,
txDetails?: Truffle.TransactionDetails
): Promise<string>;
estimateGas(
domainSeparatorName: string,
arg1: number | BN | string,
relayRequest: {
request: {
from: string;
to: string;
value: number | BN | string;
gas: number | BN | string;
nonce: number | BN | string;
data: string;
validUntilTime: number | BN | string;
};
relayData: {
maxFeePerGas: number | BN | string;
maxPriorityFeePerGas: number | BN | string;
transactionCalldataGasUsed: number | BN | string;
relayWorker: string;
paymaster: string;
forwarder: string;
paymasterData: string;
clientId: number | BN | string;
};
},
signature: string,
approvalData: string,
txDetails?: Truffle.TransactionDetails
): Promise<number>;
};
dynamicParamSize(
buf: string,
txDetails?: Truffle.TransactionDetails
): Promise<BN>;
methods: {
dummyRelayCall: {
(
domainSeparatorName: string,
arg1: number | BN | string,
relayRequest: {
request: {
from: string;
to: string;
value: number | BN | string;
gas: number | BN | string;
nonce: number | BN | string;
data: string;
validUntilTime: number | BN | string;
};
relayData: {
maxFeePerGas: number | BN | string;
maxPriorityFeePerGas: number | BN | string;
transactionCalldataGasUsed: number | BN | string;
relayWorker: string;
paymaster: string;
forwarder: string;
paymasterData: string;
clientId: number | BN | string;
};
},
signature: string,
approvalData: string,
txDetails?: Truffle.TransactionDetails
): Promise<Truffle.TransactionResponse<AllEvents>>;
call(
domainSeparatorName: string,
arg1: number | BN | string,
relayRequest: {
request: {
from: string;
to: string;
value: number | BN | string;
gas: number | BN | string;
nonce: number | BN | string;
data: string;
validUntilTime: number | BN | string;
};
relayData: {
maxFeePerGas: number | BN | string;
maxPriorityFeePerGas: number | BN | string;
transactionCalldataGasUsed: number | BN | string;
relayWorker: string;
paymaster: string;
forwarder: string;
paymasterData: string;
clientId: number | BN | string;
};
},
signature: string,
approvalData: string,
txDetails?: Truffle.TransactionDetails
): Promise<void>;
sendTransaction(
domainSeparatorName: string,
arg1: number | BN | string,
relayRequest: {
request: {
from: string;
to: string;
value: number | BN | string;
gas: number | BN | string;
nonce: number | BN | string;
data: string;
validUntilTime: number | BN | string;
};
relayData: {
maxFeePerGas: number | BN | string;
maxPriorityFeePerGas: number | BN | string;
transactionCalldataGasUsed: number | BN | string;
relayWorker: string;
paymaster: string;
forwarder: string;
paymasterData: string;
clientId: number | BN | string;
};
},
signature: string,
approvalData: string,
txDetails?: Truffle.TransactionDetails
): Promise<string>;
estimateGas(
domainSeparatorName: string,
arg1: number | BN | string,
relayRequest: {
request: {
from: string;
to: string;
value: number | BN | string;
gas: number | BN | string;
nonce: number | BN | string;
data: string;
validUntilTime: number | BN | string;
};
relayData: {
maxFeePerGas: number | BN | string;
maxPriorityFeePerGas: number | BN | string;
transactionCalldataGasUsed: number | BN | string;
relayWorker: string;
paymaster: string;
forwarder: string;
paymasterData: string;
clientId: number | BN | string;
};
},
signature: string,
approvalData: string,
txDetails?: Truffle.TransactionDetails
): Promise<number>;
};
dynamicParamSize(

@@ -84,0 +258,0 @@ buf: string,

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc