Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
372 changes: 372 additions & 0 deletions src/internal/abis/repoDeadlineDriver.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,372 @@
export const repoDeadlineDriverAbi = [
{
inputs: [
{
internalType: 'contract RepoDriver',
name: 'repoDriver_',
type: 'address',
},
{internalType: 'uint32', name: 'driverId_', type: 'uint32'},
],
stateMutability: 'nonpayable',
type: 'constructor',
},
{
anonymous: false,
inputs: [
{
indexed: true,
internalType: 'uint256',
name: 'accountId',
type: 'uint256',
},
{
indexed: false,
internalType: 'uint256',
name: 'repoAccountId',
type: 'uint256',
},
{
indexed: true,
internalType: 'uint256',
name: 'recipientAccountId',
type: 'uint256',
},
{
indexed: true,
internalType: 'uint256',
name: 'refundAccountId',
type: 'uint256',
},
{
indexed: false,
internalType: 'uint32',
name: 'deadline',
type: 'uint32',
},
],
name: 'AccountSeen',
type: 'event',
},
{
anonymous: false,
inputs: [
{
indexed: false,
internalType: 'address',
name: 'previousAdmin',
type: 'address',
},
{
indexed: false,
internalType: 'address',
name: 'newAdmin',
type: 'address',
},
],
name: 'AdminChanged',
type: 'event',
},
{
anonymous: false,
inputs: [
{
indexed: true,
internalType: 'address',
name: 'beacon',
type: 'address',
},
],
name: 'BeaconUpgraded',
type: 'event',
},
{
anonymous: false,
inputs: [
{
indexed: true,
internalType: 'address',
name: 'currentAdmin',
type: 'address',
},
{
indexed: true,
internalType: 'address',
name: 'newAdmin',
type: 'address',
},
],
name: 'NewAdminProposed',
type: 'event',
},
{
anonymous: false,
inputs: [
{
indexed: true,
internalType: 'address',
name: 'pauser',
type: 'address',
},
],
name: 'Paused',
type: 'event',
},
{
anonymous: false,
inputs: [
{
indexed: true,
internalType: 'address',
name: 'pauser',
type: 'address',
},
{
indexed: true,
internalType: 'address',
name: 'admin',
type: 'address',
},
],
name: 'PauserGranted',
type: 'event',
},
{
anonymous: false,
inputs: [
{
indexed: true,
internalType: 'address',
name: 'pauser',
type: 'address',
},
{
indexed: true,
internalType: 'address',
name: 'admin',
type: 'address',
},
],
name: 'PauserRevoked',
type: 'event',
},
{
anonymous: false,
inputs: [
{
indexed: true,
internalType: 'address',
name: 'pauser',
type: 'address',
},
],
name: 'Unpaused',
type: 'event',
},
{
anonymous: false,
inputs: [
{
indexed: true,
internalType: 'address',
name: 'implementation',
type: 'address',
},
],
name: 'Upgraded',
type: 'event',
},
{
inputs: [],
name: 'acceptAdmin',
outputs: [],
stateMutability: 'nonpayable',
type: 'function',
},
{
inputs: [],
name: 'admin',
outputs: [{internalType: 'address', name: '', type: 'address'}],
stateMutability: 'view',
type: 'function',
},
{
inputs: [],
name: 'allPausers',
outputs: [
{
internalType: 'address[]',
name: 'pausersList',
type: 'address[]',
},
],
stateMutability: 'view',
type: 'function',
},
{
inputs: [
{internalType: 'uint256', name: 'repoAccountId', type: 'uint256'},
{
internalType: 'uint256',
name: 'recipientAccountId',
type: 'uint256',
},
{
internalType: 'uint256',
name: 'refundAccountId',
type: 'uint256',
},
{internalType: 'uint32', name: 'deadline', type: 'uint32'},
],
name: 'calcAccountId',
outputs: [{internalType: 'uint256', name: 'accountId', type: 'uint256'}],
stateMutability: 'view',
type: 'function',
},
{
inputs: [
{internalType: 'uint256', name: 'repoAccountId', type: 'uint256'},
{
internalType: 'uint256',
name: 'recipientAccountId',
type: 'uint256',
},
{
internalType: 'uint256',
name: 'refundAccountId',
type: 'uint256',
},
{internalType: 'uint32', name: 'deadline', type: 'uint32'},
{internalType: 'contract IERC20', name: 'erc20', type: 'address'},
],
name: 'collectAndGive',
outputs: [{internalType: 'uint128', name: 'amt', type: 'uint128'}],
stateMutability: 'nonpayable',
type: 'function',
},
{
inputs: [],
name: 'drips',
outputs: [{internalType: 'contract Drips', name: '', type: 'address'}],
stateMutability: 'view',
type: 'function',
},
{
inputs: [],
name: 'driverId',
outputs: [{internalType: 'uint32', name: '', type: 'uint32'}],
stateMutability: 'view',
type: 'function',
},
{
inputs: [{internalType: 'address', name: 'pauser', type: 'address'}],
name: 'grantPauser',
outputs: [],
stateMutability: 'nonpayable',
type: 'function',
},
{
inputs: [],
name: 'implementation',
outputs: [{internalType: 'address', name: '', type: 'address'}],
stateMutability: 'view',
type: 'function',
},
{
inputs: [],
name: 'isPaused',
outputs: [{internalType: 'bool', name: '', type: 'bool'}],
stateMutability: 'view',
type: 'function',
},
{
inputs: [{internalType: 'address', name: 'pauser', type: 'address'}],
name: 'isPauser',
outputs: [{internalType: 'bool', name: 'isAddrPauser', type: 'bool'}],
stateMutability: 'view',
type: 'function',
},
{
inputs: [],
name: 'pause',
outputs: [],
stateMutability: 'nonpayable',
type: 'function',
},
{
inputs: [{internalType: 'address', name: 'newAdmin', type: 'address'}],
name: 'proposeNewAdmin',
outputs: [],
stateMutability: 'nonpayable',
type: 'function',
},
{
inputs: [],
name: 'proposedAdmin',
outputs: [{internalType: 'address', name: '', type: 'address'}],
stateMutability: 'view',
type: 'function',
},
{
inputs: [],
name: 'proxiableUUID',
outputs: [{internalType: 'bytes32', name: '', type: 'bytes32'}],
stateMutability: 'view',
type: 'function',
},
{
inputs: [],
name: 'renounceAdmin',
outputs: [],
stateMutability: 'nonpayable',
type: 'function',
},
{
inputs: [],
name: 'repoDriver',
outputs: [{internalType: 'contract RepoDriver', name: '', type: 'address'}],
stateMutability: 'view',
type: 'function',
},
{
inputs: [{internalType: 'address', name: 'pauser', type: 'address'}],
name: 'revokePauser',
outputs: [],
stateMutability: 'nonpayable',
type: 'function',
},
{
inputs: [],
name: 'unpause',
outputs: [],
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',
},
] as const;
Loading