Skip to content

Commit

Permalink
1.1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
PatrickAlphaC authored and github-actions[bot] committed May 24, 2024
1 parent 3c16901 commit 12393bd
Show file tree
Hide file tree
Showing 168 changed files with 12,310 additions and 1,307 deletions.
16 changes: 16 additions & 0 deletions contracts/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,22 @@ contribution information.

Thank you!

### Changesets

We use [changesets](https://github.com/changesets/changesets) to manage versioning the contracts.

Every PR that modifies any configuration or code, should most likely accompanied by a changeset file.

To install `changesets`:
1. Install `pnpm` if it is not already installed - [docs](https://pnpm.io/installation).
2. Run `pnpm install`.

Either after or before you create a commit, run the `pnpm changeset` command in the `contracts` directory to create an accompanying changeset entry which will reflect on the CHANGELOG for the next release.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),

and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## License

[MIT](https://choosealicense.com/licenses/mit/)
15 changes: 15 additions & 0 deletions contracts/abi/v0.8/AuthorizedReceiver.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,19 @@
[
{
"inputs": [],
"name": "EmptySendersList",
"type": "error"
},
{
"inputs": [],
"name": "NotAllowedToSetSenders",
"type": "error"
},
{
"inputs": [],
"name": "UnauthorizedSender",
"type": "error"
},
{
"anonymous": false,
"inputs": [
Expand Down
20 changes: 10 additions & 10 deletions contracts/abi/v0.8/AutomationRegistrar2_3.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"type": "tuple[]"
},
{
"internalType": "contract IERC20[]",
"internalType": "contract IERC20Metadata[]",
"name": "billingTokens",
"type": "address[]"
},
Expand All @@ -52,6 +52,11 @@
"stateMutability": "nonpayable",
"type": "constructor"
},
{
"inputs": [],
"name": "DuplicateEntry",
"type": "error"
},
{
"inputs": [],
"name": "HashMismatch",
Expand Down Expand Up @@ -339,7 +344,7 @@
"type": "uint8"
},
{
"internalType": "contract IERC20",
"internalType": "contract IERC20Metadata",
"name": "billingToken",
"type": "address"
},
Expand Down Expand Up @@ -372,11 +377,6 @@
"internalType": "struct AutomationRegistrar2_3.RegistrationParams",
"name": "requestParams",
"type": "tuple"
},
{
"internalType": "bytes32",
"name": "hash",
"type": "bytes32"
}
],
"name": "approve",
Expand Down Expand Up @@ -419,7 +419,7 @@
{
"inputs": [
{
"internalType": "contract IERC20",
"internalType": "contract IERC20Metadata",
"name": "billingToken",
"type": "address"
}
Expand Down Expand Up @@ -600,7 +600,7 @@
"type": "uint8"
},
{
"internalType": "contract IERC20",
"internalType": "contract IERC20Metadata",
"name": "billingToken",
"type": "address"
},
Expand Down Expand Up @@ -672,7 +672,7 @@
"type": "address"
},
{
"internalType": "contract IERC20[]",
"internalType": "contract IERC20Metadata[]",
"name": "billingTokens",
"type": "address[]"
},
Expand Down
116 changes: 73 additions & 43 deletions contracts/abi/v0.8/AutomationRegistry2_3.json
Original file line number Diff line number Diff line change
Expand Up @@ -380,7 +380,7 @@
"inputs": [
{
"indexed": true,
"internalType": "contract IERC20",
"internalType": "contract IERC20Metadata",
"name": "token",
"type": "address"
},
Expand All @@ -401,6 +401,11 @@
"name": "priceFeed",
"type": "address"
},
{
"internalType": "uint8",
"name": "decimals",
"type": "uint8"
},
{
"internalType": "uint256",
"name": "fallbackPrice",
Expand Down Expand Up @@ -930,6 +935,67 @@
"name": "UpkeepCanceled",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "uint256",
"name": "id",
"type": "uint256"
},
{
"components": [
{
"internalType": "uint96",
"name": "gasChargeInBillingToken",
"type": "uint96"
},
{
"internalType": "uint96",
"name": "premiumInBillingToken",
"type": "uint96"
},
{
"internalType": "uint96",
"name": "gasReimbursementInJuels",
"type": "uint96"
},
{
"internalType": "uint96",
"name": "premiumInJuels",
"type": "uint96"
},
{
"internalType": "contract IERC20Metadata",
"name": "billingToken",
"type": "address"
},
{
"internalType": "uint96",
"name": "linkUSD",
"type": "uint96"
},
{
"internalType": "uint96",
"name": "nativeUSD",
"type": "uint96"
},
{
"internalType": "uint96",
"name": "billingUSD",
"type": "uint96"
}
],
"indexed": false,
"internalType": "struct AutomationRegistryBase2_3.PaymentReceipt",
"name": "receipt",
"type": "tuple"
}
],
"name": "UpkeepCharged",
"type": "event"
},
{
"anonymous": false,
"inputs": [
Expand Down Expand Up @@ -1180,24 +1246,6 @@
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "id",
"type": "uint256"
},
{
"internalType": "uint96",
"name": "amount",
"type": "uint96"
}
],
"name": "addFunds",
"outputs": [],
"stateMutability": "payable",
"type": "function"
},
{
"inputs": [],
"name": "fallbackTo",
Expand Down Expand Up @@ -1257,29 +1305,6 @@
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "sender",
"type": "address"
},
{
"internalType": "uint256",
"name": "amount",
"type": "uint256"
},
{
"internalType": "bytes",
"name": "data",
"type": "bytes"
}
],
"name": "onTokenTransfer",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [],
"name": "owner",
Expand Down Expand Up @@ -1446,7 +1471,7 @@
"type": "bytes"
},
{
"internalType": "contract IERC20[]",
"internalType": "contract IERC20Metadata[]",
"name": "billingTokens",
"type": "address[]"
},
Expand All @@ -1467,6 +1492,11 @@
"name": "priceFeed",
"type": "address"
},
{
"internalType": "uint8",
"name": "decimals",
"type": "uint8"
},
{
"internalType": "uint256",
"name": "fallbackPrice",
Expand Down
68 changes: 67 additions & 1 deletion contracts/abi/v0.8/AutomationRegistryBase2_3.json
Original file line number Diff line number Diff line change
Expand Up @@ -369,7 +369,7 @@
"inputs": [
{
"indexed": true,
"internalType": "contract IERC20",
"internalType": "contract IERC20Metadata",
"name": "token",
"type": "address"
},
Expand All @@ -390,6 +390,11 @@
"name": "priceFeed",
"type": "address"
},
{
"internalType": "uint8",
"name": "decimals",
"type": "uint8"
},
{
"internalType": "uint256",
"name": "fallbackPrice",
Expand Down Expand Up @@ -839,6 +844,67 @@
"name": "UpkeepCanceled",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "uint256",
"name": "id",
"type": "uint256"
},
{
"components": [
{
"internalType": "uint96",
"name": "gasChargeInBillingToken",
"type": "uint96"
},
{
"internalType": "uint96",
"name": "premiumInBillingToken",
"type": "uint96"
},
{
"internalType": "uint96",
"name": "gasReimbursementInJuels",
"type": "uint96"
},
{
"internalType": "uint96",
"name": "premiumInJuels",
"type": "uint96"
},
{
"internalType": "contract IERC20Metadata",
"name": "billingToken",
"type": "address"
},
{
"internalType": "uint96",
"name": "linkUSD",
"type": "uint96"
},
{
"internalType": "uint96",
"name": "nativeUSD",
"type": "uint96"
},
{
"internalType": "uint96",
"name": "billingUSD",
"type": "uint96"
}
],
"indexed": false,
"internalType": "struct AutomationRegistryBase2_3.PaymentReceipt",
"name": "receipt",
"type": "tuple"
}
],
"name": "UpkeepCharged",
"type": "event"
},
{
"anonymous": false,
"inputs": [
Expand Down
Loading

0 comments on commit 12393bd

Please sign in to comment.