-
Notifications
You must be signed in to change notification settings - Fork 151
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(json-abi): accept nameless
Param
s
- Loading branch information
Showing
5 changed files
with
152 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,131 @@ | ||
[ | ||
{ | ||
"type": "event", | ||
"name": "Approval", | ||
"inputs": [ | ||
{ "name": "owner", "type": "address", "indexed": true }, | ||
{ "name": "approved", "type": "address", "indexed": true }, | ||
{ "name": "tokenId", "type": "uint256", "indexed": true } | ||
], | ||
"anonymous": false | ||
}, | ||
{ | ||
"type": "event", | ||
"name": "ApprovalForAll", | ||
"inputs": [ | ||
{ "name": "owner", "type": "address", "indexed": true }, | ||
{ "name": "operator", "type": "address", "indexed": true }, | ||
{ "name": "approved", "type": "bool", "indexed": false } | ||
], | ||
"anonymous": false | ||
}, | ||
{ | ||
"type": "event", | ||
"name": "CancelLockupStream", | ||
"inputs": [ | ||
{ "name": "streamId", "type": "uint256", "indexed": false }, | ||
{ "name": "sender", "type": "address", "indexed": true }, | ||
{ "name": "recipient", "type": "address", "indexed": true }, | ||
{ "name": "asset", "type": "address", "indexed": true }, | ||
{ "name": "senderAmount", "type": "uint128", "indexed": false }, | ||
{ "name": "recipientAmount", "type": "uint128", "indexed": false } | ||
], | ||
"anonymous": false | ||
}, | ||
{ | ||
"type": "event", | ||
"name": "CreateLockupDynamicStream", | ||
"inputs": [ | ||
{ "name": "streamId", "type": "uint256", "indexed": false }, | ||
{ "name": "funder", "type": "address", "indexed": false }, | ||
{ "name": "sender", "type": "address", "indexed": true }, | ||
{ "name": "recipient", "type": "address", "indexed": true }, | ||
{ | ||
"name": "amounts", | ||
"type": "tuple", | ||
"indexed": false, | ||
"components": [{ "type": "uint128" }, { "type": "uint128" }, { "type": "uint128" }] | ||
}, | ||
{ "name": "asset", "type": "address", "indexed": true }, | ||
{ "name": "cancelable", "type": "bool", "indexed": false }, | ||
{ "name": "transferable", "type": "bool", "indexed": false }, | ||
{ | ||
"name": "segments", | ||
"type": "tuple[]", | ||
"indexed": false, | ||
"components": [{ "type": "uint128" }, { "type": "uint64" }, { "type": "uint40" }] | ||
}, | ||
{ | ||
"name": "range", | ||
"type": "tuple", | ||
"indexed": false, | ||
"components": [{ "type": "uint40" }, { "type": "uint40" }] | ||
}, | ||
{ "name": "broker", "type": "address", "indexed": false } | ||
], | ||
"anonymous": false | ||
}, | ||
{ | ||
"type": "event", | ||
"name": "CreateLockupLinearStream", | ||
"inputs": [ | ||
{ "name": "streamId", "type": "uint256", "indexed": false }, | ||
{ "name": "funder", "type": "address", "indexed": false }, | ||
{ "name": "sender", "type": "address", "indexed": true }, | ||
{ "name": "recipient", "type": "address", "indexed": true }, | ||
{ | ||
"name": "amounts", | ||
"type": "tuple", | ||
"indexed": false, | ||
"components": [{ "type": "uint128" }, { "type": "uint128" }, { "type": "uint128" }] | ||
}, | ||
{ "name": "asset", "type": "address", "indexed": true }, | ||
{ "name": "cancelable", "type": "bool", "indexed": false }, | ||
{ "name": "transferable", "type": "bool", "indexed": false }, | ||
{ | ||
"name": "range", | ||
"type": "tuple", | ||
"indexed": false, | ||
"components": [{ "type": "uint40" }, { "type": "uint40" }, { "type": "uint40" }] | ||
}, | ||
{ "name": "broker", "type": "address", "indexed": false } | ||
], | ||
"anonymous": false | ||
}, | ||
{ | ||
"type": "event", | ||
"name": "RenounceLockupStream", | ||
"inputs": [{ "name": "streamId", "type": "uint256", "indexed": true }], | ||
"anonymous": false | ||
}, | ||
{ | ||
"type": "event", | ||
"name": "Transfer", | ||
"inputs": [ | ||
{ "name": "from", "type": "address", "indexed": true }, | ||
{ "name": "to", "type": "address", "indexed": true }, | ||
{ "name": "tokenId", "type": "uint256", "indexed": true } | ||
], | ||
"anonymous": false | ||
}, | ||
{ | ||
"type": "event", | ||
"name": "TransferAdmin", | ||
"inputs": [ | ||
{ "name": "oldAdmin", "type": "address", "indexed": true }, | ||
{ "name": "newAdmin", "type": "address", "indexed": true } | ||
], | ||
"anonymous": false | ||
}, | ||
{ | ||
"type": "event", | ||
"name": "WithdrawFromLockupStream", | ||
"inputs": [ | ||
{ "name": "streamId", "type": "uint256", "indexed": true }, | ||
{ "name": "to", "type": "address", "indexed": true }, | ||
{ "name": "asset", "type": "address", "indexed": true }, | ||
{ "name": "amount", "type": "uint128", "indexed": false } | ||
], | ||
"anonymous": false | ||
} | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
interface NamelessParams { | ||
event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); | ||
event ApprovalForAll(address indexed owner, address indexed operator, bool approved); | ||
event CancelLockupStream(uint256 streamId, address indexed sender, address indexed recipient, address indexed asset, uint128 senderAmount, uint128 recipientAmount); | ||
event CreateLockupDynamicStream(uint256 streamId, address funder, address indexed sender, address indexed recipient, (uint128, uint128, uint128) amounts, address indexed asset, bool cancelable, bool transferable, (uint128, uint64, uint40)[] segments, (uint40, uint40) range, address broker); | ||
event CreateLockupLinearStream(uint256 streamId, address funder, address indexed sender, address indexed recipient, (uint128, uint128, uint128) amounts, address indexed asset, bool cancelable, bool transferable, (uint40, uint40, uint40) range, address broker); | ||
event RenounceLockupStream(uint256 indexed streamId); | ||
event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); | ||
event TransferAdmin(address indexed oldAdmin, address indexed newAdmin); | ||
event WithdrawFromLockupStream(uint256 indexed streamId, address indexed to, address indexed asset, uint128 amount); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters