rubic-sdk
Version:
Simplify dApp creation
57 lines • 1.98 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.l1Erc20ScrollGatewayAbi = void 0;
exports.l1Erc20ScrollGatewayAbi = [
{
inputs: [
{ internalType: 'address', name: '_token', type: 'address' },
{ internalType: 'uint256', name: '_amount', type: 'uint256' },
{ internalType: 'uint256', name: '_gasLimit', type: 'uint256' }
],
name: 'depositERC20',
outputs: [],
stateMutability: 'payable',
type: 'function'
},
{
inputs: [
{ internalType: 'address', name: '_token', type: 'address' },
{ internalType: 'address', name: '_to', type: 'address' },
{ internalType: 'uint256', name: '_amount', type: 'uint256' },
{ internalType: 'uint256', name: '_gasLimit', type: 'uint256' }
],
name: 'depositERC20',
outputs: [],
stateMutability: 'payable',
type: 'function'
},
{
inputs: [
{ internalType: 'uint256', name: '_amount', type: 'uint256' },
{ internalType: 'uint256', name: '_gasLimit', type: 'uint256' }
],
name: 'depositETH',
outputs: [],
stateMutability: 'payable',
type: 'function'
},
{
inputs: [
{ internalType: 'address', name: '_to', type: 'address' },
{ internalType: 'uint256', name: '_amount', type: 'uint256' },
{ internalType: 'uint256', name: '_gasLimit', type: 'uint256' }
],
name: 'depositETH',
outputs: [],
stateMutability: 'payable',
type: 'function'
},
{
inputs: [{ internalType: 'address', name: '_l1Address', type: 'address' }],
name: 'getL2ERC20Address',
outputs: [{ internalType: 'address', name: '', type: 'address' }],
stateMutability: 'view',
type: 'function'
}
];
//# sourceMappingURL=l1-erc20-scroll-gateway-abi.js.map