|
4196 | 4196 | "anyOf": [ |
4197 | 4197 | { "$ref": "#/components/schemas/INPUT_INVALID" }, |
4198 | 4198 | { "$ref": "#/components/schemas/RECIPIENT_NOT_SUPPORTED" }, |
| 4199 | + { |
| 4200 | + "$ref": "#/components/schemas/SMART_WALLET_NOT_SUPPORTED" |
| 4201 | + }, |
4199 | 4202 | { |
4200 | 4203 | "$ref": "#/components/schemas/UNABLE_TO_CALCULATE_GAS_FEE" |
4201 | 4204 | }, |
|
5217 | 5220 | { "$ref": "#/components/schemas/INPUT_INVALID" }, |
5218 | 5221 | { "$ref": "#/components/schemas/INSUFFICIENT_BALANCE" }, |
5219 | 5222 | { "$ref": "#/components/schemas/RECIPIENT_NOT_SUPPORTED" }, |
| 5223 | + { |
| 5224 | + "$ref": "#/components/schemas/SMART_WALLET_NOT_SUPPORTED" |
| 5225 | + }, |
5220 | 5226 | { |
5221 | 5227 | "$ref": "#/components/schemas/UNABLE_TO_CALCULATE_GAS_FEE" |
5222 | 5228 | }, |
|
5965 | 5971 | { |
5966 | 5972 | "$ref": "#/components/schemas/PENDING_TRADES_ALREADY_EXIST" |
5967 | 5973 | }, |
| 5974 | + { |
| 5975 | + "$ref": "#/components/schemas/SMART_WALLET_NOT_SUPPORTED" |
| 5976 | + }, |
5968 | 5977 | { "$ref": "#/components/schemas/TRADE_ALREADY_SUBMITTED" } |
5969 | 5978 | ] |
5970 | 5979 | } |
|
7653 | 7662 | "required": ["name", "message", "data"], |
7654 | 7663 | "additionalProperties": false |
7655 | 7664 | }, |
| 7665 | + "SMART_WALLET_NOT_SUPPORTED": { |
| 7666 | + "type": "object", |
| 7667 | + "properties": { |
| 7668 | + "name": { "type": "string", "enum": ["SMART_WALLET_NOT_SUPPORTED"] }, |
| 7669 | + "message": { "type": "string" }, |
| 7670 | + "data": { |
| 7671 | + "type": "object", |
| 7672 | + "properties": { |
| 7673 | + "zid": { |
| 7674 | + "type": "string", |
| 7675 | + "description": "The unique ZeroEx identifier of the request" |
| 7676 | + }, |
| 7677 | + "taker": { |
| 7678 | + "type": "string", |
| 7679 | + "description": "The smart wallet address that was rejected" |
| 7680 | + }, |
| 7681 | + "chainId": { |
| 7682 | + "type": "number", |
| 7683 | + "description": "The chain where smart wallets are not supported" |
| 7684 | + } |
| 7685 | + }, |
| 7686 | + "required": ["zid", "taker", "chainId"], |
| 7687 | + "additionalProperties": false |
| 7688 | + } |
| 7689 | + }, |
| 7690 | + "required": ["name", "message", "data"], |
| 7691 | + "additionalProperties": false |
| 7692 | + }, |
7656 | 7693 | "SWAP_VALIDATION_FAILED": { |
7657 | 7694 | "type": "object", |
7658 | 7695 | "properties": { |
|
0 commit comments