mirror of
https://github.com/luxfi/uma.git
synced 2026-10-30 15:14:44 +00:00
* Add Optimism Bridge contracts Signed-off-by: amateima <[email protected]> * Add deposit function Signed-off-by: amateima <[email protected]> * Change Solidity version Signed-off-by: amateima <[email protected]> * Add deposit eth Signed-off-by: amateima <[email protected]> * Export optimism bridge Signed-off-by: amateima <[email protected]> * Move client inside across dir Signed-off-by: amateima <[email protected]> * Fix import error Signed-off-by: amateima <[email protected]> * Revert package.json Signed-off-by: amateima <[email protected]> * Update types Signed-off-by: amateima <[email protected]> * Fix typo Signed-off-by: amateima <[email protected]> * Rename contracts Signed-off-by: amateima <[email protected]> * Rename hardcoded values Signed-off-by: amateima <[email protected]> * Add chainId assertion Signed-off-by: amateima <[email protected]> * Delete development network Signed-off-by: amateima <[email protected]> * Add README instructions Signed-off-by: amateima <[email protected]> * Add comment Signed-off-by: amateima <[email protected]> * Add deposit from L1 to Boba Signed-off-by: amateima <[email protected]> * Export Boba Bridge client Signed-off-by: amateima <[email protected]> * Add method to get bridge address Signed-off-by: amateima <[email protected]> * Add methods for allowance and approve Signed-off-by: amateima <[email protected]>
12 lines
367 B
Solidity
12 lines
367 B
Solidity
// SPDX-License-Identifier: MIT
|
|
pragma solidity ^0.8.9;
|
|
|
|
abstract contract BobaAddressManager {
|
|
/**
|
|
* Retrieves the address associated with a given name.
|
|
* @param _name Name to retrieve an address for.
|
|
* @return Address associated with the given name.
|
|
*/
|
|
function getAddress(string memory _name) external view virtual returns (address);
|
|
}
|