-
-
Notifications
You must be signed in to change notification settings - Fork 256
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Manual deploy as of commit:7028c0149d7621a0f9455029f25615cf563e361d
- Loading branch information
Showing
159 changed files
with
6,253 additions
and
2,927 deletions.
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
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,3 @@ | ||
module.exports = { | ||
extends: ['@unlock-protocol/eslint-config'], | ||
} |
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,24 @@ | ||
import React from 'react' | ||
import SearchBar from '@theme-original/SearchBar' | ||
import BrowserOnly from '@docusaurus/BrowserOnly' | ||
|
||
export default function SearchBarWrapper(props) { | ||
return ( | ||
<> | ||
<SearchBar {...props} /> | ||
<BrowserOnly fallback={null}> | ||
{() => { | ||
const AskCookbook = require('@cookbookdev/docsbot/react-fixed') | ||
return ( | ||
<AskCookbook | ||
apiKey="eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiI2NWQ5OTljM2Q0NWUzNzIxM2UxZDgzMGMiLCJpYXQiOjE3MDg3NTk0OTEsImV4cCI6MjAyNDMzNTQ5MX0.2DgWnOpRQgPWfQeIOH5XRP3v1v_XDU5RSy6pqUUwwVg" | ||
noFastMode | ||
/> | ||
) | ||
}} | ||
</BrowserOnly> | ||
</> | ||
) | ||
} | ||
|
||
// Ask Cookbook API key obtainable at https://cms.cookbook.dev with an invite from an admin of the project. |
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,51 @@ | ||
module.exports = [ | ||
{ | ||
inputs: [ | ||
{ | ||
internalType: 'uint32', | ||
name: '_destination', | ||
type: 'uint32', | ||
}, | ||
{ | ||
internalType: 'address', | ||
name: '_to', | ||
type: 'address', | ||
}, | ||
{ | ||
internalType: 'address', | ||
name: '_asset', | ||
type: 'address', | ||
}, | ||
{ | ||
internalType: 'address', | ||
name: '_delegate', | ||
type: 'address', | ||
}, | ||
{ | ||
internalType: 'uint256', | ||
name: '_amount', | ||
type: 'uint256', | ||
}, | ||
{ | ||
internalType: 'uint256', | ||
name: '_slippage', | ||
type: 'uint256', | ||
}, | ||
{ | ||
internalType: 'bytes', | ||
name: '_callData', | ||
type: 'bytes', | ||
}, | ||
], | ||
name: 'xcall', | ||
outputs: [ | ||
{ | ||
internalType: 'bytes32', | ||
name: '', | ||
type: 'bytes32', | ||
}, | ||
], | ||
stateMutability: 'payable', | ||
type: 'function', | ||
}, | ||
] |
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,124 @@ | ||
module.exports = [ | ||
{ | ||
anonymous: false, | ||
inputs: [ | ||
{ | ||
indexed: true, | ||
internalType: 'bytes32', | ||
name: 'transferId', | ||
type: 'bytes32', | ||
}, | ||
{ | ||
indexed: true, | ||
internalType: 'uint256', | ||
name: 'nonce', | ||
type: 'uint256', | ||
}, | ||
{ | ||
indexed: true, | ||
internalType: 'bytes32', | ||
name: 'messageHash', | ||
type: 'bytes32', | ||
}, | ||
{ | ||
components: [ | ||
{ | ||
internalType: 'uint32', | ||
name: 'originDomain', | ||
type: 'uint32', | ||
}, | ||
{ | ||
internalType: 'uint32', | ||
name: 'destinationDomain', | ||
type: 'uint32', | ||
}, | ||
{ | ||
internalType: 'uint32', | ||
name: 'canonicalDomain', | ||
type: 'uint32', | ||
}, | ||
{ | ||
internalType: 'address', | ||
name: 'to', | ||
type: 'address', | ||
}, | ||
{ | ||
internalType: 'address', | ||
name: 'delegate', | ||
type: 'address', | ||
}, | ||
{ | ||
internalType: 'bool', | ||
name: 'receiveLocal', | ||
type: 'bool', | ||
}, | ||
{ | ||
internalType: 'bytes', | ||
name: 'callData', | ||
type: 'bytes', | ||
}, | ||
{ | ||
internalType: 'uint256', | ||
name: 'slippage', | ||
type: 'uint256', | ||
}, | ||
{ | ||
internalType: 'address', | ||
name: 'originSender', | ||
type: 'address', | ||
}, | ||
{ | ||
internalType: 'uint256', | ||
name: 'bridgedAmt', | ||
type: 'uint256', | ||
}, | ||
{ | ||
internalType: 'uint256', | ||
name: 'normalizedIn', | ||
type: 'uint256', | ||
}, | ||
{ | ||
internalType: 'uint256', | ||
name: 'nonce', | ||
type: 'uint256', | ||
}, | ||
{ | ||
internalType: 'bytes32', | ||
name: 'canonicalId', | ||
type: 'bytes32', | ||
}, | ||
], | ||
indexed: false, | ||
internalType: 'struct TransferInfo', | ||
name: 'params', | ||
type: 'tuple', | ||
}, | ||
{ | ||
indexed: false, | ||
internalType: 'address', | ||
name: 'asset', | ||
type: 'address', | ||
}, | ||
{ | ||
indexed: false, | ||
internalType: 'uint256', | ||
name: 'amount', | ||
type: 'uint256', | ||
}, | ||
{ | ||
indexed: false, | ||
internalType: 'address', | ||
name: 'local', | ||
type: 'address', | ||
}, | ||
{ | ||
indexed: false, | ||
internalType: 'bytes', | ||
name: 'messageBody', | ||
type: 'bytes', | ||
}, | ||
], | ||
name: 'XCalled', | ||
type: 'event', | ||
}, | ||
] |
Oops, something went wrong.