Skip to content

Commit

Permalink
Update request-api-key swagger.
Browse files Browse the repository at this point in the history
  • Loading branch information
FiveMovesAhead committed Oct 23, 2024
1 parent 474bf82 commit ff208a5
Showing 1 changed file with 3 additions and 11 deletions.
14 changes: 3 additions & 11 deletions swagger.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -264,12 +264,6 @@ paths:
```
I am signing this message to prove that I control address <address>
```
* If `<address>` is a gnosis safe multisig:
* `<gnosis_safe_setup_tx_hash>` should be the transaction that created the `<address>`.
* The transaction should emit a `ProxyCreation` event. [Example](https://basescan.org/tx/0xa61a5d1e4deaf4f4c42ede0ad412e4ca02f5b3d38ebff61f56e8e8d16153d4e6)
* `<signature>` can be produced by any current owner of the multisig
requestBody:
content:
application/json:
Expand Down Expand Up @@ -881,7 +875,7 @@ components:
pattern: ^[a-f0-9]{32}$
Signature:
type: string
pattern: ^0x[a-f0-9]{130}$
pattern: ^0x([a-f0-9]{130})+$
TxHash:
type: string
pattern: ^0x[a-f0-9]{64}$
Expand Down Expand Up @@ -977,15 +971,13 @@ components:
$ref: '#/components/schemas/Address'
signature:
$ref: '#/components/schemas/Signature'
gnosis_safe_setup_tx_hash:
allOf:
- $ref: '#/components/schemas/TxHash'
nullable: true
RequestApiKeyResponse:
type: object
properties:
api_key:
$ref: '#/components/schemas/MD5'
name:
type: string
SubmitAlgorithmRequest:
type: object
properties:
Expand Down

0 comments on commit ff208a5

Please sign in to comment.