UNPKG

@kiroboio/fct-core

Version:

Kirobo.io FCT Core library

267 lines (266 loc) 8.95 kB
{ "typedData": { "types": { "EIP712Domain": [ { "name": "name", "type": "string" }, { "name": "version", "type": "string" }, { "name": "chainId", "type": "uint256" }, { "name": "verifyingContract", "type": "address" }, { "name": "salt", "type": "bytes32" } ], "Meta": [ { "name": "name", "type": "string" }, { "name": "builder", "type": "address" }, { "name": "selector", "type": "bytes4" }, { "name": "version", "type": "bytes3" }, { "name": "random_id", "type": "bytes3" }, { "name": "eip712", "type": "bool" }, { "name": "auth_enabled", "type": "bool" } ], "Limits": [ { "name": "valid_from", "type": "uint40" }, { "name": "expires_at", "type": "uint40" }, { "name": "gas_price_limit", "type": "uint64" }, { "name": "purgeable", "type": "bool" }, { "name": "blockable", "type": "bool" } ], "Recurrency": [ { "name": "max_repeats", "type": "uint16" }, { "name": "chill_time", "type": "uint32" }, { "name": "accumetable", "type": "bool" } ], "transaction1": [ { "name": "call", "type": "Call" } ], "BatchMultiSigCall": [ { "name": "meta", "type": "Meta" }, { "name": "limits", "type": "Limits" }, { "name": "recurrency", "type": "Recurrency" }, { "name": "transaction_1", "type": "transaction1" } ], "Call": [ { "name": "call_index", "type": "uint16" }, { "name": "payer_index", "type": "uint16" }, { "name": "call_type", "type": "string" }, { "name": "from", "type": "address" }, { "name": "to", "type": "address" }, { "name": "to_ens", "type": "string" }, { "name": "eth_value", "type": "uint256" }, { "name": "gas_limit", "type": "uint32" }, { "name": "permissions", "type": "uint16" }, { "name": "flow_control", "type": "string" }, { "name": "returned_false_means_fail", "type": "bool" }, { "name": "jump_on_success", "type": "uint16" }, { "name": "jump_on_fail", "type": "uint16" }, { "name": "method_interface", "type": "string" } ] }, "primaryType": "BatchMultiSigCall", "domain": { "name": "FCT Controller", "version": "1", "chainId": 5, "verifyingContract": "0x38B5249Ec6529F19aee7CE2c650CadD407a78Ed7", "salt": "0x01004130db7959f5983e000038b5249ec6529f19aee7ce2c650cadd407a78ed7" }, "message": { "meta": { "name": "", "builder": "0xE911180AcDe75bFBaCFc8BbFD484768b6aA3bd30", "selector": "0xf6407ddd", "version": "0x010101", "random_id": "0x89f9e3", "eip712": true, "auth_enabled": true }, "limits": { "valid_from": "0", "expires_at": "88081827705", "gas_price_limit": "150000000000", "purgeable": false, "blockable": true }, "recurrency": { "max_repeats": "500", "chill_time": "0", "accumetable": true }, "transaction_1": { "call": { "call_index": 1, "payer_index": 1, "call_type": "action", "from": "0x03357338Ea477FF139170cf85C9A4063dFc03FC9", "to": "0x9650578ebd1b08f98af81a84372ece4b448d7526", "to_ens": "", "eth_value": "300", "gas_limit": "92002", "permissions": 0, "flow_control": "continue on success, revert on fail", "returned_false_means_fail": false, "jump_on_success": 0, "jump_on_fail": 0, "method_interface": "" } } } }, "builder": "0xE911180AcDe75bFBaCFc8BbFD484768b6aA3bd30", "typeHash": "0x2508928a66caa892ee6854e2759714208009e642e52ed3ba1f007130918ec19e", "sessionId": "0x89f9e30001010101f4000000001482160779000000000000000022ecb25c001d", "nameHash": "0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470", "mcall": [ { "typeHash": "0x059f3ab25880eb521ca0ee77909d61ec600ee2057b1588455cb8a9a469122816", "ensHash": "0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470", "functionSignature": "0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470", "value": "300", "callId": "0x0000000000000000000000000000000000000000000000000100010001676200", "from": "0x03357338Ea477FF139170cf85C9A4063dFc03FC9", "to": "0x9650578ebd1b08f98af81a84372ece4b448d7526", "data": "0x", "types": [], "typedHashes": [] } ], "variables": [], "externalSigners": [], "signatures": [ { "r": "0xf3342cbaee8e43f0e70d35d36a165abdc99d554c22a8703053411b15bc2ccc52", "s": "0x173e0b3538818c5dbcf3019b36cfff81499a995f45be3237df76e9f848dc380f", "_vs": "0x173e0b3538818c5dbcf3019b36cfff81499a995f45be3237df76e9f848dc380f", "recoveryParam": 0, "v": 27, "yParityAndS": "0x173e0b3538818c5dbcf3019b36cfff81499a995f45be3237df76e9f848dc380f", "compact": "0xf3342cbaee8e43f0e70d35d36a165abdc99d554c22a8703053411b15bc2ccc52173e0b3538818c5dbcf3019b36cfff81499a995f45be3237df76e9f848dc380f" }, { "r": "0x2902221f383c23d6f16319fc128665922212a9b1cade7f988259702932556c82", "s": "0x4ba0b1728b979535ab37149480c27ce66510a1b339c7c44fee068a26b4efaa48", "_vs": "0x4ba0b1728b979535ab37149480c27ce66510a1b339c7c44fee068a26b4efaa48", "recoveryParam": 0, "v": 27, "yParityAndS": "0x4ba0b1728b979535ab37149480c27ce66510a1b339c7c44fee068a26b4efaa48", "compact": "0x2902221f383c23d6f16319fc128665922212a9b1cade7f988259702932556c824ba0b1728b979535ab37149480c27ce66510a1b339c7c44fee068a26b4efaa48" } ], "computed": [] }