Rename to abacus (#126)
parent
e7e37ce4a1
commit
79f1f200e8
@ -1,6 +1,6 @@ |
||||
## Optics Solidity |
||||
## Abacus Solidity |
||||
|
||||
On-chain implementations of Optics in Solidity. |
||||
On-chain implementations of Abacus in Solidity. |
||||
|
||||
### Setup |
||||
|
@ -1,5 +1,5 @@ |
||||
{ |
||||
"name": "@celo-org/optics-sol", |
||||
"name": "@abacus-network/abacus-sol", |
||||
"devDependencies": { |
||||
"@nomiclabs/hardhat-ethers": "^2.0.1", |
||||
"@nomiclabs/hardhat-etherscan": "^2.1.2", |
@ -1,4 +1,4 @@ |
||||
# Optics Token Bridge |
||||
# Abacus Token Bridge |
||||
|
||||
### Message Format |
||||
|
@ -1,12 +1,12 @@ |
||||
// SPDX-License-Identifier: MIT OR Apache-2.0 |
||||
pragma solidity >=0.6.11; |
||||
|
||||
import {MerkleTreeManager} from "@celo-org/optics-sol/contracts/Merkle.sol"; |
||||
import {QueueManager} from "@celo-org/optics-sol/contracts/Queue.sol"; |
||||
import {MerkleTreeManager} from "@abacus-network/abacus-sol/contracts/Merkle.sol"; |
||||
import {QueueManager} from "@abacus-network/abacus-sol/contracts/Queue.sol"; |
||||
|
||||
import {Message} from "@celo-org/optics-sol/libs/Message.sol"; |
||||
import {MerkleLib} from "@celo-org/optics-sol/libs/Merkle.sol"; |
||||
import {QueueLib} from "@celo-org/optics-sol/libs/Queue.sol"; |
||||
import {Message} from "@abacus-network/abacus-sol/libs/Message.sol"; |
||||
import {MerkleLib} from "@abacus-network/abacus-sol/libs/Merkle.sol"; |
||||
import {QueueLib} from "@abacus-network/abacus-sol/libs/Queue.sol"; |
||||
|
||||
// We reproduce a significant amount of logic from `Home` to ensure that |
||||
// calling dispatch here is AT LEAST AS EXPENSIVE as calling it on home |
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@ -1,12 +1,12 @@ |
||||
import '@nomiclabs/hardhat-waffle'; |
||||
import { extendEnvironment } from 'hardhat/config'; |
||||
|
||||
import { optics } from './core'; |
||||
import { abacus } from './core'; |
||||
|
||||
import { bridge } from './bridge'; |
||||
|
||||
// HardhatRuntimeEnvironment
|
||||
extendEnvironment((hre) => { |
||||
hre.optics = optics; |
||||
hre.abacus = abacus; |
||||
hre.bridge = bridge; |
||||
}); |
@ -1,5 +1,5 @@ |
||||
import { BigNumber, BigNumberish, ethers } from 'ethers'; |
||||
import { BridgeToken } from 'optics-ts-interface/dist/optics-xapps'; |
||||
import { BridgeToken } from '@abacus-network/ts-interface/dist/abacus-xapps'; |
||||
|
||||
const PERMIT_TYPEHASH = ethers.utils.keccak256( |
||||
ethers.utils.toUtf8Bytes( |
File diff suppressed because it is too large
Load Diff
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue