Skip to content

Commit

Permalink
chore: rpc and types
Browse files Browse the repository at this point in the history
  • Loading branch information
devdanco committed Feb 22, 2024
1 parent d732d6d commit b24cae4
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 1 deletion.
13 changes: 13 additions & 0 deletions packages/type-definitions/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -260,6 +260,19 @@ export const mRpc = {
],
type: "Vec<(TokenId, TokenId, Balance)>"
}
},
rolldown: {
pending_updates: {
description: "",
params: [
{
name: 'at',
type: 'Hash',
isOptional: true
}
],
type: "Vec<u8>"
}
}
};

Expand Down
3 changes: 2 additions & 1 deletion packages/types/src/interfaces/definitions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,5 @@ export default {


export { default as pos } from './pos/definitions.js';
export { default as xyk } from './xyk/definitions.js';
export { default as xyk } from './xyk/definitions.js';
export { default as rolldown } from './rolldown/definitions.js';
16 changes: 16 additions & 0 deletions packages/types/src/interfaces/rolldown/definitions.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
export default {
types: {},
rpc: {
pending_updates: {
description: "",
params: [
{
name: 'at',
type: 'Hash',
isOptional: true
}
],
type: "Vec<u8>"
},
}
}

0 comments on commit b24cae4

Please sign in to comment.