diff --git a/API.md b/API.md index f9f16a8..427f8f2 100644 --- a/API.md +++ b/API.md @@ -101,13 +101,14 @@ If you need them in your code, please copy and paste them. #### `_AGGREGATE_WITH_SIGNER_TYPEHASH` ```solidity bytes32 private constant _AGGREGATE_WITH_SIGNER_TYPEHASH = - 0xc4d2f044d99707794280032fc14879a220a3f7dc766d75100809624f91d69e97; + 0xfb989fd34c8af81a76f18167f528fc7315f92cacc19a0e63215abd54633f8a28; ``` For EIP-712 signature digest calculation for the `aggregateWithSigner` function. -`keccak256("AggregateWithSigner(address[] targets,bytes[] data,uint256[] values,uint256 nonce,uint256 nonceSalt)")`. +`keccak256("AggregateWithSigner(address signer,address[] targets,bytes[] data,uint256[] values,uint256 nonce,uint256 nonceSalt)")`. +- `signer`: The signer of the signature. - `targets`: An array of addresses to call. - `data`: An array of calldata to forward to the targets. - `values`: How much ETH to forward to each target. @@ -117,26 +118,28 @@ For EIP-712 signature digest calculation for the `aggregateWithSigner` function. #### `_INVALIDATE_NONCES_FOR_SIGNER_TYPEHASH` ```solidity bytes32 private constant _INVALIDATE_NONCES_FOR_SIGNER_TYPEHASH = - 0xe75b4aefef1358e66ac7ed2f180022e0a7f661dcd2781630ce58e05bb8bdb1c1; + 0x12b047058eea3df4085cdc159a103d9c100c4e78cfb7029cc39d02cb8b9e48f5; ``` For EIP-712 signature digest calculation for the `invalidateNoncesForSigner` function. -`keccak256("InvalidateNoncesForSigner(uint256[] nonces,uint256 nonceSalt)")`. +`keccak256("InvalidateNoncesForSigner(address signer,uint256[] nonces,uint256 nonceSalt)")`. +- `signer`: The signer of the signature. - `nonces`: The array of nonces for the signer. - `nonceSalt`: The current nonce salt of the signer. #### `_INCREMENT_NONCE_SALT_FOR_SIGNER_TYPEHASH` ```solidity bytes32 private constant _INCREMENT_NONCE_SALT_FOR_SIGNER_TYPEHASH = - 0x898da98c106c91ce6f05405740b0ed23b5c4dc847a0dd1996fb93189d8310bef; + 0xfa181078c7d1d4d369301511d3c5611e9367d0cebbf65eefdee9dfc75849c1d3; ``` For EIP-712 signature digest calculation for the `incrementNonceSaltForSigner` function. -`keccak256("IncrementNonceSaltForSigner(uint256 nonceSalt)")`. +`keccak256("IncrementNonceSaltForSigner(address signer,uint256 nonceSalt)")`. +- `signer`: The signer of the signature. - `nonceSalt`: The current nonce salt of the signer. #### `_DOMAIN_TYPEHASH`