UNPKG

@augumented-finance/protocol-v1

Version:

Augmented Protocol smart contracts

121 lines 6.12 kB
"use strict"; /* Autogenerated file. Do not edit manually. */ /* tslint:disable */ /* eslint-disable */ Object.defineProperty(exports, "__esModule", { value: true }); exports.BaseImmutableAdminUpgradeabilityProxyFactory = void 0; const contracts_1 = require("@ethersproject/contracts"); class BaseImmutableAdminUpgradeabilityProxyFactory extends contracts_1.ContractFactory { constructor(signer) { super(_abi, _bytecode, signer); } deploy(admin, overrides) { return super.deploy(admin, overrides || {}); } getDeployTransaction(admin, overrides) { return super.getDeployTransaction(admin, overrides || {}); } attach(address) { return super.attach(address); } connect(signer) { return super.connect(signer); } static connect(address, signerOrProvider) { return new contracts_1.Contract(address, _abi, signerOrProvider); } } exports.BaseImmutableAdminUpgradeabilityProxyFactory = BaseImmutableAdminUpgradeabilityProxyFactory; const _abi = [ { inputs: [ { internalType: "address", name: "admin", type: "address", }, ], stateMutability: "nonpayable", type: "constructor", }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "implementation", type: "address", }, ], name: "Upgraded", type: "event", }, { stateMutability: "payable", type: "fallback", }, { inputs: [], name: "admin", outputs: [ { internalType: "address", name: "", type: "address", }, ], stateMutability: "nonpayable", type: "function", }, { inputs: [], name: "implementation", outputs: [ { internalType: "address", name: "", type: "address", }, ], stateMutability: "nonpayable", type: "function", }, { inputs: [ { internalType: "address", name: "newImplementation", type: "address", }, ], name: "upgradeTo", outputs: [], stateMutability: "nonpayable", type: "function", }, { inputs: [ { internalType: "address", name: "newImplementation", type: "address", }, { internalType: "bytes", name: "data", type: "bytes", }, ], name: "upgradeToAndCall", outputs: [], stateMutability: "payable", type: "function", }, { stateMutability: "payable", type: "receive", }, ]; const _bytecode = "0x60a060405234801561001057600080fd5b506040516105db3803806105db8339818101604052602081101561003357600080fd5b5051606081901b6001600160601b0319166080526001600160a01b031661055b6100806000398061017852806101c2528061028152806102ce52806102f75280610326525061055b6000f3fe6080604052600436106100435760003560e01c80633659cfe61461005a5780634f1ef2861461008d5780635c60da1b1461010d578063f851a4401461013e57610052565b3661005257610050610153565b005b610050610153565b34801561006657600080fd5b506100506004803603602081101561007d57600080fd5b50356001600160a01b031661016d565b610050600480360360408110156100a357600080fd5b6001600160a01b0382351691908101906040810160208201356401000000008111156100ce57600080fd5b8201836020820111156100e057600080fd5b8035906020019184600183028401116401000000008311171561010257600080fd5b5090925090506101b7565b34801561011957600080fd5b50610122610274565b604080516001600160a01b039092168252519081900360200190f35b34801561014a57600080fd5b506101226102c1565b61015b61031b565b61016b61016661038b565b6103b0565b565b336001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001614156101ac576101a7816103d4565b6101b4565b6101b4610153565b50565b336001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000161415610267576101f1836103d4565b6000836001600160a01b031683836040518083838082843760405192019450600093509091505080830381855af49150503d806000811461024e576040519150601f19603f3d011682016040523d82523d6000602084013e610253565b606091505b505090508061026157600080fd5b5061026f565b61026f610153565b505050565b6000336001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001614156102b6576102af61038b565b90506102be565b6102be610153565b90565b6000336001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001614156102b657507f00000000000000000000000000000000000000000000000000000000000000006102be565b336001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001614156103835760405162461bcd60e51b81526004018080602001828103825260328152602001806104b96032913960400191505060405180910390fd5b61016b61016b565b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc5490565b3660008037600080366000845af43d6000803e8080156103cf573d6000f35b3d6000fd5b6103dd81610414565b6040516001600160a01b038216907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a250565b61041d8161047c565b6104585760405162461bcd60e51b815260040180806020018281038252603b8152602001806104eb603b913960400191505060405180910390fd5b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc55565b6000813f7fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a4708181148015906104b057508115155b94935050505056fe43616e6e6f742063616c6c2066616c6c6261636b2066756e6374696f6e2066726f6d207468652070726f78792061646d696e43616e6e6f742073657420612070726f787920696d706c656d656e746174696f6e20746f2061206e6f6e2d636f6e74726163742061646472657373a2646970667358221220aa9bde8ce11492179e46855d624767056f693066692952c75778d7ea887aa19e64736f6c634300060c0033"; //# sourceMappingURL=BaseImmutableAdminUpgradeabilityProxyFactory.js.map