@arbitrum/sdk
Version:
Typescript library client-side interactions with Arbitrum
400 lines (399 loc) • 9.41 kB
JavaScript
"use strict";
/* Autogenerated file. Do not edit manually. */
/* tslint:disable */
/* eslint-disable */
Object.defineProperty(exports, "__esModule", { value: true });
exports.ArbOwner__factory = void 0;
const ethers_1 = require("ethers");
const _abi = [
{
anonymous: false,
inputs: [
{
indexed: true,
internalType: "bytes4",
name: "method",
type: "bytes4",
},
{
indexed: true,
internalType: "address",
name: "owner",
type: "address",
},
{
indexed: false,
internalType: "bytes",
name: "data",
type: "bytes",
},
],
name: "OwnerActs",
type: "event",
},
{
inputs: [
{
internalType: "address",
name: "newOwner",
type: "address",
},
],
name: "addChainOwner",
outputs: [],
stateMutability: "nonpayable",
type: "function",
},
{
inputs: [],
name: "getAllChainOwners",
outputs: [
{
internalType: "address[]",
name: "",
type: "address[]",
},
],
stateMutability: "view",
type: "function",
},
{
inputs: [],
name: "getInfraFeeAccount",
outputs: [
{
internalType: "address",
name: "",
type: "address",
},
],
stateMutability: "view",
type: "function",
},
{
inputs: [],
name: "getNetworkFeeAccount",
outputs: [
{
internalType: "address",
name: "",
type: "address",
},
],
stateMutability: "view",
type: "function",
},
{
inputs: [
{
internalType: "address",
name: "addr",
type: "address",
},
],
name: "isChainOwner",
outputs: [
{
internalType: "bool",
name: "",
type: "bool",
},
],
stateMutability: "view",
type: "function",
},
{
inputs: [
{
internalType: "uint256",
name: "maxWeiToRelease",
type: "uint256",
},
],
name: "releaseL1PricerSurplusFunds",
outputs: [
{
internalType: "uint256",
name: "",
type: "uint256",
},
],
stateMutability: "nonpayable",
type: "function",
},
{
inputs: [
{
internalType: "address",
name: "ownerToRemove",
type: "address",
},
],
name: "removeChainOwner",
outputs: [],
stateMutability: "nonpayable",
type: "function",
},
{
inputs: [
{
internalType: "uint64",
name: "newVersion",
type: "uint64",
},
{
internalType: "uint64",
name: "timestamp",
type: "uint64",
},
],
name: "scheduleArbOSUpgrade",
outputs: [],
stateMutability: "nonpayable",
type: "function",
},
{
inputs: [
{
internalType: "uint64",
name: "cap",
type: "uint64",
},
],
name: "setAmortizedCostCapBips",
outputs: [],
stateMutability: "nonpayable",
type: "function",
},
{
inputs: [
{
internalType: "uint64",
name: "level",
type: "uint64",
},
],
name: "setBrotliCompressionLevel",
outputs: [],
stateMutability: "nonpayable",
type: "function",
},
{
inputs: [
{
internalType: "string",
name: "chainConfig",
type: "string",
},
],
name: "setChainConfig",
outputs: [],
stateMutability: "nonpayable",
type: "function",
},
{
inputs: [
{
internalType: "address",
name: "newInfraFeeAccount",
type: "address",
},
],
name: "setInfraFeeAccount",
outputs: [],
stateMutability: "nonpayable",
type: "function",
},
{
inputs: [
{
internalType: "uint64",
name: "inertia",
type: "uint64",
},
],
name: "setL1BaseFeeEstimateInertia",
outputs: [],
stateMutability: "nonpayable",
type: "function",
},
{
inputs: [
{
internalType: "uint256",
name: "pricePerUnit",
type: "uint256",
},
],
name: "setL1PricePerUnit",
outputs: [],
stateMutability: "nonpayable",
type: "function",
},
{
inputs: [
{
internalType: "uint256",
name: "equilibrationUnits",
type: "uint256",
},
],
name: "setL1PricingEquilibrationUnits",
outputs: [],
stateMutability: "nonpayable",
type: "function",
},
{
inputs: [
{
internalType: "uint64",
name: "inertia",
type: "uint64",
},
],
name: "setL1PricingInertia",
outputs: [],
stateMutability: "nonpayable",
type: "function",
},
{
inputs: [
{
internalType: "uint64",
name: "weiPerUnit",
type: "uint64",
},
],
name: "setL1PricingRewardRate",
outputs: [],
stateMutability: "nonpayable",
type: "function",
},
{
inputs: [
{
internalType: "address",
name: "recipient",
type: "address",
},
],
name: "setL1PricingRewardRecipient",
outputs: [],
stateMutability: "nonpayable",
type: "function",
},
{
inputs: [
{
internalType: "uint256",
name: "priceInWei",
type: "uint256",
},
],
name: "setL2BaseFee",
outputs: [],
stateMutability: "nonpayable",
type: "function",
},
{
inputs: [
{
internalType: "uint64",
name: "sec",
type: "uint64",
},
],
name: "setL2GasBacklogTolerance",
outputs: [],
stateMutability: "nonpayable",
type: "function",
},
{
inputs: [
{
internalType: "uint64",
name: "sec",
type: "uint64",
},
],
name: "setL2GasPricingInertia",
outputs: [],
stateMutability: "nonpayable",
type: "function",
},
{
inputs: [
{
internalType: "uint64",
name: "limit",
type: "uint64",
},
],
name: "setMaxTxGasLimit",
outputs: [],
stateMutability: "nonpayable",
type: "function",
},
{
inputs: [
{
internalType: "uint256",
name: "priceInWei",
type: "uint256",
},
],
name: "setMinimumL2BaseFee",
outputs: [],
stateMutability: "nonpayable",
type: "function",
},
{
inputs: [
{
internalType: "address",
name: "newNetworkFeeAccount",
type: "address",
},
],
name: "setNetworkFeeAccount",
outputs: [],
stateMutability: "nonpayable",
type: "function",
},
{
inputs: [
{
internalType: "int64",
name: "cost",
type: "int64",
},
],
name: "setPerBatchGasCharge",
outputs: [],
stateMutability: "nonpayable",
type: "function",
},
{
inputs: [
{
internalType: "uint64",
name: "limit",
type: "uint64",
},
],
name: "setSpeedLimit",
outputs: [],
stateMutability: "nonpayable",
type: "function",
},
];
class ArbOwner__factory {
static createInterface() {
return new ethers_1.utils.Interface(_abi);
}
static connect(address, signerOrProvider) {
return new ethers_1.Contract(address, _abi, signerOrProvider);
}
}
exports.ArbOwner__factory = ArbOwner__factory;
ArbOwner__factory.abi = _abi;